EntericsInformQuestionnaire
type: Questionnaire
node role: treeRoot
id:
  v: EntericsInformQuestionnaire
text:
  status:
    v: extensions
  div: Generated Narrative: Questionnaire EntericsInformQuestionnaire Structure LinkID Text Cardinality Type Flags Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> EntericsInformQuestionnaire Te Whatu Ora survey of enterics disease symptoms and source locations Questionnaire https://build.fhir.org/ig/tewhatuora/cinc-fhir-ig/Questionnaire/EntericsInformQuestionnaire#1.0.0 #xD; DiagnosisCode Diagnosis code 1..1 string #xD; CareProgrammeEnroleeId Care Programme Enrollee Id 0..1 string #xD; PrivacyStatement Privacy Statement 0..1 group #xD; Privacy1 Privacy Statement 0..1 display #xD; Privacy5 Please confirm that you understand the information in the privacy statement. 1..1 choice Options: 2 options #xD; Privacy6 Thank you for your time, we are unable to continue with the questionnaire at this time. Someone may be in touch with you to discuss your illness further. 0..1 display Enable When: Privacy5 = #xD; ContactDetails 1. Contact Details 0..1 group Enable When: Privacy5 = #xD; ContactDetail1 What is the best phone number to contact you on? 0..1 string #xD; ContactDetail2 What is the best email address to contact you on? 0..1 string #xD; Occupation 2. Occupation 0..1 group Enable When: Privacy5 = #xD; Occupation1 What is your primary occupation? 1..1 string #xD; Occupation2 Does your work (outside of your home) or activities (e.g. volunteer work) involve any of the following: - Handling unwrapped food that will be eaten raw or without further cooking? - Providing direct, hands on care to unwell people in healthcare facilities? - Providing direct, hands on care to other people at increased risk due to age or disability? - An early childhood service or group, e.g. kindergarten, play centre or day care? 1..1 boolean #xD; Occupation3 Select all the high risk work / volunteer categories that apply: 1..* choice Enable When: Occupation2 = Options: 5 options #xD; Occupation4 Please avoid any high risk activities until free from all symptoms f…
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
  value: Expression
    name:
      v: IncubationPeriod
    language:
      v: text/fhirpath
    expression:
      v: iif(%resource.item.where(linkId='DiagnosisCode').answer.valueString = 'CAMP','1-10 days',iif(%resource.item.where(linkId='DiagnosisCode').answer.valueString = 'CRYP','1-12 days',iif(%resource.item.where(linkId='DiagnosisCode').answer.valueString = 'GIAR','3-25 days',iif(%resource.item.where(linkId='DiagnosisCode').answer.valueString = 'YERS','3-10 days',iif(%resource.item.where(linkId='DiagnosisCode').answer.valueString = 'SALM','1-7 days',iif(%resource.item.where(linkId='DiagnosisCode').answer.valueString = 'VTEC','2-10 days',''))))))
url:
  v: https://build.fhir.org/ig/tewhatuora/cinc-fhir-ig/Questionnaire/EntericsInformQuestionnaire
identifier:
  use:
    v: official
  value:
    v: EntericsInformQuestionnaire
version:
  v: 1.0.0
name:
  v: EntericsInformQuestionnaire
title:
  v: Enterics Inform Questionnaire
status:
  v: active
date:
  v: 2026-05-19T04:56:47.775Z
publisher:
  v: Te Whatu Ora
contact:
  name:
    v: Te Whatu Ora
  telecom:
    system:
      v: url
    value:
      v: https://www.tewhatuora.govt.nz/
contact:
  name:
    v: Te Whatu Ora Integration Team
  telecom:
    system:
      v: email
    use:
      v: work
description:
  v: Te Whatu Ora survey of enterics disease symptoms and source locations
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
    code:
      v: NZ
    display:
      v: New Zealand
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
    value: boolean
      v: true
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-claims-extract
    value: string
      v: diagnosisCode
  link id:
    v: DiagnosisCode
  text:
    v: Diagnosis code
  type:
    v: string
  required:
    v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
    value: boolean
      v: true
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-claims-extract
    value: string
      v: encounter.identifier.value
  link id:
    v: CareProgrammeEnroleeId
  text:
    v: Care Programme Enrollee Id
  type:
    v: string
item:
  link id:
    v: PrivacyStatement
  text:
    v: Privacy Statement
  type:
    v: group
  required:
    v: false
  repeats:
    v: false
  item:
    link id:
      v: Privacy1
    text:
      v: Privacy Statement
      extension:
        value: string
    type:
      v: display
  item:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      value: CodeableConcept
    link id:
      v: Privacy5
    text:
      v: Please confirm that you understand the information in the privacy statement.
    type:
      v: choice
    required:
      v: true
    repeats:
      v: false
    answer option:
      value: Coding
    answer option:
      value: Coding
  item:
    link id:
      v: Privacy6
    text:
      v: Thank you for your time, we are unable to continue with the questionnaire at this time. Someone may be in touch with you to discuss your illness further.
    type:
      v: display
    enable when:
      question:
        v: Privacy5
      operator:
        v: =
      answer: Coding
    enable behavior:
      v: all
item:
  link id:
    v: ContactDetails
  text:
    v: 1. Contact Details
  type:
    v: group
  enable when:
    question:
      v: Privacy5
    operator:
      v: =
    answer: Coding
      system:
        v: https://standards.digital.health.nz/ns/enterics-answer-code
      code:
        v: yes
      display:
        v: Yes
  enable behavior:
    v: all
  required:
    v: false
  repeats:
    v: false
  item:
    link id:
      v: ContactDetail1
    text:
      v: What is the best phone number to contact you on?
    type:
      v: string
    required:
      v: false
    repeats:
      v: false
  item:
    link id:
      v: ContactDetail2
    text:
      v: What is the best email address to contact you on?
    type:
      v: string
    required:
      v: false
    repeats:
      v: false

