Following are the contract level changes that we have fixed for our bundles to be parseable.
...
Composition
new mandatory fields added:
- type,
- author,
- confidentiality => http://hl7.org/fhir/v3/Confidentiality - code system
Encounter
subject => patient
(Fields removed )
indication
Condition
RelatedItem is replaced by dueTo and occurredFollowing.
Changes in active development branch
Observation [breaking]
- name ==> code.
Immunization [breaking]
- refusalIndicator ==> wasNotGiven
- refusalReason ==> getReasonNotGiven
- subject ==> patient
MedicationPrescription [not breaking]
- dosageInstruction can now take both dosageQuantity and dosageRange
[dosageInstruction.dose field can capture two types dosageQuantity,dosageRange]
To look into later:
Composition:
Confidentiality set to String - A code from the confidentiality vs
Composition type - Currently its either Discharge or Consultation. Should we fine grain to different types?
DrugMapper - MedicationPrescription:
Mapping frequency component along with duration and period (Revisit mapping logic from bahmni treatment to fhir MedicationPrescription. esp duration and frequency)- Needs more analysis and test cases. Just fixed compilation issues.