Mappings for the familymemberhistory resource.
FamilyMemberHistory | Observation[classCode=OBS, moodCode=EVN] |
identifier | id |
definition | .outboundRelationship[typeCode=DEFN].target |
status | |
notDone | .actionNegationInd |
notDoneReason | .reasonCode |
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 |
estimatedAge | |
deceased[x] | player[classCode=LIV, determinerCode=INSTANCE].deceasedInd, deceasedDate (could be URG) For age, you'd hang an observation off the role |
reasonCode | .reasonCode |
reasonReference | .outboundRelationship[typeCode=RSON].target |
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] |
code | .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 |