Questionnaire-health-declaration
type: Questionnaire
node role: treeRoot
id:
  v: Questionnaire-health-declaration
meta:
  profile:
    v: https://fhir.ee/qre/StructureDefinition/ee-health-declaration-questionnaire
    link: https://fhir.ee/qre/StructureDefinition/ee-health-declaration-questionnaire
text:
  status:
    v: generated
  div:
    v: Generated Narrative: Questionnaire Questionnaire-health-declaration Profile: EEHealthDeclarationQuestionnaire Structure LinkID Text Cardinality Type Flags Description & Constraints HDECL Näidis töötervishoiu tervisedeklaratsiooni küsimustikust Questionnaire https://fhir.ee/qre/Questionnaire-health-declaration#1.0.0 #xD; category null 1..* coding Options: 4 options #xD; patient-gender null 1..1 coding Value Set: AdministrativeGender #xD; lifestyle 1. null 1..1 group #xD; lifestyle.alcohol null 1..1 boolean #xD; lifestyle.alcohol.alcohol-units null 1..1 decimal Enable When: lifestyle.alcohol = true #xD; lifestyle.smoking-tobacco null 1..1 coding Value Set: Suitsetamisharjumused #xD; lifestyle.smoking-tobacco.which null 1..* coding Enable When: lifestyle.smoking-tobacco != Never smoked tobacco (SNOMED CT#266919005) Value Set: Tubakatoodete liik #xD; lifestyle.smoking-tobacco.tobacco-amount null 1..1 quantity Enable When: lifestyle.smoking-tobacco.which = Suitsetatav tubakatoode (sigaret, sigar, sigarillo, vesipiibutubakas) (tubakatoodete-liik#smoking-tobacco) #xD; lifestyle.smoking-tobacco.smokeless-other-tobacco-amount null 1..1 quantity Enable When: lifestyle.smoking-tobacco.which = Suitsuvaba tubakatoode (närimistubakas, nuusktubakas, nikotiinipadi, suukaudseks kasutamiseks mõeldud tubakas) (tubakatoodete-liik#smokeless-tobacco) lifestyle.smoking-tobacco.which = Uudne tubakatoode (elektrooniline sigaret, kuumutatav tubakatoode) (tubakatoodete-liik#novel-tobacco) #xD; lifestyle.smoking-tobacco.period null 1..1 group Enable When: lifestyle.smoking-tobacco != Never smoked tobacco (SNOMED CT#266919005) #xD; lifestyle.smoking-tobacco.period.years null 1..1 integer #xD; lifestyle.smoking-tobacco.period.months null 1..1 integer #xD; lifestyle.smoking-tobacco.quit-year null 1..1 integer Enable When: lifestyle.smoking-tobacco = Stopped smoking (SNOMED CT#160617001) #xD; lifestyle.narcotics null 1..1 boolean #xD; lifestyle.narcotics.narcotics-frequency null 1..1 string Enable…
url:
  v: https://fhir.ee/qre/Questionnaire-health-declaration
version:
  v: 1.0.0
name:
  v: HDECL
title:
  v: Tervisedeklaratsioon
status:
  v: active
subject type:
  v: Patient
date:
  v: 2023-12-12
publisher:
  v: TEHIK
contact:
  name:
    v: TEHIK
  telecom:
    system:
      v: url
    value:
      v: https://tehik.ee
  telecom:
    system:
      v: email
description:
  v: Näidis töötervishoiu tervisedeklaratsiooni küsimustikust
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
    code:
      v: EST
    display:
      v: Estonia
approval date:
  v: 2024-01-01
effective period:
  start:
    v: 2024-03-16
code:
  system:
    v: http://fhir.ee/CodeSystem/kysimustikud
  code:
    v: 156871000181103
item:
  link id:
    v: category
  type:
    v: coding
  required:
    v: true
  repeats:
    v: true
  read only:
    v: true
  answer option:
    value: Coding
      system:
        v: https://fhir.ee/CodeSystem/labivaatuse-tyyp
      code:
        v: driver-group-I
  answer option:
    value: Coding
      system:
        v: https://fhir.ee/CodeSystem/labivaatuse-tyyp
      code:
        v: driver-group-II
  answer option:
    value: Coding
      system:
        v: https://fhir.ee/CodeSystem/labivaatuse-tyyp
      code:
        v: occupational
  answer option:
    value: Coding
      system:
        v: https://fhir.ee/CodeSystem/labivaatuse-tyyp
      code:
        v: military-service
item:
  link id:
    v: patient-gender
  type:
    v: coding
  required:
    v: true
  read only:
    v: true
  answer value set:
    v: http://hl7.org/fhir/ValueSet/administrative-gender
    link: http://hl7.org/fhir/ValueSet/administrative-gender
item:
  link id:
    v: lifestyle
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: lifestyle
  prefix:
    v: 1
  type:
    v: group
  required:
    v: true
  item:
    link id:
      v: lifestyle.alcohol
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: alcohol
    type:
      v: boolean
    required:
      v: true
    item:
      link id:
        v: lifestyle.alcohol.alcohol-units
      type:
        v: decimal
      enable when:
        answer: boolean
      required:
        v: true
  item:
    link id:
      v: lifestyle.smoking-tobacco
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: smoking-tobacco
    type:
      v: coding
    required:
      v: true
    answer value set:
      v: https://fhir.ee/ValueSet/suitsetamisharjumused
      link: https://fhir.ee/ValueSet/suitsetamisharjumused
    item:
      link id:
        v: lifestyle.smoking-tobacco.which
      type:
        v: coding
      enable when:
        answer: Coding
      required:
        v: true
      repeats:
        v: true
      answer value set:
        v: https://fhir.ee/ValueSet/tubakatoodete-liik
        link: https://fhir.ee/ValueSet/tubakatoodete-liik
    item:
      extension:
        value: Coding
      extension:
        value: Coding
      extension:
        value: Coding
      link id:
        v: lifestyle.smoking-tobacco.tobacco-amount
      type:
        v: quantity
      enable when:
        answer: Coding
      required:
        v: true
    item:
      extension:
        value: Coding
      extension:
        value: Coding
      extension:
        value: Coding
      link id:
        v: lifestyle.smoking-tobacco.smokeless-other-tobacco-amount
      type:
        v: quantity
      enable when:
        answer: Coding
      enable when:
        answer: Coding
      enable behavior:
        v: any

v: alcohol-units

v: lifestyle.alcohol

v: =

boolean
v: true

v: smoking-tobacco-which

v: lifestyle.smoking-tobacco

v: !=

Coding
type: http://snomed.info/id/266919005
system:
  v: http://snomed.info/sct
code:
  v: 266919005

Coding
system:
  v: https://fhir.ee/CodeSystem/sagedus-ajas
code:
  v: /d

Coding
system:
  v: https://fhir.ee/CodeSystem/sagedus-ajas
code:
  v: /wk

Coding
system:
  v: https://fhir.ee/CodeSystem/sagedus-ajas
code:
  v: /mo

v: smoking-tobacco-amount

v: lifestyle.smoking-tobacco.which

v: =

Coding
system:
  v: https://fhir.ee/CodeSystem/tubakatoodete-liik
code:
  v: smoking-tobacco

Coding
system:
  v: https://fhir.ee/CodeSystem/sagedus-ajas
code:
  v: /d

Coding
system:
  v: https://fhir.ee/CodeSystem/sagedus-ajas
code:
  v: /wk

Coding
system:
  v: https://fhir.ee/CodeSystem/sagedus-ajas
code:
  v: /mo

v: smokeless-other-tobacco-amount

v: lifestyle.smoking-tobacco.which

v: =

Coding
system:
  v: https://fhir.ee/CodeSystem/tubakatoodete-liik
code:
  v: smokeless-tobacco

v: lifestyle.smoking-tobacco.which

v: =

Coding
system:
  v: https://fhir.ee/CodeSystem/tubakatoodete-liik
code:
  v: novel-tobacco

v: true

link id:
  v: lifestyle.smoking-tobacco.period
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: smoking-tobacco-period
type:
  v: group
enable when:
  question:
    v: lifestyle.smoking-tobacco
  operator:
    v: !=
  answer: Coding
    type: http://snomed.info/id/266919005
    system:
      v: http://snomed.info/sct
    code:
      v: 266919005
required:
  v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/minValue
    value: integer
      v: 0
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/maxValue
    value: integer
      v: 150
  link id:
    v: lifestyle.smoking-tobacco.period.years
  type:
    v: integer
  required:
    v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/minValue
    value: integer
      v: 0
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/maxValue
    value: integer
      v: 11
  link id:
    v: lifestyle.smoking-tobacco.period.months
  type:
    v: integer
  required:
    v: true

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/minValue
  value: integer
    v: 1900
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/maxValue
  value: integer
    v: 3000
link id:
  v: lifestyle.smoking-tobacco.quit-year
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: smoking-tobacco-quit-year
type:
  v: integer
enable when:
  question:
    v: lifestyle.smoking-tobacco
  operator:
    v: =
  answer: Coding
    type: http://snomed.info/id/160617001
    system:
      v: http://snomed.info/sct
    code:
      v: 160617001
required:
  v: true

link id:
  v: lifestyle.narcotics
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: narcotics
type:
  v: boolean
required:
  v: true
item:
  link id:
    v: lifestyle.narcotics.narcotics-frequency
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: narcotics-frequency
  type:
    v: string
  enable when:
    question:
      v: lifestyle.narcotics
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: lifestyle.medication
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: medication-influence
type:
  v: boolean
required:
  v: true
item:
  link id:
    v: lifestyle.medication.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: lifestyle.medication
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: work-environment
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: work-environment
prefix:
  v: 2
type:
  v: group
required:
  v: true
