This page is part of the FHIR Specification (v0.0.82: DSTU 1). 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

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">
  <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>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p><b>Class1</b></p>
      <ul>
        <li>Attribute1: 1..*</li>
        <li>Attribute2: 0..1</li>
      </ul>
    </div>
  </text>
  <code>
    <coding>
      <system value="http://example.org/do-not-use/fhir-codes#resourceTypes"/>
      <code value="UMLCLASSMODEL"/>
    </coding>
  </code>
</Other>