{
  "resourceType": "StructureDefinition",
  "id": "logicalmodel-Abbeypainscale-R4",
  "url": "http://linkehr.com/fhir/logicalmodel-abbeypainscale-R4",
  "identifier": [
    {
      "system": "openEHR-CKM",
      "value": "openEHR-EHR-OBSERVATION.abbey_pain_scale.v0"
    }
  ],
  "version": "0",
  "name": "Abbeypainscale",
  "title": "Abbey pain scale",
  "status": "draft",
  "date": "2024-06-18",
  "publisher": "openEHR",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.veratech.es"
        }
      ]
    }
  ],
  "description": "Rapid tool to assess the severity of pain in cognitively impaired and non-verbal individuals.",
  "purpose": "To assess and record the severity of pain in cognitively impaired and non-verbal individuals.",
  "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": "Abbey_pain_scale",
        "path": "Abbey_pain_scale",
        "short": "Abbey pain scale",
        "definition": "Rapid tool to assess the severity of pain in cognitively impaired and non-verbal individuals.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Abbey_pain_scale",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Abbey_pain_scale.protocol",
        "path": "Abbey_pain_scale.protocol",
        "short": "Tree",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Abbey_pain_scale.protocol",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Abbey_pain_scale.protocol.Extension",
        "path": "Abbey_pain_scale.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": "Abbey_pain_scale.protocol.Extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Abbey_pain_scale.Event_Series",
        "path": "Abbey_pain_scale.Event_Series",
        "short": "Event Series",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Abbey_pain_scale.Event_Series",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Abbey_pain_scale.Event_Series.Any_event",
        "path": "Abbey_pain_scale.Event_Series.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": "Abbey_pain_scale.Event_Series.Any_event",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Abbey_pain_scale.Event_Series.Any_event.data",
        "path": "Abbey_pain_scale.Event_Series.Any_event.data",
        "short": "Tree",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Abbey_pain_scale.Event_Series.Any_event.data",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Abbey_pain_scale.Event_Series.Any_event.data.Vocalization",
        "path": "Abbey_pain_scale.Event_Series.Any_event.data.Vocalization",
        "short": "Vocalization",
        "definition": "ELEMENT",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Abbey_pain_scale.Event_Series.Any_event.data.Vocalization",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Abbey_pain_scale.Event_Series.Any_event.data.Vocalization.value",
        "path": "Abbey_pain_scale.Event_Series.Any_event.data.Vocalization.value",
        "short": "Vocalization",
        "definition": "DvOrdinal",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Abbey_pain_scale.Event_Series.Any_event.data.Vocalization.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Abbey_pain_scale.Event_Series.Any_event.data.Facial_expression",
        "path": "Abbey_pain_scale.Event_Series.Any_event.data.Facial_expression",
        "short": "Facial expression",
        "definition": "ELEMENT",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Abbey_pain_scale.Event_Series.Any_event.data.Facial_expression",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Abbey_pain_scale.Event_Series.Any_event.data.Facial_expression.value",
        "path": "Abbey_pain_scale.Event_Series.Any_event.data.Facial_expression.value",
        "short": "Facial expression",
        "definition": "DvOrdinal",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Abbey_pain_scale.Event_Series.Any_event.data.Facial_expression.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Abbey_pain_scale.Event_Series.Any_event.data.Change_in_body_language",
        "path": "Abbey_pain_scale.Event_Series.Any_event.data.Change_in_body_language",
        "short": "Change in body language",
        "definition": "ELEMENT",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Abbey_pain_scale.Event_Series.Any_event.data.Change_in_body_language",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Abbey_pain_scale.Event_Series.Any_event.data.Change_in_body_language.value",
        "path": "Abbey_pain_scale.Event_Series.Any_event.data.Change_in_body_language.value",
        "short": "Change in body language",
        "definition": "DvOrdinal",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Abbey_pain_scale.Event_Series.Any_event.data.Change_in_body_language.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Abbey_pain_scale.Event_Series.Any_event.data.Behavioural_change",
        "path": "Abbey_pain_scale.Event_Series.Any_event.data.Behavioural_change",
        "short": "Behavioural change",
        "definition": "ELEMENT",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Abbey_pain_scale.Event_Series.Any_event.data.Behavioural_change",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Abbey_pain_scale.Event_Series.Any_event.data.Behavioural_change.value",
        "path": "Abbey_pain_scale.Event_Series.Any_event.data.Behavioural_change.value",
        "short": "Behavioural change",
        "definition": "DvOrdinal",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Abbey_pain_scale.Event_Series.Any_event.data.Behavioural_change.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Abbey_pain_scale.Event_Series.Any_event.data.Physiological_change",
        "path": "Abbey_pain_scale.Event_Series.Any_event.data.Physiological_change",
        "short": "Physiological change",
        "definition": "ELEMENT",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Abbey_pain_scale.Event_Series.Any_event.data.Physiological_change",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Abbey_pain_scale.Event_Series.Any_event.data.Physiological_change.value",
        "path": "Abbey_pain_scale.Event_Series.Any_event.data.Physiological_change.value",
        "short": "Physiological change",
        "definition": "DvOrdinal",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Abbey_pain_scale.Event_Series.Any_event.data.Physiological_change.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Abbey_pain_scale.Event_Series.Any_event.data.Physical_changes",
        "path": "Abbey_pain_scale.Event_Series.Any_event.data.Physical_changes",
        "short": "Physical changes",
        "definition": "ELEMENT",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Abbey_pain_scale.Event_Series.Any_event.data.Physical_changes",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Abbey_pain_scale.Event_Series.Any_event.data.Physical_changes.value",
        "path": "Abbey_pain_scale.Event_Series.Any_event.data.Physical_changes.value",
        "short": "Physical changes",
        "definition": "DvOrdinal",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Abbey_pain_scale.Event_Series.Any_event.data.Physical_changes.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Abbey_pain_scale.Event_Series.Any_event.data.Total_pain_score",
        "path": "Abbey_pain_scale.Event_Series.Any_event.data.Total_pain_score",
        "short": "Total pain score",
        "definition": "The total sum of each component parameter for the Abbey pain scale.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Abbey_pain_scale.Event_Series.Any_event.data.Total_pain_score",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Abbey_pain_scale.Event_Series.Any_event.data.Total_pain_score.value",
        "path": "Abbey_pain_scale.Event_Series.Any_event.data.Total_pain_score.value",
        "short": "Total pain score",
        "definition": "The total sum of each component parameter for the Abbey pain scale.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Abbey_pain_scale.Event_Series.Any_event.data.Total_pain_score.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Abbey_pain_scale.Event_Series.Any_event.data.Pain_score_category",
        "path": "Abbey_pain_scale.Event_Series.Any_event.data.Pain_score_category",
        "short": "Pain score category",
        "definition": "Category of pain, based on the total score.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Abbey_pain_scale.Event_Series.Any_event.data.Pain_score_category",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Abbey_pain_scale.Event_Series.Any_event.data.Pain_score_category.value",
        "path": "Abbey_pain_scale.Event_Series.Any_event.data.Pain_score_category.value",
        "short": "Pain score category",
        "definition": "Category of pain, based on the total score.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Abbey_pain_scale.Event_Series.Any_event.data.Pain_score_category.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Abbey_pain_scale.Event_Series.Any_event.data.Type_of_pain",
        "path": "Abbey_pain_scale.Event_Series.Any_event.data.Type_of_pain",
        "short": "Type of pain",
        "definition": "ELEMENT",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Abbey_pain_scale.Event_Series.Any_event.data.Type_of_pain",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Abbey_pain_scale.Event_Series.Any_event.data.Type_of_pain.value",
        "path": "Abbey_pain_scale.Event_Series.Any_event.data.Type_of_pain.value",
        "short": "Type of pain",
        "definition": "DV_CODED_TEXT",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Abbey_pain_scale.Event_Series.Any_event.data.Type_of_pain.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      }
    ]
  }
}