QI-Core Implementation Guide
4.1.0 - release

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

## Resource Profile: QICoreRelatedPerson - Mappings

Mappings for the qicore-relatedperson resource profile.

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

QICoreRelatedPerson
RelatedPerson | Entity. Role, or Act, role
text | Act.text?
contained | N/A
extension | N/A
modifierExtension | N/A
identifier | .id
active | .statusCode
patient | scoper[classCode=PSN|ANM and determinerCode='INSTANCE']/playedRole[classCode='PAT']/id
relationship | code
name | name
telecom | telecom
gender | administrativeGender
birthDate | player.birthTime
address | addr
photo | player[classCode='PSN' and determinerCode='INSTANCE']/desc
period | .effectiveTime
communication | LanguageCommunication
id | n/a
extension | n/a
modifierExtension | N/A
language | player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code
preferred | preferenceInd

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

QICoreRelatedPerson
RelatedPerson |
identifier | FiveWs.identifier
active | FiveWs.status
relationship | FiveWs.class
period | FiveWs.done[x]

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

QICoreRelatedPerson
RelatedPerson |
identifier | NK1-33
patient | PID-3
relationship | NK1-3
name | NK1-2
telecom | NK1-5 / NK1-6 / NK1-40
gender | NK1-15
address | NK1-4
photo | OBX-5 - needs a profile