{
  "resourceType": "StructureDefinition",
  "id": "5b47c7a5-cc41-455a-a893-e61e30487b26",
  "meta": {
    "lastUpdated": "2019-01-17T00:57:30.577+00:00"
  },
  "url": "http://example.org/fhir/StructureDefinition/MyObservation",
  "name": "MyObservation",
  "status": "draft",
  "date": "2019-01-17T00:57:29.762533+00:00",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "Observation.identifier",
        "path": "Observation.identifier",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.basedOn",
        "path": "Observation.basedOn",
        "max": "0"
      },
      {
        "id": "Observation.status",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
            "valueString": "default: final"
          }
        ],
        "path": "Observation.status",
        "fixedCode": "final"
      },
      {
        "id": "Observation.category",
        "path": "Observation.category",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.category.coding",
        "path": "Observation.category.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.category.coding.system",
        "path": "Observation.category.coding.system",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/observation-category"
      },
      {
        "id": "Observation.category.coding.version",
        "path": "Observation.category.coding.version",
        "max": "0"
      },
      {
        "id": "Observation.category.coding.code",
        "path": "Observation.category.coding.code",
        "min": 1,
        "fixedCode": "vital-signs"
      },
      {
        "id": "Observation.category.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.category.coding.display",
        "min": 1,
        "fixedString": "Vital Signs"
      },
      {
        "id": "Observation.category.coding.userSelected",
        "path": "Observation.category.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Observation.category.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.category.text",
        "max": "0"
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.code.coding:LOINC",
        "path": "Observation.code.coding",
        "sliceName": "LOINC"
      },
      {
        "id": "Observation.code.coding:LOINC.system",
        "path": "Observation.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.code.coding:LOINC.version",
        "path": "Observation.code.coding.version",
        "max": "0"
      },
      {
        "id": "Observation.code.coding:LOINC.code",
        "path": "Observation.code.coding.code",
        "min": 1,
        "fixedCode": "85354-9"
      },
      {
        "id": "Observation.code.coding:LOINC.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.code.coding.display",
        "min": 1,
        "fixedString": "Blood pressure panel with all children optional"
      },
      {
        "id": "Observation.code.coding:LOINC.userSelected",
        "path": "Observation.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Observation.code.coding:SNOMED",
        "path": "Observation.code.coding",
        "sliceName": "SNOMED"
      },
      {
        "id": "Observation.code.coding:SNOMED.system",
        "path": "Observation.code.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.code.coding:SNOMED.version",
        "path": "Observation.code.coding.version",
        "max": "0"
      },
      {
        "id": "Observation.code.coding:SNOMED.code",
        "path": "Observation.code.coding.code",
        "min": 1,
        "fixedCode": "75367002"
      },
      {
        "id": "Observation.code.coding:SNOMED.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.code.coding.display",
        "min": 1,
        "fixedString": "Blood pressure (observable entity)"
      },
      {
        "id": "Observation.code.coding:SNOMED.userSelected",
        "path": "Observation.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Observation.code.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.code.text",
        "max": "0"
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "min": 1
      },
      {
        "id": "Observation.subject.reference",
        "path": "Observation.subject.reference",
        "min": 1
      },
      {
        "id": "Observation.subject.identifier",
        "path": "Observation.subject.identifier",
        "max": "0"
      },
      {
        "id": "Observation.subject.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.subject.display",
        "max": "0"
      },
      {
        "id": "Observation.context",
        "path": "Observation.context",
        "max": "0"
      },
      {
        "id": "Observation.effective[x]:effectiveDateTime",
        "path": "Observation.effectiveDateTime",
        "sliceName": "effectiveDateTime",
        "min": 1,
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Observation.issued",
        "path": "Observation.issued",
        "max": "0"
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.performer.reference",
        "path": "Observation.performer.reference",
        "min": 1
      },
      {
        "id": "Observation.performer.identifier",
        "path": "Observation.performer.identifier",
        "max": "0"
      },
      {
        "id": "Observation.performer.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.performer.display",
        "max": "0"
      },
      {
        "id": "Observation.value[x]:valueQuantity",
        "path": "Observation.valueQuantity",
        "sliceName": "valueQuantity",
        "max": "0",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.value[x]:valueQuantity.comparator",
        "path": "Observation.valueQuantity.comparator",
        "max": "0"
      },
      {
        "id": "Observation.dataAbsentReason",
        "path": "Observation.dataAbsentReason",
        "max": "0"
      },
      {
        "id": "Observation.interpretation",
        "path": "Observation.interpretation",
        "max": "0"
      },
      {
        "id": "Observation.comment",
        "path": "Observation.comment",
        "max": "0"
      },
      {
        "id": "Observation.specimen",
        "path": "Observation.specimen",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange",
        "path": "Observation.referenceRange",
        "max": "0"
      },
      {
        "id": "Observation.related",
        "path": "Observation.related",
        "max": "0"
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "rules": "closed"
        }
      },
      {
        "id": "Observation.component:SystolicBloodPressure",
        "path": "Observation.component",
        "sliceName": "SystolicBloodPressure"
      },
      {
        "id": "Observation.component:SystolicBloodPressure.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:SystolicBloodPressure.code.coding:LOINC",
        "path": "Observation.component.code.coding",
        "sliceName": "LOINC"
      },
      {
        "id": "Observation.component:SystolicBloodPressure.code.coding:LOINC.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.component:SystolicBloodPressure.code.coding:LOINC.version",
        "path": "Observation.component.code.coding.version",
        "max": "0"
      },
      {
        "id": "Observation.component:SystolicBloodPressure.code.coding:LOINC.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "fixedCode": "8480-6"
      },
      {
        "id": "Observation.component:SystolicBloodPressure.code.coding:LOINC.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.component.code.coding.display",
        "min": 1,
        "fixedString": "Systolic blood pressure"
      },
      {
        "id": "Observation.component:SystolicBloodPressure.code.coding:LOINC.userSelected",
        "path": "Observation.component.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Observation.component:SystolicBloodPressure.code.coding:SNOMED",
        "path": "Observation.component.code.coding",
        "sliceName": "SNOMED"
      },
      {
        "id": "Observation.component:SystolicBloodPressure.code.coding:SNOMED.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.component:SystolicBloodPressure.code.coding:SNOMED.version",
        "path": "Observation.component.code.coding.version",
        "max": "0"
      },
      {
        "id": "Observation.component:SystolicBloodPressure.code.coding:SNOMED.code",
        "path": "Observation.component.code.coding.code",
        "min": 1
      },
      {
        "id": "Observation.component:SystolicBloodPressure.code.coding:SNOMED.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.component.code.coding.display",
        "min": 1
      },
      {
        "id": "Observation.component:SystolicBloodPressure.code.coding:SNOMED.userSelected",
        "path": "Observation.component.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Observation.component:SystolicBloodPressure.code.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.component.code.text",
        "max": "0"
      },
      {
        "id": "Observation.component:SystolicBloodPressure.value[x]:valueQuantity",
        "path": "Observation.component.valueQuantity",
        "sliceName": "valueQuantity",
        "min": 1,
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:SystolicBloodPressure.value[x]:valueQuantity.value",
        "path": "Observation.component.valueQuantity.value",
        "min": 1
      },
      {
        "id": "Observation.component:SystolicBloodPressure.value[x]:valueQuantity.comparator",
        "path": "Observation.component.valueQuantity.comparator",
        "max": "0"
      },
      {
        "id": "Observation.component:SystolicBloodPressure.value[x]:valueQuantity.unit",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.component.valueQuantity.unit",
        "min": 1,
        "fixedString": "mm[Hg]"
      },
      {
        "id": "Observation.component:SystolicBloodPressure.value[x]:valueQuantity.system",
        "path": "Observation.component.valueQuantity.system",
        "min": 1,
        "fixedUri": "http://unitsofmeasure.org"
      },
      {
        "id": "Observation.component:SystolicBloodPressure.value[x]:valueQuantity.code",
        "path": "Observation.component.valueQuantity.code",
        "max": "0"
      },
      {
        "id": "Observation.component:SystolicBloodPressure.dataAbsentReason",
        "path": "Observation.component.dataAbsentReason",
        "max": "0"
      },
      {
        "id": "Observation.component:SystolicBloodPressure.referenceRange",
        "path": "Observation.component.referenceRange",
        "max": "0"
      },
      {
        "id": "Observation.component:DiastolicBloodPressure",
        "path": "Observation.component",
        "sliceName": "DiastolicBloodPressure"
      },
      {
        "id": "Observation.component:DiastolicBloodPressure.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:DiastolicBloodPressure.code.coding:LOINC",
        "path": "Observation.component.code.coding",
        "sliceName": "LOINC"
      },
      {
        "id": "Observation.component:DiastolicBloodPressure.code.coding:LOINC.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.component:DiastolicBloodPressure.code.coding:LOINC.version",
        "path": "Observation.component.code.coding.version",
        "max": "0"
      },
      {
        "id": "Observation.component:DiastolicBloodPressure.code.coding:LOINC.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "fixedCode": "8462-4"
      },
      {
        "id": "Observation.component:DiastolicBloodPressure.code.coding:LOINC.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.component.code.coding.display",
        "min": 1,
        "fixedString": "Diastolic blood pressure"
      },
      {
        "id": "Observation.component:DiastolicBloodPressure.code.coding:LOINC.userSelected",
        "path": "Observation.component.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Observation.component:DiastolicBloodPressure.code.coding:SNOMED",
        "path": "Observation.component.code.coding",
        "sliceName": "SNOMED"
      },
      {
        "id": "Observation.component:DiastolicBloodPressure.code.coding:SNOMED.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.component:DiastolicBloodPressure.code.coding:SNOMED.version",
        "path": "Observation.component.code.coding.version",
        "max": "0"
      },
      {
        "id": "Observation.component:DiastolicBloodPressure.code.coding:SNOMED.code",
        "path": "Observation.component.code.coding.code",
        "min": 1
      },
      {
        "id": "Observation.component:DiastolicBloodPressure.code.coding:SNOMED.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.component.code.coding.display",
        "min": 1
      },
      {
        "id": "Observation.component:DiastolicBloodPressure.code.coding:SNOMED.userSelected",
        "path": "Observation.component.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Observation.component:DiastolicBloodPressure.code.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.component.code.text",
        "max": "0"
      },
      {
        "id": "Observation.component:DiastolicBloodPressure.value[x]:valueQuantity",
        "path": "Observation.component.valueQuantity",
        "sliceName": "valueQuantity",
        "min": 1,
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:DiastolicBloodPressure.value[x]:valueQuantity.value",
        "path": "Observation.component.valueQuantity.value",
        "min": 1
      },
      {
        "id": "Observation.component:DiastolicBloodPressure.value[x]:valueQuantity.comparator",
        "path": "Observation.component.valueQuantity.comparator",
        "max": "0"
      },
      {
        "id": "Observation.component:DiastolicBloodPressure.value[x]:valueQuantity.unit",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.component.valueQuantity.unit",
        "min": 1,
        "fixedString": "mm[Hg]"
      },
      {
        "id": "Observation.component:DiastolicBloodPressure.value[x]:valueQuantity.system",
        "path": "Observation.component.valueQuantity.system",
        "min": 1,
        "fixedUri": "http://unitsofmeasure.org"
      },
      {
        "id": "Observation.component:DiastolicBloodPressure.value[x]:valueQuantity.code",
        "path": "Observation.component.valueQuantity.code",
        "max": "0"
      },
      {
        "id": "Observation.component:DiastolicBloodPressure.dataAbsentReason",
        "path": "Observation.component.dataAbsentReason",
        "max": "0"
      },
      {
        "id": "Observation.component:DiastolicBloodPressure.referenceRange",
        "path": "Observation.component.referenceRange",
        "max": "0"
      }
    ]
  }
}