{
  "resourceType": "StructureDefinition",
  "id": "cholesterol",
  "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/cholesterol",
  "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": "Describes how the lab report is used for a standard Lipid Profile - Cholesterol, Triglyceride and Cholesterol fractions. Uses LOINC codes",
  "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",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "short": "Cholesterol",
        "definition": "Cholesterol.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "35200-5",
              "display": "Cholesterol"
            }
          ]
        },
        "mustSupport": true
      },
      {
        "id": "Observation.valueQuantity",
        "path": "Observation.valueQuantity",
        "short": "Cholesterol value",
        "definition": "Cholesterol value. If a result is not available, use the comments field.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.valueQuantity.value",
        "path": "Observation.valueQuantity.value",
        "short": "Actual numerical value",
        "definition": "Actual numerical value.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.valueQuantity.comparator",
        "path": "Observation.valueQuantity.comparator",
        "comment": "No need for this on cholesterol.",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "Observation.valueQuantity.unit",
        "path": "Observation.valueQuantity.unit",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "mmol/L",
        "mustSupport": true
      },
      {
        "id": "Observation.valueQuantity.system",
        "path": "Observation.valueQuantity.system",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://unitsofmeasure.org",
        "mustSupport": true
      },
      {
        "id": "Observation.valueQuantity.code",
        "path": "Observation.valueQuantity.code",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedCode": "mmol/L",
        "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": "May include statements about significant, unexpected or unreliable. values, or information about the source of the value where this may be relevant to the interpretation of the 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": "<4.5 mmol/L.",
        "comment": "Per Australian NHF Recommendations.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          }
        ],
        "fixedQuantity": {
          "value": 4.5
        }
      },
      {
        "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"
      }
    ]
  }
}