QI-Core Implementation Guide
4.1.0 - release

Publication Build: This will be filled in by the publication tooling

## Resource Profile: QICoreFamilyMemberHistory - Mappings

Mappings for the qicore-familymemberhistory resource profile.

### Mappings for Workflow Pattern (http://hl7.org/fhir/workflow)

QICoreFamilyMemberHistory
FamilyMemberHistory | Event
identifier | Event.identifier
instantiatesCanonical | Event.instantiatesCanonical
instantiatesUri | Event.instantiatesUri
status | Event.status
patient | Event.subject
reasonCode | Event.reasonCode
reasonReference | Event.reasonReference
note | Event.note

### Mappings for HL7 v2 Mapping (http://hl7.org/v2)

QICoreFamilyMemberHistory
FamilyMemberHistory | Not in scope for v2

### Mappings for RIM Mapping (http://hl7.org/v3)

QICoreFamilyMemberHistory
FamilyMemberHistory | Entity. Role, or Act, Observation[classCode=OBS, moodCode=EVN]
text | Act.text?
contained | N/A
extension | N/A
modifierExtension | N/A
identifier | id
instantiatesCanonical | .outboundRelationship[typeCode=DEFN].target
instantiatesUri | .outboundRelationship[typeCode=DEFN].target
dataAbsentReason | .reasonCode
patient | participation[typeCode=SBJ].role
date | participation[typeCode=AUT].time
name | name
relationship | code
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
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]
id | n/a
modifierExtension | N/A
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

### Mappings for FiveWs Pattern Mapping (http://hl7.org/fhir/fivews)

QICoreFamilyMemberHistory
FamilyMemberHistory |
identifier | FiveWs.identifier
status | FiveWs.status
patient | FiveWs.subject[x], FiveWs.subject
date | FiveWs.recorded
reasonCode | FiveWs.why[x]
reasonReference | FiveWs.why[x]