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/SearchParameter5to4B | Version: 5.1.0-ballot1 | |||
Standards status: Trial-use | Maturity Level: 1 | Computable Name: SearchParameter5to4B |
FMLConversionforSearchParameterR5toR4B
/// url = 'http://hl7.org/fhir/StructureMap/SearchParameter5to4B' /// name = 'SearchParameter5to4B' /// title = 'FML Conversion for SearchParameter: R5 to R4B' /// status = 'active' conceptmap "PublicationStatus" { prefix s = "http://hl7.org/fhir/publication-status" prefix t = "http://hl7.org/fhir/4.3/publication-status" s:draft - t:draft s:active - t:active s:retired - t:retired s:unknown - t:unknown } conceptmap "SearchComparator" { prefix s = "http://hl7.org/fhir/search-comparator" prefix t = "http://hl7.org/fhir/4.3/search-comparator" s:eq - t:eq s:ne - t:ne s:gt - t:gt s:lt - t:lt s:ge - t:ge s:le - t:le s:sa - t:sa s:eb - t:eb s:ap - t:ap } conceptmap "SearchModifierCode" { prefix s = "http://hl7.org/fhir/search-modifier-code" prefix t = "http://hl7.org/fhir/4.3/search-modifier-code" s:missing - t:missing s:exact - t:exact s:contains - t:contains s:not - t:not s:text - t:text s:in - t:in s:"not-in" - t:"not-in" s:below - t:below s:above - t:above s:type - t:type s:identifier - t:identifier } conceptmap "SearchParamType" { prefix s = "http://hl7.org/fhir/search-param-type" prefix t = "http://hl7.org/fhir/4.3/search-param-type" s:number - t:number s:date - t:date s:string - t:string s:token - t:token s:reference - t:reference s:composite - t:composite s:quantity - t:quantity s:uri - t:uri s:special - t:special } conceptmap "SearchProcessingModeType" { prefix s = "http://hl7.org/fhir/search-processingmode" prefix t = "http://hl7.org/fhir/4.3/search-xpath-usage" s:normal - t:normal s:phonetic - t:phonetic s:other - t:other } uses "http://hl7.org/fhir/StructureDefinition/SearchParameter" alias SearchParameterR5 as source uses "http://hl7.org/fhir/4.3/StructureDefinition/SearchParameter" alias SearchParameterR4B as target imports "http://hl7.org/fhir/StructureMap/*5to4B" group SearchParameter(source src : SearchParameterR5, target tgt : SearchParameterR4B) extends DomainResource <<type+>> { src.url -> tgt.url; src.version -> tgt.version; // src.identifier -> tgt.identifier; src.name -> tgt.name; // src.versionAlgorithm : string -> tgt.versionAlgorithm; src.derivedFrom -> tgt.derivedFrom; // src.title -> tgt.title; src.status as v -> tgt.status = translate(v, '#PublicationStatus', 'code'); src.experimental -> tgt.experimental; 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.code -> tgt.code; // src.copyright -> tgt.copyright; src.base -> tgt.base; src.type as v -> tgt.type = translate(v, '#SearchParamType', 'code'); src.expression -> tgt.expression; src.processingMode as v -> tgt.xpathUsage = translate(v, '#SearchProcessingModeType', 'code'); src.target -> tgt.target; // src.constraint -> tgt.constraint; src.multipleOr -> tgt.multipleOr; src.multipleAnd -> tgt.multipleAnd; src.comparator as v -> tgt.comparator = translate(v, '#SearchComparator', 'code'); src.modifier as v -> tgt.modifier = translate(v, '#SearchModifierCode', 'code'); src.chain -> tgt.chain; src.component as s -> tgt.component as t then SearchParameterComponent(s, t); } group SearchParameterComponent(source src, target tgt) extends BackboneElement { src.definition -> tgt.definition; src.expression -> tgt.expression; }