string
v: We may need to share some of your personal information with other agencies for health purposes and to ensure we meet our legal obligations. We may also share information for statistical and research purposes, but no information will be published in a form that could reasonably be expected to identify any individual. To prevent the spread of disease, we may need to talk to your contacts, and information about where you’ve been and your movements while infectious may need to be shared with others. While we do everything we can to make sure that you remain anonymous, in certain situations more information may need to be given to contacts to prevent or reduce a serious threat to public health – this will always be discussed with you first. If you would like more information about how your personal information is managed, please go to the Te Whatu Ora website, and look for our 'privacy & security' webpage. Please note: If you are completing this questionnaire on behalf of someone else (e.g. your child), the 'you/your' refers to the person who was unwell, not the person completing it.

system:
  v: http://hl7.org/fhir/questionnaire-item-control
code:
  v: radio-button
display:
  v: Radio Button

v: yes

v: Yes

v: no

v: No

v: no

v: No

link id:
  v: Occupation
text:
  v: 2. Occupation
type:
  v: group
enable when:
  question:
    v: Privacy5
  operator:
    v: =
  answer: Coding
    system:
      v: https://standards.digital.health.nz/ns/enterics-answer-code
    code:
      v: yes
    display:
      v: Yes
enable behavior:
  v: all
required:
  v: false
repeats:
  v: false
item:
  link id:
    v: Occupation1
  text:
    v: What is your primary occupation?
  type:
    v: string
  required:
    v: true
  repeats:
    v: false
item:
  link id:
    v: Occupation2
  text:
    v: Does your work (outside of your home) or activities (e.g. volunteer work) involve any of the following: - Handling unwrapped food that will be eaten raw or without further cooking? - Providing direct, hands on care to unwell people in healthcare facilities? - Providing direct, hands on care to other people at increased risk due to age or disability? - An early childhood service or group, e.g. kindergarten, play centre or day care?
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
      value: string
        v: Does your work (outside of your home) or activities (e.g. volunteer work) involve any of the following: Handling unwrapped food that will be eaten raw or without further cooking? Providing direct, hands on care to unwell people in healthcare facilities? Providing direct, hands on care to other people at increased risk due to age or disability? An early childhood service or group, e.g. kindergarten, play centre or day care?
  type:
    v: boolean
  required:
    v: true
  repeats:
    v: false
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: Occupation3
  text:
    v: Select all the high risk work / volunteer categories that apply:
  type:
    v: choice
  enable when:
    question:
      v: Occupation2
    operator:
      v: =
    answer: boolean
      v: true
  enable behavior:
    v: all
  required:
    v: true
  repeats:
    v: true
  answer option:
    value: Coding
      code:
        v: option1
      display:
        v: Food Handler
  answer option:
    value: Coding
      code:
        v: option2
      display:
        v: Intellectually/physically impaired
  answer option:
    value: Coding
      code:
        v: option3
      display:
        v: Healthcare/Rest Home worker
  answer option:
    value: Coding
      code:
        v: option4
      display:
        v: Early Childhood Services/Groups
  answer option:
    value: Coding
      code:
        v: option5
      display:
        v: Other high risk category
item:
  link id:
    v: Occupation4
  text:
    v: Please avoid any high risk activities until free from all symptoms for 48 hours
  type:
    v: display

v: check-box

v: Check-box

link id:
  v: Symptoms
text:
  v: 4. Symptoms
type:
  v: group
enable when:
  question:
    v: Privacy5
  operator:
    v: =
  answer: Coding
    system:
      v: https://standards.digital.health.nz/ns/enterics-answer-code
    code:
      v: yes
    display:
      v: Yes
enable behavior:
  v: all
required:
  v: false
repeats:
  v: false
item:
  link id:
    v: Symptom1
  text:
    v: Do you currently have or have you experienced any symptoms?
  type:
    v: boolean
  required:
    v: true
  repeats:
    v: false
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: Symptom2
  text:
    v: Which of the following symptoms have you experienced? Select all that apply
  type:
    v: choice
  enable when:
    question:
      v: Symptom1
    operator:
      v: =
    answer: boolean
      v: true
  enable behavior:
    v: all
  required:
    v: true
  repeats:
    v: true
  answer option:
    value: Coding
      code:
        v: option1
      display:
        v: Diarrhoea
  answer option:
    value: Coding
      code:
        v: option2
      display:
        v: Blood in stool (poo)
  answer option:
    value: Coding
      code:
        v: option3
      display:
        v: Vomiting
  answer option:
    value: Coding
      code:
        v: option4
      display:
        v: Nausea
  answer option:
    value: Coding
      code:
        v: option5
      display:
        v: Stomach Cramps/Abdominal Pain
  answer option:
    value: Coding
      code:
        v: option6
      display:
        v: Fever
  answer option:
    value: Coding
      code:
        v: option7
      display:
        v: Other Symptoms
item:
  link id:
    v: Symptom4
  text:
    v: Provide details of other symptoms
  type:
    v: text
  enable when:
    question:
      v: Symptom2
    operator:
      v: =
    answer: Coding
      code:
        v: option7
      display:
        v: Other Symptoms
  enable behavior:
    v: all
  required:
    v: true
  repeats:
    v: false
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: Symptom5
  text:
    v: What was your first symptom?
  type:
    v: choice
  enable when:
    question:
      v: Symptom1
    operator:
      v: =
    answer: boolean
      v: true
  enable behavior:
    v: all
  required:
    v: true
  repeats:
    v: false
  answer option:
    value: Coding
      code:
        v: option1
      display:
        v: Diarrhoea
  answer option:
    value: Coding
      code:
        v: option2
      display:
        v: Blood in stool (poo)
  answer option:
    value: Coding
      code:
        v: option3
      display:
        v: Vomiting
  answer option:
    value: Coding
      code:
        v: option4
      display:
        v: Nausea
  answer option:
    value: Coding
      code:
        v: option5
      display:
        v: Stomach Cramps/Abdominal Pain
  answer option:
    value: Coding
      code:
        v: option6
      display:
        v: Fever
  answer option:
    value: Coding
      code:
        v: option7
      display:
        v: Other Symptoms
item:
  link id:
    v: Symptom6
  text:
    v: What date did the first symptom appear?
  type:
    v: date
  enable when:
    question:
      v: Symptom1
    operator:
      v: =
    answer: boolean

v: check-box

v: Check-box

