{
  "resourceType": "StructureDefinition",
  "url": "https://example.org/fhir/StructureDefinition/MyObservation",
  "name": "MyObservation",
  "status": "draft",
  "date": "2024-03-01T00:46:27.3562894+00:00",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.status",
        "path": "Observation.status",
        "mustSupport": true
      },
      {
        "id": "Observation.category",
        "path": "Observation.category",
        "slicing": {
          "description": "檢驗檢查分類",
          "rules": "open"
        },
        "mustSupport": true
      },
      {
        "id": "Observation.category:VSCat",
        "path": "Observation.category",
        "sliceName": "VSCat",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.category:VSCat.coding",
        "path": "Observation.category.coding",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.category:VSCat.coding.system",
        "path": "Observation.category.coding.system",
        "min": 1,
        "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category",
        "mustSupport": true
      },
      {
        "id": "Observation.category:VSCat.coding.code",
        "path": "Observation.category.coding.code",
        "min": 1,
        "fixedCode": "vital-signs",
        "mustSupport": true
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "mustSupport": true
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "min": 1,
        "fixedCoding": {
          "userSelected": false
        },
        "mustSupport": true
      },
      {
        "id": "Observation.code.coding.system",
        "path": "Observation.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org",
        "mustSupport": true
      },
      {
        "id": "Observation.code.coding.code",
        "path": "Observation.code.coding.code",
        "min": 1,
        "fixedCode": "99707-2"
      },
      {
        "id": "Observation.code.coding.display",
        "path": "Observation.code.coding.display",
        "fixedString": "Continuous renal replacement therapy panel",
        "mustSupport": true
      },
      {
        "id": "Observation.code.text",
        "path": "Observation.code.text",
        "fixedString": "Continuous renal replacement therapy (CRRT)",
        "mustSupport": true
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Location"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.effective[x]",
        "path": "Observation.effective[x]",
        "short": "量測的日期時間區間",
        "min": 1,
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.performer.reference",
        "path": "Observation.performer.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.device",
        "path": "Observation.device",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.device.reference",
        "path": "Observation.device.reference",
        "mustSupport": true
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "slicing": {
          "description": "儀器輸出量測值",
          "rules": "open"
        },
        "short": "儀器輸出量測值",
        "min": 5,
        "mustSupport": true
      },
      {
        "id": "Observation.component:BloodFlowRate",
        "path": "Observation.component",
        "sliceName": "BloodFlowRate",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.component:BloodFlowRate.code",
        "path": "Observation.component.code",
        "mustSupport": true
      },
      {
        "id": "Observation.component:BloodFlowRate.code.coding",
        "path": "Observation.component.code.coding",
        "definition": "BLOOD_FLOW.",
        "min": 1
      },
      {
        "id": "Observation.component:BloodFlowRate.code.coding.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:BloodFlowRate.code.coding.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "fixedCode": "99711-4",
        "mustSupport": true
      },
      {
        "id": "Observation.component:BloodFlowRate.code.coding.display",
        "path": "Observation.component.code.coding.display",
        "fixedString": "Blood flow rate",
        "mustSupport": true
      },
      {
        "id": "Observation.component:BloodFlowRate.value[x]",
        "path": "Observation.component.value[x]",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "description": "UCUMCodes",
          "valueSet": "http://hl7.org/fhir/ValueSet/ucum-units"
        }
      },
      {
        "id": "Observation.component:BloodFlowRate.value[x].value",
        "path": "Observation.component.value[x].value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.component:BloodFlowRate.value[x].unit",
        "path": "Observation.component.value[x].unit",
        "min": 1,
        "fixedString": "mL/min",
        "mustSupport": true
      },
      {
        "id": "Observation.component:BloodFlowRate.value[x].system",
        "path": "Observation.component.value[x].system",
        "min": 1,
        "fixedUri": "http://unitsofmeasure.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:BloodFlowRate.value[x].code",
        "path": "Observation.component.value[x].code",
        "min": 1,
        "fixedCode": "mL/min",
        "mustSupport": true
      },
      {
        "id": "Observation.component:BloodFlowRate.dataAbsentReason",
        "path": "Observation.component.dataAbsentReason",
        "mustSupport": true
      },
      {
        "id": "Observation.component:DialysateFlowRate",
        "path": "Observation.component",
        "sliceName": "DialysateFlowRate",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.component:DialysateFlowRate.code",
        "path": "Observation.component.code",
        "mustSupport": true
      },
      {
        "id": "Observation.component:DialysateFlowRate.code.coding",
        "path": "Observation.component.code.coding",
        "short": "DIALYSATE_FLOW",
        "min": 1
      },
      {
        "id": "Observation.component:DialysateFlowRate.code.coding.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:DialysateFlowRate.code.coding.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "fixedCode": "99712-2",
        "mustSupport": true
      },
      {
        "id": "Observation.component:DialysateFlowRate.code.coding.display",
        "path": "Observation.component.code.coding.display",
        "fixedString": "Dialysate flow rate",
        "mustSupport": true
      },
      {
        "id": "Observation.component:DialysateFlowRate.value[x]",
        "path": "Observation.component.value[x]",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "description": "UCUMCodes",
          "valueSet": "http://hl7.org/fhir/ValueSet/ucum-units"
        }
      },
      {
        "id": "Observation.component:DialysateFlowRate.value[x].value",
        "path": "Observation.component.value[x].value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.component:DialysateFlowRate.value[x].unit",
        "path": "Observation.component.value[x].unit",
        "min": 1,
        "fixedString": "mL/hr",
        "mustSupport": true
      },
      {
        "id": "Observation.component:DialysateFlowRate.value[x].system",
        "path": "Observation.component.value[x].system",
        "min": 1,
        "fixedUri": "http://unitsofmeasure.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:DialysateFlowRate.value[x].code",
        "path": "Observation.component.value[x].code",
        "min": 1,
        "fixedCode": "mL/h",
        "mustSupport": true
      },
      {
        "id": "Observation.component:DialysateFlowRate.dataAbsentReason",
        "path": "Observation.component.dataAbsentReason",
        "mustSupport": true
      },
      {
        "id": "Observation.component:ReplacementFluid",
        "path": "Observation.component",
        "sliceName": "ReplacementFluid",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.component:ReplacementFluid.code",
        "path": "Observation.component.code",
        "mustSupport": true
      },
      {
        "id": "Observation.component:ReplacementFluid.code.coding",
        "path": "Observation.component.code.coding",
        "min": 1
      },
      {
        "id": "Observation.component:ReplacementFluid.code.coding.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:ReplacementFluid.code.coding.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "fixedCode": "99733-8",
        "mustSupport": true
      },
      {
        "id": "Observation.component:ReplacementFluid.code.coding.display",
        "path": "Observation.component.code.coding.display",
        "fixedString": "Replacement fluid",
        "mustSupport": true
      },
      {
        "id": "Observation.component:ReplacementFluid.value[x]",
        "path": "Observation.component.value[x]",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "UCUMCodes",
          "valueSet": "http://hl7.org/fhir/ValueSet/ucum-units"
        }
      },
      {
        "id": "Observation.component:ReplacementFluid.value[x].value",
        "path": "Observation.component.value[x].value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.component:ReplacementFluid.value[x].unit",
        "path": "Observation.component.value[x].unit",
        "min": 1,
        "fixedString": "mL/hr",
        "mustSupport": true
      },
      {
        "id": "Observation.component:ReplacementFluid.value[x].system",
        "path": "Observation.component.value[x].system",
        "min": 1,
        "fixedUri": "http://unitsofmeasure.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:ReplacementFluid.value[x].code",
        "path": "Observation.component.value[x].code",
        "min": 1,
        "fixedCode": "mL/h",
        "mustSupport": true
      },
      {
        "id": "Observation.component:ReplacementFluid.dataAbsentReason",
        "path": "Observation.component.dataAbsentReason",
        "mustSupport": true
      },
      {
        "id": "Observation.component:PrefilterReplacementFluidRate",
        "path": "Observation.component",
        "sliceName": "PrefilterReplacementFluidRate",
        "short": "REPLACEMENT_PRE_FLOW",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.component:PrefilterReplacementFluidRate.code",
        "path": "Observation.component.code",
        "mustSupport": true
      },
      {
        "id": "Observation.component:PrefilterReplacementFluidRate.code.coding",
        "path": "Observation.component.code.coding",
        "min": 1
      },
      {
        "id": "Observation.component:PrefilterReplacementFluidRate.code.coding.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:PrefilterReplacementFluidRate.code.coding.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "fixedCode": "99714-8",
        "mustSupport": true
      },
      {
        "id": "Observation.component:PrefilterReplacementFluidRate.code.coding.display",
        "path": "Observation.component.code.coding.display",
        "fixedString": "Pre-filter replacement fluid rate",
        "mustSupport": true
      },
      {
        "id": "Observation.component:PrefilterReplacementFluidRate.value[x]",
        "path": "Observation.component.value[x]",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "UCUMCodes",
          "valueSet": "http://hl7.org/fhir/ValueSet/ucum-units"
        }
      },
      {
        "id": "Observation.component:PrefilterReplacementFluidRate.value[x].value",
        "path": "Observation.component.value[x].value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.component:PrefilterReplacementFluidRate.value[x].unit",
        "path": "Observation.component.value[x].unit",
        "min": 1,
        "fixedString": "mL/hr",
        "mustSupport": true
      },
      {
        "id": "Observation.component:PrefilterReplacementFluidRate.value[x].system",
        "path": "Observation.component.value[x].system",
        "min": 1,
        "fixedUri": "http://unitsofmeasure.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:PrefilterReplacementFluidRate.value[x].code",
        "path": "Observation.component.value[x].code",
        "min": 1,
        "fixedCode": "mL/h",
        "mustSupport": true
      },
      {
        "id": "Observation.component:PrefilterReplacementFluidRate.dataAbsentReason",
        "path": "Observation.component.dataAbsentReason",
        "mustSupport": true
      },
      {
        "id": "Observation.component:PostfilterReplacementFluidRate",
        "path": "Observation.component",
        "sliceName": "PostfilterReplacementFluidRate",
        "short": "REPLACEMENT_POST_FLOW",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.component:PostfilterReplacementFluidRate.code",
        "path": "Observation.component.code",
        "mustSupport": true
      },
      {
        "id": "Observation.component:PostfilterReplacementFluidRate.code.coding",
        "path": "Observation.component.code.coding",
        "min": 1
      },
      {
        "id": "Observation.component:PostfilterReplacementFluidRate.code.coding.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:PostfilterReplacementFluidRate.code.coding.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "fixedCode": "99713-0",
        "mustSupport": true
      },
      {
        "id": "Observation.component:PostfilterReplacementFluidRate.code.coding.display",
        "path": "Observation.component.code.coding.display",
        "fixedString": "Post-filter replacement fluid rate",
        "mustSupport": true
      },
      {
        "id": "Observation.component:PostfilterReplacementFluidRate.value[x]",
        "path": "Observation.component.value[x]",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "UCUMCodes",
          "valueSet": "http://hl7.org/fhir/ValueSet/ucum-units"
        }
      },
      {
        "id": "Observation.component:PostfilterReplacementFluidRate.value[x].value",
        "path": "Observation.component.value[x].value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.component:PostfilterReplacementFluidRate.value[x].unit",
        "path": "Observation.component.value[x].unit",
        "min": 1,
        "fixedString": "mL/hr",
        "mustSupport": true
      },
      {
        "id": "Observation.component:PostfilterReplacementFluidRate.value[x].system",
        "path": "Observation.component.value[x].system",
        "min": 1,
        "fixedUri": "http://unitsofmeasure.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:PostfilterReplacementFluidRate.value[x].code",
        "path": "Observation.component.value[x].code",
        "min": 1,
        "fixedCode": "mL/h",
        "mustSupport": true
      },
      {
        "id": "Observation.component:PostfilterReplacementFluidRate.dataAbsentReason",
        "path": "Observation.component.dataAbsentReason",
        "mustSupport": true
      }
    ]
  }
}