This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4
Clinical Decision Support Work Group | Maturity Level: N/A | Standards Status: Informative | Security Category: Anonymous | Compartments: Not linked to any defined compartments |
R4 : R5 Conversion maps for Library.
Functional status for this map: 11 tests that all execute ok. All tests pass round-trip testing and 11 r3 resources are invalid (0 errors). (see documentation)
map "http://hl7.org/fhir/StructureMap/Library3to4" = "R3 to R4 Conversions for Library" uses "http://hl7.org/fhir/3.0/StructureDefinition/Library" alias LibraryR3 as source uses "http://hl7.org/fhir/StructureDefinition/Library" alias Library as target imports "http://hl7.org/fhir/StructureMap/*3to4" group Library(source src : LibraryR3, target tgt : Library) extends DomainResource <<type+>> { src.url -> tgt.url; src.identifier -> tgt.identifier; src.version -> tgt.version; src.name -> tgt.name; src.title -> tgt.title; src.status -> tgt.status; src.experimental -> tgt.experimental; src.type -> tgt.type; src.date -> tgt.date; src.publisher -> tgt.publisher; src.contact -> tgt.contact; src.description -> tgt.description; src.useContext -> tgt.useContext; src.jurisdiction -> tgt.jurisdiction; src.purpose -> tgt.purpose; src.usage -> tgt.usage; src.copyright -> tgt.copyright; src.approvalDate -> tgt.approvalDate; src.lastReviewDate -> tgt.lastReviewDate; src.effectivePeriod -> tgt.effectivePeriod; src.topic -> tgt.topic; src.contributor as vs where type = 'author' -> tgt.author as vt then Contributor(vs, vt); src.contributor as vs where type = 'editor' -> tgt.editor as vt then Contributor(vs, vt); src.contributor as vs where type = 'reviewer' -> tgt.reviewer as vt then Contributor(vs, vt); src.contributor as vs where type = 'endorser' -> tgt.endorser as vt then Contributor(vs, vt); src.relatedArtifact -> tgt.relatedArtifact; src.parameter -> tgt.parameter; src.dataRequirement -> tgt.dataRequirement; src.content -> tgt.content; }
map "http://hl7.org/fhir/StructureMap/Library4to3" = "R4 to R3 Conversion for Library" uses "http://hl7.org/fhir/StructureDefinition/Library" alias Library as source uses "http://hl7.org/fhir/3.0/StructureDefinition/Library" alias LibraryR3 as target imports "http://hl7.org/fhir/StructureMap/*4to3" group Library(source src : Library, target tgt : LibraryR3) extends DomainResource <<type+>> { src.url -> tgt.url; src.identifier -> tgt.identifier; src.version -> tgt.version; src.name -> tgt.name; src.title -> tgt.title; src.status -> tgt.status; src.experimental -> tgt.experimental; src.type -> tgt.type; src.date -> tgt.date; src.publisher -> tgt.publisher; src.contact -> tgt.contact; src.description -> tgt.description; src.useContext -> tgt.useContext; src.jurisdiction -> tgt.jurisdiction; src.purpose -> tgt.purpose; src.usage -> tgt.usage; src.copyright -> tgt.copyright; src.approvalDate -> tgt.approvalDate; src.lastReviewDate -> tgt.lastReviewDate; src.effectivePeriod -> tgt.effectivePeriod; src.topic -> tgt.topic; src.author as vs -> tgt.contributor as vt, vt.type = 'author' then Contributor(vs, vt); src.editor as vs -> tgt.contributor as vt, vt.type = 'editor', vt.contact = vs; src.reviewer as vs -> tgt.contributor as vt, vt.type = 'reviewer', vt.contact = vs; src.endorser as vs -> tgt.contributor as vt, vt.type = 'endorser', vt.contact = vs; src.relatedArtifact -> tgt.relatedArtifact; src.parameter -> tgt.parameter; src.dataRequirement -> tgt.dataRequirement; src.content -> tgt.content; }