{
  "resourceType": "StructureDefinition",
  "id": "logicalmodel-Fluidbalance-R4",
  "url": "http://linkehr.com/fhir/logicalmodel-fluidbalance-R4",
  "identifier": [
    {
      "system": "openEHR-CKM",
      "value": "openEHR-EHR-OBSERVATION.fluid_balance.v1"
    }
  ],
  "version": "0",
  "name": "Fluidbalance",
  "title": "Fluid balance",
  "status": "draft",
  "date": "2024-06-18",
  "publisher": "openEHR",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.veratech.es"
        }
      ]
    }
  ],
  "description": "The difference between fluid input and output during a specified interval of time.",
  "purpose": "To record the cumulative or total amounts of fluid input and output, plus an estimation of the fluid balance status of an individual over specified intervals of time.\r\n\r\nTo record the estimation of the difference between fluid input and output during a specified interval of time.",
  "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": "Fluid_balance",
        "path": "Fluid_balance",
        "short": "Fluid balance",
        "definition": "The difference between fluid input and output during a specified interval of time.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Fluid_balance",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Fluid_balance.protocol",
        "path": "Fluid_balance.protocol",
        "short": "Tree",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Fluid_balance.protocol",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Fluid_balance.protocol.Insensible_loss_formula",
        "path": "Fluid_balance.protocol.Insensible_loss_formula",
        "short": "Insensible loss formula",
        "definition": "The formula used to calculate the amount of insensible loss.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Fluid_balance.protocol.Insensible_loss_formula",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Fluid_balance.protocol.Insensible_loss_formula.value",
        "path": "Fluid_balance.protocol.Insensible_loss_formula.value",
        "short": "Insensible loss formula",
        "definition": "The formula used to calculate the amount of insensible loss.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Fluid_balance.protocol.Insensible_loss_formula.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Fluid_balance.protocol.Extension",
        "path": "Fluid_balance.protocol.Extension",
        "short": "Extension",
        "definition": "Additional information required to capture local content or to align with other reference models/formalisms.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Fluid_balance.protocol.Extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Fluid_balance.Event_Series",
        "path": "Fluid_balance.Event_Series",
        "short": "Event Series",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Fluid_balance.Event_Series",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Fluid_balance.Event_Series.Any_interval_event",
        "path": "Fluid_balance.Event_Series.Any_interval_event",
        "short": "Any interval event",
        "definition": "Unspecified interval event which may be explicitly defined in a template or at run-time.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Fluid_balance.Event_Series.Any_interval_event",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Fluid_balance.Event_Series.Any_interval_event.data",
        "path": "Fluid_balance.Event_Series.Any_interval_event.data",
        "short": "Tree",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Fluid_balance.Event_Series.Any_interval_event.data",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Fluid_balance.Event_Series.Any_interval_event.data.Total_input",
        "path": "Fluid_balance.Event_Series.Any_interval_event.data.Total_input",
        "short": "Total input",
        "definition": "The total amount of fluid administered or ingested during a specified interval of time.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Fluid_balance.Event_Series.Any_interval_event.data.Total_input",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Fluid_balance.Event_Series.Any_interval_event.data.Total_input.value",
        "path": "Fluid_balance.Event_Series.Any_interval_event.data.Total_input.value",
        "short": "Total input",
        "definition": "The total amount of fluid administered or ingested during a specified interval of time.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Fluid_balance.Event_Series.Any_interval_event.data.Total_input.value",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Fluid_balance.Event_Series.Any_interval_event.data.Total_output",
        "path": "Fluid_balance.Event_Series.Any_interval_event.data.Total_output",
        "short": "Total output",
        "definition": "The total amount of fluid lost or excreted during a specified interval of time.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Fluid_balance.Event_Series.Any_interval_event.data.Total_output",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Fluid_balance.Event_Series.Any_interval_event.data.Total_output.value",
        "path": "Fluid_balance.Event_Series.Any_interval_event.data.Total_output.value",
        "short": "Total output",
        "definition": "The total amount of fluid lost or excreted during a specified interval of time.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Fluid_balance.Event_Series.Any_interval_event.data.Total_output.value",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Fluid_balance.Event_Series.Any_interval_event.data.Insensible_loss",
        "path": "Fluid_balance.Event_Series.Any_interval_event.data.Insensible_loss",
        "short": "Insensible loss",
        "definition": "The amount of fluid loss by evaporation from the skin and respiratory tract.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Fluid_balance.Event_Series.Any_interval_event.data.Insensible_loss",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Fluid_balance.Event_Series.Any_interval_event.data.Insensible_loss.value",
        "path": "Fluid_balance.Event_Series.Any_interval_event.data.Insensible_loss.value",
        "short": "Insensible loss",
        "definition": "The amount of fluid loss by evaporation from the skin and respiratory tract.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Fluid_balance.Event_Series.Any_interval_event.data.Insensible_loss.value",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Fluid_balance.Event_Series.Any_interval_event.data.Fluid_balance",
        "path": "Fluid_balance.Event_Series.Any_interval_event.data.Fluid_balance",
        "short": "Fluid balance",
        "definition": "The difference between fluid input and output during a specified interval of time.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Fluid_balance.Event_Series.Any_interval_event.data.Fluid_balance",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Fluid_balance.Event_Series.Any_interval_event.data.Fluid_balance.value",
        "path": "Fluid_balance.Event_Series.Any_interval_event.data.Fluid_balance.value",
        "short": "Fluid balance",
        "definition": "The difference between fluid input and output during a specified interval of time.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Fluid_balance.Event_Series.Any_interval_event.data.Fluid_balance.value",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Fluid_balance.Event_Series.24_hour_total",
        "path": "Fluid_balance.Event_Series.24_hour_total",
        "short": "24 hour total",
        "definition": "Total fluid volume recorded during an interval of 24 hour duration.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Fluid_balance.Event_Series.24_hour_total",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Fluid_balance.Event_Series.24_hour_total.data",
        "path": "Fluid_balance.Event_Series.24_hour_total.data",
        "definition": "ITEM_TREE",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Fluid_balance.Event_Series.24_hour_total.data",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Fluid_balance.Event_Series.24_hour_total.data.Total_input",
        "path": "Fluid_balance.Event_Series.24_hour_total.data.Total_input",
        "short": "Total input",
        "definition": "The total amount of fluid administered or ingested during a specified interval of time.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Fluid_balance.Event_Series.24_hour_total.data.Total_input",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Fluid_balance.Event_Series.24_hour_total.data.Total_input.value",
        "path": "Fluid_balance.Event_Series.24_hour_total.data.Total_input.value",
        "short": "Total input",
        "definition": "The total amount of fluid administered or ingested during a specified interval of time.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Fluid_balance.Event_Series.24_hour_total.data.Total_input.value",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Fluid_balance.Event_Series.24_hour_total.data.Total_output",
        "path": "Fluid_balance.Event_Series.24_hour_total.data.Total_output",
        "short": "Total output",
        "definition": "The total amount of fluid lost or excreted during a specified interval of time.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Fluid_balance.Event_Series.24_hour_total.data.Total_output",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Fluid_balance.Event_Series.24_hour_total.data.Total_output.value",
        "path": "Fluid_balance.Event_Series.24_hour_total.data.Total_output.value",
        "short": "Total output",
        "definition": "The total amount of fluid lost or excreted during a specified interval of time.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Fluid_balance.Event_Series.24_hour_total.data.Total_output.value",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Fluid_balance.Event_Series.24_hour_total.data.Insensible_loss",
        "path": "Fluid_balance.Event_Series.24_hour_total.data.Insensible_loss",
        "short": "Insensible loss",
        "definition": "The amount of fluid loss by evaporation from the skin and respiratory tract.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Fluid_balance.Event_Series.24_hour_total.data.Insensible_loss",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Fluid_balance.Event_Series.24_hour_total.data.Insensible_loss.value",
        "path": "Fluid_balance.Event_Series.24_hour_total.data.Insensible_loss.value",
        "short": "Insensible loss",
        "definition": "The amount of fluid loss by evaporation from the skin and respiratory tract.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Fluid_balance.Event_Series.24_hour_total.data.Insensible_loss.value",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Fluid_balance.Event_Series.24_hour_total.data.Fluid_balance",
        "path": "Fluid_balance.Event_Series.24_hour_total.data.Fluid_balance",
        "short": "Fluid balance",
        "definition": "The difference between fluid input and output during a specified interval of time.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Fluid_balance.Event_Series.24_hour_total.data.Fluid_balance",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Fluid_balance.Event_Series.24_hour_total.data.Fluid_balance.value",
        "path": "Fluid_balance.Event_Series.24_hour_total.data.Fluid_balance.value",
        "short": "Fluid balance",
        "definition": "The difference between fluid input and output during a specified interval of time.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Fluid_balance.Event_Series.24_hour_total.data.Fluid_balance.value",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Fluid_balance.Event_Series.events_24_hour_total.width",
        "path": "Fluid_balance.Event_Series.events_24_hour_total.width",
        "short": "24 hour total",
        "definition": "Total fluid volume recorded during an interval of 24 hour duration.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Fluid_balance.Event_Series.events_24_hour_total.width",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Duration"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Fluid_balance.Event_Series.events_24_hour_total.math_function",
        "path": "Fluid_balance.Event_Series.events_24_hour_total.math_function",
        "short": "24 hour total",
        "definition": "Total fluid volume recorded during an interval of 24 hour duration.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Fluid_balance.Event_Series.events_24_hour_total.math_function",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      }
    ]
  }
}