Cohort synchronization
This table shows how OpenMRS Cohort object is mapped to FHIR Group object.
Keyword extension means that FHIR Extension has to be used to synchronize this field.
OpenMRS field | DB field | FHIR field |
---|---|---|
name : String | name : varchar(255) | name : StringType |
description : String | description : varchar(1000) | extension |
uuid : String | uuid : varchar(38) | id : IdType |
Below table shows how other values of fields in FHIR Group are populated
FHIR Field | Value |
---|---|
type : Enumeration<Group.GroupType> | GroupType.PERSON |
quantity : UnsignedIntType | Based on size of Cohort.memberIds list |
member : List<Group.GroupMemberComponent> | Mapped from Cohort.memberIds list |
Below table shows how FHIR GroupMemberComponent object is mapped.
FHIR field | Value |
---|---|
entity | Reference to patient |