0.3.0 - Second STU ballot

This page is part of a downloaded copy of this specification. This page is part of the Da Vinci Coverage Requirements Discovery (CRD) FHIR IG (v0.3.0: STU 1 Ballot 2) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

## StructureDefinition: AppointmentR4 - Mappings

Mappings for the Profile.

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

AppointmentR4
Appointment | Request
identifier | Request.identifier
status | Request.status
serviceType | Request.code
reasonCode | Request.reasonCode
reasonReference | Request.reasonReference
priority | Request.priority
supportingInformation | Request.supportingInfo
start | Request.occurrence[x]
end | Request.occurrence[x]
minutesDuration | Request.occurrence[x]
created | Request.authoredOn
comment | Request.note
basedOn | Request.basedOn
participant | Request.performer, Request.subject
requestedPeriod | Request.occurrence[x]

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

AppointmentR4
Appointment | Entity. Role, or Act
text | Act.text?
contained | N/A
modifierExtension | N/A
identifier | .id
status | .statusCode
cancelationReason | n/a
serviceCategory | n/a, might be inferred from the ServiceDeliveryLocation
serviceType | n/a, might be inferred from the ServiceDeliveryLocation
specialty | .performer.AssignedPerson.code
appointmentType | .code
reasonCode | .reasonCode
reasonReference | .inboundRelationship[@typeCode = 'RSON'].observation
priority | .priorityCode
description | .text
supportingInformation | .inboundRelationship[@typeCode = 'SPRT'].observation
start | .effectiveTime.low
end | .effectiveTime.high
minutesDuration | .activityTime[@xsi:type = ('SXPR_TS', 'PIVL_TS')].width
slot | .outboundRelationship[@typeCode = 'REFR'].act[@classCode = 'ACT'][@moodCode = 'SLOT']
created | .author.time
comment | .subjectOf.observation[@moodCode = 'EVN'][code = 'annotation'].value
patientInstruction | .subjectOf.observation[@moodCode = 'EVN'][code = 'annotation'].value
basedOn | .outboundRelationship[@typeCode = 'FLFS'].act[@classCode < 'ActCareProvisionRequestType'][@moodCode = 'RQO']
participant | performer | reusableDevice | subject | location
id | n/a
extension | n/a
modifierExtension | N/A
type | (performer | reusableDevice | subject | location).@typeCode
actor | performer.person | reusableDevice.manufacturedDevice | subject.patient | location.serviceDeliveryLocation
required | (performer | reusableDevice | subject | location).@performInd
status | (performer | reusableDevice | subject | location).statusCode
period | n/a
requestedPeriod | .activityTime[@xsi:type = ('SXPR_TS', 'PIVL_TS')]

### Mappings for iCalendar (http://ietf.org/rfc/2445)

AppointmentR4
Appointment | VEVENT
identifier | UID
status | STATUS
serviceCategory | CATEGORIES
appointmentType | CLASSIFICATION
priority | PRIORITY
description | SUMMARY
supportingInformation | ATTACH
start | DTSTART
end | DTEND
minutesDuration | DURATION (e.g. PT15M)
created | CREATED
comment | DESCRIPTION (for internal use)
patientInstruction | DESCRIPTION (for patient use)
participant | ATTENDEE component to be created
type | n/a
actor | ATTENDEE: (Need to provide the common name CN and also the MAILTO properties from the practitioner resource) where the participant type is not "information-only"
required | ROLE=REQ-PARTICIPANT (roleparam)
status | ATTENDEE;CN="John Doe";RSVP=TRUE:mailto:john@doe.com (rsvpparam | partstatparam)

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

AppointmentR4
Appointment |
identifier | FiveWs.identifier
status | FiveWs.status
specialty | FiveWs.class
priority | FiveWs.class
supportingInformation | FiveWs.context
start | FiveWs.init
end | FiveWs.done[x]
participant |
actor | FiveWs.who

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

AppointmentR4
Appointment |
identifier | SCH-1, SCH-2, ARQ-1, ARQ-2
status | SCH-25
appointmentType | ARQ-7
reasonCode | AIS-3, SCH-7
priority | ARQ-12, SCH-11.6 / TQ1-9
description | NTE-3
start | ARQ-11.1, SCH-11.4 / TQ1-7
end | SCH-11.5 / TQ1-8/ calculated based on the start and the duration which is in ARQ-9
comment | NTE-3
patientInstruction | NTE-3
participant | PID, AIP, AIG, AIL
type | AIP-4, AIG-4
actor | PID-3-Patient ID List | AIL-3 | AIG-3 | AIP-3
status | AIP-12, AIG-14
requestedPeriod | ARQ-11