Extensions for Using Data Elements from FHIR R4B in FHIR R5 - Downloaded Version null See the Directory of published versions
| Page standards status: Trial-use | Maturity Level: 2 |
{
"resourceType" : "CodeSystem",
"id" : "map-transform",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n \n \n <h2>StructureMapTransform</h2>\n \n \n <div>\n \n \n <p>How data is copied/created.</p>\n\n \n \n </div>\n \n \n <p>This code system http://hl7.org/fhir/map-transform defines the following codes:</p>\n \n \n <table class=\"codes\">\n \n \n <tr>\n \n \n <td style=\"white-space:nowrap\">\n \n \n <b>Code</b>\n \n \n </td>\n \n \n <td>\n \n \n <b>Display</b>\n \n \n </td>\n \n \n <td>\n \n \n <b>Definition</b>\n \n \n </td>\n \n \n </tr>\n \n \n <tr>\n \n \n <td style=\"white-space:nowrap\">create\n \n \n <a name=\"map-transform-create\"> </a>\n \n \n </td>\n \n \n <td>create</td>\n \n \n <td>create(type : string) - type is passed through to the application on the standard API, and must be known by it.</td>\n \n \n </tr>\n \n \n <tr>\n \n \n <td style=\"white-space:nowrap\">copy\n \n \n <a name=\"map-transform-copy\"> </a>\n \n \n </td>\n \n \n <td>copy</td>\n \n \n <td>copy(source).</td>\n \n \n </tr>\n \n \n <tr>\n \n \n <td style=\"white-space:nowrap\">truncate\n \n \n <a name=\"map-transform-truncate\"> </a>\n \n \n </td>\n \n \n <td>truncate</td>\n \n \n <td>truncate(source, length) - source must be stringy type.</td>\n \n \n </tr>\n \n \n <tr>\n \n \n <td style=\"white-space:nowrap\">escape\n \n \n <a name=\"map-transform-escape\"> </a>\n \n \n </td>\n \n \n <td>escape</td>\n \n \n <td>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.</td>\n \n \n </tr>\n \n \n <tr>\n \n \n <td style=\"white-space:nowrap\">cast\n \n \n <a name=\"map-transform-cast\"> </a>\n \n \n </td>\n \n \n <td>cast</td>\n \n \n <td>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.</td>\n \n \n </tr>\n \n \n <tr>\n \n \n <td style=\"white-space:nowrap\">append\n \n \n <a name=\"map-transform-append\"> </a>\n \n \n </td>\n \n \n <td>append</td>\n \n \n <td>append(source...) - source is element or string.</td>\n \n \n </tr>\n \n \n <tr>\n \n \n <td style=\"white-space:nowrap\">translate\n \n \n <a name=\"map-transform-translate\"> </a>\n \n \n </td>\n \n \n <td>translate</td>\n \n \n <td>translate(source, uri_of_map) - use the translate operation.</td>\n \n \n </tr>\n \n \n <tr>\n \n \n <td style=\"white-space:nowrap\">reference\n \n \n <a name=\"map-transform-reference\"> </a>\n \n \n </td>\n \n \n <td>reference</td>\n \n \n <td>reference(source : object) - return a string that references the provided tree properly.</td>\n \n \n </tr>\n \n \n <tr>\n \n \n <td style=\"white-space:nowrap\">dateOp\n \n \n <a name=\"map-transform-dateOp\"> </a>\n \n \n </td>\n \n \n <td>dateOp</td>\n \n \n <td>Perform a date operation. *Parameters to be documented*.</td>\n \n \n </tr>\n \n \n <tr>\n \n \n <td style=\"white-space:nowrap\">uuid\n \n \n <a name=\"map-transform-uuid\"> </a>\n \n \n </td>\n \n \n <td>uuid</td>\n \n \n <td>Generate a random UUID (in lowercase). No Parameters.</td>\n \n \n </tr>\n \n \n <tr>\n \n \n <td style=\"white-space:nowrap\">pointer\n \n \n <a name=\"map-transform-pointer\"> </a>\n \n \n </td>\n \n \n <td>pointer</td>\n \n \n <td>Return the appropriate string to put in a reference that refers to the resource provided as a parameter.</td>\n \n \n </tr>\n \n \n <tr>\n \n \n <td style=\"white-space:nowrap\">evaluate\n \n \n <a name=\"map-transform-evaluate\"> </a>\n \n \n </td>\n \n \n <td>evaluate</td>\n \n \n <td>Execute the supplied FHIRPath expression and use the value returned by that.</td>\n \n \n </tr>\n \n \n <tr>\n \n \n <td style=\"white-space:nowrap\">cc\n \n \n <a name=\"map-transform-cc\"> </a>\n \n \n </td>\n \n \n <td>cc</td>\n \n \n <td>Create a CodeableConcept. Parameters = (text) or (system. Code[, display]).</td>\n \n \n </tr>\n \n \n <tr>\n \n \n <td style=\"white-space:nowrap\">c\n \n \n <a name=\"map-transform-c\"> </a>\n \n \n </td>\n \n \n <td>c</td>\n \n \n <td>Create a Coding. Parameters = (system. Code[, display]).</td>\n \n \n </tr>\n \n \n <tr>\n \n \n <td style=\"white-space:nowrap\">qty\n \n \n <a name=\"map-transform-qty\"> </a>\n \n \n </td>\n \n \n <td>qty</td>\n \n \n <td>Create a quantity. Parameters = (text) or (value, unit, [system, code]) where text is the natural representation e.g. [comparator]value[space]unit.</td>\n \n \n </tr>\n \n \n <tr>\n \n \n <td style=\"white-space:nowrap\">id\n \n \n <a name=\"map-transform-id\"> </a>\n \n \n </td>\n \n \n <td>id</td>\n \n \n <td>Create an identifier. Parameters = (system, value[, type]) where type is a code from the identifier type value set.</td>\n \n \n </tr>\n \n \n <tr>\n \n \n <td style=\"white-space:nowrap\">cp\n \n \n <a name=\"map-transform-cp\"> </a>\n \n \n </td>\n \n \n <td>cp</td>\n \n \n <td>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.</td>\n \n \n </tr>\n \n \n </table>\n \n \n </div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 2
},
{
"extension" : [
{
"url" : "packageId",
"valueId" : "hl7.fhir.uv.xver-r4b.r5"
},
{
"url" : "version",
"valueString" : "0.1.0"
},
{
"url" : "uri",
"valueUri" : "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4b.r5"
}
],
"url" : "http://hl7.org/fhir/StructureDefinition/package-source"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
}
],
"url" : "http://hl7.org/fhir/map-transform",
"version" : "4.3.0",
"name" : "StructureMapTransform",
"title" : "StructureMapTransform",
"status" : "draft",
"experimental" : false,
"date" : "2021-01-16T14:06:13-06: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|5.0.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 FHIRPath 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."
}
]
}