Mappings for the familymemberhistory resource.
FamilyMemberHistory | Observation[classCode=OBS, moodCode=EVN] |
identifier | id |
patient | participation[typeCode=SBJ].role |
date | participation[typeCode=AUT].time |
name | name |
relationship | code |
gender | |
born[x] | player[classCode=LIV, determinerCode=INSTANCE]. birthDate (could be URG) |
age[x] | participation[typeCode=SBJ].act[classCode=OBS,moodCode=EVN, code="age"].value |
deceased[x] | player[classCode=LIV, determinerCode=INSTANCE].deceasedInd, deceasedDate (could be URG)
For age, you'd hang an observation off the role |
note | inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ANNGEN].value |
condition | inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ASSERTION, value<Diagnosis] |
type | .value |
outcome | outboundRelationship[typeCode=OUTC)].target[classCode=OBS, moodCode=EVN, code=ActCode#ASSERTION].value |
onset[x] | inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="Subject Age at measurement", value<Diagnosis].value[@xsi:typeCode='TS' or 'IVL_TS']
Use originalText for string |
note | inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ANNGEN].value |