{
  "resourceType": "StructureDefinition",
  "id": "logicalmodel-Bodyweight-R4",
  "url": "http://linkehr.com/fhir/logicalmodel-bodyweight-R4",
  "identifier": [
    {
      "system": "openEHR-CKM",
      "value": "openEHR-EHR-OBSERVATION.body_weight.v2"
    }
  ],
  "version": "0",
  "name": "Bodyweight",
  "title": "Body weight",
  "status": "draft",
  "date": "2024-06-18",
  "publisher": "openEHR",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.veratech.es"
        }
      ]
    }
  ],
  "description": "Measurement of the body weight of an individual.",
  "purpose": "To record the body weight of an individual - both actual and approximate.",
  "fhirVersion": "4.0.0",
  "mapping": [
    {
      "identity": "openEHR",
      "uri": "http://openehr.org",
      "name": "openEHR Mapping"
    },
    {
      "identity": "openEHR-natural",
      "uri": "http://openehr.org",
      "name": "openEHR natural path"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "StructureDefinition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element",
  "snapshot": {
    "element": [
      {
        "id": "Body_weight",
        "path": "Body_weight",
        "short": "Body weight",
        "definition": "Measurement of the body weight of an individual.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Body_weight",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Body_weight.protocol_structure",
        "path": "Body_weight.protocol_structure",
        "short": "protocol structure",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Body_weight.protocol_structure",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Body_weight.protocol_structure.Device",
        "path": "Body_weight.protocol_structure.Device",
        "short": "Device",
        "definition": "Details about the weighing device.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Body_weight.protocol_structure.Device",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Body_weight.protocol_structure.Extension",
        "path": "Body_weight.protocol_structure.Extension",
        "short": "Extension",
        "definition": "Additional information required to capture local content or to align with other reference models/formalisms.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Body_weight.protocol_structure.Extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Body_weight.history",
        "path": "Body_weight.history",
        "short": "history",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Body_weight.history",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Body_weight.history.Any_event",
        "path": "Body_weight.history.Any_event",
        "short": "Any event",
        "definition": "Default, unspecified point in time or interval event which may be explicitly defined in a template or at run-time.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Body_weight.history.Any_event",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Body_weight.history.Any_event.Simple",
        "path": "Body_weight.history.Any_event.Simple",
        "short": "Simple",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Body_weight.history.Any_event.Simple",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Body_weight.history.Any_event.Simple.Weight",
        "path": "Body_weight.history.Any_event.Simple.Weight",
        "short": "Weight",
        "definition": "The weight of the individual.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Body_weight.history.Any_event.Simple.Weight",
          "min": 1,
          "max": "1"
        }
      },
      {
        "id": "Body_weight.history.Any_event.Simple.Weight.value",
        "path": "Body_weight.history.Any_event.Simple.Weight.value",
        "short": "Weight",
        "definition": "The weight of the individual.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Body_weight.history.Any_event.Simple.Weight.value",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Body_weight.history.Any_event.Simple.Comment",
        "path": "Body_weight.history.Any_event.Simple.Comment",
        "short": "Comment",
        "definition": "Additional narrative about the measurement of Body weight, not captured in other fields.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Body_weight.history.Any_event.Simple.Comment",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Body_weight.history.Any_event.Simple.Comment.value",
        "path": "Body_weight.history.Any_event.Simple.Comment.value",
        "short": "Comment",
        "definition": "Additional narrative about the measurement of Body weight, not captured in other fields.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Body_weight.history.Any_event.Simple.Comment.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Body_weight.history.Any_event.state_structure",
        "path": "Body_weight.history.Any_event.state_structure",
        "short": "state structure",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Body_weight.history.Any_event.state_structure",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Body_weight.history.Any_event.state_structure.State_of_dress",
        "path": "Body_weight.history.Any_event.state_structure.State_of_dress",
        "short": "State of dress",
        "definition": "Description of the state of dress of the person at the time of weighing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Body_weight.history.Any_event.state_structure.State_of_dress",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Body_weight.history.Any_event.state_structure.State_of_dress.value",
        "path": "Body_weight.history.Any_event.state_structure.State_of_dress.value",
        "short": "State of dress",
        "definition": "Description of the state of dress of the person at the time of weighing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Body_weight.history.Any_event.state_structure.State_of_dress.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Body_weight.history.Any_event.state_structure.Confounding_factors",
        "path": "Body_weight.history.Any_event.state_structure.Confounding_factors",
        "short": "Confounding factors",
        "definition": "Record any issues or factors that may impact on the measurement of body weight eg timing in menstrual cycle, timing of recent bowel motion or noting of amputation.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Body_weight.history.Any_event.state_structure.Confounding_factors",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Body_weight.history.Any_event.state_structure.Confounding_factors.value",
        "path": "Body_weight.history.Any_event.state_structure.Confounding_factors.value",
        "short": "Confounding factors",
        "definition": "Record any issues or factors that may impact on the measurement of body weight eg timing in menstrual cycle, timing of recent bowel motion or noting of amputation.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Body_weight.history.Any_event.state_structure.Confounding_factors.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Body_weight.history.Birth",
        "path": "Body_weight.history.Birth",
        "short": "Birth",
        "definition": "Usually the first weight, measured soon after birth. This event will only be used once per health record\r\n.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Body_weight.history.Birth",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Body_weight.history.Birth.data",
        "path": "Body_weight.history.Birth.data",
        "definition": "ITEM_TREE",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Body_weight.history.Birth.data",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Body_weight.history.Birth.data.Weight",
        "path": "Body_weight.history.Birth.data.Weight",
        "short": "Weight",
        "definition": "The weight of the individual.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Body_weight.history.Birth.data.Weight",
          "min": 1,
          "max": "1"
        }
      },
      {
        "id": "Body_weight.history.Birth.data.Weight.value",
        "path": "Body_weight.history.Birth.data.Weight.value",
        "short": "Weight",
        "definition": "The weight of the individual.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Body_weight.history.Birth.data.Weight.value",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Body_weight.history.Birth.data.Comment",
        "path": "Body_weight.history.Birth.data.Comment",
        "short": "Comment",
        "definition": "Additional narrative about the measurement of Body weight, not captured in other fields.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Body_weight.history.Birth.data.Comment",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Body_weight.history.Birth.data.Comment.value",
        "path": "Body_weight.history.Birth.data.Comment.value",
        "short": "Comment",
        "definition": "Additional narrative about the measurement of Body weight, not captured in other fields.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Body_weight.history.Birth.data.Comment.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Body_weight.history.Birth.state",
        "path": "Body_weight.history.Birth.state",
        "definition": "ITEM_TREE",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Body_weight.history.Birth.state",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Body_weight.history.Birth.state.State_of_dress",
        "path": "Body_weight.history.Birth.state.State_of_dress",
        "short": "State of dress",
        "definition": "Description of the state of dress of the person at the time of weighing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Body_weight.history.Birth.state.State_of_dress",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Body_weight.history.Birth.state.State_of_dress.value",
        "path": "Body_weight.history.Birth.state.State_of_dress.value",
        "short": "State of dress",
        "definition": "Description of the state of dress of the person at the time of weighing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Body_weight.history.Birth.state.State_of_dress.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Body_weight.history.Birth.state.Confounding_factors",
        "path": "Body_weight.history.Birth.state.Confounding_factors",
        "short": "Confounding factors",
        "definition": "Record any issues or factors that may impact on the measurement of body weight eg timing in menstrual cycle, timing of recent bowel motion or noting of amputation.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Body_weight.history.Birth.state.Confounding_factors",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Body_weight.history.Birth.state.Confounding_factors.value",
        "path": "Body_weight.history.Birth.state.Confounding_factors.value",
        "short": "Confounding factors",
        "definition": "Record any issues or factors that may impact on the measurement of body weight eg timing in menstrual cycle, timing of recent bowel motion or noting of amputation.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Body_weight.history.Birth.state.Confounding_factors.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      }
    ]
  }
}