/
Cohort synchronization

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

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

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

FHIR field

Value

entity

Reference to patient



Related content

Programs synchronization
Programs synchronization
More like this
FamilyHistory Resource
FamilyHistory Resource
More like this
Composition Resource
Composition Resource
More like this
FHIR Extensions
FHIR Extensions
More like this
Proposed OpenMRS Domain Object to FHIR Resource Mapping
Proposed OpenMRS Domain Object to FHIR Resource Mapping
More like this
Patients
Patients
More like this