Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleLocation
Integer uuid :: n/a - goes in the URL e.g. [base]/Location/[locationId]
String name :: Location.name
String description :: Location.description
String address1 :: Address.line
String address2 :: Address.line
String cityVillage :: Address.city
String stateProvince :: Address.state
String country :: Address.country
String postalCode ::Address.zip
String latitude :: Location.position.longitude
String longitude :: Location.position.latitude
String countyDistrict :: not mapped
String address3 :: Address.line
String address4 :: Address.line
String address6 :: Address.line
String address5 :: Address.line
Location parentLocation :: Location.partOf
Set<Location> childLocations :: not mapped

FHIR Family history resource is map to patient's relations in OpenMRS as follow

Code Block
titleFamilyHistory
Integer relationshipId :: not mapped
Person personA :: If PersonA is the requesting patient of family history then it will be mapped to FamilyHistory.subject else person name will be map to FamilyHistory.relation.name 
 
Person's Relationships will be map as follow

RelationshipType relationshipType :: 
	String aIsToB :: FamilyHistory.relation.relationship (if patient resource relation ship is A to B)
	String bIsToA :: FamilyHistory.relation.relationship (if patient resource relation ship is B to A)
Person personB ::  If PersonA is the requesting patient of family history then it will be mapped to FamilyHistory.subject else person name will be map to FamilyHistory.relation.name 
Related person bithday :: FamilyHistory.relation.born[x]