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.json

Raw JSON (canonical form)

Example Extension Definition

{
  "resourceType": "ExtensionDefinition",
  "id": "example",
  "url": "http://hl7.org/fhir/ExtensionDefinition/ldl-calculated",
  "name": "extensiondefinition-example",
  "display": "LDL is Calculated",
  "publisher": "Grahame Grieve",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "grahame@healthintersections.com.au"
        }
      ]
    }
  ],
  "description": "An example extension definition, for the lipid profile",
  "status": "draft",
  "date": "2012-05-12",
  "contextType": "resource",
  "context": [
    "Observation.name"
  ],
  "element": [
    {
      "path": "Extension",
      "short": "LDL is Calculated",
      "definition": "True if the LDL value is calculated from Chol, Trig, and HDLC.",
      "comments": "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": 0,
      "max": "1",
      "type": [
        {
          "code": "boolean"
        }
      ],
      "mustSupport": false,
      "isModifier": false
    }
  ]
}

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.