{
  "resourceType": "StructureDefinition",
  "id": "logicalmodel-Bristolstoolscale-R4",
  "url": "http://linkehr.com/fhir/logicalmodel-bristolstoolscale-R4",
  "identifier": [
    {
      "system": "openEHR-CKM",
      "value": "openEHR-EHR-OBSERVATION.bristol_stool_scale.v0"
    }
  ],
  "version": "0",
  "name": "Bristolstoolscale",
  "title": "Bristol stool scale",
  "status": "draft",
  "date": "2024-06-18",
  "publisher": "openEHR",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.veratech.es"
        }
      ]
    }
  ],
  "description": "Classification of faeces characteristics according to the Bristol Stool Scale/Score.",
  "purpose": "To record a classification of characteristics of faeces after defaecation, according to the Bristol Stool Scale/Score, sometimes termed the 'Meyers' score.",
  "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": "Bristol_stool_scale",
        "path": "Bristol_stool_scale",
        "short": "Bristol stool scale",
        "definition": "Classification of faeces characteristics according to the Bristol Stool Scale/Score.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Bristol_stool_scale",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Bristol_stool_scale.protocol",
        "path": "Bristol_stool_scale.protocol",
        "short": "Item tree",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Bristol_stool_scale.protocol",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Bristol_stool_scale.protocol.Extension",
        "path": "Bristol_stool_scale.protocol.Extension",
        "short": "Extension",
        "definition": "Additional information required to capture local context or to align with other reference models/formalisms.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Bristol_stool_scale.protocol.Extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Bristol_stool_scale.Event_Series",
        "path": "Bristol_stool_scale.Event_Series",
        "short": "Event Series",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Bristol_stool_scale.Event_Series",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Bristol_stool_scale.Event_Series.Point_in_time",
        "path": "Bristol_stool_scale.Event_Series.Point_in_time",
        "short": "Point-in-time",
        "definition": "Default, unspecified point in time event which may be explicitly defined in a template or at run-time.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Bristol_stool_scale.Event_Series.Point_in_time",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Bristol_stool_scale.Event_Series.Point_in_time.data",
        "path": "Bristol_stool_scale.Event_Series.Point_in_time.data",
        "short": "Tree",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Bristol_stool_scale.Event_Series.Point_in_time.data",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Bristol_stool_scale.Event_Series.Point_in_time.data.Bristol_stool_scale",
        "path": "Bristol_stool_scale.Event_Series.Point_in_time.data.Bristol_stool_scale",
        "short": "Bristol stool scale",
        "definition": "A score to assess the characteristics of faeces after defaecation.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Bristol_stool_scale.Event_Series.Point_in_time.data.Bristol_stool_scale",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Bristol_stool_scale.Event_Series.Point_in_time.data.Bristol_stool_scale.value",
        "path": "Bristol_stool_scale.Event_Series.Point_in_time.data.Bristol_stool_scale.value",
        "short": "Bristol stool scale",
        "definition": "A score to assess the characteristics of faeces after defaecation.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Bristol_stool_scale.Event_Series.Point_in_time.data.Bristol_stool_scale.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Bristol_stool_scale.Event_Series.Point_in_time.data.Comment",
        "path": "Bristol_stool_scale.Event_Series.Point_in_time.data.Comment",
        "short": "Comment",
        "definition": "Additional narrative about the stool scale, not captured in other fields.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Bristol_stool_scale.Event_Series.Point_in_time.data.Comment",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Bristol_stool_scale.Event_Series.Point_in_time.data.Comment.value",
        "path": "Bristol_stool_scale.Event_Series.Point_in_time.data.Comment.value",
        "short": "Comment",
        "definition": "Additional narrative about the stool scale, not captured in other fields.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Bristol_stool_scale.Event_Series.Point_in_time.data.Comment.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Bristol_stool_scale.Event_Series.Point_in_time.state",
        "path": "Bristol_stool_scale.Event_Series.Point_in_time.state",
        "short": "Tree",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Bristol_stool_scale.Event_Series.Point_in_time.state",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Bristol_stool_scale.Event_Series.Point_in_time.state.Confounding_factors",
        "path": "Bristol_stool_scale.Event_Series.Point_in_time.state.Confounding_factors",
        "short": "Confounding factors",
        "definition": "Record any issues or factors that may impact on the stool scale.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Bristol_stool_scale.Event_Series.Point_in_time.state.Confounding_factors",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Bristol_stool_scale.Event_Series.Point_in_time.state.Confounding_factors.value",
        "path": "Bristol_stool_scale.Event_Series.Point_in_time.state.Confounding_factors.value",
        "short": "Confounding factors",
        "definition": "Record any issues or factors that may impact on the stool scale.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Bristol_stool_scale.Event_Series.Point_in_time.state.Confounding_factors.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      }
    ]
  }
}