Release 4

Financial Management Work GroupMaturity Level: N/AStandards Status: InformativeSecurity Category: Patient Compartments: Practitioner

R3 : R4 Conversion maps for PaymentNotice.

Functional status for this map: 1 test that all execute ok. 1 fail round-trip testing and 1 r3 resources are invalid (0 errors). (see documentation)

map "http://hl7.org/fhir/StructureMap/PaymentNotice3to4" = "R3 to R4 Conversions for PaymentNotice"

uses "http://hl7.org/fhir/3.0/StructureDefinition/PaymentNotice" alias PaymentNoticeR3 as source
uses "http://hl7.org/fhir/StructureDefinition/PaymentNotice" alias PaymentNotice as target

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

group PaymentNotice(source src : PaymentNoticeR3, target tgt : PaymentNotice) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status -> tgt.status;
  src.request -> tgt.request;
  src.response -> tgt.response;
  src.statusDate -> tgt.paymentDate;
  src.created -> tgt.created;
  src.target -> tgt.recipient;
  src.provider -> tgt.provider;
  src.paymentStatus -> tgt.paymentStatus;
}


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

uses "http://hl7.org/fhir/StructureDefinition/PaymentNotice" alias PaymentNotice as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/PaymentNotice" alias PaymentNoticeR3 as target

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

group PaymentNotice(source src : PaymentNotice, target tgt : PaymentNoticeR3) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status -> tgt.status;
  src.request -> tgt.request;
  src.response -> tgt.response;
  src.paymentDate -> tgt.statusDate;
  src.created -> tgt.created;
  src.recipient -> tgt.target;
  src.provider -> tgt.provider;
  src.paymentStatus -> tgt.paymentStatus;
}


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