v: drop-down

v: Drop down

boolean
v: true

v: all

v: true

v: false

link id:
  v: Symptom7
text:
  v: What date did the diarrhoea start?
type:
  v: date
enable when:
  question:
    v: Symptom2
  operator:
    v: =
  answer: Coding
    code:
      v: option1
    display:
      v: Diarrhoea
enable behavior:
  v: all
required:
  v: true
repeats:
  v: false

link id:
  v: Symptom8
text:
  v: Has the diarrhoea stopped?
type:
  v: boolean
enable when:
  question:
    v: Symptom2
  operator:
    v: =
  answer: Coding
    code:
      v: option1
    display:
      v: Diarrhoea
enable behavior:
  v: all
required:
  v: true
repeats:
  v: false

link id:
  v: Symptom9
text:
  v: What date did the diarrhoea stop?
type:
  v: date
enable when:
  question:
    v: Symptom8
  operator:
    v: =
  answer: boolean
    v: true
enable behavior:
  v: all
required:
  v: true
repeats:
  v: false

link id:
  v: Symptom10
text:
  v: Have all your symptoms stopped?
type:
  v: boolean
enable when:
  question:
    v: Symptom1
  operator:
    v: =
  answer: boolean
    v: true
enable behavior:
  v: all
required:
  v: true
repeats:
  v: false

link id:
  v: Symptom11
text:
  v: What date did your symptoms stop?
type:
  v: date
enable when:
  question:
    v: Symptom10
  operator:
    v: =
  answer: boolean
    v: true
enable behavior:
  v: all
required:
  v: true
repeats:
  v: false

link id:
  v: ContactWithOthers
text:
  v: 5. Source Investigation - Contact with Others
type:
  v: group
enable when:
  question:
    v: Privacy5
  operator:
    v: =
  answer: Coding
    system:
      v: https://standards.digital.health.nz/ns/enterics-answer-code
    code:
      v: yes
    display:
      v: Yes
enable behavior:
  v: all
required:
  v: false
repeats:
  v: false
item:
  link id:
    v: ContactWithOthers1
  text:
    v: If you have not experienced any symptoms, use the date you produced the stool (poo) sample to answer all the following questions
  type:
    v: display
item:
  link id:
    v: ContactWithOthers2
  text:
    v: Before you became unwell, did you have contact with a confirmed case?
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/cqf-expression
      value: Expression
  type:
    v: boolean
  required:
    v: true
  repeats:
    v: false
item:
  link id:
    v: ContactWithOthers3
  text:
    v: What was their name?
  type:
    v: string
  enable when:
    question:
      v: ContactWithOthers2
    operator:
      v: =
    answer: boolean
      v: true
  enable behavior:
    v: all
  required:
    v: false
  repeats:
    v: false
item:
  link id:
    v: ContactWithOthers4
  text:
    v: Do you know their date of birth or age?
  type:
    v: string
  enable when:
    question:
      v: ContactWithOthers2
    operator:
      v: =
    answer: boolean
      v: true
  enable behavior:
    v: all
  required:
    v: false
  repeats:
    v: false
item:
  link id:
    v: ContactWithOthers5
  text:
    v: When did you first have contact with them?
  type:
    v: date
  enable when:
    question:
      v: ContactWithOthers2
    operator:
      v: =
    answer: boolean
      v: true
  enable behavior:
    v: all
  required:
    v: true
  repeats:
    v: false
item:
  link id:
    v: ContactWithOthers6
  text:
    v: Where did you last have contact with them?
  type:
    v: text
  enable when:
    question:
      v: ContactWithOthers2
    operator:
      v: =
    answer: boolean
      v: true
  enable behavior:
    v: all
  required:
    v: true
  repeats:
    v: false
item:
  link id:
    v: ContactWithOthers7
  text:
    v: Do you have a contact phone number for them?
  type:
    v: string
  enable when:
    question:
      v: ContactWithOthers2
    operator:
      v: =
    answer: boolean
      v: true
  enable behavior:
    v: all
  required:
    v: false
  repeats:
    v: false
item:
  link id:
    v: ContactWithOthers8
  text:
    v: Before you became unwell, did you have contact with people with a similar illness?
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/cqf-expression
      value: Expression
  type:
    v: boolean
  required:
    v: false
  repeats:
    v: false
  initial:
    value: boolean
      v: true
item:
  link id:
    v: ContactWithOthers9
  text:
    v: What was their name?
  type:
    v: string
  enable when:
    question:
      v: ContactWithOthers8
    operator:
      v: =
    answer: boolean
      v: true
  enable behavior:
    v: all
  required:
    v: false
  repeats:
    v: false
item:
  link id:
    v: ContactWithOthers10
  text:
    v: Before you became unwell, did you visit any particular places where you might have been exposed to the illness?
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/cqf-expression
      value: Expression
  type:
    v: boolean
  required:
    v: true
  repeats:
    v: false
item:
  link id:
    v: ContactWithOthers11

v: text/fhirpath

v: 'In the ' + %IncubationPeriod + ' before you became unwell have you had contact with a confirmed case?'

v: text/fhirpath

v: 'In the ' + %IncubationPeriod + ' before you became unwell, have you had any contact with people with a similar illness?'

v: text/fhirpath

v: 'In the ' + %IncubationPeriod + ' before you became unwell, have you been to any particular places where you might have been exposed to the illness?'

v: Please provide details of the place / setting and date/s.

v: text

question:
  v: ContactWithOthers10
operator:
  v: =
answer: boolean
  v: true

v: all

v: true

v: false

link id:
  v: ContactWithOthers12
text:
  v: Before you became unwell, did you have any visitors from overseas?
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/cqf-expression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: 'In the ' + %IncubationPeriod + ' before you became unwell, did you have any visitors from overseas?'
type:
  v: boolean
required:
  v: true
repeats:
  v: false

link id:
  v: ContactWithOthers13
text:
  v: Please provide details of the visitors, including their country of origin and the nature of contact.
type:
  v: text
enable when:
  question:
    v: ContactWithOthers12
  operator:
    v: =
  answer: boolean
    v: true
enable behavior:
  v: all
required:
  v: true