item:
  link id:
    v: work-environment.work-restrictions
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: work-restrictions
  type:
    v: boolean
  required:
    v: true
  item:
    link id:
      v: work-environment.work-restrictions.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification-why
    type:
      v: text
    enable when:
      question:
        v: work-environment.work-restrictions
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: work-environment.work-health-problems
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: work-health-problems
  type:
    v: boolean
  required:
    v: true
  item:
    link id:
      v: work-environment.work-health-problems.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: work-environment.work-health-problems
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: work-environment.occupational-disease
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: occupational-disease
  type:
    v: boolean
  enable when:
    question:
      v: category
    operator:
      v: =
    answer: Coding
      system:
        v: https://fhir.ee/CodeSystem/tervisekontrolli-kasutusala
      code:
        v: occupational
  required:
    v: true
  item:
    link id:
      v: work-environment.occupational-disease.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: work-environment.occupational-disease
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: false
  item:
    link id:
      v: work-environment.occupational-disease.previous-diagnosis
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: previous-diagnosis
    type:
      v: group
    required:
      v: false
    repeats:
      v: true
    read only:
      v: true
    item:
      link id:
        v: work-environment.occupational-disease.previous-diagnosis.diagnosis
      type:
        v: coding
      required:
        v: true
      read only:
        v: true
      answer value set:
        v: https://fhir.ee/ValueSet/td-kutsehaigused
        link: https://fhir.ee/ValueSet/td-kutsehaigused
    item:
      link id:
        v: work-environment.occupational-disease.previous-diagnosis.written-diagnosis
      type:
        v: string
      required:
        v: false
      read only:
        v: true
    item:
      link id:
        v: work-environment.occupational-disease.previous-diagnosis.source-reference
      type:
        v: reference
      required:
        v: true
      read only:
        v: true
item:
  link id:
    v: work-environment.work-related-disease
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: work-related-disease
  type:
    v: boolean
  enable when:
    question:
      v: category
    operator:
      v: =
    answer: Coding
      system:
        v: https://fhir.ee/CodeSystem/tervisekontrolli-kasutusala
      code:
        v: occupational
  required:
    v: true
  item:
    link id:
      v: work-environment.work-related-disease.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: work-environment.work-related-disease
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: false

link id:
  v: work-environment.work-related-disease.previous-diagnosis
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: previous-diagnosis
type:
  v: group
required:
  v: false
repeats:
  v: true
read only:
  v: true
item:
  link id:
    v: work-environment.work-related-disease.previous-diagnosis.diagnosis
  type:
    v: coding
  required:
    v: true
  read only:
    v: true
  answer value set:
    v: https://fhir.ee/ValueSet/td-toost-pohjustatud-haigused
    link: https://fhir.ee/ValueSet/td-toost-pohjustatud-haigused
item:
  link id:
    v: work-environment.work-related-disease.previous-diagnosis.written-diagnosis
  type:
    v: string
  required:
    v: false
  read only:
    v: true
item:
  link id:
    v: work-environment.work-related-disease.previous-diagnosis.source-reference
  type:
    v: reference
  required:
    v: true
  read only:
    v: true

link id:
  v: work-environment.ppe-problems
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: ppe-problems
type:
  v: boolean
enable when:
  question:
    v: category
  operator:
    v: =
  answer: Coding
    system:
      v: https://fhir.ee/CodeSystem/tervisekontrolli-kasutusala
    code:
      v: occupational
required:
  v: true
item:
  link id:
    v: work-environment.ppe-problems.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: work-environment.ppe-problems
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: work-environment.previous-employers
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: previous-employers
type:
  v: text
enable when:
  question:
    v: category
  operator:
    v: =
  answer: Coding
    system:
      v: https://fhir.ee/CodeSystem/tervisekontrolli-kasutusala
    code:
      v: occupational
required:
  v: false

link id:
  v: allergies
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: allergies
prefix:
  v: 3
type:
  v: group
required:
  v: true
item:
  link id:
    v: allergies.previous-diagnosis
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: previous-diagnosis
  type:
    v: group
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: allergies.previous-diagnosis.diagnosis
    type:
      v: coding
    required:
      v: true
    read only:
      v: true
    answer value set:
      v: https://fhir.ee/ValueSet/td-allergiad
      link: https://fhir.ee/ValueSet/td-allergiad
  item:
    link id:
      v: allergies.previous-diagnosis.written-diagnosis
    type:
      v: string
    required:
      v: false
    read only:
      v: true
  item:
    link id:
      v: allergies.previous-diagnosis.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: allergies.no-complaints
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: no-current-complaints
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: allergies.medication-allergy
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: medication-allergy
  type:
    v: boolean
  enable when:
    question:
      v: allergies.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: allergies.medication-allergy.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: allergies.medication-allergy
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: allergies.food-allergy
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: food-allergy
  type:
    v: boolean
  enable when:
    question:
      v: allergies.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: allergies.food-allergy.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: allergies.food-allergy
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: allergies.pollen-allergy
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: pollen-allergy
  type:
    v: boolean
  enable when:
    question:
      v: allergies.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: allergies.pollen-allergy.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: allergies.pollen-allergy
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: allergies.pets-allergy
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: pets-allergy
  type:
    v: boolean
  enable when:
    question:
      v: allergies.no-complaints
    operator:
      v: =
    answer: boolean
      v: false

v: true

link id:
  v: allergies.pets-allergy.specification
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: specification
type:
  v: text
enable when:
  question:
    v: allergies.pets-allergy
  operator:
    v: =
  answer: boolean
    v: true
required:
  v: true

link id:
  v: allergies.other-allergies
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: other-allergies
type:
  v: boolean
enable when:
  question:
    v: allergies.no-complaints
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true
item:
  link id:
    v: allergies.other-allergies.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: allergies.other-allergies
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: mental-health
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: mental-health
prefix:
  v: 4
type:
  v: group
required:
  v: true
item:
  link id:
    v: mental-health.previous-diagnosis
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: previous-diagnosis
  type:
    v: group
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: mental-health.previous-diagnosis.diagnosis
    type:
      v: coding
    required:
      v: true
    read only:
      v: true
    answer value set:
      v: https://fhir.ee/ValueSet/td-psyyhika
      link: https://fhir.ee/ValueSet/td-psyyhika
  item:
    link id:
      v: mental-health.previous-diagnosis.written-diagnosis
    type:
      v: string
    required:
      v: false
    read only:
      v: true
  item:
    link id:
      v: mental-health.previous-diagnosis.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: mental-health.no-complaints
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: no-current-complaints
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: mental-health.depression
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: depression
  type:
    v: boolean
  enable when:
    question:
      v: mental-health.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: mental-health.depression.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: mental-health.depression
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: mental-health.schizophrenia
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: schizophrenia
  type:
    v: boolean
  enable when:
    question:
      v: mental-health.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: mental-health.schizophrenia.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: mental-health.schizophrenia
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: mental-health.fear-working-alone
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: fear-working-alone
  type:
    v: boolean
  enable when:
    question:
      v: mental-health.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: mental-health.fear-working-alone.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: mental-health.fear-working-alone
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: mental-health.fear-closed-spaces
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: fear-closed-spaces
  type:
    v: boolean
  enable when:
    question:
      v: mental-health.no-complaints
    operator:
      v: =
    answer: boolean
      v: false

v: true

link id:
  v: mental-health.fear-closed-spaces.specification
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: specification
type:
  v: text
enable when:
  question:
    v: mental-health.fear-closed-spaces
  operator:
    v: =
  answer: boolean
    v: true
required:
  v: true

link id:
  v: mental-health.fear-heights
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: fear-heights
type:
  v: boolean
enable when:
  question:
    v: mental-health.no-complaints
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true
item:
  link id:
    v: mental-health.fear-heights.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: mental-health.fear-heights
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: mental-health.frequent-stress
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: frequent-stress
type:
  v: boolean
enable when:
  question:
    v: mental-health.no-complaints
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true
item:
  link id:
    v: mental-health.frequent-stress.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: mental-health.frequent-stress
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: mental-health.other-disease-condition-symptom
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: other-disease-condition-symptom
type:
  v: boolean
enable when:
  question:
    v: mental-health.no-complaints
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true
item:
  link id:
    v: mental-health.other-disease-condition-symptom.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: mental-health.other-disease-condition-symptom
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: nervous-system
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: nervous-system
prefix:
  v: 5
type:
  v: group
required:
  v: true
item:
  link id:
    v: nervous-system.previous-diagnosis
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: previous-diagnosis
  type:
    v: group
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: nervous-system.previous-diagnosis.diagnosis
    type:
      v: coding
    required:
      v: true
    read only:
      v: true
    answer value set:
      v: https://fhir.ee/ValueSet/td-narvisysteem
      link: https://fhir.ee/ValueSet/td-narvisysteem
  item:
    link id:
      v: nervous-system.previous-diagnosis.written-diagnosis
    type:
      v: string
    required:
      v: false
    read only:
      v: true
  item:
    link id:
      v: nervous-system.previous-diagnosis.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: nervous-system.no-complaints
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: no-current-complaints
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: nervous-system.syncope
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: syncope
  type:
    v: boolean
  enable when:
    question:
      v: nervous-system.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: nervous-system.syncope.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: nervous-system.syncope
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: nervous-system.seizures
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: seizures
  type:
    v: boolean
  enable when:
    question:
      v: nervous-system.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: nervous-system.seizures.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: nervous-system.seizures
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: nervous-system.balance-disorder
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: balance-disorder
  type:
    v: boolean
  enable when:
    question:
      v: nervous-system.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: nervous-system.balance-disorder.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: nervous-system.balance-disorder
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: nervous-system.stroke
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: stroke
  type:
    v: boolean
  enable when:
    question:
      v: nervous-system.no-complaints
    operator:
      v: =
    answer: boolean
      v: false

v: true

link id:
  v: nervous-system.stroke.specification
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: specification
type:
  v: text
enable when:
  question:
    v: nervous-system.stroke
  operator:
    v: =
  answer: boolean
    v: true
required:
  v: true

link id:
  v: nervous-system.seasickness
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: seasickness
type:
  v: boolean
enable when:
  question:
    v: nervous-system.no-complaints
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true
item:
  link id:
    v: nervous-system.seasickness.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: nervous-system.seasickness
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: nervous-system.coordination-disorder
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: coordination-disorder
type:
  v: boolean
