{
  "resourceType": "StructureDefinition",
  "id": "89611ece-b05e-4b01-bacd-94eefec54470",
  "meta": {
    "lastUpdated": "2018-10-12T09:37:06.509+00:00"
  },
  "url": "https://stu3.simplifier.net/StandIN/openehr2fhir_Tobacco_smoking_summary_observation",
  "name": "openehr2fhir_Tobacco_smoking_summary_observation",
  "status": "draft",
  "date": "2018-10-12T09:37:07.3456578+00:00",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "id"
            }
          ],
          "rules": "openAtEnd"
        }
      },
      {
        "id": "Observation.component:OverallStatus",
        "path": "Observation.component",
        "sliceName": "OverallStatus",
        "short": "Övergripande status",
        "definition": "Beskrivning av aktuellt bruk för alla typer av röktobak",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:OverallStatus.code.id",
        "path": "Observation.component.code.id",
        "short": "openEHR element code",
        "fixedString": "at0089"
      },
      {
        "id": "Observation.component:OverallStatus.value[x]:valueCodeableConcept",
        "path": "Observation.component.valueCodeableConcept",
        "sliceName": "valueCodeableConcept",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "OE_SE_Rokning_OvergrppandeStatus",
          "valueSetUri": "https://stu3.simplifier.net/StandIN/ValueSet/OE_SE_Rokning_OvergrppandeStatus"
        }
      },
      {
        "id": "Observation.component:OverallDescription",
        "path": "Observation.component",
        "sliceName": "OverallDescription",
        "short": "Övergripande beskrivning",
        "definition": "Beskrivande sammanfattning av en individs rökvanor och rökhistorik.",
        "max": "1"
      },
      {
        "id": "Observation.component:OverallDescription.code.id",
        "path": "Observation.component.code.id",
        "fixedString": "at0043"
      },
      {
        "id": "Observation.component:OverallDescription.value[x]:valueString",
        "path": "Observation.component.valueString",
        "sliceName": "valueString",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Observation.component:RegularSmokingCommenced",
        "path": "Observation.component",
        "sliceName": "RegularSmokingCommenced",
        "short": "Började röka regelbundet",
        "definition": "Datum, eller del av datum när individen först började röka någon sorts tobak regelbundet, men inte dagligen",
        "max": "1"
      },
      {
        "id": "Observation.component:RegularSmokingCommenced.code.id",
        "path": "Observation.component.code.id",
        "fixedString": "at0015"
      },
      {
        "id": "Observation.component:RegularSmokingCommenced.value[x]:valueDateTime",
        "path": "Observation.component.valueDateTime",
        "sliceName": "valueDateTime",
        "min": 1,
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Observation.component:DailySmokingCommenced",
        "path": "Observation.component",
        "sliceName": "DailySmokingCommenced",
        "max": "1"
      },
      {
        "id": "Observation.component:DailySmokingCommenced.code.id",
        "path": "Observation.component.code.id",
        "fixedString": "at0080"
      },
      {
        "id": "Observation.component:DailySmokingCommenced.value[x]:valueDateTime",
        "path": "Observation.component.valueDateTime",
        "sliceName": "valueDateTime",
        "min": 1,
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Observation.component:OverallQuitDate",
        "path": "Observation.component",
        "sliceName": "OverallQuitDate",
        "short": "The date when the individual last ceased using tobacco of any type.",
        "comment": "Can be a partial date, for example, only a year. This date could be used by decision support guidance to determine if the individual is at risk of relapse, for example in the first 12 months since quitting.",
        "max": "1"
      },
      {
        "id": "Observation.component:OverallQuitDate.value[x]:valueDateTime",
        "path": "Observation.component.valueDateTime",
        "sliceName": "valueDateTime",
        "short": "Overall quit date",
        "definition": "The date when the individual last ceased using tobacco of any type.\r\nComment: Can be a partial date, for example, only a year. This date could be used by decision support guidance to determine if the individual is at risk of relapse, for example in the first 12 months since quitting.",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Observation.component:OverallPackYears",
        "path": "Observation.component",
        "sliceName": "OverallPackYears",
        "max": "1"
      },
      {
        "id": "Observation.component:OverallPackYears.value[x]:valueQuantity",
        "path": "Observation.component.valueQuantity",
        "sliceName": "valueQuantity",
        "short": "Overall pack years",
        "definition": "Estimate of the cumulative amount for all types of tobacco smoked.\r\nComment: The definition of a pack can be recorded in the protocol of this archetype using the 'Pack definition' data element.",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:OverallComment",
        "path": "Observation.component",
        "sliceName": "OverallComment",
        "max": "1"
      },
      {
        "id": "Observation.component:OverallComment.value[x]:valueString",
        "path": "Observation.component.valueString",
        "sliceName": "valueString",
        "short": "Overall comment",
        "definition": "Additional narrative about all tobacco smoking that has not been captured in other fields.\r\nComment: For example: stopped smoking or reduced amount on becoming pregnant.",
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  }
}