DSTU2

This page is part of the FHIR Specification (v1.0.2: DSTU 2). 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 R2

Implementationguide-example.xml

Raw XML (canonical form)

Example of implementationguide (id = "example")

<ImplementationGuide xmlns="http://hl7.org/fhir">
 
  <id value="example"/>
  <text><status value="generated"/><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>http://hl7.org/fhir/daf</a></p><p><b>version</b>: 0</p><p><b>name</b>: Data Access Framework (DAF)</p><p><b>status</b>: draft</p><p><b>experimental</b>: false</p><p><b>publisher</b>: ONC / HL7 Joint project</p><blockquote><p><b>contact</b></p><p><b>name</b>: ONC</p><p><b>telecom</b>: http://www.healthit.gov</p></blockquote><blockquote><p><b>contact</b></p><p><b>name</b>: HL7</p><p><b>telecom</b>: http://hl7.org/fhir</p></blockquote><p><b>date</b>: 01/01/2015</p><p><b>description</b>: The Data Access Framework (DAF) Initiative leverages the HL7 FHIR standards to standardize
         access to Meaningful Use Stage 2 structured information both within the organization and
         from external organizations</p><p><b>useContext</b>: ?? <span>(Details : {urn:iso:std:iso:3166 code 'US' = '??)</span></p><p><b>copyright</b>: Published by ONC under the standard FHIR license (CC0)</p><p><b>fhirVersion</b>: 1.0.0</p><h3>Dependencies</h3><table><tr><td>-</td><td><b>Type</b></td><td><b>Uri</b></td></tr><tr><td>*</td><td>reference</td><td><a>http://hl7.org/fhir/ImplementationGuide/uscore</a></td></tr></table><blockquote><p><b>package</b></p><p><b>name</b>: test</p><p><b>description</b>: Base package (not broken up into multiple packages)</p><h3>Resources</h3><table><tr><td>-</td><td><b>Purpose</b></td><td><b>Name</b></td><td><b>Description</b></td><td><b>Acronym</b></td><td><b>Source[x]</b></td><td><b>ExampleFor</b></td></tr><tr><td>*</td><td>example</td><td>Test Example</td><td>A test example to show how a package works</td><td>daf-tst</td><td><a>test.html</a></td><td><a>StructureDefinition/daf-patient</a></td></tr></table></blockquote><h3>Globals</h3><table><tr><td>-</td><td><b>Type</b></td><td><b>Profile</b></td></tr><tr><td>*</td><td>Patient</td><td><a>StructureDefinition/daf-patient</a></td></tr></table><p><b>binary</b>: <a>http://h7.org/fhir/fhir.css</a></p><blockquote><p><b>page</b></p><p><b>source</b>: <a>patient-example.html</a></p><p><b>name</b>: Example Patient Page</p><p><b>kind</b>: page</p><h3>Pages</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table></blockquote></div></text><url value="http://hl7.org/fhir/daf"/>
  <version value="0"/>
  <name value="Data Access Framework (DAF)"/>
  <status value="draft"/>
  <experimental value="false"/>
  <publisher value="ONC / HL7 Joint project"/>
  <contact>
    <name value="ONC"/>
    <telecom>
      <system value="other"/>
      <value value="http://www.healthit.gov"/>
    </telecom>
  </contact>
  <contact>
    <name value="HL7"/>
    <telecom>
      <system value="other"/>
      <value value="http://hl7.org/fhir"/>
    </telecom>
  </contact>
  <date value="2015-01-01"/>
  <description value="The Data Access Framework (DAF) Initiative leverages the HL7 FHIR standards to standardize
   access to Meaningful Use Stage 2 structured information both within the organization and
   from external organizations"/>
  <useContext>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="US"/>
    </coding>
  </useContext>
  <copyright value="Published by ONC under the standard FHIR license (CC0)"/>
  <fhirVersion value="1.0.0"/>
  <dependency> 
   <type value="reference"/>
   <!--    when there's a uscore realm implemenation guide, DAF will use it    -->
   <uri value="http://hl7.org/fhir/ImplementationGuide/uscore"/>
  </dependency>
  <package>
    <name value="test"/>
    <description value="Base package (not broken up into multiple packages)"/>
    <resource>
      <purpose value="example"/>
      <name value="Test Example"/>
      <description value="A test example to show how a package works"/>
      <!--    used when generating invariants    -->
      <acronym value="daf-tst"/>
      <sourceUri value="test.html"/>
      <exampleFor>
        <reference value="StructureDefinition/daf-patient"/>
      </exampleFor>
    </resource>
  </package>
  <global>
   <!--    all patients have to conform to daf-patient    -->
   <type value="Patient"/>
   <profile>
     <reference value="StructureDefinition/daf-patient"/>
   </profile>
  </global>
  <!--    standard FHIR stylesheet. This doesn't need to be an absolute HTTP reference, 
    but the publishing tool gets confused if it isn't     -->
  <binary value="http://h7.org/fhir/fhir.css"/>
  <page>
    <source value="patient-example.html"/>
    <name value="Example Patient Page"/>
    <kind value="page"/>
    <page>
      <source value="list.html"/>
      <name value="Value Set Page"/>
      <kind value="list"/>
      <type value="ValueSet"/>
      <package value="test"/>
      <format value="text/html"/>
    </page>
  </page>
</ImplementationGuide>

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.