enable when:
  question:
    v: nervous-system.no-complaints
  operator:
    v: =
  answer: boolean
    v: false
enable when:
  question:
    v: category
  operator:
    v: =
  answer: Coding
    system:
      v: https://fhir.ee/CodeSystem/tervisekontrolli-kasutusala
    code:
      v: occupational
enable behavior:
  v: all
required:
  v: true
item:
  link id:
    v: nervous-system.coordination-disorder.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: nervous-system.coordination-disorder
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: nervous-system.other-disease-condition-symptom
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: other-disease-condition-symptom
type:
  v: boolean
enable when:
  question:
    v: nervous-system.no-complaints
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true
item:
  link id:
    v: nervous-system.other-disease-condition-symptom.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: nervous-system.other-disease-condition-symptom
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: eyes-vision
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: eyes-vision
prefix:
  v: 6
type:
  v: group
required:
  v: true
item:
  link id:
    v: eyes-vision.previous-diagnosis
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: previous-diagnosis
  type:
    v: group
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: eyes-vision.previous-diagnosis.diagnosis
    type:
      v: coding
    required:
      v: true
    read only:
      v: true
    answer value set:
      v: https://fhir.ee/ValueSet/td-silmad-ja-nagemine
      link: https://fhir.ee/ValueSet/td-silmad-ja-nagemine
  item:
    link id:
      v: eyes-vision.previous-diagnosis.written-diagnosis
    type:
      v: string
    required:
      v: false
    read only:
      v: true
  item:
    link id:
      v: eyes-vision.previous-diagnosis.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: eyes-vision.no-complaints
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: no-current-complaints
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: eyes-vision.myopia
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: myopia
  type:
    v: boolean
  enable when:
    question:
      v: eyes-vision.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: eyes-vision.myopia.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: eyes-vision.myopia
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: eyes-vision.hyperopia
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: hyperopia
  type:
    v: boolean
  enable when:
    question:
      v: eyes-vision.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: eyes-vision.hyperopia.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: eyes-vision.hyperopia
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: eyes-vision.limited-view
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: limited-view
  type:
    v: boolean
  enable when:
    question:
      v: eyes-vision.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: eyes-vision.limited-view.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: eyes-vision.limited-view
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: eyes-vision.double-vision
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: double-vision
  type:
    v: boolean
  enable when:
    question:
      v: eyes-vision.no-complaints
    operator:
      v: =
    answer: boolean
      v: false

v: true

link id:
  v: eyes-vision.double-vision.specification
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: specification
type:
  v: text
enable when:
  question:
    v: eyes-vision.double-vision
  operator:
    v: =
  answer: boolean
    v: true
required:
  v: true

link id:
  v: eyes-vision.colour-vision-disorder
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: colour-vision-disorder
type:
  v: boolean
enable when:
  question:
    v: eyes-vision.no-complaints
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true
item:
  link id:
    v: eyes-vision.colour-vision-disorder.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: eyes-vision.colour-vision-disorder
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: eyes-vision.other-disease-condition-symptom
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: other-disease-condition-symptom
type:
  v: boolean
enable when:
  question:
    v: eyes-vision.no-complaints
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true
item:
  link id:
    v: eyes-vision.other-disease-condition-symptom.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: eyes-vision.other-disease-condition-symptom
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: ear-nose-throat
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: ear-nose-throat
prefix:
  v: 7
type:
  v: group
required:
  v: true
item:
  link id:
    v: ear-nose-throat.previous-diagnosis
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: previous-diagnosis
  type:
    v: group
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: ear-nose-throat.previous-diagnosis.diagnosis
    type:
      v: coding
    required:
      v: true
    read only:
      v: true
    answer value set:
      v: https://fhir.ee/ValueSet/td-korv-nina-neel
      link: https://fhir.ee/ValueSet/td-korv-nina-neel
  item:
    link id:
      v: ear-nose-throat.previous-diagnosis.written-diagnosis
    type:
      v: string
    required:
      v: false
    read only:
      v: true
  item:
    link id:
      v: ear-nose-throat.previous-diagnosis.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: ear-nose-throat.no-complaints
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: no-current-complaints
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: ear-nose-throat.hearing-loss
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: hearing-loss
  type:
    v: boolean
  enable when:
    question:
      v: ear-nose-throat.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: ear-nose-throat.hearing-loss.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: ear-nose-throat.hearing-loss
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: ear-nose-throat.allergic-rhinitis
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: allergic-rhinitis
  type:
    v: boolean
  enable when:
    question:
      v: ear-nose-throat.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: ear-nose-throat.allergic-rhinitis.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: ear-nose-throat.allergic-rhinitis
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: ear-nose-throat.chronic-sinusitis
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: chronic-sinusitis
  type:
    v: boolean
  enable when:
    question:
      v: ear-nose-throat.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: ear-nose-throat.chronic-sinusitis.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: ear-nose-throat.chronic-sinusitis
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: ear-nose-throat.nasal-obstruction
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: nasal-obstruction
  type:
    v: boolean
  enable when:
    question:
      v: ear-nose-throat.no-complaints
    operator:
      v: =
    answer: boolean
      v: false

v: true

link id:
  v: ear-nose-throat.nasal-obstruction.specification
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: specification
type:
  v: text
enable when:
  question:
    v: ear-nose-throat.nasal-obstruction
  operator:
    v: =
  answer: boolean
    v: true
required:
  v: true

link id:
  v: ear-nose-throat.frequent-throat-infection
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: frequent-throat-infection
type:
  v: boolean
enable when:
  question:
    v: ear-nose-throat.no-complaints
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true
item:
  link id:
    v: ear-nose-throat.frequent-throat-infection.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: ear-nose-throat.frequent-throat-infection
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: ear-nose-throat.other-disease-condition-symptom
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: other-disease-condition-symptom
type:
  v: boolean
enable when:
  question:
    v: ear-nose-throat.no-complaints
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true
item:
  link id:
    v: ear-nose-throat.other-disease-condition-symptom.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: ear-nose-throat.other-disease-condition-symptom
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: respiratory-system
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: respiratory-system
prefix:
  v: 8
type:
  v: group
required:
  v: true
item:
  link id:
    v: respiratory-system.previous-diagnosis
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: previous-diagnosis
  type:
    v: group
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: respiratory-system.previous-diagnosis.diagnosis
    type:
      v: coding
    required:
      v: true
    read only:
      v: true
    answer value set:
      v: https://fhir.ee/ValueSet/td-hingamissysteem
      link: https://fhir.ee/ValueSet/td-hingamissysteem
  item:
    link id:
      v: respiratory-system.previous-diagnosis.written-diagnosis
    type:
      v: string
    required:
      v: false
    read only:
      v: true
  item:
    link id:
      v: respiratory-system.previous-diagnosis.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: respiratory-system.no-complaints
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: no-current-complaints
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: respiratory-system.asthma
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: asthma
  type:
    v: boolean
  enable when:
    question:
      v: respiratory-system.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: respiratory-system.asthma.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: respiratory-system.asthma
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: respiratory-system.copd
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: copd
  type:
    v: boolean
  enable when:
    question:
      v: respiratory-system.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: respiratory-system.copd.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: respiratory-system.copd
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: respiratory-system.sleep-apnoea
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: sleep-apnoea
  type:
    v: boolean
  enable when:
    question:
      v: respiratory-system.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: respiratory-system.sleep-apnoea.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: respiratory-system.sleep-apnoea
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: respiratory-system.other-disease-condition-symptom
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: other-disease-condition-symptom
  type:
    v: boolean
  enable when:
    question:
      v: respiratory-system.no-complaints
    operator:
      v: =
    answer: boolean
      v: false

v: true

link id:
  v: respiratory-system.other-disease-condition-symptom.specification
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: specification
type:
  v: text
enable when:
  question:
    v: respiratory-system.other-disease-condition-symptom
  operator:
    v: =
  answer: boolean
    v: true
required:
  v: true

link id:
  v: metabolic-disorder
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: metabolic-disorder
prefix:
  v: 9
type:
  v: group
required:
  v: true
item:
  link id:
    v: metabolic-disorder.previous-diagnosis
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: previous-diagnosis
  type:
    v: group
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: metabolic-disorder.previous-diagnosis.diagnosis
    type:
      v: coding
    required:
      v: true
    read only:
      v: true
    answer value set:
      v: https://fhir.ee/ValueSet/td-ainevahetuse-haired
      link: https://fhir.ee/ValueSet/td-ainevahetuse-haired
  item:
    link id:
      v: metabolic-disorder.previous-diagnosis.written-description
    type:
      v: string
    required:
      v: false
    read only:
      v: true
  item:
    link id:
      v: metabolic-disorder.previous-diagnosis.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: metabolic-disorder.no-complaints
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: no-current-complaints
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: metabolic-disorder.diabetes
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: diabetes
  type:
    v: boolean
  enable when:
    question:
      v: metabolic-disorder.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: metabolic-disorder.diabetes.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: metabolic-disorder.diabetes
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: metabolic-disorder.other-disease-condition-symptom
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: other-disease-condition-symptom
  type:
    v: boolean
  enable when:
    question:
      v: metabolic-disorder.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: metabolic-disorder.other-disease-condition-symptom.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: metabolic-disorder.other-disease-condition-symptom
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true

link id:
  v: cardiovascular-system
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: cardiovascular-system
prefix:
  v: 10
type:
  v: group
required:
  v: true
