Platform 2.0-alpha is about to be released and as we move towards Platform 2.0-Beta, the main focus is to expose a wider range of our core API through the webservices.rest module. As suggested by @darius, a good way to find what new features need to be introduced in the webservices.rest module would be look at the database changes. Thanks to @burke’s groovy script, here are the database changes between Platform 2.0.0-alpha and OpenMRS 1.10.0. (assumption : when OpenMRS 1.10.0 was released, the webservices.rest module provides access to >90% of core services)
- Reverting concept name type to NULL for concepts having names tagged as default
- Setting concept name type to fully specified for names tagged as default
- (Fixed)Change person_merge_log.voided to BOOLEAN
- Adding uniqueness_behavior column to patient_identifier_type table
- Dropping the drug_ingredient table
- Creating the drug_ingredient table
- Adding a primary key to the drug_ingredient table
- Adding a new foreign key from drug_ingredient.units to concept.concept_id
- Adding a new foreign key from drug_ingredient.drug_id to drug.drug_id
- Adding a new foreign key from drug_ingredient.ingredient_id to concept.concept_id
- Inserting the new application privileges
- Inserting the new API privileges
- Granting the new patient overview tab application privileges
- Assigning the new API-level privileges to roles that used to have the renamed privileges
- Increasing the size of the privilege column in the privilege table
- Increasing the size of the privilege column in the role_privilege table
- Add optional property view_privilege to encounter_type table
- Add optional property edit_privilege to encounter_type table
- Adding not-null constraint to orders.as_needed
- Changing test_order.laterality to be a varchar
- Adding FK constraint for test_order.specimen_source if necessary
- Normalize varchar length of locale columns
- Removing concept set derived table
- Dropping not null constraint from concept_class.description column
- Dropping not null constraint from concept_datatype.description column
- Dropping not null constraint from patient_identifier_type.description column
- Dropping not null constraint from person_attribute_type.description column
- Dropping not null constraint from privilege.description column
- Dropping not null constraint from role.description column
- Dropping not null constraint from relationship_type.description column
- Dropping not null constraint from encounter_type.description column
- Adding deathdate_estimated column to person.
- Adding configurability to Patient Header on Dashboard. Therefore the cd4_count property is dropped and replaced with a header.showConcept property.
- Adding “display_precision” column to concept_numeric table
- Custom changesets to identify and resolve duplicate EncounterRole names
- Custom changesets to identify and resolve duplicate EncounterType names
- Adding the unique constraint to the encounter_type.name column
- Adding the unique constraint to the encounter_role.name column
- Rename concept_numeric.precise to concept_numeric.allow_decimal
- Custom changeset to identify and resolve duplicate Location Attribute Type names
- Adding the unique constraint to the location_attribute_type.name column
- Removing the concept_word table (replaced by Lucene)
- Deleting the update concept index task
- Removing invalid foreign key constraint from order_type.parent column to order.order_id column
- Adding foreign key constraint from order_type.parent column to order_type.order_type_id column
- Updating description for visits.encounterTypeToVisitTypeMapping GP to the value set in OpenmrsContants
- Dropping foreign key on patient.tribe
- Dropping the tribe field from patient table because it has been moved to person_attribute.
- Dropping not null constraint from program.description column
- Dropping not null constraint from order_type.description column
- Dropping not null constraint from concept_name_tag.description column
- Dropping not null constraint from active_list_type.description column
- Adding form_namespace_and_path column to obs table
- Renaming drug_ingredient.quantity to strength
- Updating layout.address.format global property
- Removing dashboard.regimen.standardRegimens global property
- Encrypting the users.secret_answer column
- Temporarily removing foreign key constraint from person_attribute_type.edit_privilege column
- Temporarily removing foreign key constraint from role_privilege.privilege column
- Increasing the size of the privilege column in the privilege table
- Adding foreign key constraint to person_attribute_type.edit_privilege column
- Increasing the size of the privilege column in the role_privilege table
- Adding foreign key constraint to role_privilege.privilege column
- Adding foreign key on patient_identifier.patient_id column
- Adding birthtime column to person
- Add changed_by column to encounter_type table
- Add date_changed column to encounter_type table
- Add an index to the global_property.property column
- Add an index to the concept_class.name column
- Add an index to the concept_datatype.name column
- Create allergy table
- Create allergy_reaction table
- Add allergy_status field to the patient table
- Custom changeset to migrate allergies from old to new tables
- Removing the active_list_problem table (active_list feature removed)
- Removing the active_list_allergy table (active_list feature removed)
- Removing the active_list table (active_list feature removed)
- Removing the active_list_type table (active_list feature removed)
- Add drug_non_coded column to drug_order table
- Adding address columns (7-15) to person_address and location