R4 Ballot #1 (Mixed Normative/Trial use)

This page is part of the FHIR Specification (v3.3.0: R4 Ballot 2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Patient Administration Work GroupMaturity Level: N/ABallot Status: Informative Compartments: Device, Patient, Practitioner, RelatedPerson

R2 : R3 Conversion maps for AppointmentResponse.

Functional status for this map: 2 tests that all execute ok. All tests pass round-trip testing and all r3 resources are valid. (see documentation)

map "http://hl7.org/fhir/StructureMap/AppointmentResponse2to3" = "R2 to R3 Conversions for AppointmentResponse"

uses "http://hl7.org/fhir/DSTU2/StructureDefinition/AppointmentResponse" alias AppointmentResponseR2 as source
uses "http://hl7.org/fhir/StructureDefinition/AppointmentResponse" alias AppointmentResponse as target

imports "http://hl7.org/fhir/StructureMap/*2to3"

group for type+types  AppointmentResponse extends DomainResource
  input src : AppointmentResponseR2 as source
  input tgt : AppointmentResponse as target

  "AppointmentResponse-identifier" : for src.identifier make tgt.identifier
  "AppointmentResponse-appointment" : for src.appointment make tgt.appointment
  "AppointmentResponse-start" : for src.start make tgt.start
  "AppointmentResponse-end" : for src.end make tgt.end
  "AppointmentResponse-participantType" : for src.participantType make tgt.participantType
  "AppointmentResponse-actor" : for src.actor make tgt.actor
  "AppointmentResponse-participantStatus" : for src.participantStatus make tgt.participantStatus
  "AppointmentResponse-comment" : for src.comment make tgt.comment

endgroup

map "http://hl7.org/fhir/StructureMap/AppointmentResponse3to2" = "R3 to R2 Conversion for AppointmentResponse"

uses "http://hl7.org/fhir/StructureDefinition/AppointmentResponse" alias AppointmentResponse as source
uses "http://hl7.org/fhir/DSTU2/StructureDefinition/AppointmentResponse" alias AppointmentResponseR2 as target

imports "http://hl7.org/fhir/StructureMap/*3to2"

group for type+types  AppointmentResponse extends DomainResource
  input src : AppointmentResponse as source
  input tgt : AppointmentResponseR2 as target

  "AppointmentResponse-identifier" : for src.identifier make tgt.identifier
  "AppointmentResponse-appointment" : for src.appointment make tgt.appointment
  "AppointmentResponse-start" : for src.start make tgt.start
  "AppointmentResponse-end" : for src.end make tgt.end
  "AppointmentResponse-participantType" : for src.participantType make tgt.participantType
  "AppointmentResponse-actor" : for src.actor make tgt.actor
  "AppointmentResponse-participantStatus" : for src.participantStatus make tgt.participantStatus
  "AppointmentResponse-comment" : for src.comment make tgt.comment

endgroup