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: PADIPersonalPrioritiesOrganizer - Mappings

Mappings for the PADI-PersonalPrioritiesOrganizer resource profile.

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

PADIPersonalPrioritiesOrganizer
List | Entity. Role, or Act, Act[classCode<ORG,moodCode=EVN]
text | Act.text?
contained | N/A
extension | N/A
modifierExtension | N/A
identifier | .id
status | .status[current=active;retired=obsolete;entered-in-error=nullified]
mode | .outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value
title | .title
code | .code
subject | .participation[typeCode<SUB].role (and sometimes .player)
encounter | inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]
date | .participation[typeCode<AUT].time[type=TS]
source | .participation[typeCode<AUT].role[classCode=REL].player[classCode=PSN,determinerCode=INST] or .participation[typeCode<AUT].role[classCode=REL].player[classCode=DEV,determinerCode=INST]
orderedBy | .outboundRelationship[typeCode=COMP].sequenceNumber > 1
note | .inboundRelationship[typeCode=SUBJ].act.text
entry | .outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
id | n/a
extension | n/a
modifierExtension | N/A
flag | .outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value
deleted | added: .updateMode=("A","AR") retained: .updateMode="NC" updated: .updateMode="R" deleted: .updateMode="D"
date | .availabilityTime
item | .target or .role or .role.entity
emptyReason | .inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]

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

PADIPersonalPrioritiesOrganizer
List |
identifier | FiveWs.identifier
status | FiveWs.status
mode | FiveWs.class
code | FiveWs.what[x]
subject | FiveWs.subject[x], FiveWs.subject
encounter | FiveWs.context
date | FiveWs.recorded
source | FiveWs.author