Extensions for Using Data Elements from FHIR STU3 in FHIR R4B
0.1.0 - STU International flag

Extensions for Using Data Elements from FHIR STU3 in FHIR R4B - Downloaded Version null See the Directory of published versions

: StructureMapTransform - JSON Representation

Page standards status: Trial-use Maturity Level: 2

Raw json | Download

{
  "resourceType" : "CodeSystem",
  "id" : "map-transform",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem map-transform</b></p><a name=\"map-transform\"> </a><a name=\"hcmap-transform\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/map-transform</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">create<a name=\"map-transform-create\"> </a></td><td><div><p>create(type : string) - type is passed through to the application on the standard API, and must be known by it</p>\n</div></td></tr><tr><td style=\"white-space:nowrap\">copy<a name=\"map-transform-copy\"> </a></td><td><div><p>copy(source)</p>\n</div></td></tr><tr><td style=\"white-space:nowrap\">truncate<a name=\"map-transform-truncate\"> </a></td><td><div><p>truncate(source, length) - source must be stringy type</p>\n</div></td></tr><tr><td style=\"white-space:nowrap\">escape<a name=\"map-transform-escape\"> </a></td><td><div><p>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</p>\n</div></td></tr><tr><td style=\"white-space:nowrap\">cast<a name=\"map-transform-cast\"> </a></td><td><div><p>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</p>\n</div></td></tr><tr><td style=\"white-space:nowrap\">append<a name=\"map-transform-append\"> </a></td><td><div><p>append(source...) - source is element or string</p>\n</div></td></tr><tr><td style=\"white-space:nowrap\">translate<a name=\"map-transform-translate\"> </a></td><td><div><p>translate(source, uri_of_map) - use the translate operation</p>\n</div></td></tr><tr><td style=\"white-space:nowrap\">reference<a name=\"map-transform-reference\"> </a></td><td><div><p>reference(source : object) - return a string that references the provided tree properly</p>\n</div></td></tr><tr><td style=\"white-space:nowrap\">dateOp<a name=\"map-transform-dateOp\"> </a></td><td><div><p>Perform a date operation. <em>Parameters to be documented</em></p>\n</div></td></tr><tr><td style=\"white-space:nowrap\">uuid<a name=\"map-transform-uuid\"> </a></td><td><div><p>Generate a random UUID (in lowercase). No Parameters</p>\n</div></td></tr><tr><td style=\"white-space:nowrap\">pointer<a name=\"map-transform-pointer\"> </a></td><td><div><p>Return the appropriate string to put in a reference that refers to the resource provided as a parameter</p>\n</div></td></tr><tr><td style=\"white-space:nowrap\">evaluate<a name=\"map-transform-evaluate\"> </a></td><td><div><p>Execute the supplied fluentpath expression and use the value returned by that</p>\n</div></td></tr><tr><td style=\"white-space:nowrap\">cc<a name=\"map-transform-cc\"> </a></td><td><div><p>Create a CodeableConcept. Parameters = (text) or (system. Code[, display])</p>\n</div></td></tr><tr><td style=\"white-space:nowrap\">c<a name=\"map-transform-c\"> </a></td><td><div><p>Create a Coding. Parameters = (system. Code[, display])</p>\n</div></td></tr><tr><td style=\"white-space:nowrap\">qty<a name=\"map-transform-qty\"> </a></td><td><div><p>Create a quantity. Parameters = (text) or (value, unit, [system, code]) where text is the natural representation e.g. [comparator]value[space]unit</p>\n</div></td></tr><tr><td style=\"white-space:nowrap\">id<a name=\"map-transform-id\"> </a></td><td><div><p>Create an identifier. Parameters = (system, value[, type]) where type is a code from the identifier type value set</p>\n</div></td></tr><tr><td style=\"white-space:nowrap\">cp<a name=\"map-transform-cp\"> </a></td><td><div><p>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</p>\n</div></td></tr></table></div>"
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-ballot-status",
      "valueString" : "Informative"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger" : 2
    },
    {
      "extension" : [
        {
          "url" : "packageId",
          "valueId" : "hl7.fhir.uv.xver-r3.r4b"
        },
        {
          "url" : "version",
          "valueString" : "0.1.0"
        },
        {
          "url" : "uri",
          "valueUri" : "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r3.r4b"
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/package-source"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode" : "fhir"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode" : "trial-use",
      "_valueCode" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r3.r4b"
          }
        ]
      }
    }
  ],
  "url" : "http://hl7.org/fhir/map-transform",
  "version" : "3.0.2",
  "name" : "StructureMapTransform",
  "status" : "draft",
  "experimental" : false,
  "date" : "2019-10-23T19:53:00-05:00",
  "publisher" : "FHIR Infrastructure",
  "contact" : [
    {
      "name" : "FHIR Infrastructure",
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description" : "How data is copied/created",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001",
          "display" : "World"
        }
      ]
    }
  ],
  "caseSensitive" : true,
  "valueSet" : "http://hl7.org/fhir/ValueSet/map-transform|4.3.0",
  "content" : "complete",
  "concept" : [
    {
      "code" : "create",
      "display" : "create",
      "definition" : "create(type : string) - type is passed through to the application on the standard API, and must be known by it"
    },
    {
      "code" : "copy",
      "display" : "copy",
      "definition" : "copy(source)"
    },
    {
      "code" : "truncate",
      "display" : "truncate",
      "definition" : "truncate(source, length) - source must be stringy type"
    },
    {
      "code" : "escape",
      "display" : "escape",
      "definition" : "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"
    },
    {
      "code" : "cast",
      "display" : "cast",
      "definition" : "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"
    },
    {
      "code" : "append",
      "display" : "append",
      "definition" : "append(source...) - source is element or string"
    },
    {
      "code" : "translate",
      "display" : "translate",
      "definition" : "translate(source, uri_of_map) - use the translate operation"
    },
    {
      "code" : "reference",
      "display" : "reference",
      "definition" : "reference(source : object) - return a string that references the provided tree properly"
    },
    {
      "code" : "dateOp",
      "display" : "dateOp",
      "definition" : "Perform a date operation. *Parameters to be documented*"
    },
    {
      "code" : "uuid",
      "display" : "uuid",
      "definition" : "Generate a random UUID (in lowercase). No Parameters"
    },
    {
      "code" : "pointer",
      "display" : "pointer",
      "definition" : "Return the appropriate string to put in a reference that refers to the resource provided as a parameter"
    },
    {
      "code" : "evaluate",
      "display" : "evaluate",
      "definition" : "Execute the supplied fluentpath expression and use the value returned by that"
    },
    {
      "code" : "cc",
      "display" : "cc",
      "definition" : "Create a CodeableConcept. Parameters = (text) or (system. Code[, display])"
    },
    {
      "code" : "c",
      "display" : "c",
      "definition" : "Create a Coding. Parameters = (system. Code[, display])"
    },
    {
      "code" : "qty",
      "display" : "qty",
      "definition" : "Create a quantity. Parameters = (text) or (value, unit, [system, code]) where text is the natural representation e.g. [comparator]value[space]unit"
    },
    {
      "code" : "id",
      "display" : "id",
      "definition" : "Create an identifier. Parameters = (system, value[, type]) where type is a code from the identifier type value set"
    },
    {
      "code" : "cp",
      "display" : "cp",
      "definition" : "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"
    }
  ]
}