DaVinci Payer Data Exchange (PDex) US Drug Formulary
1.1.0 - STU 1.1

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

## Resource Profile: CoveragePlan - Mappings

Mappings for the usdf-CoveragePlan resource profile.

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

CoveragePlan
List | Entity. Role, or Act, Act[classCode<ORG,moodCode=EVN]
text | Act.text?
contained | 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)

CoveragePlan
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