repeats:
  v: false
read only:
  v: false

link id:
  v: InternationalAndDomesticTravel
text:
  v: 6. Source Investigation - International and Domestic Travel
type:
  v: group
enable when:
  question:
    v: Privacy5
  operator:
    v: =
  answer: Coding
    system:
      v: https://standards.digital.health.nz/ns/enterics-answer-code
    code:
      v: yes
    display:
      v: Yes
enable behavior:
  v: all
required:
  v: false
repeats:
  v: false
item:
  link id:
    v: InternationalAndDomesticTravel1
  text:
    v: Before you became unwell, were you overseas?
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/cqf-expression
      value: Expression
  type:
    v: boolean
  required:
    v: true
  repeats:
    v: false
item:
  link id:
    v: InternationalAndDomesticTravel2
  text:
    v: If usually residing in New Zealand, what date did you leave?
  type:
    v: date
  enable when:
    question:
      v: InternationalAndDomesticTravel1
    operator:
      v: =
    answer: boolean
      v: true
  enable behavior:
    v: all
  required:
    v: true
  repeats:
    v: false
item:
  link id:
    v: InternationalAndDomesticTravel3
  text:
    v: What date did you arrive in New Zealand?
  type:
    v: date
  enable when:
    question:
      v: InternationalAndDomesticTravel1
    operator:
      v: =
    answer: boolean
      v: true
  enable behavior:
    v: all
  required:
    v: true
  repeats:
    v: false
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer
    value: url
      v: https://nzhts.digital.health.nz/fhir
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: InternationalAndDomesticTravel4
  text:
    v: Last Country Visited
  type:
    v: choice
  enable when:
    question:
      v: InternationalAndDomesticTravel1
    operator:
      v: =
    answer: boolean
      v: true
  enable behavior:
    v: all
  required:
    v: true
  repeats:
    v: false
  answer value set:
    v: https://nzhts.digital.health.nz/fhir/ValueSet/country-code
    link: https://nzhts.digital.health.nz/fhir/ValueSet/country-code
item:
  link id:
    v: InternationalAndDomesticTravel5
  text:
    v: What region/city did you visit in this country?
  type:
    v: string
  enable when:
    question:
      v: InternationalAndDomesticTravel1
    operator:
      v: =
    answer: boolean
      v: true
  enable behavior:
    v: all
  required:
    v: true
  repeats:
    v: false
item:
  link id:
    v: InternationalAndDomesticTravel7
  text:
    v: What date did you enter this country?
  type:
    v: date
  enable when:
    question:
      v: InternationalAndDomesticTravel1
    operator:
      v: =
    answer: boolean
      v: true
  enable behavior:
    v: all
  required:
    v: true
  repeats:
    v: false
item:
  link id:
    v: InternationalAndDomesticTravel8
  text:
    v: What date did you leave this country?
  type:
    v: date
  enable when:
    question:
      v: InternationalAndDomesticTravel1
    operator:
      v: =
    answer: boolean
      v: true
  enable behavior:
    v: all
  required:
    v: true
  repeats:
    v: false
item:
  link id:
    v: InternationalAndDomesticTravel9
  text:
    v: Did you visit any other countries?
  type:
    v: boolean
  enable when:
    question:
      v: InternationalAndDomesticTravel1
    operator:
      v: =
    answer: boolean
      v: true
  enable behavior:
    v: all
  required:
    v: false
  repeats:
    v: false
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer
    value: url
      v: https://nzhts.digital.health.nz/fhir
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    value: CodeableConcept

v: text/fhirpath

v: 'In the ' + %IncubationPeriod + ' before you became unwell, were you overseas?'

v: drop-down

v: Drop down

v: drop-down

v: Drop down

v: InternationalAndDomesticTravel10

v: 2nd Last Country Visited

v: choice

question:
  v: InternationalAndDomesticTravel9
operator:
  v: =
answer: boolean
  v: true

v: all

v: true

v: false

link id:
  v: InternationalAndDomesticTravel11
text:
  v: What City/Region in that country?
type:
  v: text
enable when:
  question:
    v: InternationalAndDomesticTravel9
  operator:
    v: =
  answer: boolean
    v: true
enable behavior:
  v: all
required:
  v: true
repeats:
  v: false

link id:
  v: InternationalAndDomesticTravel12
text:
  v: What date did you enter this country?
type:
  v: date
enable when:
  question:
    v: InternationalAndDomesticTravel9
  operator:
    v: =
  answer: boolean
    v: true
enable behavior:
  v: all
required:
  v: true
repeats:
  v: false

link id:
  v: InternationalAndDomesticTravel14
text:
  v: What date did you leave this country?
type:
  v: date
enable when:
  question:
    v: InternationalAndDomesticTravel9
  operator:
    v: =
  answer: boolean
    v: true
enable behavior:
  v: all
required:
  v: true
repeats:
  v: false

link id:
  v: InternationalAndDomesticTravel15
text:
  v: Did you visit any additional countries?
type:
  v: boolean
enable when:
  question:
    v: InternationalAndDomesticTravel9
  operator:
    v: =
  answer: boolean
    v: true
enable behavior:
  v: all
required:
  v: true
repeats:
  v: false

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer
  value: url
    v: https://nzhts.digital.health.nz/fhir
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
  value: CodeableConcept
    coding:
      system:
        v: http://hl7.org/fhir/questionnaire-item-control
      code:
        v: drop-down
      display:
        v: Drop down
link id:
  v: InternationalAndDomesticTravel16
text:
  v: 3rd last Country Visited
type:
  v: choice
enable when:
  question:
    v: InternationalAndDomesticTravel15
  operator:
    v: =
  answer: boolean
    v: true
enable behavior:
  v: all
required:
  v: true
repeats:
  v: false
answer value set:
  v: https://nzhts.digital.health.nz/fhir/ValueSet/country-code
  link: https://nzhts.digital.health.nz/fhir/ValueSet/country-code

link id:
  v: InternationalAndDomesticTravel17
text:
  v: What City/Region in that country?
type:
  v: text
enable when:
  question:
    v: InternationalAndDomesticTravel15
  operator:
    v: =
  answer: boolean
    v: true