item:
  link id:
    v: cardiovascular-system.previous-diagnosis
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: previous-diagnosis
  type:
    v: group
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: cardiovascular-system.previous-diagnosis.diagnosis
    type:
      v: coding
    required:
      v: true
    read only:
      v: true
    answer value set:
      v: https://fhir.ee/ValueSet/td-syda-ja-veresoonkond
      link: https://fhir.ee/ValueSet/td-syda-ja-veresoonkond
  item:
    link id:
      v: cardiovascular-system.previous-diagnosis.written-diagnosis
    type:
      v: string
    required:
      v: false
    read only:
      v: true
  item:
    link id:
      v: cardiovascular-system.previous-diagnosis.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: cardiovascular-system.no-complaints
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: no-current-complaints
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: cardiovascular-system.chest-pain-activity
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: chest-pain-activity
  type:
    v: boolean
  enable when:
    question:
      v: cardiovascular-system.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: cardiovascular-system.chest-pain-activity.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: cardiovascular-system.chest-pain-activity
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: cardiovascular-system.high-blood-pressure
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: high-blood-pressure
  type:
    v: boolean
  enable when:
    question:
      v: cardiovascular-system.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: cardiovascular-system.high-blood-pressure.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: cardiovascular-system.high-blood-pressure
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: cardiovascular-system.heart-attack
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: heart-attack
  type:
    v: boolean
  enable when:
    question:
      v: cardiovascular-system.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: cardiovascular-system.heart-attack.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: cardiovascular-system.heart-attack
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: cardiovascular-system.arrhythmia
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: arrhythmia
  type:
    v: boolean
  enable when:
    question:
      v: cardiovascular-system.no-complaints
    operator:
      v: =
    answer: boolean
      v: false

v: true

link id:
  v: cardiovascular-system.arrhythmia.specification
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: specification
type:
  v: text
enable when:
  question:
    v: cardiovascular-system.arrhythmia
  operator:
    v: =
  answer: boolean
    v: true
required:
  v: true

link id:
  v: cardiovascular-system.angioplasty-stenting
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: angioplasty-stenting
type:
  v: boolean
enable when:
  question:
    v: cardiovascular-system.no-complaints
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true
item:
  link id:
    v: cardiovascular-system.angioplasty-stenting.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: cardiovascular-system.angioplasty-stenting
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: cardiovascular-system.pacer
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: pacer
type:
  v: boolean
enable when:
  question:
    v: cardiovascular-system.no-complaints
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true
item:
  link id:
    v: cardiovascular-system.pacer.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: cardiovascular-system.pacer
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: cardiovascular-system.heart-surgery
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: heart-operation
type:
  v: boolean
enable when:
  question:
    v: cardiovascular-system.no-complaints
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true
item:
  link id:
    v: cardiovascular-system.heart-surgery.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: cardiovascular-system.heart-surgery
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: cardiovascular-system.other-disease-condition-symptom
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: other-disease-condition-symptom
type:
  v: boolean
enable when:
  question:
    v: cardiovascular-system.no-complaints
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true
item:
  link id:
    v: cardiovascular-system.other-disease-condition-symptom.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: cardiovascular-system.other-disease-condition-symptom
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: bones-joints-muscles
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: bones-joints-muscles
prefix:
  v: 11
type:
  v: group
required:
  v: true
item:
  link id:
    v: bones-joints-muscles.previous-diagnosis
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: previous-diagnosis
  type:
    v: group
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: bones-joints-muscles.previous-diagnosis.diagnosis
    type:
      v: coding
    required:
      v: true
    read only:
      v: true
    answer value set:
      v: https://fhir.ee/ValueSet/td-luud-liigesed-ja-lihased
      link: https://fhir.ee/ValueSet/td-luud-liigesed-ja-lihased
  item:
    link id:
      v: bones-joints-muscles.previous-diagnosis.written-diagnosis
    type:
      v: string
    required:
      v: false
    read only:
      v: true
  item:
    link id:
      v: bones-joints-muscles.previous-diagnosis.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: bones-joints-muscles.no-complaints
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: no-current-complaints
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: bones-joints-muscles.joint-stiffness
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: joint-stiffness
  type:
    v: boolean
  enable when:
    question:
      v: bones-joints-muscles.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: bones-joints-muscles.joint-stiffness.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: bones-joints-muscles.joint-stiffness
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: bones-joints-muscles.limb-paralysis
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: limb-paralysis
  type:
    v: boolean
  enable when:
    question:
      v: bones-joints-muscles.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: bones-joints-muscles.limb-paralysis.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: bones-joints-muscles.limb-paralysis
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: bones-joints-muscles.missing-limb
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: missing-limb
  type:
    v: boolean
  enable when:
    question:
      v: bones-joints-muscles.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: bones-joints-muscles.missing-limb.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: bones-joints-muscles.missing-limb
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: bones-joints-muscles.tremor
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: tremor
  type:
    v: boolean
  enable when:
    question:
      v: bones-joints-muscles.no-complaints
    operator:
      v: =
    answer: boolean
      v: false

v: true

link id:
  v: bones-joints-muscles.tremor.specification
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: specification
type:
  v: text
enable when:
  question:
    v: bones-joints-muscles.tremor
  operator:
    v: =
  answer: boolean
    v: true
required:
  v: true

link id:
  v: bones-joints-muscles.joint-pain
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: joint-pain
type:
  v: boolean
enable when:
  question:
    v: bones-joints-muscles.no-complaints
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true
item:
  link id:
    v: bones-joints-muscles.joint-pain.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: bones-joints-muscles.joint-pain
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: bones-joints-muscles.neck-pain
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: neck-pain
type:
  v: boolean
enable when:
  question:
    v: bones-joints-muscles.no-complaints
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true
item:
  link id:
    v: bones-joints-muscles.neck-pain.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: bones-joints-muscles.neck-pain
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: bones-joints-muscles.shoulder-pain
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: shoulder-pain
type:
  v: boolean
enable when:
  question:
    v: bones-joints-muscles.no-complaints
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true
item:
  link id:
    v: bones-joints-muscles.shoulder-pain.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: bones-joints-muscles.shoulder-pain
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: bones-joints-muscles.lower-back-pain
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: lower-back-pain
type:
  v: boolean
enable when:
  question:
    v: bones-joints-muscles.no-complaints
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true
item:
  link id:
    v: bones-joints-muscles.lower-back-pain.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: bones-joints-muscles.lower-back-pain
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: bones-joints-muscles.other-disease-condition-symptom
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: other-disease-condition-symptom
type:
  v: boolean
enable when:
  question:
    v: bones-joints-muscles.no-complaints
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true
item:
  link id:
    v: bones-joints-muscles.other-disease-condition-symptom.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: bones-joints-muscles.other-disease-condition-symptom
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: infections
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: infections
prefix:
  v: 12
type:
  v: group
required:
  v: true
item:
  link id:
    v: infections.previous-diagnosis
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: previous-diagnosis
  type:
    v: group
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: infections.previous-diagnosis.diagnosis
    type:
      v: coding
    required:
      v: true
    read only:
      v: true
    answer value set:
      v: https://fhir.ee/ValueSet/td-nakkushaigused
      link: https://fhir.ee/ValueSet/td-nakkushaigused
  item:
    link id:
      v: infections.previous-diagnosis.written-diagnosis
    type:
      v: string
    required:
      v: false
    read only:
      v: true
  item:
    link id:
      v: infections.previous-diagnosis.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: infections.no-known-illness
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: no-known-illness
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: infections.tuberculosis
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: tuberculosis
  type:
    v: boolean
  enable when:
    question:
      v: infections.no-known-illness
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: infections.tuberculosis.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: infections.tuberculosis
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: infections.hepatitis
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: hepatitis
  type:
    v: boolean
  enable when:
    question:
      v: infections.no-known-illness
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: infections.hepatitis.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: infections.hepatitis
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: infections.hiv
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: hiv
  type:
    v: boolean
  enable when:
    question:
      v: infections.no-known-illness
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: infections.hiv.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: infections.hiv
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: infections.aids
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: aids
  type:
    v: boolean
  enable when:
    question:
      v: infections.no-known-illness
    operator:
      v: =
    answer: boolean
      v: false

v: true

link id:
  v: infections.aids.specification
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: specification
type:
  v: text
enable when:
  question:
    v: infections.aids
  operator:
    v: =
  answer: boolean
    v: true
required:
  v: true

link id:
  v: infections.intestinal-infection
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: intestinal-infection
type:
  v: boolean
enable when:
  question:
    v: infections.no-known-illness
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true
item:
  link id:
    v: infections.intestinal-infection.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: infections.intestinal-infection
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: infections.respiratory-infection
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: respiratory-infection
type:
  v: boolean
enable when:
  question:
    v: infections.no-known-illness
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true
item:
  link id:
    v: infections.respiratory-infection.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: infections.respiratory-infection
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: infections.skin-infection
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: skin-infection
type:
  v: boolean
enable when:
  question:
    v: infections.no-known-illness
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true
item:
  link id:
    v: infections.skin-infection.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: infections.skin-infection
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: infections.other-disease
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: other-disease
type:
  v: boolean
enable when:
  question:
    v: infections.no-known-illness
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true
item:
  link id:
    v: infections.other-disease.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification-when-what
  type:
    v: text
  enable when:
    question:
      v: infections.other-disease
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: other-chronic-disorders
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: other-chronic-disorders
prefix:
  v: 13
type:
  v: group
required:
  v: true
item:
  link id:
    v: other-chronic-disorders.none
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: none-current
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: other-chronic-disorders.disease-condition-symptom
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: disease-condition-symptom
  type:
    v: boolean
  enable when:
    question:
      v: other-chronic-disorders.none
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: other-chronic-disorders.disease-condition-symptom.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification-when-what
    type:
      v: text
    enable when:
      question:
        v: other-chronic-disorders.disease-condition-symptom
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true

link id:
  v: previous-treatment
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: previous-treatment
prefix:
  v: 14
type:
  v: group
required:
  v: true
