{
  "resourceType": "StructureDefinition",
  "id": "ldlcholesterol",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">to do</div>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 1
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "oo"
    }
  ],
  "url": "http://hl7.org/fhir/StructureDefinition/ldlcholesterol",
  "name": "Example Lipid Profile",
  "status": "draft",
  "experimental": true,
  "date": "2012-05-12",
  "publisher": "Grahame Grieve",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "grahame@healthintersections.com.au"
        }
      ]
    }
  ],
  "description": "LDL Cholesterol Result",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Mapping"
    },
    {
      "identity": "sct-concept",
      "uri": "http://snomed.info/conceptdomain",
      "name": "SNOMED CT Concept Domain Binding"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    },
    {
      "identity": "sct-attr",
      "uri": "http://snomed.info/sct",
      "name": "SNOMED CT Attribute Binding"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation",
        "short": "LDL Cholesterol Result",
        "definition": "Group of elements for LDL Cholesterol result.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "short": "LDL Cholesterol -measured or calculated per code",
        "definition": "LDL Cholesterol -measured or calculated per code.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "LDLCodes"
            }
          ],
          "strength": "required",
          "description": "LDL Cholesterol codes - measured or calculated",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/ldlcholesterol-codes"
          }
        }
      },
      {
        "id": "Observation.valueQuantity",
        "path": "Observation.valueQuantity",
        "short": "LDL Cholesterol value",
        "definition": "LDL Cholesterol value. If a result is not available, use the comments field.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.interpretation",
        "path": "Observation.interpretation",
        "short": "+ | ++ | +++ | - | -- | ---",
        "definition": "+ | ++ | +++ | - | -- | ---.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.comment",
        "path": "Observation.comment",
        "short": "Comments about result",
        "definition": "Comments about result.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.referenceRange",
        "path": "Observation.referenceRange",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.referenceRange.low",
        "path": "Observation.referenceRange.low",
        "min": 0,
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.high",
        "path": "Observation.referenceRange.high",
        "definition": "<3.0 mmol/L.",
        "comment": "Per Australian NHF Recommendations.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          }
        ],
        "fixedQuantity": {
          "value": 3.0
        }
      },
      {
        "id": "Observation.referenceRange.type",
        "path": "Observation.referenceRange.type",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "Observation.referenceRange.appliesTo",
        "path": "Observation.referenceRange.appliesTo",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "Observation.referenceRange.age",
        "path": "Observation.referenceRange.age",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "Range"
          }
        ]
      },
      {
        "id": "Observation.related",
        "path": "Observation.related",
        "min": 0,
        "max": "0"
      }
    ]
  }
}