{
  "resourceType": "StructureDefinition",
  "id": "care-robot-bedsore-sd",
  "url": "http://www.healthall.co.kr/care-robot-prj/StructureDefinition/care-robot-bedsore-sd",
  "name": "CareRobotBedSoreSd",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://www.healthall.co.kr/care-robot-prj/StructureDefinition/care-robot-base-sd",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.code.coding.system",
        "path": "Observation.code.coding.system",
        "min": 1,
        "fixedUri": "http://www.healthall.co.kr/care-robot-prj/CodeSystem/care-robot"
      },
      {
        "id": "Observation.code.coding.code",
        "path": "Observation.code.coding.code",
        "min": 1,
        "fixedCode": "care_robot_bedsore"
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code.coding.code"
            },
            {
              "type": "value",
              "path": "code.coding.system"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:body_shape",
        "path": "Observation.component",
        "sliceName": "body_shape",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:body_shape.code",
        "path": "Observation.component.code",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:body_shape.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            },
            {
              "type": "value",
              "path": "system"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:body_shape.code.coding:component_code_coding",
        "path": "Observation.component.code.coding",
        "sliceName": "component_code_coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:body_shape.code.coding:component_code_coding.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://www.healthall.co.kr/care-robot-prj/CodeSystem/care-robot"
      },
      {
        "id": "Observation.component:body_shape.code.coding:component_code_coding.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedCode": "body_shape"
      },
      {
        "id": "Observation.component:body_shape.valueQuantity",
        "path": "Observation.component.valueQuantity",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:body_shape.valueQuantity.system",
        "path": "Observation.component.valueQuantity.system",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://unitsofmeasure.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:body_shape.valueQuantity.code",
        "path": "Observation.component.valueQuantity.code",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/ucum-units|4.0.0"
        }
      },
      {
        "id": "Observation.component:body_weight",
        "path": "Observation.component",
        "sliceName": "body_weight",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:body_weight.code",
        "path": "Observation.component.code",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:body_weight.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            },
            {
              "type": "value",
              "path": "system"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:body_weight.code.coding:component_code_coding",
        "path": "Observation.component.code.coding",
        "sliceName": "component_code_coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:body_weight.code.coding:component_code_coding.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://www.healthall.co.kr/care-robot-prj/CodeSystem/care-robot"
      },
      {
        "id": "Observation.component:body_weight.code.coding:component_code_coding.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedCode": "body_weight"
      },
      {
        "id": "Observation.component:body_weight.valueQuantity",
        "path": "Observation.component.valueQuantity",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:body_weight.valueQuantity.system",
        "path": "Observation.component.valueQuantity.system",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://unitsofmeasure.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:body_weight.valueQuantity.code",
        "path": "Observation.component.valueQuantity.code",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/ucum-units|4.0.0"
        }
      },
      {
        "id": "Observation.component:motor_acc_operate_time",
        "path": "Observation.component",
        "sliceName": "motor_acc_operate_time",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:motor_acc_operate_time.code",
        "path": "Observation.component.code",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:motor_acc_operate_time.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            },
            {
              "type": "value",
              "path": "system"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:motor_acc_operate_time.code.coding:component_code_coding",
        "path": "Observation.component.code.coding",
        "sliceName": "component_code_coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:motor_acc_operate_time.code.coding:component_code_coding.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://www.healthall.co.kr/care-robot-prj/CodeSystem/care-robot"
      },
      {
        "id": "Observation.component:motor_acc_operate_time.code.coding:component_code_coding.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedCode": "motor_acc_operate_time"
      },
      {
        "id": "Observation.component:motor_acc_operate_time.valueQuantity",
        "path": "Observation.component.valueQuantity",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:motor_acc_operate_time.valueQuantity.system",
        "path": "Observation.component.valueQuantity.system",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://unitsofmeasure.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:motor_acc_operate_time.valueQuantity.code",
        "path": "Observation.component.valueQuantity.code",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/ucum-units|4.0.0"
        }
      },
      {
        "id": "Observation.component:bedsore_tilt_info",
        "path": "Observation.component",
        "sliceName": "bedsore_tilt_info",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:bedsore_tilt_info.code",
        "path": "Observation.component.code",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:bedsore_tilt_info.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            },
            {
              "type": "value",
              "path": "system"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:bedsore_tilt_info.code.coding:component_code_coding",
        "path": "Observation.component.code.coding",
        "sliceName": "component_code_coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:bedsore_tilt_info.code.coding:component_code_coding.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://www.healthall.co.kr/care-robot-prj/CodeSystem/care-robot"
      },
      {
        "id": "Observation.component:bedsore_tilt_info.code.coding:component_code_coding.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedCode": "bedsore_tilt_info"
      },
      {
        "id": "Observation.component:bedsore_tilt_info.valueCodeableConcept",
        "path": "Observation.component.valueCodeableConcept",
        "sliceName": "valueCodeableConcept",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "Observation.component:bedsore_tilt_info.valueCodeableConcept.coding.system",
        "path": "Observation.component.valueCodeableConcept.coding.system",
        "min": 1,
        "fixedUri": "http://www.healthall.co.kr/care-robot-prj/CodeSystem/care-robot-enum"
      },
      {
        "id": "Observation.component:bedsore_tilt_info.valueCodeableConcept.coding.code",
        "path": "Observation.component.valueCodeableConcept.coding.code",
        "min": 1,
        "binding": {
          "strength": "required",
          "valueSet": "http://www.healthall.co.kr/care-robot-prj/ValueSet/care-robot-enum"
        }
      },
      {
        "id": "Observation.component:bedsore_slope_angle",
        "path": "Observation.component",
        "sliceName": "bedsore_slope_angle",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:bedsore_slope_angle.code",
        "path": "Observation.component.code",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:bedsore_slope_angle.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            },
            {
              "type": "value",
              "path": "system"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:bedsore_slope_angle.code.coding:component_code_coding",
        "path": "Observation.component.code.coding",
        "sliceName": "component_code_coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:bedsore_slope_angle.code.coding:component_code_coding.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://www.healthall.co.kr/care-robot-prj/CodeSystem/care-robot"
      },
      {
        "id": "Observation.component:bedsore_slope_angle.code.coding:component_code_coding.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedCode": "bedsore_slope_angle"
      },
      {
        "id": "Observation.component:bedsore_slope_angle.valueQuantity",
        "path": "Observation.component.valueQuantity",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:bedsore_slope_angle.valueQuantity.system",
        "path": "Observation.component.valueQuantity.system",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://unitsofmeasure.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:bedsore_slope_angle.valueQuantity.code",
        "path": "Observation.component.valueQuantity.code",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/ucum-units|4.0.0"
        }
      },
      {
        "id": "Observation.component:bedsore_legPlate_angle",
        "path": "Observation.component",
        "sliceName": "bedsore_legPlate_angle",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:bedsore_legPlate_angle.code",
        "path": "Observation.component.code",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:bedsore_legPlate_angle.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            },
            {
              "type": "value",
              "path": "system"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:bedsore_legPlate_angle.code.coding:component_code_coding",
        "path": "Observation.component.code.coding",
        "sliceName": "component_code_coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:bedsore_legPlate_angle.code.coding:component_code_coding.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://www.healthall.co.kr/care-robot-prj/CodeSystem/care-robot"
      },
      {
        "id": "Observation.component:bedsore_legPlate_angle.code.coding:component_code_coding.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedCode": "bedsore_legPlate_angle"
      },
      {
        "id": "Observation.component:bedsore_legPlate_angle.valueQuantity",
        "path": "Observation.component.valueQuantity",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:bedsore_legPlate_angle.valueQuantity.system",
        "path": "Observation.component.valueQuantity.system",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://unitsofmeasure.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:bedsore_legPlate_angle.valueQuantity.code",
        "path": "Observation.component.valueQuantity.code",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/ucum-units|4.0.0"
        }
      },
      {
        "id": "Observation.component:bedsore_sidePlate_angle",
        "path": "Observation.component",
        "sliceName": "bedsore_sidePlate_angle",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:bedsore_sidePlate_angle.code",
        "path": "Observation.component.code",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:bedsore_sidePlate_angle.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            },
            {
              "type": "value",
              "path": "system"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:bedsore_sidePlate_angle.code.coding:component_code_coding",
        "path": "Observation.component.code.coding",
        "sliceName": "component_code_coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:bedsore_sidePlate_angle.code.coding:component_code_coding.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://www.healthall.co.kr/care-robot-prj/CodeSystem/care-robot"
      },
      {
        "id": "Observation.component:bedsore_sidePlate_angle.code.coding:component_code_coding.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedCode": "bedsore_sidePlate_angle"
      },
      {
        "id": "Observation.component:bedsore_sidePlate_angle.valueQuantity",
        "path": "Observation.component.valueQuantity",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:bedsore_sidePlate_angle.valueQuantity.system",
        "path": "Observation.component.valueQuantity.system",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://unitsofmeasure.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:bedsore_sidePlate_angle.valueQuantity.code",
        "path": "Observation.component.valueQuantity.code",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/ucum-units|4.0.0"
        }
      },
      {
        "id": "Observation.component:bedsore_side_rail",
        "path": "Observation.component",
        "sliceName": "bedsore_side_rail",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:bedsore_side_rail.code",
        "path": "Observation.component.code",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:bedsore_side_rail.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            },
            {
              "type": "value",
              "path": "system"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:bedsore_side_rail.code.coding:component_code_coding",
        "path": "Observation.component.code.coding",
        "sliceName": "component_code_coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:bedsore_side_rail.code.coding:component_code_coding.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://www.healthall.co.kr/care-robot-prj/CodeSystem/care-robot"
      },
      {
        "id": "Observation.component:bedsore_side_rail.code.coding:component_code_coding.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedCode": "bedsore_side_rail"
      },
      {
        "id": "Observation.component:bedsore_side_rail.valueString",
        "path": "Observation.component.valueString",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Observation.component:body_pressure",
        "path": "Observation.component",
        "sliceName": "body_pressure",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:body_pressure.code",
        "path": "Observation.component.code",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:body_pressure.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            },
            {
              "type": "value",
              "path": "system"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:body_pressure.code.coding:component_code_coding",
        "path": "Observation.component.code.coding",
        "sliceName": "component_code_coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:body_pressure.code.coding:component_code_coding.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://www.healthall.co.kr/care-robot-prj/CodeSystem/care-robot"
      },
      {
        "id": "Observation.component:body_pressure.code.coding:component_code_coding.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedCode": "body_pressure"
      },
      {
        "id": "Observation.component:body_pressure.valueQuantity",
        "path": "Observation.component.valueQuantity",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:body_pressure.valueQuantity.system",
        "path": "Observation.component.valueQuantity.system",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://unitsofmeasure.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:body_pressure.valueQuantity.code",
        "path": "Observation.component.valueQuantity.code",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/ucum-units|4.0.0"
        }
      },
      {
        "id": "Observation.component:pressure_sensor_error",
        "path": "Observation.component",
        "sliceName": "pressure_sensor_error",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:pressure_sensor_error.code",
        "path": "Observation.component.code",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:pressure_sensor_error.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            },
            {
              "type": "value",
              "path": "system"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:pressure_sensor_error.code.coding:component_code_coding",
        "path": "Observation.component.code.coding",
        "sliceName": "component_code_coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:pressure_sensor_error.code.coding:component_code_coding.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://www.healthall.co.kr/care-robot-prj/CodeSystem/care-robot"
      },
      {
        "id": "Observation.component:pressure_sensor_error.code.coding:component_code_coding.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedCode": "pressure_sensor_error"
      },
      {
        "id": "Observation.component:pressure_sensor_error.valueQuantity",
        "path": "Observation.component.valueQuantity",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:pressure_sensor_error.valueQuantity.system",
        "path": "Observation.component.valueQuantity.system",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://unitsofmeasure.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:pressure_sensor_error.valueQuantity.code",
        "path": "Observation.component.valueQuantity.code",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/ucum-units|4.0.0"
        }
      }
    ]
  }
}