Introduction
Note that information about OpenMRS programs is placed here.
FHIR Mapping
On this page are placed suggestion on how to map OpenMRS classes:
OpenMRS class | FHIR class |
---|---|
PatientState | EpisodeOfCare |
PatientProgram | ReferralRequest |
Program | PlanDefinition |
ProgramWorkflow | CarePlan |
ProgramWorkflowState | ReferralRequest |
Keyword extension means that FHIR Extension has to be used to synchronize this field.
OpenMRS class PatientState. FHIR class EpisodeOfCare
OpenMRS class | OpenMRS field | DB column | FHIR field | Details |
---|---|---|---|---|
PatientState | patientStateId : Integer | patient_state_id : INT | - | Instead of database id is used the UUID |
PatientState | patientProgram : PatientProgram | patient_program_id : INT | referralRequest : Reference(ReferralRequest) | |
PatientState | state : ProgramWorkflowState | state : INT | referralRequest : Reference(ReferralRequest) | |
PatientState | startDate : Date | start_date : DATE | period : Period | Used start date from the Period object. |
PatientState | endDate : Date | end_date : DATE | period : Period | Used end date from the Period object. |
BaseOpenmrsData | creator : User | creator : INT | extension | |
BaseOpenmrsData | dateCreated : Date | date_created : DATETIME | extension | |
BaseOpenmrsData | changedBy : User | changed_by : INT | extension | |
BaseOpenmrsData | dateChanged : Date | date_changed : DATETIME | extension | |
BaseOpenmrsData | voided : Boolean | voided : TINYINT | extension | |
BaseOpenmrsData | dateVoided : Date | date_voided : DATETIME | extension | |
BaseOpenmrsData | voidedBy : User | voided_by : INT | extension | |
BaseOpenmrsData | voidedReason : String | void_reason : VARCHAR(255) | extension | |
BaseOpenmrsObject | uuid : String | uuid : CHAR(38) | identifier : Identifier |