enable behavior:
  v: all
required:
  v: true
repeats:
  v: false

link id:
  v: InternationalAndDomesticTravel18
text:
  v: What date did you enter this country?
type:
  v: date
enable when:
  question:
    v: InternationalAndDomesticTravel15
  operator:
    v: =
  answer: boolean
    v: true
enable behavior:
  v: all
required:
  v: true
repeats:
  v: false

link id:
  v: InternationalAndDomesticTravel19
text:
  v: What date did you leave this country
type:
  v: date
enable when:
  question:
    v: InternationalAndDomesticTravel15
  operator:
    v: =
  answer: boolean
    v: true
enable behavior:
  v: all
required:
  v: true
repeats:
  v: false

link id:
  v: InternationalAndDomesticTravel20
text:
  v: Considering that the incubation period (the time between you being exposed to the illness and you developing symptoms) may be longer than 1-10 days in some situations, do you have a history of overseas travel that could explain this infection, even if the travel was not recent?
type:
  v: boolean
required:
  v: true
repeats:
  v: false

link id:
  v: InternationalAndDomesticTravel22
text:
  v: Please provide details of prior overseas travel
type:
  v: text
enable when:
  question:
    v: InternationalAndDomesticTravel20
  operator:
    v: =
  answer: boolean
    v: true
enable behavior:
  v: all
required:
  v: false
repeats:
  v: false

link id:
  v: InternationalAndDomesticTravel23
text:
  v: Before you became unwell, did you travel within New Zealand?
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/cqf-expression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: 'In the ' + %IncubationPeriod + ' before you became unwell, did you travel within New Zealand?'
type:
  v: boolean
required:
  v: true
repeats:
  v: false

link id:
  v: InternationalAndDomesticTravel24
text:
  v: Please provide details of your travel within New Zealand
type:
  v: text
enable when:
  question:
    v: InternationalAndDomesticTravel23
  operator:
    v: =
  answer: boolean
    v: true
enable behavior:
  v: all
required:
  v: true
repeats:
  v: false

link id:
  v: FoodAndDrinkingWater
text:
  v: 7. Source Investigation - Food and Drinking water
type:
  v: group
enable when:
  question:
    v: Privacy5
  operator:
    v: =
  answer: Coding
    system:
      v: https://standards.digital.health.nz/ns/enterics-answer-code
    code:
      v: yes
    display:
      v: Yes
enable behavior:
  v: all
required:
  v: false
repeats:
  v: false
item:
  link id:
    v: FoodAndDrinkingWater1
  text:
    v: Before you became unwell, did you eat out?
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/cqf-expression
      value: Expression
  type:
    v: boolean
  required:
    v: true
  repeats:
    v: false
item:
  link id:
    v: FoodAndDrinkingWater2
  text:
    v: Please provide details of the food you ate out and where it was purchased from
  type:
    v: text
  enable when:
    question:
      v: FoodAndDrinkingWater1
    operator:
      v: =
    answer: boolean
      v: true
  enable behavior:
    v: all
  required:
    v: true
  repeats:
    v: false
item:
  link id:
    v: FoodAndDrinkingWater4
  text:
    v: Before you became unwell, did you purchase, handle or eat any of the following products at home products at home?
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/cqf-expression
      value: Expression
  type:
    v: group
  enable when:
    question:
      v: DiagnosisCode
    operator:
      v: =
    answer: string
      v: CAMP
  enable behavior:
    v: all
  item:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      value: CodeableConcept
    link id:
      v: FoodAtHome_CAMP_RawMeat
    text:
      v: Raw or undercooked meats (with pink flesh or unclear juices)?
    type:
      v: choice
    enable when:
      question:
        v: DiagnosisCode
      operator:
        v: =
      answer: string
        v: CAMP
    enable behavior:
      v: all
    repeats:
      v: true
    answer option:
      value: Coding
    answer option:
      value: Coding
    answer option:
      value: Coding
    answer option:
      value: Coding
    answer option:
      value: Coding
    answer option:
      value: Coding
    answer option:
      value: Coding
    answer option:
      value: Coding
    answer option:
      value: Coding
  item:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      value: CodeableConcept
    link id:
      v: FoodAtHome_CAMP_Seafood
    text:
      v: Raw or undercooked seafood?
    type:
      v: choice
    enable when:
      question:
        v: DiagnosisCode
      operator:
        v: =
      answer: string
        v: CAMP
    enable behavior:
      v: all
    repeats:
      v: true
    answer option:
      value: Coding
    answer option:
      value: Coding
    answer option:
      value: Coding
  item:
    link id:
      v: FoodAndDrinkingWater4_CAMP
    text:
      v: Please provide details of the food products you ate at home
    type:
      v: string
    enable when:
      question:
        v: DiagnosisCode
      operator:
        v: =
      answer: string
        v: CAMP
    enable behavior:
      v: all
item:
  link id:
    v: FoodAndDrinkingWater4_VTEC
  type:
    v: group
  enable when:
    question:
      v: DiagnosisCode
    operator:
      v: =
    answer: Coding
      display:
        v: VTEC
  enable behavior:
    v: all
  item:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      value: CodeableConcept
    link id:
      v: FoodAndDrinkingWater4_1_VTEC
    text:
      v: Raw or undercooked meats (with pink flesh or unclear juices)?
    type:
      v: choice
    enable when:
      question:
        v: DiagnosisCode
      operator:
        v: =
      answer: Coding
    enable behavior:
      v: all
    repeats:
      v: true
    answer option:
      value: Coding
    answer option:
      value: Coding

v: text/fhirpath

v: 'In the ' + %IncubationPeriod + ' before you became unwell, did you eat out e.g. any meals from a restaurant, cafe, event, street vendor, or other food establishment?'

v: text/fhirpath

v: 'In the ' + %IncubationPeriod + 'b efore you became unwell, did you purchase, handle or eat any of the following products at home products at home?'

system:
  v: http://hl7.org/fhir/questionnaire-item-control
code:
  v: check-box
display:
  v: Check-box

v: chicken_poultry

v: Chicken or other poultry

v: lamb_hogget_mutton

v: Lamb / Hogget / Mutton