item:
  link id:
    v: previous-treatment.treatment-abroad
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: treatment-abroad-five-years
  type:
    v: boolean
  required:
    v: true
  item:
    link id:
      v: previous-treatment.treatment-abroad.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification-why-where
    type:
      v: text
    enable when:
      question:
        v: previous-treatment.treatment-abroad
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: previous-treatment.regular-medication
  type:
    v: group
  required:
    v: true
  item:
    link id:
      v: previous-treatment.regular-medication.regular-medication-women
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: regular-medication-women-nine-months
    type:
      v: boolean
    enable when:
      question:
        v: patient-gender
      operator:
        v: =
      answer: Coding
    required:
      v: true
    item:
      link id:
        v: previous-treatment.regular-medication.regular-medication-women.specification
      type:
        v: text
      enable when:
        answer: boolean
      required:
        v: true
  item:
    link id:
      v: previous-treatment.regular-medication.regular-medication-men
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: regular-medication-men-nine-months
    type:
      v: boolean
    enable when:
      question:
        v: patient-gender
      operator:
        v: !=
      answer: Coding
    required:
      v: true
    item:
      link id:
        v: previous-treatment.regular-medication.regular-medication-men.specification
      type:
        v: text
      enable when:
        answer: boolean
      required:
        v: true
  item:
    link id:
      v: previous-treatment.regular-medication.current-prescription
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: current-prescription
    type:
      v: group
    required:
      v: false
    repeats:
      v: true
    read only:
      v: true
    item:
      link id:
        v: previous-treatment.regular-medication.current-prescription.date
      type:
        v: date
      required:
        v: true
      read only:
        v: true
    item:
      link id:
        v: previous-treatment.regular-medication.current-prescription.atc
      type:
        v: coding
      required:
        v: false
      read only:
        v: true
    item:
      link id:
        v: previous-treatment.regular-medication.current-prescription.package
      type:
        v: coding
      required:
        v: false
      read only:
        v: true
    item:
      link id:
        v: previous-treatment.regular-medication.current-prescription.source-reference
      type:
        v: reference
      required:
        v: true
      read only:
        v: true
item:
  link id:
    v: previous-treatment.hospitalization
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: hospitalization-five-years
  type:
    v: boolean
  required:
    v: true
  item:
    link id:
      v: previous-treatment.hospitalization.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: previous-treatment.hospitalization
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: false
  item:
    link id:
      v: previous-treatment.hospitalization.inpatient-case
    type:
      v: group
    required:
      v: false
    repeats:
      v: true
    read only:
      v: true
    item:
      link id:
        v: previous-treatment.hospitalization.inpatient-case.from
      type:
        v: date

v: female

v: specification-what

v: previous-treatment.regular-medication.regular-medication-women

v: =

boolean
v: true

v: female

v: specification-what

v: previous-treatment.regular-medication.regular-medication-men

v: =

boolean
v: true

v: true

v: true

link id:
  v: previous-treatment.hospitalization.inpatient-case.to
type:
  v: date
required:
  v: false
read only:
  v: true

link id:
  v: previous-treatment.hospitalization.inpatient-case.provider
type:
  v: string
required:
  v: true
read only:
  v: true

link id:
  v: previous-treatment.hospitalization.inpatient-case.source-reference
type:
  v: reference
required:
  v: true
read only:
  v: true

link id:
  v: previous-treatment.surgeries
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: operations-five-years
type:
  v: boolean
required:
  v: true
item:
  link id:
    v: previous-treatment.surgeries.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification-why-when
  type:
    v: text
  enable when:
    question:
      v: previous-treatment.surgeries
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
item:
  link id:
    v: previous-treatment.surgeries.surgery
  type:
    v: group
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: previous-treatment.surgeries.surgery.surgery-date
    type:
      v: date
    required:
      v: true
    read only:
      v: true
  item:
    link id:
      v: previous-treatment.surgeries.surgery.code
    type:
      v: coding
    required:
      v: true
    read only:
      v: true
  item:
    link id:
      v: previous-treatment.surgeries.surgery.surgery-add-code
    type:
      v: coding
    required:
      v: false
    repeats:
      v: true
    read only:
      v: true
  item:
    link id:
      v: previous-treatment.surgeries.surgery.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true

link id:
  v: traumas
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: traumas
prefix:
  v: 15
type:
  v: group
required:
  v: true
item:
  link id:
    v: traumas.previous-diagnosis
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: previous-diagnosis
  type:
    v: group
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: traumas.previous-diagnosis.diagnosis
    type:
      v: coding
    required:
      v: true
    read only:
      v: true
    answer value set:
      v: https://fhir.ee/ValueSet/td-traumad
      link: https://fhir.ee/ValueSet/td-traumad
  item:
    link id:
      v: traumas.previous-diagnosis.written-diagnosis
    type:
      v: string
    required:
      v: false
    read only:
      v: true
  item:
    link id:
      v: traumas.previous-diagnosis.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: traumas.none
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: none-current
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: traumas.fractures
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: fractures
  type:
    v: boolean
  enable when:
    question:
      v: traumas.none
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: traumas.fractures.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification-when-what
    type:
      v: text
    enable when:
      question:
        v: traumas.fractures
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: traumas.head-traumas
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: head-traumas
  type:
    v: boolean
  enable when:
    question:
      v: traumas.none
    operator:
      v: =
    answer: boolean
      v: false
  enable when:
    question:
      v: category
    operator:
      v: =
    answer: Coding
      system:
        v: https://fhir.ee/CodeSystem/tervisekontrolli-kasutusala
      code:
        v: occupational
  enable behavior:
    v: all
  required:
    v: true
  item:
    link id:
      v: traumas.head-traumas.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: traumas.head-traumas
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: traumas.other-injuries
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: other-injuries
  type:
    v: boolean
  enable when:
    question:
      v: traumas.none
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: traumas.other-injuries.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification-when-what
    type:
      v: text
    enable when:
      question:
        v: traumas.other-injuries
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true

link id:
  v: pregnancy
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: pregnancy
prefix:
  v: 16
type:
  v: boolean
enable when:
  question:
    v: patient-gender
  operator:
    v: =
  answer: Coding
    system:
      v: http://hl7.org/fhir/administrative-gender
    code:
      v: female
required:
  v: true

link id:
  v: skin-disorders
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: skin-disorders-five-years
prefix:
  v: 17
type:
  v: group
required:
  v: true
item:
  link id:
    v: skin-disorders.previous-diagnosis
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: previous-diagnosis
  type:
    v: group
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: skin-disorders.previous-diagnosis.diagnosis
    type:
      v: coding
    required:
      v: true
    read only:
      v: true
    answer value set:
      v: https://fhir.ee/ValueSet/td-nahahaigused
      link: https://fhir.ee/ValueSet/td-nahahaigused
  item:
    link id:
      v: skin-disorders.previous-diagnosis.written-diagnosis
    type:
      v: string
    required:
      v: false
    read only:
      v: true
  item:
    link id:
      v: skin-disorders.previous-diagnosis.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: skin-disorders.skin-conditions
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: skin-disorders-five-years
  type:
    v: boolean
  required:
    v: true
  item:
    link id:
      v: skin-disorders.skin-conditions.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: skin-disorders.skin-conditions
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true

link id:
  v: digestive-organs
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: digestive-organs
prefix:
  v: 18
type:
  v: group
required:
  v: true
item:
  link id:
    v: digestive-organs.previous-diagnosis
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: previous-diagnosis
  type:
    v: group
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: digestive-organs.previous-diagnosis.diagnosis
    type:
      v: coding
    required:
      v: true
    read only:
      v: true
    answer value set:
      v: https://fhir.ee/ValueSet/td-seedeelundid
      link: https://fhir.ee/ValueSet/td-seedeelundid
  item:
    link id:
      v: digestive-organs.previous-diagnosis.written-diagnosis
    type:
      v: string
    required:
      v: true
    read only:
      v: true
  item:
    link id:
      v: digestive-organs.previous-diagnosis.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: digestive-organs.no-complaints
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: no-current-complaints
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: digestive-organs.liver-disease
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: liver-disease
  type:
    v: boolean
  enable when:
    question:
      v: digestive-organs.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: digestive-organs.liver-disease.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: digestive-organs.liver-disease
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: digestive-organs.gallstones
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: gallstones
  type:
    v: boolean
  enable when:
    question:
      v: digestive-organs.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: digestive-organs.gallstones.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: digestive-organs.gallstones
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: digestive-organs.gastric-duodenal-ulcers
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: gastric-duodenal-ulcers
  type:
    v: boolean
  enable when:
    question:
      v: digestive-organs.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: digestive-organs.gastric-duodenal-ulcers.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: digestive-organs.gastric-duodenal-ulcers
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: digestive-organs.colitis-crohns-disease
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: colitis-crohns-disease
  type:
    v: boolean
  enable when:
    question:
      v: digestive-organs.no-complaints
    operator:
      v: =
    answer: boolean
      v: false

v: true

link id:
  v: digestive-organs.colitis-crohns-disease.specification
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: specification
type:
  v: text
enable when:
  question:
    v: digestive-organs.colitis-crohns-disease
  operator:
    v: =
  answer: boolean
    v: true
required:
  v: true

link id:
  v: digestive-organs.other-disease-condition-symptom
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: other-disease-condition-symptom
type:
  v: boolean
enable when:
  question:
    v: digestive-organs.no-complaints
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true
item:
  link id:
    v: digestive-organs.other-disease-condition-symptom.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification-when-what
  type:
    v: text
  enable when:
    question:
      v: digestive-organs.other-disease-condition-symptom
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: urogenital-system
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: urogenital-system
prefix:
  v: 19
type:
  v: group
required:
  v: true
item:
  link id:
    v: urogenital-system.previous-diagnosis
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: previous-diagnosis
  type:
    v: group
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: urogenital-system.previous-diagnosis.diagnosis
    type:
      v: coding
    required:
      v: true
    read only:
      v: true
    answer value set:
      v: https://fhir.ee/ValueSet/td-kuse-ja-suguelundid
      link: https://fhir.ee/ValueSet/td-kuse-ja-suguelundid
  item:
    link id:
      v: urogenital-system.previous-diagnosis.written-diagnosis
    type:
      v: string
    required:
      v: false
    read only:
      v: true
  item:
    link id:
      v: urogenital-system.previous-diagnosis.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: urogenital-system.no-complaints
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: no-current-complaints
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: urogenital-system.kidney-diseases
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: kidney-diseases
  type:
    v: group
  enable when:
    question:
      v: urogenital-system.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: urogenital-system.kidney-diseases.kidney-stones
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: kidney-stones
    type:
      v: boolean
    required:
      v: true
    item:
      link id:
        v: urogenital-system.kidney-diseases.kidney-stones.specification
      type:
        v: text
      enable when:
        answer: boolean
      required:
        v: true
  item:
    link id:
      v: urogenital-system.kidney-diseases.renal-insufficiency
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: renal-insufficiency
    type:
      v: boolean
    required:
      v: true
    item:
      link id:
        v: urogenital-system.kidney-diseases.renal-insufficiency.specification
      type:
        v: text
      enable when:
        answer: boolean
      required:
        v: true
