Changelog


Contents

We will attempt to track all changes to the datamodel within this section.. clicking on the resultant changes will take you to those sections within the table documentation..

Legend
  • (+) Added something
  • (-) Removed something
  • (u) Updated something
  • (!) Bugfixed something

Version: 1.00β (Development)

Version: 0.81 (Release)

Version: 0.80

Version: 0.70

Current Picture of Data Model::amrs_data_model_0.70.png/view right click here:amrs_data_model_0.70.png to download .PNG -- the most recent graphical representation of our data model

Current XML Version of the data model:amrs_data_model_0.70.xml/download -- to work with the model download DBDesigner:http://www.fabforce.net/downloads.php

Previous Versions

Version 0.60: .PNG:amrs_data_model_0.60.png/view & .XML:amrs_data_model_0.60.xml/download

Version 0.52: .PNG:amrs_data_model_0.52.png/view & .XML:amrs_data_model_0.52.xml/download

Version 0.51: .PNG:amrs_data_model_0.51.png/view & .XML:amrs_data_model_0.51.xml/download

Version 0.50: .PNG:amrs_data_model_0.50.png/view & .XML:amrs_data_model_0.50.xml/download

Version 0.01: .PNG:amrs_data_model_0.01.png/view & .XML:amrs_model.xml/download

Version 0.001: .PNG:amrs_data_model_0.001.png/file_view

Changelog

Version: 0.60

The post-site visit version: note substantive changes not only in the table structure, but also within the physical layout and organization of the database to improve clarity.

CONCEPT:

term:

added view_count (int).

term_class:

added is_set (bit).

term_drug:

added term_drug_id (int) (primary key).

added name (varchar).

added creator (FK: users.user_id -> term_drug_creator).

added date_created (datetime).

term_numeric (renamed from term_measurement):

added precise (bit).

added changed_by (FK: users.user_id -> user_who_changed_term_numeric).

added date_changed (datetime).

term_note (new table):

added term_id (FK: term.term_id -> term_notes).

added creator (FK: users.user_id -> term_note_creator).

added date_created (datetime).

added note (blob).

term_set:

added creator (FK: users.user_id -> set_creator).

added date_created (datetime).

FORM (new section):

field (new table):

added field_id (int).

added name (varchar).

added description (varchar).

added field_type (FK: field_type.field_type_id -> field_type).

added term_id (FK: term.term_id -> term_for_field).

added table_name (varchar).

added attribute_name (varchar).

added select_multiple (bit).

added creator (FK: users.user_id -> user_who_created_field).

added date_created (datetime).

added changed_by (FK: users.user_id -> user_who_changed_field).

added date_changed (datetime).


form_field (new table):

added form_field_id (int).

added form_id (FK: form.form_id -> form_containing_field).

added field_id (FK: field.field_id -> field_within_form).

added field_number (int).

added field_part (varchar).

added page_number (int).

added parent_form_field (FK: form_field.form_field_id -> form_field_hierarchy)

added min_occurs (int).

added max_occurs (int).

added required (bit).

added creator (FK: users.user_id -> form_field_creator).

added date_created (datetime).

added changed_by (FK: users.user_id -> user_who_changed_form_field).

added date_changed (datetime).


field_answers (new table):

added field_id (FK: field.field_id -> field_answers).

added answer_id (FK: term.term_id -> answers_for_field).

added creator (FK: users.user_id -> field_answer_creator).

added date_created (datetime).


field_type (new table):

added field_type_id (int).

added name (varchar).

added description (varchar).

added is_set (bit).

added creator (users.user_id -> field_type_creator).

added date_created (datetime).


form (new table):

added form_id (int).

added name (varchar).

added version (varchar).

added description (text).

added schema_namespace (varchar).

added definition (text).

added retired (bit).

added creator (users.user_id -> form_creator).

added date_created (datetime).

added changed_by (users.user_id -> user_who_changed_form).

added date changed (datetime).

OBSERVATION:

obs:

added glob_id (int).This value allows the system to link question concepts together to provide a more complex way of representing clinical data.See the updated description of the potential use cases, at: http://amrs.iukenya.org/docs/obsprimer:http://amrs.iukenya.org/docs/obsprimer.

added obs_datetime (datetime).

changed enterer to creator.

changed data_entry_time to date_created.


complex_obs:

added complex_value (blob).


ORDER:

orders:

changed order_comment to comment.

changed creator (FK: users.user_id -> order_creator).


drug_orders:

added start_reason (FK: term.term_id -> reason_started).

added dose_frequency (varchar).

added discontinued_reason (FK: term.term_id -> reason_discontinued).

