FHIR Cross-Version Mapping Pack, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-cross-version/ and changes regularly. See the Directory of published versions
Official URL: http://hl7.org/fhir/StructureMap/Claim5to4 | Version: 0.1.0 | |||
Standards status: Draft | Maturity Level: 1 | Computable Name: Claim5to4 |
ClaimTransformsR5toR4
/// url = 'http://hl7.org/fhir/StructureMap/Claim5to4' /// name = 'Claim5to4' /// title = 'Claim Transforms: R5 to R4' /// status = 'active' uses "http://hl7.org/fhir/5.0/Claim" alias ClaimR5 as source uses "http://hl7.org/fhir/4.0/Claim" alias ClaimR4 as target imports "http://hl7.org/fhir/StructureMap/*5to4" group Claim(source src : ClaimR5, target tgt : ClaimR4) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.status as v -> tgt.status = translate(v, 'http://hl7.org/fhir/ConceptMap/Claim.status-R5toR4', 'code'); src.type -> tgt.type; src.subType -> tgt.subType; src.use as v -> tgt.use = translate(v, 'http://hl7.org/fhir/ConceptMap/Claim.use-R5toR4', 'code'); src.patient -> tgt.patient; src.billablePeriod -> tgt.billablePeriod; src.created -> tgt.created; src.enterer -> tgt.enterer; src.insurer -> tgt.insurer; src.provider -> tgt.provider; src.priority -> tgt.priority; src.fundsReserve -> tgt.fundsReserve; src.related as s -> tgt.related as t then ClaimRelated(s, t); src.prescription -> tgt.prescription; src.originalPrescription -> tgt.originalPrescription; src.payee as s -> tgt.payee as t then ClaimPayee(s, t); src.referral -> tgt.referral; src.facility -> tgt.facility; src.careTeam as s -> tgt.careTeam as t then ClaimCareTeam(s, t); src.supportingInfo as s -> tgt.supportingInfo as t then ClaimSupportingInfo(s, t); src.diagnosis as s -> tgt.diagnosis as t then ClaimDiagnosis(s, t); src.procedure as s -> tgt.procedure as t then ClaimProcedure(s, t); src.insurance as s -> tgt.insurance as t then ClaimInsurance(s, t); src.accident as s -> tgt.accident as t then ClaimAccident(s, t); src.item as s -> tgt.item as t then ClaimItem(s, t); src.total -> tgt.total; } group ClaimRelated(source src, target tgt) extends BackboneElement { src.claim -> tgt.claim; src.relationship -> tgt.relationship; src.reference -> tgt.reference; } group ClaimPayee(source src, target tgt) extends BackboneElement { src.type -> tgt.type; src.party -> tgt.party; } // group ClaimEvent(source src, target tgt) extends BackboneElement { // src.type -> tgt.type; // src.when : dateTime -> tgt.when; // src.when : Period -> tgt.when; // } group ClaimCareTeam(source src, target tgt) extends BackboneElement { src.sequence -> tgt.sequence; src.provider -> tgt.provider; src.responsible -> tgt.responsible; src.role -> tgt.role; src.specialty -> tgt.qualification; } group ClaimSupportingInfo(source src, target tgt) extends BackboneElement { src.sequence -> tgt.sequence; src.category -> tgt.category; src.code -> tgt.code; src.timing : date -> tgt.timing; src.timing : Period -> tgt.timing; src.value : boolean -> tgt.value; src.value : string -> tgt.value; src.value : Quantity -> tgt.value; src.value : Attachment -> tgt.value; src.value : Reference -> tgt.value; src.reason -> tgt.reason; } group ClaimDiagnosis(source src, target tgt) extends BackboneElement { src.sequence -> tgt.sequence; src.diagnosis : CodeableConcept -> tgt.diagnosis; src.diagnosis : Reference -> tgt.diagnosis; src.type -> tgt.type; src.onAdmission -> tgt.onAdmission; } group ClaimProcedure(source src, target tgt) extends BackboneElement { src.sequence -> tgt.sequence; src.type -> tgt.type; src.date -> tgt.date; src.procedure : CodeableConcept -> tgt.procedure; src.procedure : Reference -> tgt.procedure; src.udi -> tgt.udi; } group ClaimInsurance(source src, target tgt) extends BackboneElement { src.sequence -> tgt.sequence; src.focal -> tgt.focal; src.identifier -> tgt.identifier; src.coverage -> tgt.coverage; src.businessArrangement -> tgt.businessArrangement; src.preAuthRef -> tgt.preAuthRef; src.claimResponse -> tgt.claimResponse; } group ClaimAccident(source src, target tgt) extends BackboneElement { src.date -> tgt.date; src.type -> tgt.type; src.location : Address -> tgt.location; src.location : Reference -> tgt.location; } group ClaimItem(source src, target tgt) extends BackboneElement { src.sequence -> tgt.sequence; src.careTeamSequence -> tgt.careTeamSequence; src.diagnosisSequence -> tgt.diagnosisSequence; src.procedureSequence -> tgt.procedureSequence; src.informationSequence -> tgt.informationSequence; src.revenue -> tgt.revenue; src.category -> tgt.category; src.productOrService -> tgt.productOrService; src.modifier -> tgt.modifier; src.programCode -> tgt.programCode; src.serviced : date -> tgt.serviced; src.serviced : Period -> tgt.serviced; src.location : CodeableConcept -> tgt.location; src.location : Address -> tgt.location; src.location : Reference -> tgt.location; src.quantity -> tgt.quantity; src.unitPrice -> tgt.unitPrice; src.factor -> tgt.factor; src.net -> tgt.net; src.udi -> tgt.udi; src.bodySite as s -> tgt.bodySite = s.site; src.encounter -> tgt.encounter; src.detail as s -> tgt.detail as t then ClaimItemDetail(s, t); } // group ClaimItemBodySite(source src, target tgt) extends BackboneElement { // src.site -> tgt.site; // src.subSite -> tgt.subSite; // } group ClaimItemDetail(source src, target tgt) extends BackboneElement { src.sequence -> tgt.sequence; src.revenue -> tgt.revenue; src.category -> tgt.category; src.productOrService -> tgt.productOrService; src.modifier -> tgt.modifier; src.programCode -> tgt.programCode; src.quantity -> tgt.quantity; src.unitPrice -> tgt.unitPrice; src.factor -> tgt.factor; src.net -> tgt.net; src.udi -> tgt.udi; src.subDetail as s -> tgt.subDetail as t then ClaimItemDetailSubDetail(s, t); } group ClaimItemDetailSubDetail(source src, target tgt) extends BackboneElement { src.sequence -> tgt.sequence; src.revenue -> tgt.revenue; src.category -> tgt.category; src.productOrService -> tgt.productOrService; src.modifier -> tgt.modifier; src.programCode -> tgt.programCode; src.quantity -> tgt.quantity; src.unitPrice -> tgt.unitPrice; src.factor -> tgt.factor; src.net -> tgt.net; src.udi -> tgt.udi; }