item:
  link id:
    v: urogenital-system.other-disease-condition-symptom
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: other-disease-condition-symptom
  type:
    v: group
  enable when:
    question:
      v: urogenital-system.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: urogenital-system.other-disease-condition-symptom.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification-when-what
    type:
      v: text
    enable when:
      question:
        v: urogenital-system.other-disease-condition-symptom
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true

v: specification

v: urogenital-system.kidney-diseases.kidney-stones

v: =

boolean
v: true

v: specification

v: urogenital-system.kidney-diseases.renal-insufficiency

v: =

boolean
v: true

link id:
  v: blood-problems
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: blood-problems
prefix:
  v: 20
type:
  v: group
required:
  v: true
item:
  link id:
    v: blood-problems.previous-diagnosis
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: previous-diagnosis
  type:
    v: group
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: blood-problems.previous-diagnosis.diagnosis
    type:
      v: coding
    required:
      v: true
    read only:
      v: true
    answer value set:
      v: https://fhir.ee/ValueSet/td-verehaigused
      link: https://fhir.ee/ValueSet/td-verehaigused
  item:
    link id:
      v: blood-problems.previous-diagnosis.written-diagnosis
    type:
      v: string
    required:
      v: false
    read only:
      v: true
  item:
    link id:
      v: blood-problems.previous-diagnosis.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: blood-problems.no-complaints
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: no-current-complaints
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: blood-problems.blood-disease
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: blood-disease
  type:
    v: group
  enable when:
    question:
      v: blood-problems.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: blood-problems.blood-disease.anemia
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: anemia
    type:
      v: boolean
    required:
      v: true
    item:
      link id:
        v: blood-problems.blood-disease.anemia.specification
      type:
        v: text
      enable when:
        answer: boolean
      required:
        v: true
item:
  link id:
    v: blood-problems.other-disease-condition-symptom
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: other-disease-condition-symptom
  type:
    v: group
  enable when:
    question:
      v: blood-problems.no-complaints
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: blood-problems.other-disease-condition-symptom.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification-when-what
    type:
      v: text
    enable when:
      question:
        v: blood-problems.other-disease-condition-symptom
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true

v: specification

v: blood-problems.blood-disease.anemia

v: =

boolean
v: true

link id:
  v: medical-devices
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: medical-devices
prefix:
  v: 21
type:
  v: group
required:
  v: true
item:
  link id:
    v: medical-devices.no-devices
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: no-devices
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: medical-devices.glasses
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: glasses
  type:
    v: boolean
  enable when:
    question:
      v: medical-devices.no-devices
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: medical-devices.glasses.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: medical-devices.glasses
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: medical-devices.contact-lenses
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: contact-lenses
  type:
    v: boolean
  enable when:
    question:
      v: medical-devices.no-devices
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: medical-devices.contact-lenses.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: medical-devices.contact-lenses
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: medical-devices.hearing-aid
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: hearing-aid
  type:
    v: boolean
  enable when:
    question:
      v: medical-devices.no-devices
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: medical-devices.hearing-aid.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: medical-devices.hearing-aid
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: medical-devices.arm-prosthesis
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: arm-prosthesis
  type:
    v: boolean
  enable when:
    question:
      v: medical-devices.no-devices
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: medical-devices.arm-prosthesis.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: medical-devices.arm-prosthesis
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: medical-devices.leg-prosthesis
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: leg-prosthesis
  type:
    v: boolean
  enable when:
    question:
      v: medical-devices.no-devices
    operator:
      v: =
    answer: boolean
      v: false
  required:
    v: true
  item:
    link id:
      v: medical-devices.leg-prosthesis.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification

v: text

question:
  v: medical-devices.leg-prosthesis
operator:
  v: =
answer: boolean
  v: true

v: true

link id:
  v: medical-devices.mobility-device
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: mobility-device
type:
  v: boolean
enable when:
  question:
    v: medical-devices.no-devices
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true
item:
  link id:
    v: medical-devices.mobility-device.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: medical-devices.mobility-device
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: medical-devices.cpap
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: cpap
type:
  v: boolean
enable when:
  question:
    v: medical-devices.no-devices
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true

link id:
  v: medical-devices.mandibular-splint
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: mandibular-splint
type:
  v: boolean
enable when:
  question:
    v: medical-devices.no-devices
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true

link id:
  v: medical-devices.other-device
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: other-device
type:
  v: boolean
enable when:
  question:
    v: medical-devices.no-devices
  operator:
    v: =
  answer: boolean
    v: false
required:
  v: true
item:
  link id:
    v: medical-devices.other-device.specification
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: specification
  type:
    v: text
  enable when:
    question:
      v: medical-devices.other-device
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: true

link id:
  v: sleep
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: sleep
prefix:
  v: 22
type:
  v: group
required:
  v: true
item:
  link id:
    v: sleep.previous-diagnosis
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: previous-diagnosis
  type:
    v: group
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: sleep.previous-diagnosis.diagnosis
    type:
      v: coding
    required:
      v: true
    read only:
      v: true
    answer value set:
      v: https://fhir.ee/ValueSet/td-uni
      link: https://fhir.ee/ValueSet/td-uni
  item:
    link id:
      v: sleep.previous-diagnosis.written-diagnosis
    type:
      v: string
    required:
      v: false
    read only:
      v: true
  item:
    link id:
      v: sleep.previous-diagnosis.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: sleep.loud-snoring
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: loud-snoring
  type:
    v: boolean
  required:
    v: true
  item:
    link id:
      v: sleep.loud-snoring.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: sleep.loud-snoring
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: sleep.fatigue
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: fatigue
  type:
    v: boolean
  required:
    v: true
  item:
    link id:
      v: sleep.fatigue.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: sleep.fatigue
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: sleep.breath-stop-sleep
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: breath-stop-sleep
  type:
    v: boolean
  required:
    v: true
  item:
    link id:
      v: sleep.breath-stop-sleep.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: sleep.breath-stop-sleep
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true

link id:
  v: health-assessment
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: health-assessment
prefix:
  v: 23
type:
  v: group
required:
  v: true
item:
  link id:
    v: health-assessment.illness-past-year
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: illness-past-year
  type:
    v: boolean
  required:
    v: true
  item:
    link id:
      v: health-assessment.illness-past-year.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: health-assessment.illness-past-year
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: health-assessment.complaints
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: complaints
  type:
    v: boolean
  required:
    v: true
  item:
    link id:
      v: health-assessment.complaints.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: health-assessment.complaints
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: health-assessment.sick-leave-certs
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: sick-leave-certs
  type:
    v: group
  required:
    v: true
  item:
    link id:
      v: health-assessment.sick-leave-certs.foreign-sick-leave-cert-length
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: foreign-sick-leave-cert-length
    type:
      v: text
    required:
      v: false
  item:
    link id:
      v: health-assessment.sick-leave-certs.sick-leave-cert
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: sick-leave
    type:
      v: group
    required:
      v: false
    repeats:
      v: true
    read only:
      v: true
    item:
      link id:
        v: health-assessment.sick-leave-certs.sick-leave-cert.from
      type:
        v: date
      required:
        v: true
      read only:
        v: true
    item:
      link id:
        v: health-assessment.sick-leave-certs.sick-leave-cert.duration
      type:
        v: integer
      required:
        v: true
      read only:
        v: true
    item:
      link id:
        v: health-assessment.sick-leave-certs.sick-leave-cert.diagnosis
      type:
        v: coding
      required:
        v: true
      read only:
        v: true
item:
  link id:
    v: health-assessment.partial-work-capacity-loss
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: partial-work-capacity-loss
  type:
    v: group
  required:
    v: true
  item:
    link id:
      v: health-assessment.partial-work-capacity-loss.partial-work-capacity-loss-abroad
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: partial-work-capacity-loss-abroad
    type:
      v: boolean
    required:
      v: true
    item:
      link id:
        v: health-assessment.partial-work-capacity-loss.partial-work-capacity-loss-abroad.specification
      type:
        v: text
      enable when:
        answer: boolean
      required:
        v: true
  item:
    link id:
      v: health-assessment.partial-work-capacity-loss.partial-work-disability
    type:
      v: group
    required:
      v: false
    repeats:
      v: true
    read only:
      v: true
    item:
      link id:
        v: health-assessment.partial-work-capacity-loss.partial-work-disability.from
      type:
        v: date
      required:
        v: false
      read only:
        v: true
    item:
      link id:
        v: health-assessment.partial-work-capacity-loss.partial-work-disability.to
      type:
        v: date
      required:
        v: false
      read only:
        v: true

v: specification

v: health-assessment.partial-work-capacity-loss.partial-work-capacity-loss-abroad

v: =

boolean
v: true

link id:
  v: health-assessment.partial-work-capacity-loss.partial-work-disability.work-capacity-type
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: work-capacity-type
type:
  v: coding
required:
  v: true
read only:
  v: true
answer value set:
  v: https://fhir.ee/ValueSet/toovoime-liik
  link: https://fhir.ee/ValueSet/toovoime-liik

link id:
  v: health-assessment.disability
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: disability
type:
  v: group
required:
  v: true
item:
  link id:
    v: health-assessment.disability.disability-abroad
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: disability-abroad
  type:
    v: boolean
  required:
    v: true
  item:
    link id:
      v: health-assessment.disability.disability-abroad.disability-severity
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: disability-severity
    type:
      v: string
    enable when:
      question:
        v: health-assessment.disability.disability-abroad
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: true
item:
  link id:
    v: health-assessment.disability.disability-data
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: disability-data
  type:
    v: group
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: health-assessment.disability.disability-data.from
    type:
      v: date
    required:
      v: false
    read only:
      v: true
  item:
    link id:
      v: health-assessment.disability.disability-data.to
    type:
      v: date
    required:
      v: false
    read only:
      v: true
  item:
    link id:
      v: health-assessment.disability.disability-data.disability-severity
    type:
      v: coding
    required:
      v: true
    read only:
      v: true
    answer value set:
      v: https://fhir.ee/ValueSet/puude-raskusaste
      link: https://fhir.ee/ValueSet/puude-raskusaste

