DHIS2 Example FHIR Implementation Guide
1.0.0 - ci-build International flag

DHIS2 Example FHIR Implementation Guide, published by DHIS2. This is not an authorized publication; it is the continuous build for version 1.0.0). This version is based on the current content of https://github.com/JohanGHole/alldevs-demo-ig and changes regularly. See the Directory of published versions

Logical Model: MDOption - XML Profile

Draft as of 2023-09-28

XML representation of the d2-md-option logical model.

Raw xml | Download



<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="d2-md-option"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml">Placeholder</div>
  </text>
  <url value="https://dhis2.org/StructureDefinition/d2-md-option"/>
  <version value="1.0.0"/>
  <name value="MDOption"/>
  <title value="DHIS2 Metadata: Option"/>
  <status value="draft"/>
  <date value="2023-09-28T13:33:49+00:00"/>
  <publisher value="DHIS2"/>
  <contact>
    <name value="DHIS2"/>
    <telecom>
      <system value="url"/>
      <value value="https://dhis2.org"/>
    </telecom>
    <telecom>
      <system value="email"/>
      <value value="integration@dhis2.org"/>
    </telecom>
  </contact>
  <contact>
    <name value="Johan Hole"/>
    <telecom>
      <system value="email"/>
      <value value="Johan@Devotta.no"/>
      <use value="work"/>
    </telecom>
  </contact>
  <description value="DHIS2 Metadata: Option"/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
      <display value="World"/>
    </coding>
  </jurisdiction>
  <fhirVersion value="4.0.1"/>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM Mapping"/>
  </mapping>
  <kind value="logical"/>
  <abstract value="false"/>
  <type value="https://dhis2.org/StructureDefinition/d2-md-option"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base"/>
  <derivation value="specialization"/>
  <snapshot>
    <element id="d2-md-option">
      <path value="d2-md-option"/>
      <short value="DHIS2 Metadata: Option"/>
      <definition value="DHIS2 Metadata: Option"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Base"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <isModifier value="false"/>
    </element>
    <element id="d2-md-option.id">
      <path value="d2-md-option.id"/>
      <short value="Unique UID for option"/>
      <definition value="Unique UID for option"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="d2-md-option.id"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
    </element>
    <element id="d2-md-option.code">
      <path value="d2-md-option.code"/>
      <short value="Unique CODE for option"/>
      <definition value="Unique CODE for option"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="d2-md-option.code"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
    </element>
    <element id="d2-md-option.href">
      <path value="d2-md-option.href"/>
      <short value="Unique URL where the option is available from"/>
      <definition value="Unique URL where the option is available from"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="d2-md-option.href"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
    </element>
    <element id="d2-md-option.name">
      <path value="d2-md-option.name"/>
      <short value="Name of option"/>
      <definition value="Name of option"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="d2-md-option.name"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="d2-md-option.shortName">
      <path value="d2-md-option.shortName"/>
      <short value="Short name of option"/>
      <definition value="Short name of option"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="d2-md-option.shortName"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="d2-md-option.description">
      <path value="d2-md-option.description"/>
      <short value="Description of option"/>
      <definition value="Description of option"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="d2-md-option.description"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="d2-md-option.attributeValues">
      <path value="d2-md-option.attributeValues"/>
      <short value="additional attributes that are in this option"/>
      <definition value="additional attributes that are in this option"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="d2-md-option.attributeValues"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="https://dhis2.org/StructureDefinition/d2-md-attribute-value"/>
      </type>
    </element>
  </snapshot>
  <differential>
    <element id="d2-md-option">
      <path value="d2-md-option"/>
      <short value="DHIS2 Metadata: Option"/>
      <definition value="DHIS2 Metadata: Option"/>
    </element>
    <element id="d2-md-option.id">
      <path value="d2-md-option.id"/>
      <short value="Unique UID for option"/>
      <definition value="Unique UID for option"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Identifier"/>
      </type>
    </element>
    <element id="d2-md-option.code">
      <path value="d2-md-option.code"/>
      <short value="Unique CODE for option"/>
      <definition value="Unique CODE for option"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Identifier"/>
      </type>
    </element>
    <element id="d2-md-option.href">
      <path value="d2-md-option.href"/>
      <short value="Unique URL where the option is available from"/>
      <definition value="Unique URL where the option is available from"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Identifier"/>
      </type>
    </element>
    <element id="d2-md-option.name">
      <path value="d2-md-option.name"/>
      <short value="Name of option"/>
      <definition value="Name of option"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="d2-md-option.shortName">
      <path value="d2-md-option.shortName"/>
      <short value="Short name of option"/>
      <definition value="Short name of option"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="d2-md-option.description">
      <path value="d2-md-option.description"/>
      <short value="Description of option"/>
      <definition value="Description of option"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="d2-md-option.attributeValues">
      <path value="d2-md-option.attributeValues"/>
      <short value="additional attributes that are in this option"/>
      <definition value="additional attributes that are in this option"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code
              value="https://dhis2.org/StructureDefinition/d2-md-attribute-value"/>
      </type>
    </element>
  </differential>
</StructureDefinition>