Current Build

Переводит команда Health Samurai . Приглашаем поучаствовать в русификации стандарта FHIR: GitHub , Email.

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

R3 : R4 Conversion maps for Invoice.

Functional status for this map: Not Mapped (see documentation)

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

uses "http://hl7.org/fhir/3.0/StructureDefinition/Invoice" alias InvoiceR3 as source
uses "http://hl7.org/fhir/StructureDefinition/Invoice" alias Invoice as target

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

group Invoice(source src : InvoiceR3, target tgt : Invoice) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status -> tgt.status;
  src.cancelledReason -> tgt.cancelledReason;
  src.type -> tgt.type;
  src.subject -> tgt.subject;
  src.recipient -> tgt.recipient;
  src.date -> tgt.date;
  src.participant as s -> tgt.participant as t then InvoiceParticipant(s, t);
  src.issuer -> tgt.issuer;
  src.account -> tgt.account;
  src.lineItem as s -> tgt.lineItem as t then InvoiceLineItem(s, t);
  src.totalPriceComponent -> tgt.totalPriceComponent;
  src.totalNet -> tgt.totalNet;
  src.totalGross -> tgt.totalGross;
  src.paymentTerms -> tgt.paymentTerms;
  src.note -> tgt.note;
}

group InvoiceParticipant(source src : InvoiceR3, target tgt : Invoice) extends BackboneElement <<type+>> {
  src.role -> tgt.role;
  src.actor -> tgt.actor;
}

group InvoiceLineItem(source src : InvoiceR3, target tgt : Invoice) extends BackboneElement <<type+>> {
  src.sequence -> tgt.sequence;
  src.chargeItem -> tgt.chargeItem;
  src.priceComponent as s -> tgt.priceComponent as t then InvoiceLineItemPriceComponent(s, t);
}

group InvoiceLineItemPriceComponent(source src : InvoiceR3, target tgt : Invoice) extends BackboneElement <<type+>> {
  src.type -> tgt.type;
  src.code -> tgt.code;
  src.factor -> tgt.factor;
  src.amount -> tgt.amount;
}


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

uses "http://hl7.org/fhir/StructureDefinition/Invoice" alias Invoice as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/Invoice" alias InvoiceR3 as target

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

group Invoice(source src : InvoiceR3, target tgt : Invoice) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status -> tgt.status;
  src.cancelledReason -> tgt.cancelledReason;
  src.type -> tgt.type;
  src.subject -> tgt.subject;
  src.recipient -> tgt.recipient;
  src.date -> tgt.date;
  src.participant as s -> tgt.participant as t then InvoiceParticipant(s, t);
  src.issuer -> tgt.issuer;
  src.account -> tgt.account;
  src.lineItem as s -> tgt.lineItem as t then InvoiceLineItem(s, t);
  src.totalPriceComponent -> tgt.totalPriceComponent;
  src.totalNet -> tgt.totalNet;
  src.totalGross -> tgt.totalGross;
  src.paymentTerms -> tgt.paymentTerms;
  src.note -> tgt.note;
}

group InvoiceParticipant(source src : InvoiceR3, target tgt : Invoice) extends BackboneElement <<type+>> {
  src.role -> tgt.role;
  src.actor -> tgt.actor;
}

group InvoiceLineItem(source src : InvoiceR3, target tgt : Invoice) extends BackboneElement <<type+>> {
  src.sequence -> tgt.sequence;
  src.chargeItem -> tgt.chargeItem;
  src.priceComponent as s -> tgt.priceComponent as t then InvoiceLineItemPriceComponent(s, t);
}

group InvoiceLineItemPriceComponent(source src : InvoiceR3, target tgt : Invoice) extends BackboneElement <<type+>> {
  src.type -> tgt.type;
  src.code -> tgt.code;
  src.factor -> tgt.factor;
  src.amount -> tgt.amount;
}


<p>n/a</p>