Versions Compared

Key

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

...

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 relation attributes accordingly
 
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]

...