v: pork_products

v: Pork or pork products

v: beef_products

v: Beef or beef products, e.g. mince, hamburger, cold beef

v: home_kill_game

v: Any home kill meats or game meat

v: liver_products

v: Liver, e.g. lamb's fry, chicken liver or other liver products (pate)

v: deli_meats

v: Salami, pepperoni or other deli meats

v: offal

v: Offal, e.g. chicken livers

v: pet_food

v: Pet Food

system:
  v: http://hl7.org/fhir/questionnaire-item-control
code:
  v: check-box
display:
  v: Check-box

v: shellfish

v: Shellfish, e.g. oysters, clams, crabs, shrimps or prawns

v: sushi_sashimi_ceviche

v: Sushi, sashimi, ceviche

v: other_seafood

v: Other seafood

system:
  v: http://hl7.org/fhir/questionnaire-item-control
code:
  v: check-box
display:
  v: Check-box

v: VTEC

v: chicken_poultry

v: Chicken or other poultry

v: lamb_hogget_mutton

v: Lamb

value: Coding
  code:
    v: pork_products
  display:
    v: Pork or pork products

value: Coding
  code:
    v: beef_products
  display:
    v: Beef or beef products, e.g. mince, hamburger, cold beef

value: Coding
  code:
    v: home_kill_game
  display:
    v: Any home kill meats or game meat

value: Coding
  code:
    v: liver_products
  display:
    v: Liver, e.g. lamb's fry, chicken liver or other liver products (pate)

value: Coding
  code:
    v: deli_meats
  display:
    v: Salami, pepperoni or other deli meats

value: Coding
  code:
    v: offal
  display:
    v: Offal, e.g. chicken livers

value: Coding
  code:
    v: pet_food
  display:
    v: Pet Food

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
  value: CodeableConcept
    coding:
      system:
        v: http://hl7.org/fhir/questionnaire-item-control
      code:
        v: check-box
      display:
        v: Check-box
link id:
  v: FoodAndDrinkingWater4_2_VTECH
text:
  v: Raw or unwashed vegetables/fruit
type:
  v: choice
enable when:
  question:
    v: DiagnosisCode
  operator:
    v: =
  answer: Coding
    display:
      v: VTEC
enable behavior:
  v: all
repeats:
  v: true
answer option:
  value: Coding
    code:
      v: Tomatoes
    display:
      v: Tomatoes
answer option:
  value: Coding
    code:
      v: Spring Onions
    display:
      v: Spring Onions
answer option:
  value: Coding
    code:
      v: Carrots
    display:
      v: Carrots
answer option:
  value: Coding
    code:
      v: Greens
    display:
      v: Leafy greens, e.g. Lettuce, Spinach
answer option:
  value: Coding
    code:
      v: Salads
    display:
      v: Packaged Salad
answer option:
  value: Coding
    code:
      v: Microgreens
    display:
      v: Sprouts, microgreens
answer option:
  value: Coding
    code:
      v: Fruits
    display:
      v: Fresh cut fruit, e.g. watermelon or berries
answer option:
  value: Coding
    code:
      v: Berries
    display:
      v: Berries

link id:
  v: FoodAndDrinkingWater4_3_VTECH
text:
  v: Unpasteurised or fermented Juices
type:
  v: choice
enable when:
  question:
    v: DiagnosisCode
  operator:
    v: =
  answer: Coding
    display:
      v: VTEC
enable behavior:
  v: all
repeats:
  v: true
answer option:
  value: Coding
    code:
      v: VegJuice
    display:
      v: Vegetable juice/s e.g. carrot juice, beet juice or mixed
answer option:
  value: Coding
    code:
      v: FruitJuice
    display:
      v: Freshly squeezed juice, e.g. Apple juice
answer option:
  value: Coding
    code:
      v: FermentedJuice
    display:
      v: Freshly prepared fermented juice, e.g. Kombucha

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
  value: CodeableConcept
    coding:
      system:
        v: http://hl7.org/fhir/questionnaire-item-control
      code:
        v: check-box
      display:
        v: Check-box
link id:
  v: FoodAndDrinkingWater4_4_VTEC
text:
  v: Other
type:
  v: choice
enable when:
  question:
    v: DiagnosisCode
  operator:
    v: =
  answer: Coding
    display:
      v: VTEC
enable behavior:
  v: all
repeats:
  v: true
answer option:
  value: Coding
    code:
      v: EggProd
    display:
      v: Eat uncooked or runny eggs, homemade mayonnaise
answer option:
  value: Coding
    code:
      v: FlourProd
    display:
      v: Dough/batter, uncooked cake, biscuit mixture

link id:
  v: FoodAndDrinkingWater4_SALM
type:
  v: group
enable when:
  question:
    v: DiagnosisCode
  operator:
    v: =
  answer: Coding
    display:
      v: SALM
enable behavior:
  v: all
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: FoodAndDrinkingWater4_1_SALM
  text:
    v: Raw or undercooked meats (with pink flesh or unclear juices)?
  type:
    v: choice
  enable when:
    question:
      v: DiagnosisCode
    operator:
      v: =
    answer: Coding
      display:
        v: SALM
  enable behavior:
    v: all
  repeats:
    v: true
  answer option:
    value: Coding
      code:
        v: chicken_poultry
      display:
        v: Chicken or other poultry
  answer option:
    value: Coding
      code:
        v: lamb_hogget_mutton
      display:
        v: Lamb
  answer option:
    value: Coding
      code:
        v: pork_products
      display:
        v: Pork or pork products
  answer option:
    value: Coding
      code:
        v: beef_products
      display:
        v: Beef or beef products, e.g. mince, hamburger, cold beef
  answer option:
    value: Coding
      code:
        v: home_kill_game
      display:
        v: Any home kill meats or game meat
  answer option:
    value: Coding
      code:
        v: liver_products
      display:
        v: Liver, e.g. lamb's fry, chicken liver or other liver products (pate)
  answer option:
    value: Coding
      code:
        v: deli_meats
      display:
        v: Salami, pepperoni or other deli meats
  answer option:
    value: Coding
      code:
        v: offal
      display:
        v: Offal, e.g. chicken livers
  answer option:
    value: Coding
      code:
        v: pet_food
      display:
        v: Pet Food
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: FoodAndDrinkingWater4_2_SALM
  text:
    v: Raw or unwashed vegetables/fruit
  type:
    v: choice
  enable when:
    question:
      v: DiagnosisCode
    operator:
      v: =
    answer: Coding
      display:
        v: SALM
  repeats:
    v: true
  answer option:
    value: Coding
      code:
        v: Tomatoes
      display:
        v: Tomatoes
  answer option:
    value: Coding
      code:
        v: Spring Onions
      display:
        v: Spring Onions
  answer option:
    value: Coding
      code:
        v: Carrots
      display:
        v: Carrots
  answer option:
    value: Coding
      code:
        v: Greens
      display:
        v: Leafy greens, e.g. Lettuce, Spinach
  answer option:
    value: Coding
      code:
        v: Salads
      display:
        v: Packaged Salad
  answer option:
    value: Coding
      code:
        v: Microgreens
      display:
        v: Sprouts, microgreens
  answer option:
    value: Coding
      code:
        v: Fruits
      display:
        v: Fresh cut fruit, e.g. watermelon or berries
  answer option:
    value: Coding
      code:
        v: Berries
      display:
        v: Berries
