Mappings for the familyhistory resource.
| FamilyHistory | Observation[classCode=OBS, moodCode=EVN] |
| identifier | id |
| subject | participation[typeCode=SBJ].role |
| note | inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ANNGEN].value |
| relation | participation[typeCode=SBJ].role[classCode=PAT].player[classCode<LIV, moodCode=INSTANCE].scopedRole |
| name | name |
| relationship | code |
| born[x] | player[classCode=LIV, determinerCode=INSTANCE]. birthDate (could be URG) |
| 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 |