0.0.5 - ci-build Norway flag

testfsh - Local Development build (v0.0.5). See the Directory of published versions

Resource Profile: DerivedAppointment - Mappings

Draft as of 2023-10-12

Mappings for the derived-Appointment resource profile.

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

DerivedAppointment
AppointmentRequest
   identifierRequest.identifier
   statusRequest.status
   serviceTypeRequest.code
   reasonCodeRequest.reasonCode
   reasonReferenceRequest.reasonReference
   priorityRequest.priority
   supportingInformationRequest.supportingInfo
   startRequest.occurrence[x]
   endRequest.occurrence[x]
   minutesDurationRequest.occurrence[x]
   createdRequest.authoredOn
   commentRequest.note
   basedOnRequest.basedOn
   participantRequest.performer, Request.subject
   requestedPeriodRequest.occurrence[x]

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

DerivedAppointment
AppointmentEntity. Role, or Act, Act[@moodCode <= 'INT']
   metan/a, N/A
   implicitRulesn/a
   languagen/a
   textn/a, N/A, Act.text?
   containedEntity. Role, or Act, N/A
   extensionn/a, N/A
   extension (virtualService)n/a, N/A
   extension (group)n/a, N/A
   extension (partOf)n/a, N/A
   modifierExtensionn/a, N/A
   identifiern/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT], .id
   statusn/a, .statusCode
   cancelationReasonn/a, CD
   serviceCategoryn/a, CD, n/a, might be inferred from the ServiceDeliveryLocation
   serviceTypen/a, CD, n/a, might be inferred from the ServiceDeliveryLocation
   specialtyn/a, CD, .performer.AssignedPerson.code
   appointmentTypen/a, CD, .code
      idn/a
      extensionn/a, N/A
      codingn/a, CV, union(., ./translation)
      coding (omsorgsNiva)n/a, CV, union(., ./translation)
      coding (kontaktType)n/a, CV, union(., ./translation)
      coding (innbygger)n/a, CV, union(., ./translation)
      textn/a, ./originalText[mediaType/code="text/plain"]/data
   reasonCoden/a, CD, .reasonCode
   reasonReferencen/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .inboundRelationship[@typeCode = 'RSON'].observation
   priorityn/a, .priorityCode
   descriptionn/a, .text
   supportingInformationn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .inboundRelationship[@typeCode = 'SPRT'].observation
   startn/a, .effectiveTime.low
   endn/a, .effectiveTime.high
   minutesDurationn/a, .activityTime[@xsi:type = ('SXPR_TS', 'PIVL_TS')].width
   slotn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[@typeCode = 'REFR'].act[@classCode = 'ACT'][@moodCode = 'SLOT']
   createdn/a, .author.time
   commentn/a, .subjectOf.observation[@moodCode = 'EVN'][code = 'annotation'].value
   patientInstructionn/a, .subjectOf.observation[@moodCode = 'EVN'][code = 'annotation'].value
   basedOnn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[@typeCode = 'FLFS'].act[@classCode < 'ActCareProvisionRequestType'][@moodCode = 'RQO']
   participantn/a, performer | reusableDevice | subject | location
      idn/a
      extensionn/a, N/A
      modifierExtensionn/a, N/A
      typen/a, CD, (performer | reusableDevice | subject | location).@typeCode
      actorn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), performer.person | reusableDevice.manufacturedDevice | subject.patient | location.serviceDeliveryLocation
      requiredn/a, (performer | reusableDevice | subject | location).@performInd
      statusn/a, (performer | reusableDevice | subject | location).statusCode
      periodn/a, IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"]
   requestedPeriodn/a, IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"], .activityTime[@xsi:type = ('SXPR_TS', 'PIVL_TS')]

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

DerivedAppointment
AppointmentVEVENT
   identifierUID
   statusSTATUS
   serviceCategoryCATEGORIES
   appointmentTypeCLASSIFICATION
   priorityPRIORITY
   descriptionSUMMARY
   supportingInformationATTACH
   startDTSTART
   endDTEND
   minutesDurationDURATION (e.g. PT15M)
   createdCREATED
   commentDESCRIPTION (for internal use)
   patientInstructionDESCRIPTION (for patient use)
   participantATTENDEE component to be created
      typen/a
      actorATTENDEE: (Need to provide the common name CN and also the MAILTO properties from the practitioner resource) where the participant type is not "information-only"
      requiredROLE=REQ-PARTICIPANT (roleparam)
      statusATTENDEE;CN="John Doe";RSVP=TRUE:mailto:john@doe.com (rsvpparam | partstatparam)

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

DerivedAppointment
Appointment
   identifierFiveWs.identifier
   statusFiveWs.status
   specialtyFiveWs.class
   priorityFiveWs.class
   supportingInformationFiveWs.context
   startFiveWs.init
   endFiveWs.done[x]
   participant
      actorFiveWs.who

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

DerivedAppointment
Appointment
   identifierCX / EI (occasionally, more often EI maps to a resource id or a URL), SCH-1, SCH-2, ARQ-1, ARQ-2
   statusSCH-25
   cancelationReasonCE/CNE/CWE
   serviceCategoryCE/CNE/CWE
   serviceTypeCE/CNE/CWE
   specialtyCE/CNE/CWE
   appointmentTypeCE/CNE/CWE, ARQ-7
      codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
      coding (omsorgsNiva)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
      coding (kontaktType)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
      coding (innbygger)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
      textC*E.9. But note many systems use C*E.2 for this
   reasonCodeCE/CNE/CWE, AIS-3, SCH-7
   priorityARQ-12, SCH-11.6 / TQ1-9
   descriptionNTE-3
   startARQ-11.1, SCH-11.4 / TQ1-7
   endSCH-11.5 / TQ1-8/ calculated based on the start and the duration which is in ARQ-9
   commentNTE-3
   patientInstructionNTE-3
   participantPID, AIP, AIG, AIL
      typeCE/CNE/CWE, AIP-4, AIG-4
      actorPID-3-Patient ID List | AIL-3 | AIG-3 | AIP-3
      statusAIP-12, AIG-14
      periodDR
   requestedPeriodDR, ARQ-11