item:
  link id:
    v: FoodAndDrinkingWater4_3_SALM
  text:
    v: Unpasteurised or fermented Juices
  type:
    v: choice
  enable when:
    question:
      v: DiagnosisCode
    operator:
      v: =
    answer: Coding
      display:
        v: SALM
  repeats:
    v: true
  answer option:
    value: Coding
      code:
        v: VegJuice
      display:
        v: Vegetable juice/s e.g. carrot juice, beet juice or mixed
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: FoodAndDrinkingWater4_4_SALM
  text:
    v: Other
  type:
    v: choice
  enable when:
    question:
      v: DiagnosisCode
    operator:
      v: =
    answer: Coding
      display:
        v: SALM

v: check-box

v: Check-box

v: check-box

v: Check-box

v: check-box

v: Check-box

v: all

v: true

value: Coding
  code:
    v: EggProd
  display:
    v: Eat uncooked or runny eggs, homemade mayonnaise

value: Coding
  code:
    v: FlourProd
  display:
    v: Dough/batter, uncooked cake, biscuit mixture

value: Coding
  code:
    v: SeedProd
  display:
    v: Sesame seed products e.g. bread, buns, salads, pretzels, hummus, tahini, halva

value: Coding
  code:
    v: OtherSeed
  display:
    v: Other seeds or seed products, e.g. chia, sunflower

value: Coding
  code:
    v: SoyProd
  display:
    v: Tofu or other soy based products

link id:
  v: FoodAndDrinkingWater4_YERS
type:
  v: group
enable when:
  question:
    v: DiagnosisCode
  operator:
    v: =
  answer: Coding
    display:
      v: YERS
enable behavior:
  v: all
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: FoodAndDrinkingWater4_1YERS
  text:
    v: Raw or undercooked meats (with pink flesh or unclear juices)?
  type:
    v: choice
  enable when:
    question:
      v: DiagnosisCode
    operator:
      v: =
    answer: Coding
      display:
        v: YERS
  enable behavior:
    v: all
  repeats:
    v: true
  answer option:
    value: Coding
      code:
        v: pork_products
      display:
        v: Pork or pork products
  answer option:
    value: Coding
      code:
        v: home_kill_game
      display:
        v: Any home kill meats or game meat
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: FoodAndDrinkingWater4_2YERS
  text:
    v: Raw or unwashed vegetables/fruit
  type:
    v: choice
  enable when:
    question:
      v: DiagnosisCode
    operator:
      v: =
    answer: Coding
      display:
        v: YERS
  enable behavior:
    v: all
  repeats:
    v: true
  answer option:
    value: Coding
      code:
        v: Tomatoes
      display:
        v: Tomatoes
  answer option:
    value: Coding
      code:
        v: Spring Onions
      display:
        v: Spring Onions
  answer option:
    value: Coding
      code:
        v: Carrots
      display:
        v: Carrots
  answer option:
    value: Coding
      code:
        v: Greens
      display:
        v: Leafy greens, e.g. Lettuce, Spinach
  answer option:
    value: Coding
      code:
        v: Salads
      display:
        v: Packaged Salad
  answer option:
    value: Coding
      code:
        v: Microgreens
      display:
        v: Sprouts, microgreens
  answer option:
    value: Coding
      code:
        v: Fruits
      display:
        v: Fresh cut fruit, e.g. watermelon or berries
  answer option:
    value: Coding
      code:
        v: Berries
      display:
        v: Berries
item:
  link id:
    v: DeliFood_YERS
  text:
    v: Eat any of the following deli foods?
  type:
    v: choice
  enable when:
    question:
      v: DiagnosisCode
    operator:
      v: =
    answer: Coding
      display:
        v: YERS
  enable behavior:
    v: all
  repeats:
    v: true
  answer option:
    value: Coding
      code:
        v: DeliFood1
      display:
        v: Sandwiches
  answer option:
    value: Coding
      code:
        v: DeliFood2
      display:
        v: Prepared salads, e.g. potato salad, chicken salad, or pasta salad
  answer option:
    value: Coding
      code:
        v: DeliFood3
      display:
        v: Salami, pepperoni or other deli meats
  answer option:
    value: Coding
      code:
        v: DeliFood4
      display:
        v: Sushi, sashimi
  answer option:
    value: Coding
      code:
        v: DeliFood5
      display:
        v: Cream filled pastries
  answer option:
    value: Coding
      code:
        v: DeliFood5
      display:
        v: Freshly prepared dips

v: check-box

v: Check-box

v: check-box

v: Check-box

link id:
  v: FoodAndDrinkingWater5
text:
  v: Before you became unwell, did you consume untreated/raw (unpasteurised) milk or products made with raw milk?
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/cqf-expression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: 'In the ' + %IncubationPeriod + ' before you became unwell, did you consume untreated/raw (unpasteurised) milk or products made with raw milk, e.g. cheese, yoghurt?'
type:
  v: boolean
