Release 4

Patient Administration Work GroupMaturity Level: N/AStandards Status: InformativeSecurity Category: Patient Compartments: Device, Patient, Practitioner, RelatedPerson

R3 : R4 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/AppointmentResponse3to4" = "R3 to R4 Conversions for AppointmentResponse"

uses "http://hl7.org/fhir/3.0/StructureDefinition/AppointmentResponse" alias AppointmentResponseR3 as source
uses "http://hl7.org/fhir/StructureDefinition/AppointmentResponse" alias AppointmentResponse as target

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

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


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

uses "http://hl7.org/fhir/StructureDefinition/AppointmentResponse" alias AppointmentResponse as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/AppointmentResponse" alias AppointmentResponseR3 as target

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

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


<p>No validation errors - all conversions are clean</p>