Questionnaire-health-declaration-cda
type: Questionnaire
node role: treeRoot
id:
  v: Questionnaire-health-declaration-cda
meta:
  version id:
    v: 1.0.0
  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-cda version: 1.0.0 Profile: EEHealthDeclarationQuestionnaire Structure LinkID Text Cardinality Type Flags Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> HDECL Questionnaire https://fhir.ee/qre/Questionnaire-health-declaration-cda#1.0.0 #xD; category null 1..* coding Options: 3 options #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 null 1..1 boolean #xD; lifestyle.smoking.smoking-amount null 1..1 integer Enable When: lifestyle.smoking = true #xD; lifestyle.smoking.smoking-period null 1..1 decimal Enable When: lifestyle.smoking = true #xD; lifestyle.smoking.smoking-quit null 0..1 date Enable When: lifestyle.smoking = false #xD; lifestyle.narcotics null 1..1 boolean #xD; lifestyle.narcotics.narcotics-frequency null 1..1 string Enable When: lifestyle.narcotics = true #xD; lifestyle.medication null 1..1 boolean #xD; lifestyle.medication.specification null 1..1 text Enable When: lifestyle.medication = true #xD; lifestyle.sleep null 0..1 text #xD; work-environment 2. null 1..1 group #xD; work-environment.work-restrictions null 1..1 boolean #xD; work-environment.work-restrictions.specification null 1..1 text Enable When: work-environment.work-restrictions = true #xD; work-environment.work-health-problems null 1..1 boolean #xD; work-environment.work-health-problems.specification null 1..1 text Enable When: work-environment.work-health-problems = true #xD; allergies 3. null 1..1 group #xD; allergies.previous-diagnosis null 0..* group #xD; allergies.previous-diagnosis.diagnosis null 1..1 coding Value Set: Tervisedeklaratsiooni diagnoosid - allergiad #xD; allergies.previous-diagnosis.written-diagnosis null 0..1 string #xD; allergies.previous-diagnosis.source-reference null 1..1 reference #xD; allergies.no-complaints null 1..1…
url:
  v: https://fhir.ee/qre/Questionnaire-health-declaration-cda
version:
  v: 1.0.0
name:
  v: HDECL
title:
  v: Tervisedeklaratsioon CDA-st
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
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
  display:
    v: Tervisedeklaratsiooni küsimustik
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: military-service
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
    code:
      system:
        v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
      code:
        v: smoking
    type:
      v: boolean
    required:
      v: true
    item:
      link id:
        v: lifestyle.smoking.smoking-amount
      type:
        v: integer
      enable when:
        answer: boolean
      required:
        v: true
    item:
      link id:
        v: lifestyle.smoking.smoking-period
      type:
        v: decimal
      enable when:
        answer: boolean
      required:
        v: true
    item:
      link id:
        v: lifestyle.smoking.smoking-quit
      type:
        v: date
      enable when:
        answer: boolean
      required:
        v: false
  item:
    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
      type:
        v: string
      enable when:
        answer: boolean
      required:
        v: true
  item:
    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
      type:
        v: text

v: alcohol-units

v: lifestyle.alcohol

v: =

boolean
v: true

v: smoking-amount

v: lifestyle.smoking

v: =

boolean
v: true

v: smoking-period

v: lifestyle.smoking

v: =

boolean
v: true

v: smoking-quit

v: lifestyle.smoking

v: =

boolean
v: false

v: narcotics-frequency

v: lifestyle.narcotics

v: =

boolean
v: true

v: specification

question:
  v: lifestyle.medication
operator:
  v: =
answer: boolean
  v: true

v: true

link id:
  v: lifestyle.sleep
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: sleep-mode
type:
  v: text
required:
  v: false

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

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
  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: none
  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
  required:
    v: true
  item:
    link id:
      v: allergies.pets-allergy.specification

system:
  v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
code:
  v: specification

v: text

question:
  v: allergies.pets-allergy
operator:
  v: =
answer: boolean
  v: true

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
  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-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
  required:
    v: true
  item:
    link id:
      v: mental-health.fear-closed-spaces.specification

system:
  v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
code:
  v: specification

v: text

question:
  v: mental-health.fear-closed-spaces
operator:
  v: =
answer: boolean
  v: true

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.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
  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-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
  required:
    v: true
  item:
    link id:
      v: nervous-system.stroke.specification

system:
  v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
code:
  v: specification

v: text

question:
  v: nervous-system.stroke
operator:
  v: =
answer: boolean
  v: true

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.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
  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-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.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
  required:
    v: true
  item:
    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
item:
  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

system:
  v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
code:
  v: specification

v: text

question:
  v: eyes-vision.colour-vision-disorder
operator:
  v: =
answer: boolean
  v: true

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
  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-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
  required:
    v: true
  item:
    link id:
      v: ear-nose-throat.nasal-obstruction.specification

system:
  v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
code:
  v: specification

v: text

question:
  v: ear-nose-throat.nasal-obstruction
operator:
  v: =
answer: boolean
  v: true

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
  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-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
  required:
    v: true
  item:
    link id:
      v: respiratory-system.other-disease-condition-symptom.specification

system:
  v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
code:
  v: specification

v: text

question:
  v: respiratory-system.other-disease-condition-symptom
operator:
  v: =
answer: boolean
  v: true

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
  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-diagnosis
    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-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
  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-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
  required:
    v: true
  item:
    link id:
      v: cardiovascular-system.arrhythmia.specification

system:
  v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
code:
  v: specification

v: text

question:
  v: cardiovascular-system.arrhythmia
operator:
  v: =
answer: boolean
  v: true

v: true

link id:
  v: cardiovascular-system.angioplasty-stenting
code:
  system:
    v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
  code:
    v: angioplasty
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
  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-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
  required:
    v: true
  item:
    link id:
      v: bones-joints-muscles.tremor.specification

system:
  v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
code:
  v: specification

v: text

question:
  v: bones-joints-muscles.tremor
operator:
  v: =
answer: boolean
  v: true

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
  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
  required:
    v: true
  item:
    link id:
      v: infections.aids.specification

system:
  v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
code:
  v: specification

v: text

question:
  v: infections.aids
operator:
  v: =
answer: boolean
  v: true

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
  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
    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
  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
    type:
      v: boolean
    required:
      v: false
    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
    type:
      v: boolean
    required:
      v: false
    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
  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
      required:
        v: true
      read only:
        v: true
    item:
      link id:
        v: previous-treatment.hospitalization.inpatient-case.to
      type:
        v: date
      required:
        v: false

v: specification-what

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

v: =

boolean
v: true

v: specification-what

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

v: =

boolean
v: true

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
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
  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
  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.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
required:
  v: false

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
  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
  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
  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-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
  required:
    v: true
  item:
    link id:
      v: digestive-organs.colitis-crohns-disease.specification

system:
  v: https://fhir.ee/CodeSystem/tervisedeklaratsiooni-kysimustik
code:
  v: specification

v: text

question:
  v: digestive-organs.colitis-crohns-disease
operator:
  v: =
answer: boolean
  v: true

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
  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-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
  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-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: false

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: false

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
  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