required:
  v: true
repeats:
  v: false

link id:
  v: FoodAndDrinkingWater6
text:
  v: Can you provide details of the untreated/raw (unpasteurised) milk or products you consumed?
type:
  v: text
enable when:
  question:
    v: FoodAndDrinkingWater5
  operator:
    v: =
  answer: boolean
    v: true
enable behavior:
  v: all
required:
  v: true
repeats:
  v: false
read only:
  v: false

link id:
  v: FoodAndDrinkingWater7
text:
  v: What is your usual drinking water supply at home? e.g. council supply, bore, rainwater, etc…
type:
  v: text
required:
  v: true
repeats:
  v: false
read only:
  v: false

link id:
  v: FoodAndDrinkingWater8
text:
  v: Before you became unwell, did you consume untreated water?
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/cqf-expression
    value: Expression
      language:
        v: text/fhirpath
      expression:
        v: 'In the ' + %IncubationPeriod + ' before you became unwell, did you consume untreated water? E.g. untreated tank water?'
type:
  v: boolean
required:
  v: true
repeats:
  v: false

link id:
  v: FoodAndDrinkingWater9
text:
  v: Can you provide details of the untreated water you've consumed?
type:
  v: text
enable when:
  question:
    v: FoodAndDrinkingWater8
  operator:
    v: =
  answer: boolean
    v: true
enable behavior:
  v: all
required:
  v: true
repeats:
  v: false
read only:
  v: false

link id:
  v: RecreationalWater
text:
  v: 8. Source Investigation - Recreational Water
type:
  v: group
enable when:
  question:
    v: Privacy5
  operator:
    v: =
  answer: Coding
    system:
      v: https://standards.digital.health.nz/ns/enterics-answer-code
    code:
      v: yes
    display:
      v: Yes
enable behavior:
  v: all
required:
  v: false
repeats:
  v: false
item:
  link id:
    v: RecreationalWater1
  text:
    v: Before you became unwell, did you go swimming or spend time in recreational water?
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/cqf-expression
      value: Expression
  type:
    v: boolean
  required:
    v: true
  repeats:
    v: false
item:
  link id:
    v: RecreationalWater2
  text:
    v: Please provide details of your recreational contact with water
  type:
    v: text
  enable when:
    question:
      v: RecreationalWater1
    operator:
      v: =
    answer: boolean
      v: true
  enable behavior:
    v: all
  required:
    v: true
  repeats:
    v: false

v: text/fhirpath

v: 'In the ' + %IncubationPeriod + ' before you became unwell, did you have any recreational contact with water? e.g. swimming, fishing, beach activities, kayaking, splash pad, spa pools'

link id:
  v: ContactWithAnimals
text:
  v: 9. Source Investigation - Contact with Animals
type:
  v: group
enable when:
  question:
    v: Privacy5
  operator:
    v: =
  answer: Coding
    system:
      v: https://standards.digital.health.nz/ns/enterics-answer-code
    code:
      v: yes
    display:
      v: Yes
enable behavior:
  v: all
required:
  v: false
repeats:
  v: false
item:
  link id:
    v: ContactWithAnimals1
  text:
    v: Before you became unwell, did you have contact with any animals or their faeces?
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/cqf-expression
      value: Expression
  type:
    v: boolean
  required:
    v: true
  repeats:
    v: false
item:
  link id:
    v: ContactWithAnimals2
  text:
    v: Please provide details of the contact you've had with animals or their faeces
  type:
    v: text
  enable when:
    question:
      v: ContactWithAnimals1
    operator:
      v: =
    answer: boolean
      v: true
  enable behavior:
    v: all
  required:
    v: true
  repeats:
    v: false

v: text/fhirpath

v: 'In the ' + %IncubationPeriod + ' before you became unwell, did you have any contact with animals or their faeces? This includes pets, birds, turtles/reptiles or farm animals?'

link id:
  v: ContactWithFaecalMatter
text:
  v: 10. Source Investigation - Contact with Faecal Matter
type:
  v: group
enable when:
  question:
    v: Privacy5
  operator:
    v: =
  answer: Coding
    system:
      v: https://standards.digital.health.nz/ns/enterics-answer-code
    code:
      v: yes
    display:
      v: Yes
enable behavior:
  v: all
required:
  v: false
repeats:
  v: false
item:
  link id:
    v: ContactWithFaecalMatter1
  text:
    v: Before you became unwell, did you have any contact with human sources of faeces?
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/cqf-expression
      value: Expression
  type:
    v: boolean
  required:
    v: true
  repeats:
    v: false
item:
  link id:
    v: ContactWithFaecalMatter2
  text:
    v: Please provide details of the contact you've had with human sources of faeces
  type:
    v: text
  enable when:
    question:
      v: ContactWithFaecalMatter1
    operator:
      v: =
    answer: boolean
      v: true
  enable behavior:
    v: all
  required:
    v: true
  repeats:
    v: false

v: text/fhirpath

v: 'In the ' + %IncubationPeriod + ' before you became unwell, have you had any contact with human sources of faeces e.g. nappy changing, dirty public toilets or sewage?'

link id:
  v: OtherPotentialSources
text:
  v: 11. Source Investigation - Other Potential Sources
type:
  v: group
enable when:
  question:
    v: Privacy5
  operator:
    v: =
  answer: Coding
    system:
      v: https://standards.digital.health.nz/ns/enterics-answer-code
    code:
      v: yes
    display:
      v: Yes
enable behavior:
  v: all
required:
  v: false
repeats:
  v: false
item:
  link id:
    v: OtherPotentialSources1
  text:
    v: Do you have any ideas about what you think might have made you unwell?
  type:
    v: text
  required:
    v: false
  repeats:
    v: false

link id:
  v: ThankYouMessage
text:
  v: Thank you for taking the time to answer these questions that help in the investigation of this disease.
type:
  v: display
enable when:
  question:
    v: Privacy5
  operator:
    v: =
  answer: Coding
    system:
      v: https://standards.digital.health.nz/ns/enterics-answer-code
    code:
      v: yes
    display:
      v: Yes
enable behavior:
  v: all