link id:
  v: immunization
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: immunization
prefix:
  v: 24
type:
  v: group
enable when:
  question:
    v: category
  operator:
    v: =
  answer: Coding
    system:
      v: https://fhir.ee/CodeSystem/tervisekontrolli-kasutusala
    code:
      v: occupational
required:
  v: true
item:
  link id:
    v: immunization.b-hepatitis
  code:
    system:
      v: https://fhir.ee/CodeSystem/vaktsiinvalditavad-haigused
    code:
      v: 101
  type:
    v: group
  required:
    v: true
  item:
    link id:
      v: immunization.b-hepatitis.vac-done
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: hepatitis-B-vac
    type:
      v: boolean
    required:
      v: true
  item:
    link id:
      v: immunization.b-hepatitis.immunization-his-data
    type:
      v: group
    enable when:
      question:
        v: immunization.b-hepatitis.vac-done
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: false
    repeats:
      v: true
    read only:
      v: true
    item:
      link id:
        v: immunization.b-hepatitis.immunization-his-data.date
      type:
        v: date
      required:
        v: true
      read only:
        v: true
    item:
      link id:
        v: immunization.b-hepatitis.immunization-his-data.source-reference
      type:
        v: reference
      required:
        v: true
      read only:
        v: true
  item:
    link id:
      v: immunization.b-hepatitis.date
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: date
    type:
      v: date
    enable when:
      question:
        v: immunization.b-hepatitis.vac-done
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: false
    repeats:
      v: true
item:
  link id:
    v: immunization.tuberculosis
  code:
    system:
      v: https://fhir.ee/CodeSystem/vaktsiinvalditavad-haigused
    code:
      v: 110
  type:
    v: group
  required:
    v: true
  item:
    link id:
      v: immunization.tuberculosis.vac-done
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: tuberculosis-vac
    type:
      v: boolean
    required:
      v: true
  item:
    link id:
      v: immunization.tuberculosis.immunization-his-data
    type:
      v: group
    enable when:
      question:
        v: immunization.tuberculosis.vac-done
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: false
    repeats:
      v: true
    read only:
      v: true
    item:
      link id:
        v: immunization.tuberculosis.immunization-his-data.date
      type:
        v: date
      required:
        v: true
      read only:
        v: true
    item:
      link id:
        v: immunization.tuberculosis.immunization-his-data.source-reference
      type:
        v: reference
      required:
        v: true
      read only:
        v: true
  item:
    link id:
      v: immunization.tuberculosis.date
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: date
    type:
      v: date
    enable when:
      question:
        v: immunization.tuberculosis.vac-done
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: false
    repeats:
      v: true
item:
  link id:
    v: immunization.rotavirus
  code:
    system:
      v: https://fhir.ee/CodeSystem/vaktsiinvalditavad-haigused
    code:
      v: 111
  type:
    v: group
  required:
    v: true
  item:
    link id:
      v: immunization.rotavirus.vac-done
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik

v: rotavirus-vac

v: boolean

v: true

link id:
  v: immunization.rotavirus.immunization-his-data
type:
  v: group
enable when:
  question:
    v: immunization.rotavirus.vac-done
  operator:
    v: =
  answer: boolean
    v: true
required:
  v: false
repeats:
  v: true
read only:
  v: true
item:
  link id:
    v: immunization.rotavirus.immunization-his-data.date
  type:
    v: date
  required:
    v: true
  read only:
    v: true
item:
  link id:
    v: immunization.rotavirus.immunization-his-data.source-reference
  type:
    v: reference
  required:
    v: true
  read only:
    v: true

link id:
  v: immunization.rotavirus.date
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: date
type:
  v: date
enable when:
  question:
    v: immunization.rotavirus.vac-done
  operator:
    v: =
  answer: boolean
    v: true
required:
  v: false
repeats:
  v: true

link id:
  v: immunization.diphteria
code:
  system:
    v: https://fhir.ee/CodeSystem/vaktsiinvalditavad-haigused
  code:
    v: 102
type:
  v: group
required:
  v: true
item:
  link id:
    v: immunization.diphteria.vac-done
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: diphtheria-vac
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: immunization.diphteria.immunization-his-data
  type:
    v: group
  enable when:
    question:
      v: immunization.diphteria.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: immunization.diphteria.immunization-his-data.date
    type:
      v: date
    required:
      v: true
    read only:
      v: true
  item:
    link id:
      v: immunization.diphteria.immunization-his-data.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: immunization.diphteria.date
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: date
  type:
    v: date
  enable when:
    question:
      v: immunization.diphteria.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true

link id:
  v: immunization.tetanus
code:
  system:
    v: https://fhir.ee/CodeSystem/vaktsiinvalditavad-haigused
  code:
    v: 109
type:
  v: group
required:
  v: true
item:
  link id:
    v: immunization.tetanus.vac-done
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: tetanus-vac
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: immunization.tetanus.immunization-his-data
  type:
    v: group
  enable when:
    question:
      v: immunization.tetanus.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: immunization.tetanus.immunization-his-data.date
    type:
      v: date
    required:
      v: true
    read only:
      v: true
  item:
    link id:
      v: immunization.tetanus.immunization-his-data.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: immunization.tetanus.date
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: date
  type:
    v: date
  enable when:
    question:
      v: immunization.tetanus.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true

link id:
  v: immunization.pertussis
code:
  system:
    v: https://fhir.ee/CodeSystem/vaktsiinvalditavad-haigused
  code:
    v: 105
type:
  v: group
required:
  v: true
item:
  link id:
    v: immunization.pertussis.vac-done
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: pertussis-vac
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: immunization.pertussis.immunization-his-data
  type:
    v: group
  enable when:
    question:
      v: immunization.pertussis.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: immunization.pertussis.immunization-his-data.date
    type:
      v: date
    required:
      v: true
    read only:
      v: true
  item:
    link id:
      v: immunization.pertussis.immunization-his-data.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: immunization.pertussis.date
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: date
  type:
    v: date
  enable when:
    question:
      v: immunization.pertussis.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true

link id:
  v: immunization.polio
code:
  system:
    v: https://fhir.ee/CodeSystem/vaktsiinvalditavad-haigused
  code:
    v: 107
type:
  v: group
required:
  v: true
item:
  link id:
    v: immunization.polio.vac-done
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: poliovirus-vac
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: immunization.polio.immunization-his-data
  type:
    v: group
  enable when:
    question:
      v: immunization.polio.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: immunization.polio.immunization-his-data.date
    type:
      v: date
    required:
      v: true
    read only:
      v: true
  item:
    link id:
      v: immunization.polio.immunization-his-data.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: immunization.polio.date
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: date
  type:
    v: date
  enable when:
    question:
      v: immunization.polio.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true

link id:
  v: immunization.hemo-influenza
code:
  system:
    v: https://fhir.ee/CodeSystem/vaktsiinvalditavad-haigused
  code:
    v: 103
type:
  v: group
required:
  v: true
item:
  link id:
    v: immunization.hemo-influenza.vac-done
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: haemophilus-influenzae-vac
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: immunization.hemo-influenza.immunization-his-data
  type:
    v: group
  enable when:
    question:
      v: immunization.hemo-influenza.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: immunization.hemo-influenza.immunization-his-data.date
    type:
      v: date
    required:
      v: true
    read only:
      v: true
  item:
    link id:
      v: immunization.hemo-influenza.immunization-his-data.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: immunization.hemo-influenza.date
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: date
  type:
    v: date
  enable when:
    question:
      v: immunization.hemo-influenza.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true

link id:
  v: immunization.measles
code:
  system:
    v: https://fhir.ee/CodeSystem/vaktsiinvalditavad-haigused
  code:
    v: 104
type:
  v: group
required:
  v: true
item:
  link id:
    v: immunization.measles.vac-done
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: measles-vac
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: immunization.measles.immunization-his-data
  type:
    v: group
  enable when:
    question:
      v: immunization.measles.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: immunization.measles.immunization-his-data.date
    type:
      v: date
    required:
      v: true
    read only:
      v: true
  item:
    link id:
      v: immunization.measles.immunization-his-data.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: immunization.measles.date
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: date
  type:
    v: date
  enable when:
    question:
      v: immunization.measles.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true

link id:
  v: immunization.mumps
code:
  system:
    v: https://fhir.ee/CodeSystem/vaktsiinvalditavad-haigused
  code:
    v: 106
type:
  v: group
required:
  v: true
item:
  link id:
    v: immunization.mumps.vac-done
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: mumps-vac
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: immunization.mumps.immunization-his-data
  type:
    v: group
  enable when:
    question:
      v: immunization.mumps.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: immunization.mumps.immunization-his-data.date
    type:
      v: date
    required:
      v: true
    read only:
      v: true
  item:
    link id:
      v: immunization.mumps.immunization-his-data.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: immunization.mumps.date
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: date
  type:
    v: date
  enable when:
    question:
      v: immunization.mumps.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true

link id:
  v: immunization.rubella
code:
  system:
    v: https://fhir.ee/CodeSystem/vaktsiinvalditavad-haigused
  code:
    v: 108
type:
  v: group
required:
  v: true
item:
  link id:
    v: immunization.rubella.vac-done
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: rubella-vac
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: immunization.rubella.immunization-his-data
  type:
    v: group
  enable when:
    question:
      v: immunization.rubella.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: immunization.rubella.immunization-his-data.date
    type:
      v: date
    required:
      v: true
    read only:
      v: true
  item:
    link id:
      v: immunization.rubella.immunization-his-data.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: immunization.rubella.date
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: date
  type:
    v: date
  enable when:
    question:
      v: immunization.rubella.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true

link id:
  v: immunization.hpv
