{
  "resourceType" : "StructureMap",
  "id" : "publishable-example",
  "meta" : {
    "profile" : ["http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishablestructuremap"]
  },
  "language" : "en",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap publishable-example</b></p><a name=\"publishable-example\"> </a><a name=\"hcpublishable-example\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-crmi-publishablestructuremap.html\">CRMI Publishable StructureMap</a></p></div><pre class=\"fml\">\r\n<b>map</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/uv/crmi/StructureMap/publishable-example<span style=\"color: navy\">&quot; = &quot;</span>PublishableStructureMapExample<span style=\"color: navy\">&quot;\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">Example Structure Map</span>\r\n\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// Source.test -&gt; Destination.testValue</span>\r\n<b>group </b>Examples<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">Source</span>, <b>target</b> <span style=\"color: maroon\">Destination</span><span style=\"color: navy\">)</span><span style=\"color: navy\"> {\r\n</span>  Source.test<span style=\"color: navy\"> : </span>SourceClassA<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\"><b> -&gt; </b></span>Destination.testValue = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>&quot;rule1&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
  },
  "url" : "http://hl7.org/fhir/uv/crmi/StructureMap/publishable-example",
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.40.38.43.1"
  }],
  "version" : "0.1",
  "name" : "PublishableStructureMapExample",
  "title" : "Publishable StructureMap Example",
  "status" : "draft",
  "experimental" : true,
  "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" : "Source.test -> Destination.testValue",
    "input" : [{
      "name" : "Source",
      "mode" : "source"
    },
    {
      "name" : "Destination",
      "mode" : "target"
    }],
    "rule" : [{
      "name" : "rule1",
      "source" : [{
        "context" : "Source",
        "type" : "SourceClassA",
        "element" : "test",
        "variable" : "t"
      }],
      "target" : [{
        "context" : "Destination",
        "contextType" : "variable",
        "element" : "testValue",
        "transform" : "copy"
      }]
    }]
  }]
}