FHIR © HL7.org  |  Server Home  |  Health Intersections FHIR Server v1.9.374  |  FHIR Version 4.0.1  | User: ANONYMOUS (Unknown)  

History Record

XML or JSON representation

Links: First Previous Next Last  (2 found). Search: http://test.fhir.org/r4/StructureMap/_history?&_prior=2021-06-24T11:33:21.390Z&_format=text/xhtml&history-id=ccb95d7a-250f-4505-8d03-e38ad0038d 

StructureMap "supplyrequest-transform" Version "1"

Tags: (no tags)  +

This Resource , XML or JSON representation, or the full version history.. provenance for this resource
Updated: by

Generated Narrative with Details

id: supplyrequest-transform

url: http://hl7.org/fhir/StructureMap/supplyrequest-transform

name: Transform from an ActivityDefinition to a SupplyRequest

status: draft


{
  "resourceType" : "StructureMap",
  "id" : "supplyrequest-transform",
  "meta" : {
    "versionId" : "1",
    "lastUpdated" : "2021-05-17T21:11:58.078Z"
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: supplyrequest-transform</p><p><b>url</b>: <a href=\"http://hl7.org/fhir/StructureMap/supplyrequest-transform\">http://hl7.org/fhir/StructureMap/supplyrequest-transform</a></p><p><b>name</b>: Transform from an ActivityDefinition to a SupplyRequest</p><p><b>status</b>: draft</p></div>"
  },
  "url" : "http://hl7.org/fhir/StructureMap/supplyrequest-transform",
  "name" : "Transform from an ActivityDefinition to a SupplyRequest",
  "status" : "draft",
  "structure" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/activitydefinition",
      "mode" : "source"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/supplyrequest",
      "mode" : "target"
    }
  ],
  "group" : [
    {
      "name" : "main",
      "typeMode" : "none",
      "input" : [
        {
          "name" : "source",
          "type" : "ActivityDefinition",
          "mode" : "source"
        },
        {
          "name" : "target",
          "type" : "SupplyRequest",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "status",
          "source" : [
            {
              "context" : "source",
              "element" : "id",
              "variable" : "a"
            }
          ],
          "target" : [
            {
              "context" : "target",
              "contextType" : "variable",
              "element" : "status",
              "transform" : "evaluate",
              "parameter" : [
                {
                  "valueString" : "'draft'"
                }
              ]
            }
          ]
        },
        {
          "name" : "category",
          "source" : [
            {
              "context" : "source",
              "element" : "id",
              "variable" : "a"
            }
          ],
          "target" : [
            {
              "context" : "target",
              "contextType" : "variable",
              "element" : "category",
              "transform" : "evaluate",
              "parameter" : [
                {
                  "valueString" : "'non-stock'"
                }
              ]
            }
          ]
        },
        {
          "name" : "priority",
          "source" : [
            {
              "context" : "source",
              "element" : "id",
              "variable" : "a"
            }
          ],
          "target" : [
            {
              "context" : "target",
              "contextType" : "variable",
              "element" : "priority",
              "transform" : "evaluate",
              "parameter" : [
                {
                  "valueString" : "'routine'"
                }
              ]
            }
          ]
        },
        {
          "name" : "quantity",
          "source" : [
            {
              "context" : "source",
              "element" : "quantity",
              "variable" : "a"
            }
          ],
          "target" : [
            {
              "context" : "target",
              "contextType" : "variable",
              "element" : "category",
              "transform" : "copy"
            }
          ]
        },
        {
          "name" : "item",
          "source" : [
            {
              "context" : "source",
              "element" : "code",
              "variable" : "a"
            }
          ],
          "target" : [
            {
              "context" : "target",
              "contextType" : "variable",
              "element" : "orderedItem.itemCodeableConcept",
              "transform" : "copy"
            }
          ]
        },
        {
          "name" : "when",
          "source" : [
            {
              "context" : "source",
              "element" : "id",
              "variable" : "a"
            }
          ],
          "target" : [
            {
              "context" : "target",
              "contextType" : "variable",
              "element" : "occurrenceDateTime",
              "transform" : "evaluate",
              "parameter" : [
                {
                  "valueString" : "now()"
                }
              ]
            }
          ]
        },
        {
          "name" : "authoredOn",
          "source" : [
            {
              "context" : "source",
              "element" : "id",
              "variable" : "a"
            }
          ],
          "target" : [
            {
              "context" : "target",
              "contextType" : "variable",
              "element" : "authoredOn",
              "transform" : "evaluate",
              "parameter" : [
                {
                  "valueString" : "now()"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

StructureMap "example" Version "1"

Tags: (no tags)  +

This Resource , XML or JSON representation, or the full version history.. provenance for this resource
Updated: by

Generated Narrative with Details

id: example

url: http://hl7.org/fhir/StructureMap/example

version: 0.1

name: ExampleMap

title: Example Map

status: draft

date: 3/9/2017

publisher: HL7 FHIR Standard

contact:

description: Example Structure Map

jurisdiction: Oceania (Details : {http://unstats.un.org/unsd/methods/m49/m49.htm code "009" := "009", given as "Oceania"})

identifier: urn:oid:37843577-95fb-4adb-84c0-8837188a7bf3


{
  "resourceType" : "StructureMap",
  "id" : "example",
  "meta" : {
    "versionId" : "1",
    "lastUpdated" : "2021-05-17T21:11:57.968Z"
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: example</p><p><b>url</b>: <a href=\"http://hl7.org/fhir/StructureMap/example\">http://hl7.org/fhir/StructureMap/example</a></p><p><b>version</b>: 0.1</p><p><b>name</b>: ExampleMap</p><p><b>title</b>: Example Map</p><p><b>status</b>: draft</p><p><b>date</b>: 3/9/2017</p><p><b>publisher</b>: HL7 FHIR Standard</p><p><b>contact</b>: </p><p><b>description</b>: Example Structure Map</p><p><b>jurisdiction</b>: Oceania <span style=\"background: LightGoldenRodYellow \">(Details : {http://unstats.un.org/unsd/methods/m49/m49.htm code \"009\" := \"009\", given as \"Oceania\"})</span></p><p><b>identifier</b>: urn:oid:37843577-95fb-4adb-84c0-8837188a7bf3</p></div>"
  },
  "url" : "http://hl7.org/fhir/StructureMap/example",
  "identifier" : [
    {
      "system" : "urn:ietf:rfc:3986",
      "value" : "urn:oid:37843577-95fb-4adb-84c0-8837188a7bf3"
    }
  ],
  "version" : "0.1",
  "name" : "ExampleMap",
  "title" : "Example Map",
  "status" : "draft",
  "date" : "2017-03-09",
  "publisher" : "HL7 FHIR Standard",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://hl7.org/fhir"
        }
      ]
    }
  ],
  "description" : "Example Structure Map",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "009",
          "display" : "Oceania"
        }
      ]
    }
  ],
  "group" : [
    {
      "name" : "Examples",
      "typeMode" : "none",
      "documentation" : "test -> testValue",
      "input" : [
        {
          "name" : "test",
          "mode" : "source"
        }
      ],
      "rule" : [
        {
          "name" : "rule1",
          "source" : [
            {
              "context" : "Source",
              "type" : "SourceClassA",
              "element" : "test",
              "variable" : "t"
            }
          ],
          "target" : [
            {
              "context" : "Destination",
              "contextType" : "variable",
              "element" : "testValue",
              "transform" : "copy"
            }
          ]
        }
      ]
    }
  ]
}