Release 5 Ballot

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

Example CodeSystem/map-transform (Turtle)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: Informative

Raw Turtle (+ also see Turtle/RDF Format Specification)

Definition for Code SystemStructureMapTransform

@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:CodeSystem;
  fhir:Resource.id [ fhir:value "map-transform"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2022-09-07T10:58:29.429+10:00" ];
     fhir:Meta.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/shareablecodesystem" ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.value [ fhir:value "fhir" ]
  ], [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ];
     fhir:Extension.value [ fhir:value "trial-use" ]
  ], [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ];
     fhir:Extension.value [ fhir:value "2" ]
  ];
  fhir:CanonicalResource.url [ fhir:value "http://hl7.org/fhir/map-transform"];
  fhir:CanonicalResource.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.4.682" ]
  ];
  fhir:CanonicalResource.version [ fhir:value "5.0.0-ballot"];
  fhir:CanonicalResource.name [ fhir:value "StructureMapTransform"];
  fhir:CanonicalResource.title [ fhir:value "StructureMapTransform"];
  fhir:CanonicalResource.status [ fhir:value "draft"];
  fhir:CanonicalResource.experimental [ fhir:value "false"];
  fhir:CanonicalResource.date [ fhir:value "2021-01-05T10:01:24+11:00"];
  fhir:CanonicalResource.publisher [ fhir:value "HL7 (FHIR Project)"];
  fhir:CanonicalResource.contact [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ], [
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "fhir@lists.hl7.org" ]
     ]
  ];
  fhir:CanonicalResource.description [ fhir:value "How data is copied/created."];
  fhir:CodeSystem.url [ fhir:value "http://hl7.org/fhir/map-transform"];
  fhir:CodeSystem.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.4.682" ]
  ];
  fhir:CodeSystem.version [ fhir:value "5.0.0-ballot"];
  fhir:CodeSystem.name [ fhir:value "StructureMapTransform"];
  fhir:CodeSystem.title [ fhir:value "StructureMapTransform"];
  fhir:CodeSystem.status [ fhir:value "draft"];
  fhir:CodeSystem.experimental [ fhir:value "false"];
  fhir:CodeSystem.date [ fhir:value "2021-01-05T10:01:24+11:00"];
  fhir:CodeSystem.publisher [ fhir:value "HL7 (FHIR Project)"];
  fhir:CodeSystem.contact [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ], [
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "fhir@lists.hl7.org" ]
     ]
  ];
  fhir:CodeSystem.description [ fhir:value "How data is copied/created."];
  fhir:CodeSystem.caseSensitive [ fhir:value "true"];
  fhir:CodeSystem.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/map-transform"];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.concept [
     fhir:ConceptDefinitionComponent.code [ fhir:value "create" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "create" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "create(type : string) - type is passed through to the application on the standard API, and must be known by it." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "copy" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "copy" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "copy(source)." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "truncate" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "truncate" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "truncate(source, length) - source must be stringy type." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "escape" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "escape" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "escape(source, fmt1, fmt2) - change source from one kind of escaping to another (plain, java, xml, json). note that this is for when the string itself is escaped." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "cast" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "cast" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "cast(source, type?) - case source from one type to another. target type can be left as implicit if there is one and only one target type known." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "append" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "append" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "append(source...) - source is element or string." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "translate" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "translate" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "translate(source, uri_of_map) - use the translate operation." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "reference" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "reference" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "reference(source : object) - return a string that references the provided tree properly." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "dateOp" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "dateOp" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "Perform a date operation. *Parameters to be documented*." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "uuid" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "uuid" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "Generate a random UUID (in lowercase). No Parameters." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "pointer" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "pointer" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "Return the appropriate string to put in a reference that refers to the resource provided as a parameter." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "evaluate" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "evaluate" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "Execute the supplied FHIRPath expression and use the value returned by that." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "cc" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "cc" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "Create a CodeableConcept. Parameters = (text) or (system. Code[, display])." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "c" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "c" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "Create a Coding. Parameters = (system. Code[, display])." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "qty" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "qty" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "Create a quantity. Parameters = (text) or (value, unit, [system, code]) where text is the natural representation e.g. [comparator]value[space]unit." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "id" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "id" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "Create an identifier. Parameters = (system, value[, type]) where type is a code from the identifier type value set." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "cp" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "cp" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "Create a contact details. Parameters = (value) or (system, value). If no system is provided, the system should be inferred from the content of the value." ]
  ] .

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.