FHIR Extensions Pack v5.1.0 (2024-04-27)

This page is part of the FHIR Core Extensions Registry (v5.1.0: Release 5.1) based on FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions

Patient Administration Work GroupMaturity Level: N/AStandards Status: InformativeSecurity Category: N/A Compartments: N/A

Following are maps for converting between the equivalent R4B resource and this R5 resource.

Maps to AppointmentResponse

FML Conversion for AppointmentResponse: R5 to R4 (Ready for Use/Trial Use)

/// url = 'http://hl7.org/fhir/StructureMap/AppointmentResponse5to4'
/// name = 'AppointmentResponse5to4'
/// title = 'FML Conversion for AppointmentResponse: R5 to R4'
/// status = 'active'

uses "http://hl7.org/fhir/StructureDefinition/AppointmentResponse" alias AppointmentResponseR5 as source
uses "http://hl7.org/fhir/4.0/StructureDefinition/AppointmentResponse" alias AppointmentResponseR4 as target

imports "http://hl7.org/fhir/StructureMap/*5to4"

group AppointmentResponse(source src : AppointmentResponseR5, target tgt : AppointmentResponseR4) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.appointment -> tgt.appointment;
  src.start -> tgt.start; // src.proposedNewTime -> tgt.proposedNewTime;
  src.end -> tgt.end;
  src.participantType -> tgt.participantType;
  src.actor -> tgt.actor;
  src.participantStatus -> tgt.participantStatus;
  src.comment -> tgt.comment;
}

FML Conversion for AppointmentResponse: R5 to R4B (Ready for Use/Trial Use)

/// url = 'http://hl7.org/fhir/StructureMap/AppointmentResponse5to4B'
/// name = 'AppointmentResponse5to4B'
/// title = 'FML Conversion for AppointmentResponse: R5 to R4B'
/// status = 'active'

uses "http://hl7.org/fhir/StructureDefinition/AppointmentResponse" alias AppointmentResponseR5 as source
uses "http://hl7.org/fhir/4.3/StructureDefinition/AppointmentResponse" alias AppointmentResponseR4B as target

imports "http://hl7.org/fhir/StructureMap/*5to4B"

group AppointmentResponse(source src : AppointmentResponseR5, target tgt : AppointmentResponseR4B) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.appointment -> tgt.appointment;
  src.start -> tgt.start; // src.proposedNewTime -> tgt.proposedNewTime;
  src.end -> tgt.end;
  src.participantType -> tgt.participantType;
  src.actor -> tgt.actor;
  src.participantStatus -> tgt.participantStatus;
  src.comment -> tgt.comment;
}

Maps from AppointmentResponse

FML Conversion for AppointmentResponse: R4B to R5 (Ready for Use/Trial Use)

/// url = 'http://hl7.org/fhir/StructureMap/AppointmentResponse4Bto5'
/// name = 'AppointmentResponse4Bto5'
/// title = 'FML Conversion for AppointmentResponse: R4B to R5'
/// status = 'active'

uses "http://hl7.org/fhir/4.3/StructureDefinition/AppointmentResponse" alias AppointmentResponseR4B as source
uses "http://hl7.org/fhir/StructureDefinition/AppointmentResponse" alias AppointmentResponseR5 as target

imports "http://hl7.org/fhir/StructureMap/*4Bto5"

group AppointmentResponse(source src : AppointmentResponseR4B, target tgt : AppointmentResponseR5) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.appointment -> tgt.appointment;
  src.start -> tgt.start; // src.proposedNewTime -> tgt.proposedNewTime;
  src.end -> tgt.end;
  src.participantType -> tgt.participantType;
  src.actor -> tgt.actor;
  src.participantStatus -> tgt.participantStatus;
  src.comment -> tgt.comment;
}

FML Conversion for AppointmentResponse: R4 to R5 (Ready for Use/Trial Use)

/// url = 'http://hl7.org/fhir/StructureMap/AppointmentResponse4to5'
/// name = 'AppointmentResponse4to5'
/// title = 'FML Conversion for AppointmentResponse: R4 to R5'
/// status = 'active'

uses "http://hl7.org/fhir/4.0/StructureDefinition/AppointmentResponse" alias AppointmentResponseR4 as source
uses "http://hl7.org/fhir/StructureDefinition/AppointmentResponse" alias AppointmentResponseR5 as target

imports "http://hl7.org/fhir/StructureMap/*4to5"

group AppointmentResponse(source src : AppointmentResponseR4, target tgt : AppointmentResponseR5) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.appointment -> tgt.appointment;
  src.start -> tgt.start; // src.proposedNewTime -> tgt.proposedNewTime;
  src.end -> tgt.end;
  src.participantType -> tgt.participantType;
  src.actor -> tgt.actor;
  src.participantStatus -> tgt.participantStatus;
  src.comment -> tgt.comment;
}