code:
  system:
    v: https://fhir.ee/CodeSystem/vaktsiinvalditavad-haigused
  code:
    v: 203
type:
  v: group
required:
  v: true
item:
  link id:
    v: immunization.hpv.vac-done
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: hpv-vac
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: immunization.hpv.immunization-his-data
  type:
    v: group
  enable when:
    question:
      v: immunization.hpv.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: immunization.hpv.immunization-his-data.date
    type:
      v: date
    required:
      v: true
    read only:
      v: true
  item:
    link id:
      v: immunization.hpv.immunization-his-data.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: immunization.hpv.date
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: date
  type:
    v: date
  enable when:
    question:
      v: immunization.hpv.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true

link id:
  v: immunization.covid
code:
  system:
    v: https://fhir.ee/CodeSystem/vaktsiinvalditavad-haigused
  code:
    v: 219
type:
  v: group
required:
  v: true
item:
  link id:
    v: immunization.covid.vac-done
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: covid-vac
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: immunization.covid.immunization-his-data
  type:
    v: group
  enable when:
    question:
      v: immunization.covid.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: immunization.covid.immunization-his-data.date
    type:
      v: date
    required:
      v: true
    read only:
      v: true
  item:
    link id:
      v: immunization.covid.immunization-his-data.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: immunization.covid.date
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: date
  type:
    v: date
  enable when:
    question:
      v: immunization.covid.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true

link id:
  v: immunization.flu
code:
  system:
    v: https://fhir.ee/CodeSystem/vaktsiinvalditavad-haigused
  code:
    v: 202
type:
  v: group
required:
  v: true
item:
  link id:
    v: immunization.flu.vac-done
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: influenza-vac
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: immunization.flu.immunization-his-data
  type:
    v: group
  enable when:
    question:
      v: immunization.flu.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: immunization.flu.immunization-his-data.date
    type:
      v: date
    required:
      v: true
    read only:
      v: true
  item:
    link id:
      v: immunization.flu.immunization-his-data.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: immunization.flu.date
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: date
  type:
    v: date
  enable when:
    question:
      v: immunization.flu.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true

link id:
  v: immunization.pneumococcus
code:
  system:
    v: https://fhir.ee/CodeSystem/vaktsiinvalditavad-haigused
  code:
    v: 210
type:
  v: group
required:
  v: true
item:
  link id:
    v: immunization.pneumococcus.vac-done
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: pneumococcus-vac
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: immunization.pneumococcus.immunization-his-data
  type:
    v: group
  enable when:
    question:
      v: immunization.pneumococcus.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: immunization.pneumococcus.immunization-his-data.date
    type:
      v: date
    required:
      v: true
    read only:
      v: true
  item:
    link id:
      v: immunization.pneumococcus.immunization-his-data.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: immunization.pneumococcus.date
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: date
  type:
    v: date
  enable when:
    question:
      v: immunization.pneumococcus.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true

link id:
  v: immunization.a-hepatitis
code:
  system:
    v: https://fhir.ee/CodeSystem/vaktsiinvalditavad-haigused
  code:
    v: 201
type:
  v: group
required:
  v: true
item:
  link id:
    v: immunization.a-hepatitis.vac-done
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: hepatitis-A-vac
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: immunization.a-hepatitis.immunization-his-data
  type:
    v: group
  enable when:
    question:
      v: immunization.a-hepatitis.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: immunization.a-hepatitis.immunization-his-data.date
    type:
      v: date
    required:
      v: true
    read only:
      v: true
  item:
    link id:
      v: immunization.a-hepatitis.immunization-his-data.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: immunization.a-hepatitis.date
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: date
  type:
    v: date
  enable when:
    question:
      v: immunization.a-hepatitis.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true

link id:
  v: immunization.varicella
code:
  system:
    v: https://fhir.ee/CodeSystem/vaktsiinvalditavad-haigused
  code:
    v: 213
type:
  v: group
required:
  v: true
item:
  link id:
    v: immunization.varicella.vac-done
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: varicella-vac
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: immunization.varicella.immunization-his-data
  type:
    v: group
  enable when:
    question:
      v: immunization.varicella.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: immunization.varicella.immunization-his-data.date
    type:
      v: date
    required:
      v: true
    read only:
      v: true
  item:
    link id:
      v: immunization.varicella.immunization-his-data.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: immunization.varicella.date
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: date
  type:
    v: date
  enable when:
    question:
      v: immunization.varicella.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true

link id:
  v: immunization.shingles
code:
  system:
    v: https://fhir.ee/CodeSystem/vaktsiinvalditavad-haigused
  code:
    v: 216
type:
  v: group
required:
  v: true
item:
  link id:
    v: immunization.shingles.vac-done
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: herpes-zoster-vac
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: immunization.shingles.immunization-his-data
  type:
    v: group
  enable when:
    question:
      v: immunization.shingles.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: immunization.shingles.immunization-his-data.date
    type:
      v: date
    required:
      v: true
    read only:
      v: true
  item:
    link id:
      v: immunization.shingles.immunization-his-data.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: immunization.shingles.date
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: date
  type:
    v: date
  enable when:
    question:
      v: immunization.shingles.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true

link id:
  v: immunization.meningococcus
code:
  system:
    v: https://fhir.ee/CodeSystem/vaktsiinvalditavad-haigused
  code:
    v: 209
type:
  v: group
required:
  v: true
item:
  link id:
    v: immunization.meningococcus.vac-done
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: meningococcus-vac
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: immunization.meningococcus.immunization-his-data
  type:
    v: group
  enable when:
    question:
      v: immunization.meningococcus.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: immunization.meningococcus.immunization-his-data.date
    type:
      v: date
    required:
      v: true
    read only:
      v: true
  item:
    link id:
      v: immunization.meningococcus.immunization-his-data.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: immunization.meningococcus.date
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: date
  type:
    v: date
  enable when:
    question:
      v: immunization.meningococcus.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true

link id:
  v: immunization.yellow-fever
code:
  system:
    v: https://fhir.ee/CodeSystem/vaktsiinvalditavad-haigused
  code:
    v: 205
type:
  v: group
required:
  v: true
item:
  link id:
    v: immunization.yellow-fever.vac-done
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: yellow-fever-vac
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: immunization.yellow-fever.immunization-his-data
  type:
    v: group
  enable when:
    question:
      v: immunization.yellow-fever.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: immunization.yellow-fever.immunization-his-data.date
    type:
      v: date
    required:
      v: true
    read only:
      v: true
  item:
    link id:
      v: immunization.yellow-fever.immunization-his-data.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: immunization.yellow-fever.date
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: date
  type:
    v: date
  enable when:
    question:
      v: immunization.yellow-fever.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true

link id:
  v: immunization.typhoid-fever
code:
  system:
    v: https://fhir.ee/CodeSystem/vaktsiinvalditavad-haigused
  code:
    v: 207
type:
  v: group
required:
  v: true
item:
  link id:
    v: immunization.typhoid-fever.vac-done
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: typhoid-vac
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: immunization.typhoid-fever.immunization-his-data
  type:
    v: group
  enable when:
    question:
      v: immunization.typhoid-fever.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: immunization.typhoid-fever.immunization-his-data.date
    type:
      v: date
    required:
      v: true
    read only:
      v: true
  item:
    link id:
      v: immunization.typhoid-fever.immunization-his-data.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: immunization.typhoid-fever.date
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: date
  type:
    v: date
  enable when:
    question:
      v: immunization.typhoid-fever.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true

link id:
  v: immunization.tick-encephalitis
code:
  system:
    v: https://fhir.ee/CodeSystem/vaktsiinvalditavad-haigused
  code:
    v: 211
type:
  v: group
required:
  v: true
item:
  link id:
    v: immunization.tick-encephalitis.vac-done
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: tick-borne-encephalitis-vac
  type:
    v: boolean
  required:
    v: true
item:
  link id:
    v: immunization.tick-encephalitis.immunization-his-data
  type:
    v: group
  enable when:
    question:
      v: immunization.tick-encephalitis.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: immunization.tick-encephalitis.immunization-his-data.date
    type:
      v: date
    required:
      v: true
    read only:
      v: true
  item:
    link id:
      v: immunization.tick-encephalitis.immunization-his-data.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true
item:
  link id:
    v: immunization.tick-encephalitis.date
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: date
  type:
    v: date
  enable when:
    question:
      v: immunization.tick-encephalitis.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true

link id:
  v: immunization.other-vac
type:
  v: group
required:
  v: true
item:
  link id:
    v: immunization.other-vac.vac-done
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: other-vac
  type:
    v: boolean
  required:
    v: true
  item:
    link id:
      v: immunization.other-vac.vac-done.specification
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: specification
    type:
      v: text
    enable when:
      question:
        v: immunization.other-vac.vac-done
      operator:
        v: =
      answer: boolean
        v: true
    required:
      v: false
item:
  link id:
    v: immunization.other-vac.immunization-his-data
  type:
    v: group
  enable when:
    question:
      v: immunization.other-vac.vac-done
    operator:
      v: =
    answer: boolean
      v: true
  required:
    v: false
  repeats:
    v: true
  read only:
    v: true
  item:
    link id:
      v: immunization.other-vac.immunization-his-data.preventable-disease
    type:
      v: coding
    required:
      v: true
    read only:
      v: true
  item:
    link id:
      v: immunization.other-vac.immunization-his-data.date
    type:
      v: date
    required:
      v: true
    read only:
      v: true
  item:
    link id:
      v: immunization.other-vac.immunization-his-data.source-reference
    type:
      v: reference
    required:
      v: true
    read only:
      v: true

link id:
  v: work-workplace
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: work-workplace
prefix:
  v: 25
type:
  v: group
enable when:
  question:
    v: category
  operator:
    v: =
  answer: Coding
    system:
      v: https://fhir.ee/CodeSystem/tervisekontrolli-kasutusala
    code:
      v: occupational
required:
  v: true
item:
  link id:
    v: work-workplace.work-description
  code:
    system:
      v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
    code:
      v: work-description
  type:
    v: text
  required:
    v: false