STU 3 Candidate

This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). 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 R3

Structuremap-example.xml

Raw XML (canonical form)

Example of structuremap (id = "example")

<StructureMap xmlns="http://hl7.org/fhir">
  <id value="example"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">[Put rendering here]</div>
  </text>
  <url value="http://hl7.org/fhir/StructureMap/example"/>
  <name value="Example Map"/>
  <status value="draft"/>
  <group>
    <name value="Examples"/>
    <input>
      <name value="test"/>
      <mode value="source"/>
    </input>  
    <rule>
      <name value="rule1"/>
      <source>
        <required value="true"/>
        <context value="test"/>
        <contextType value="variable"/>
        <element value="test"/>
        <variable value="t"/>
      </source>
    </rule>
  </group>
  
</StructureMap>

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.