<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="triglyceride" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">to do</div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="oo" />
  </extension>
  <url value="http://hl7.org/fhir/StructureDefinition/triglyceride" />
  <name value="Example Lipid Profile" />
  <status value="draft" />
  <experimental value="true" />
  <date value="2012-05-12" />
  <publisher value="Grahame Grieve" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="grahame@healthintersections.com.au" />
    </telecom>
  </contact>
  <description value="Triglyceride Result" />
  <fhirVersion value="3.0.1" />
  <mapping>
    <identity value="workflow" />
    <uri value="http://hl7.org/fhir/workflow" />
    <name value="Workflow Mapping" />
  </mapping>
  <mapping>
    <identity value="sct-concept" />
    <uri value="http://snomed.info/conceptdomain" />
    <name value="SNOMED CT Concept Domain Binding" />
  </mapping>
  <mapping>
    <identity value="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2 Mapping" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/w5" />
    <name value="W5 Mapping" />
  </mapping>
  <mapping>
    <identity value="sct-attr" />
    <uri value="http://snomed.info/sct" />
    <name value="SNOMED CT Attribute Binding" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation">
      <path value="Observation" />
      <short value="Triglyceride Result" />
      <definition value="Group of elements for Triglyceride result." />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.code">
      <path value="Observation.code" />
      <short value="Triglyceride" />
      <definition value="Triglyceride." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <patternCodeableConcept>
        <coding>
          <system value="http://loinc.org" />
          <code value="35217-9" />
        </coding>
      </patternCodeableConcept>
      <mustSupport value="true" />
    </element>
    <element id="Observation.valueQuantity">
      <path value="Observation.valueQuantity" />
      <short value="Triglyceride value" />
      <definition value="Triglyceride value. If a result is not available, use the comments field." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Quantity" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Observation.interpretation">
      <path value="Observation.interpretation" />
      <short value="+ | ++ | +++ | - | -- | ---" />
      <definition value="+ | ++ | +++ | - | -- | ---." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Observation.comment">
      <path value="Observation.comment" />
      <short value="Comments about result" />
      <definition value="Comments about result." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Observation.referenceRange">
      <path value="Observation.referenceRange" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Observation.referenceRange.low">
      <path value="Observation.referenceRange.low" />
      <min value="0" />
      <max value="0" />
    </element>
    <element id="Observation.referenceRange.high">
      <path value="Observation.referenceRange.high" />
      <comment value="Per Australian NHF Recommendations." />
      <requirements value="&lt;2.0 mmol/L." />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.referenceRange.type">
      <path value="Observation.referenceRange.type" />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="CodeableConcept" />
      </type>
    </element>
    <element id="Observation.referenceRange.appliesTo">
      <path value="Observation.referenceRange.appliesTo" />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="CodeableConcept" />
      </type>
    </element>
    <element id="Observation.referenceRange.age">
      <path value="Observation.referenceRange.age" />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="Range" />
      </type>
    </element>
    <element id="Observation.related">
      <path value="Observation.related" />
      <min value="0" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>