changed orderer (FK: users.user_id -> user_who_ordered_drug).

changed stop_date to discontinue_date.

changed term_id to term_drug_id (FK: term_drug.term_drug_id -> drug_ordered).

removed discontinued (bit).Superceded by discontinued_date and discontinue_reason.

changed term_id (FK: term.term_id -> primary_drug_term).

Version: 0.52

obs:

added numeric_modifier (varchar).This value is ordinal in nature, and allows for more complex characterization of numeric values (ie, <4, 2-4, >1000, etc).See a more detailed description, with use cases, at:http://amrs.iukenya.org/docs/obsprimer:http://amrs.iukenya.org/docs/obsprimer.

added foreign key for term_id (FKterm.term_id -> obs_term)

added foreign key for value_coded (FKterm.term_id -> answer_term)

patient:

changed datatype of death_date to datetime

removed required flag of race

users:

added creator (FKusers.user_id -> user_creator)

added date_created (int)

added changed_by (FKusers.user_id -> user_who_changed_users)

added date_changed

added enabled (bit)

added password (varchar)

Version: 0.51

complex_obs:

changed the paradigm of data storage.Each new complex observation�??s data will be referenced by a Uniform Resource Name (URN), which serves as a persistent reference to a data source.It�??s basically a non-volatile pointer which gives our data model the flexibility to refer to locations in separate physical files, or other solutions if necessary.

drug_orders:

changed �??expire_date�?? to �??completion_date�??

added quantity (int)

added dose_frequency (varchar(250) for now.. option to code these answers in a separate table.. likelythat there will be a combinatorial explosion of possibilities.. ie, 3 qam, 2 qnoon, and 3 qpm vs. 1 bid etc)

added discontinued (bit)

added discontinue_reason (varchar(1024))

added discontinued_by (FKusers.user_id -> user_who_discontinued_drug)

added creator (FKusers.user_id -> drug_order_creator) (required)

added date_created (datetime) (required)

removed weekly_dose.Useful in some settings, but paradigm isn�??t useful across a standardized data model.For example, there are some drugs that might be dosed across multiple months (depo-provera, B12 injections, etc).This can be optionally placed in model if needed.

encounter:

added patient_id (FKpatient.patient_id -> encounter_patient)

renamed encounter_date to encounter_datetime

deleted form, field, and form_field

moved icd10 to DEVELOPMENTAL/BUSINESS group

deleted icd10_counts

location:

added description (varchar)

added address1 (varchar)

added address2 (varchar)

added city_village (varchar)

added state_province (varchar)

added country (varchar)

added zipcode (varchar)

added latitude (varchar)

added longitude (varchar)

obs:

removed value_complex:column made obsolete by complex_obs.. still some debate on whether complex_obs table is needed, but sticking with separate table for now

orders:

added instructions (varchar(1024))

added order_status (varchar)

added comment (varchar(255))

added discontinued (bit)

added discontinued_by (FK: users.user_id -> user_who_discontinued_order)

added discontinued_reason (varchar(255))

added creator (FK: users.user_id -> order_creator) (required)

added date_created (datetime) (required)

added auto_expire_date (to auto-expire orders)

patient:

renamed surname1 to family_name, based on conventions in HL7

deleted surname2:can be an optional attribute for a model if needed, not included within HL7 standard

added last_name_prefix (varchar):part of HL7 standard

added creator (FK:users.user_id -> patient_creator) (required)

added date_created (datetime) (required)

patient_name_alias:

renamed surname1 to family_name, based on conventions in HL7

deleted surname2:can be an optional attribute for a model if needed, not included within HL7 standard

added last_name_prefix (varchar):part of HL7 standard

added creator (FK:users.user_id -> patient_name_alias_creator) (required)

added date_created (datetime) (required)

patient_number_alias:

added location (FK:location.location.id -> mrn_alias_location): specifies location that�??s specific to alias.. 3rd part of table�??s primary key (required)

added creator (FK: users.user_id -> mrn_alias_creator) (required)

added date_created (datetime) (required)

renamed patient_medical_record_numbers relationship to patient_mrn

term:

added changed_by (FK: users.user_id -> user_who_changed_term)

added date_changed (datetime)

term_class:

deleted is_set

moved term_legacy to DEVELOPMENTAL/BUSINESS group

moved term_note to DEVELOPMENTAL/BUSINESS group

term_set:

changed sort_value to sort_weight


Version: 0.50

Original release of changelog

Version: 0.01

Regenstrief / Partners-in-Health summit in Indianapolis

Version: 0.001

Initial brainstorming in Eldoret, Kenya