This page is part of the FHIR Core Extensions Registry (v5.1.0-ballot: Releases Ballot 4) based on FHIR (HL7® FHIR® Standard) v5.0.0. The current version which supersedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions
Official URL: http://hl7.org/fhir/StructureMap/SubstanceSourceMaterial4to5 | Version: 5.1.0-ballot1 | |||
Standards status: Trial-use | Maturity Level: 1 | Computable Name: SubstanceSourceMaterial4to5 |
FMLConversionforSubstanceSourceMaterialR4toR5
/// url = 'http://hl7.org/fhir/StructureMap/SubstanceSourceMaterial4to5' /// name = 'SubstanceSourceMaterial4to5' /// title = 'FML Conversion for SubstanceSourceMaterial: R4 to R5' /// status = 'draft' uses "http://hl7.org/fhir/4.0/StructureDefinition/SubstanceSourceMaterial" alias SubstanceSourceMaterialR4 as source uses "http://hl7.org/fhir/StructureDefinition/SubstanceSourceMaterial" alias SubstanceSourceMaterialR5 as target imports "http://hl7.org/fhir/StructureMap/*4to5" group SubstanceSourceMaterial(source src : SubstanceSourceMaterialR4, target tgt : SubstanceSourceMaterialR5) extends DomainResource <<type+>> { src.sourceMaterialClass -> tgt.sourceMaterialClass; src.sourceMaterialType -> tgt.sourceMaterialType; src.sourceMaterialState -> tgt.sourceMaterialState; src.organismId -> tgt.organismId; src.organismName -> tgt.organismName; src.parentSubstanceId -> tgt.parentSubstanceId; src.parentSubstanceName -> tgt.parentSubstanceName; src.countryOfOrigin -> tgt.countryOfOrigin; src.geographicalLocation -> tgt.geographicalLocation; src.developmentStage -> tgt.developmentStage; src.fractionDescription as s -> tgt.fractionDescription as t then SubstanceSourceMaterialFractionDescription(s, t); src.organism as s -> tgt.organism as t then SubstanceSourceMaterialOrganism(s, t); src.partDescription as s -> tgt.partDescription as t then SubstanceSourceMaterialPartDescription(s, t); } group SubstanceSourceMaterialFractionDescription(source src, target tgt) extends BackboneElement { src.fraction -> tgt.fraction; src.materialType -> tgt.materialType; } group SubstanceSourceMaterialOrganism(source src, target tgt) extends BackboneElement { src.family -> tgt.family; src.genus -> tgt.genus; src.species -> tgt.species; src.intraspecificType -> tgt.intraspecificType; src.intraspecificDescription -> tgt.intraspecificDescription; src.author as s -> tgt.author as t then SubstanceSourceMaterialOrganismAuthor(s, t); src.hybrid as s -> tgt.hybrid as t then SubstanceSourceMaterialOrganismHybrid(s, t); src.organismGeneral as s -> tgt.organismGeneral as t then SubstanceSourceMaterialOrganismOrganismGeneral(s, t); } group SubstanceSourceMaterialOrganismAuthor(source src, target tgt) extends BackboneElement { src.authorType -> tgt.authorType; src.authorDescription -> tgt.authorDescription; } group SubstanceSourceMaterialOrganismHybrid(source src, target tgt) extends BackboneElement { src.maternalOrganismId -> tgt.maternalOrganismId; src.maternalOrganismName -> tgt.maternalOrganismName; src.paternalOrganismId -> tgt.paternalOrganismId; src.paternalOrganismName -> tgt.paternalOrganismName; src.hybridType -> tgt.hybridType; } group SubstanceSourceMaterialOrganismOrganismGeneral(source src, target tgt) extends BackboneElement { src.kingdom -> tgt.kingdom; src.phylum -> tgt.phylum; src.class -> tgt.class; src.order -> tgt.order; } group SubstanceSourceMaterialPartDescription(source src, target tgt) extends BackboneElement { src.part -> tgt.part; src.partLocation -> tgt.partLocation; }