{
  "resourceType": "StructureDefinition",
  "id": "logicalmodel-Cessationattempts-R4",
  "url": "http://linkehr.com/fhir/logicalmodel-cessationattempts-R4",
  "identifier": [
    {
      "system": "openEHR-CKM",
      "value": "openEHR-EHR-CLUSTER.cessation_attempts.v0"
    }
  ],
  "version": "0",
  "name": "Cessationattempts",
  "title": "Cessation attempts",
  "status": "draft",
  "date": "2024-06-18",
  "publisher": "openEHR",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.veratech.es"
        }
      ]
    }
  ],
  "description": "Cease use or consumption of a substance.",
  "purpose": "Record information about single, or multiple, attempts of the individual to cease use of a substance.",
  "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": "Cessation_attempts",
        "path": "Cessation_attempts",
        "short": "Cessation attempts",
        "definition": "Cease use or consumption of a substance.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Cessation_attempts",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cessation_attempts.Location",
        "path": "Cessation_attempts.Location",
        "short": "Location",
        "definition": "Place where attempt to cease use occurred eg home or name of institution.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cessation_attempts.Location",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Cessation_attempts.Location.value",
        "path": "Cessation_attempts.Location.value",
        "short": "Location",
        "definition": "Place where attempt to cease use occurred eg home or name of institution.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cessation_attempts.Location.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cessation_attempts.Date_of_attempt",
        "path": "Cessation_attempts.Date_of_attempt",
        "short": "Date of attempt",
        "definition": "Date of commencement of cessation attempt.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cessation_attempts.Date_of_attempt",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Cessation_attempts.Date_of_attempt.value",
        "path": "Cessation_attempts.Date_of_attempt.value",
        "short": "Date of attempt",
        "definition": "Date of commencement of cessation attempt.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cessation_attempts.Date_of_attempt.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cessation_attempts.Description",
        "path": "Cessation_attempts.Description",
        "short": "Description",
        "definition": "Description of the attempt.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cessation_attempts.Description",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Cessation_attempts.Description.value",
        "path": "Cessation_attempts.Description.value",
        "short": "Description",
        "definition": "Description of the attempt.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cessation_attempts.Description.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cessation_attempts.Therapeutic_intervention",
        "path": "Cessation_attempts.Therapeutic_intervention",
        "short": "Therapeutic intervention",
        "definition": "Details of therapeutic agent/s used.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Cessation_attempts.Therapeutic_intervention",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cessation_attempts.Therapeutic_intervention.Agent",
        "path": "Cessation_attempts.Therapeutic_intervention.Agent",
        "short": "Agent",
        "definition": "Name of agent used.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cessation_attempts.Therapeutic_intervention.Agent",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Cessation_attempts.Therapeutic_intervention.Agent.value",
        "path": "Cessation_attempts.Therapeutic_intervention.Agent.value",
        "short": "Agent",
        "definition": "Name of agent used.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cessation_attempts.Therapeutic_intervention.Agent.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cessation_attempts.Therapeutic_intervention.Used_optimally",
        "path": "Cessation_attempts.Therapeutic_intervention.Used_optimally",
        "short": "Used optimally",
        "definition": "Was the agent used optimally?",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cessation_attempts.Therapeutic_intervention.Used_optimally",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Cessation_attempts.Therapeutic_intervention.Used_optimally.value",
        "path": "Cessation_attempts.Therapeutic_intervention.Used_optimally.value",
        "short": "Used optimally",
        "definition": "Was the agent used optimally?",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cessation_attempts.Therapeutic_intervention.Used_optimally.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cessation_attempts.Therapeutic_intervention.Comment",
        "path": "Cessation_attempts.Therapeutic_intervention.Comment",
        "short": "Comment",
        "definition": "Comment about the effect of the agent on the attempt.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cessation_attempts.Therapeutic_intervention.Comment",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Cessation_attempts.Therapeutic_intervention.Comment.value",
        "path": "Cessation_attempts.Therapeutic_intervention.Comment.value",
        "short": "Comment",
        "definition": "Comment about the effect of the agent on the attempt.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cessation_attempts.Therapeutic_intervention.Comment.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cessation_attempts.Outcome",
        "path": "Cessation_attempts.Outcome",
        "short": "Outcome",
        "definition": "Outcome of attempt.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cessation_attempts.Outcome",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Cessation_attempts.Outcome.value",
        "path": "Cessation_attempts.Outcome.value",
        "short": "Outcome",
        "definition": "Outcome of attempt.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cessation_attempts.Outcome.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Cessation_attempts.Duration_of_cessation",
        "path": "Cessation_attempts.Duration_of_cessation",
        "short": "Duration of cessation",
        "definition": "Amount of time activity ceased.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cessation_attempts.Duration_of_cessation",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Cessation_attempts.Duration_of_cessation.value",
        "path": "Cessation_attempts.Duration_of_cessation.value",
        "short": "Duration of cessation",
        "definition": "Amount of time activity ceased.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Cessation_attempts.Duration_of_cessation.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Duration"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      }
    ]
  }
}