2nd DSTU Draft For Comment

This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Other-example2.xml

Raw XML (canonical form)

How 'Other' can be used for essoteric resources - in this case, a UML class model (id = "classModel")

Raw XML

<Other xmlns="http://hl7.org/fhir">
  <id value="classModel"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><!-- Snipped for brevity --></div>
  </text>
  <extension url="http://example.org/do-not-use/fhir-extensions/UML#class">
    <extension url="http://example.org/do-not-use/fhir-extensions/UML#class.name">
      <valueString value="Class1"/>
    </extension>
    <extension url="http://example.org/do-not-use/fhir-extensions/UML#class.attribute">
      <extension url="http://example.org/do-not-use/fhir-extensions/UML#class.attribute.name">
        <valueString value="attribute1"/>
      </extension>
      <extension url="http://example.org/do-not-use/fhir-extensions/UML#class.attribute.minOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://example.org/do-not-use/fhir-extensions/UML#class.attribute.maxOccurs">
        <valueCode value="*"/>
      </extension>
    </extension>
    <extension url="http://example.org/do-not-use/fhir-extensions/UML#class.attribute">
      <extension url="http://example.org/do-not-use/fhir-extensions/UML#class.attribute.name">
        <valueString value="attribute2"/>
      </extension>
      <extension url="http://example.org/do-not-use/fhir-extensions/UML#class.attribute.minOccurs">
        <valueInteger value="0"/>
      </extension>
      <extension url="http://example.org/do-not-use/fhir-extensions/UML#class.attribute.maxOccurs">
        <valueInteger value="1"/>
      </extension>
    </extension>
  </extension>
  <code>
    <coding>
      <system value="http://example.org/do-not-use/fhir-codes#resourceTypes"/>
      <code value="UMLCLASSMODEL"/>
    </coding>
  </code>
</Other>

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.