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

Extensiondefinition-example.xml

Raw XML (canonical form)

Example Extension Definition (id = "example")

Raw XML

<ExtensionDefinition xmlns="http://hl7.org/fhir">
  <id value="example"/>
  <url value="http://hl7.org/fhir/ExtensionDefinition/ldl-calculated"/>
  <name value="extensiondefinition-example"/>
  <display value="LDL is Calculated"/>
  <publisher value="Grahame Grieve"/>
  <contact>
    <telecom>
    <system value="url"/>
    <value value="grahame@healthintersections.com.au"/>
  </telecom>
  </contact>
  <description value="An example extension definition, for the lipid profile"/>
  <status value="draft"/>
  <date value="2012-05-12"/>
  <contextType value="resource"/>
  <context value="Observation.name"/>
  <element>
    <path value="Extension"/>
    <short value="LDL is Calculated"/>
    <definition value="True if the LDL value is calculated from Chol, Trig, and HDLC."/>
    <comments value="It's definitely better that whether the LDL was calculated or not comes from the LOINC
     code. But this is defined to exercise the extension machinery in the publication tooling,
     and to make this comment. Actually, the location is odd too - it would probably be on
     the root observation, but this is for testing purposes."/>
    <min value="0"/>
    <max value="1"/>
    <type>
      <code value="boolean"/>
    </type>
    <mustSupport value="false"/>
    <isModifier value="false"/>
  </element>
</ExtensionDefinition>

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.