0.1.0 - draft

NyTimelosingIG - Local Development build (v0.1.0). See the Directory of published versions

Resource Profile: HnBasisAppointment - Mappings

Draft as of 2024-06-01

Mappings for the hn-basis-appointment resource profile.

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

HnBasisAppointment
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)

HnBasisAppointment
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
      idn/a
      extensionn/a, N/A
      extension (channelType)
         idn/a
         urlN/A
         value[x]n/a, N/A
      extension (virtualAddress)n/a, N/A
         idn/a
         urlN/A
         value[x]n/a, N/A
      extension (additionalInfo)n/a, N/A
         idn/a
         urlN/A
         value[x]n/a, N/A
      extension (maxParticipants)n/a, N/A
         idn/a
         urlN/A
         value[x]n/a, N/A
      extension (sessionKey)n/a, N/A
         idn/a
         urlN/A
         value[x]n/a, N/A
      urlN/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
      idn/a
      extensionn/a, N/A
      usen/a, Role.code or implied by context
      typen/a, CD, Role.code or implied by context
      systemn/a, II.root or Role.id.root
      valuen/a, II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
      periodn/a, IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"], Role.effectiveTime or implied by context
      assignern/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
   statusn/a, .statusCode
   cancelationReasonn/a, CD
      idn/a
      extensionn/a, N/A
      codingn/a, CV, union(., ./translation)
      textn/a, ./originalText[mediaType/code="text/plain"]/data
   serviceCategoryn/a, CD, n/a, might be inferred from the ServiceDeliveryLocation
      idn/a
      extensionn/a, N/A
      codingn/a, CV, union(., ./translation)
      textn/a, ./originalText[mediaType/code="text/plain"]/data
   serviceTypen/a, CD, n/a, might be inferred from the ServiceDeliveryLocation
      idn/a
      extensionn/a, N/A
      codingn/a, CV, union(., ./translation)
      textn/a, ./originalText[mediaType/code="text/plain"]/data
   specialtyn/a, CD, .performer.AssignedPerson.code
      idn/a
      extensionn/a, N/A
      codingn/a, CV, union(., ./translation)
      textn/a, ./originalText[mediaType/code="text/plain"]/data
   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)
      coding (helsenorge)n/a, CV, union(., ./translation)
      textn/a, ./originalText[mediaType/code="text/plain"]/data
   reasonCoden/a, CD, .reasonCode
      idn/a
      extensionn/a, N/A
      codingn/a, CV, union(., ./translation)
      textn/a, ./originalText[mediaType/code="text/plain"]/data
   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
         idn/a
         extensionn/a, N/A
         codingn/a, CV, union(., ./translation)
         textn/a, ./originalText[mediaType/code="text/plain"]/data
      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)

HnBasisAppointment
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)

HnBasisAppointment
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)

HnBasisAppointment
Appointment
   identifierCX / EI (occasionally, more often EI maps to a resource id or a URL), SCH-1, SCH-2, ARQ-1, ARQ-2
      useN/A
      typeCE/CNE/CWE, CX.5
      systemCX.4 / EI-2-4
      valueCX.1 / EI.1
      periodDR, CX.7 + CX.8
      assignerCX.4 / (CX.4,CX.9,CX.10)
   statusSCH-25
   cancelationReasonCE/CNE/CWE
      codingCE/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
   serviceCategoryCE/CNE/CWE
      codingCE/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
   serviceTypeCE/CNE/CWE
      codingCE/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
   specialtyCE/CNE/CWE
      codingCE/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
   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
      coding (helsenorge)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
      codingCE/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
   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
         codingCE/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
      actorPID-3-Patient ID List | AIL-3 | AIG-3 | AIP-3
      statusAIP-12, AIG-14
      periodDR
   requestedPeriodDR, ARQ-11