PACIO Advance Directive Interoperability Implementation Guide
0.1.0 - STU 1 Ballot

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

## Resource Profile: PADIParticipant - Mappings

Mappings for the PADI-Participant resource profile.

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

PADIParticipant
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
relationship (personal_and_legal_relationship_role) | code
id | n/a
extension | n/a
coding | union(., ./translation)
id | n/a
extension | n/a
system | ./codeSystem
version | ./codeSystemVersion
code | ./code
display | CV.displayName
userSelected | CD.codingRationale
text | ./originalText[mediaType/code="text/plain"]/data
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)

PADIParticipant
RelatedPerson |
identifier | FiveWs.identifier
active | FiveWs.status
relationship | FiveWs.class
relationship (personal_and_legal_relationship_role) | FiveWs.class
period | FiveWs.done[x]

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

PADIParticipant
RelatedPerson |
identifier | NK1-33
patient | PID-3
relationship | NK1-3
relationship (personal_and_legal_relationship_role) | NK1-3
coding | C*E.1-8, C*E.10-22
system | C*E.3
version | C*E.7
code | C*E.1
display | C*E.2 - but note this is not well followed
userSelected | Sometimes implied by being first
text | C*E.9. But note many systems use C*E.2 for this
name | NK1-2
telecom | NK1-5 / NK1-6 / NK1-40
gender | NK1-15
address | NK1-4
photo | OBX-5 - needs a profile