homehosp-questionnaire-response-lm
type: StructureDefinition
node role: treeRoot
id:
  v: homehosp-questionnaire-response-lm
language:
  v: en
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition homehosp-questionnaire-response-lm Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> <a href="StructureDefinition-homehosp-questionnaire-response-lm-definitions.html#HomeHospQuestionnaireResponse" title="Logical model representing the FHIR QuestionnaireResponse resource as used in the OPAT and ONCO home hospitalization caresets. Each home nurse visit produces exactly one QuestionnaireResponse if the visit was not cancelled, which corresponds to a single Encounter. The QuestionnaireResponse references the canonical Questionnaire URL and contains the nurse's answers. It can be used as-is for clinical review or as input to an SDC Definition-based extraction pipeline that generates discrete FHIR Observations.">HomeHospQuestionnaireResponse 0..* Base Home Hospitalization QuestionnaireResponse Logical Model Instances of this logical model can be the target of a Reference #xD; questionnaire 1..1 canonical() Canonical URL of the Questionnaire this response is based on (e.g. http://hl7belgium.org/fhir/patient-monitoring/Questionnaire/OPATContinuInfuusV1) #xD; status 1..1 code Status of the questionnaire response | Answers: completed | entered-in-error #xD; subject 1..1 Reference(BeModelPatient) Reference to the Patient this response is about #xD; encounter 1..1 Reference(Home Hospitalization Encounter Logical Model) Reference to the Encounter during which this response was captured - !!! in testphase this was not required but it makes sence to reference the encounter #xD; authored 1..1 dateTime Date/time when the response was completed #xD; author 0..1 Reference(BePractitioner) Reference to the home nurse who authored the response (Practitioner) #xD; source 0..1 Reference(BeModelPatient) Reference to the person who provided the answers (if different from author) #xD; item 1..* BackboneElement Answer items corresponding to questionnaire groups and questions. Structure mirr…
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/logical-target
    l: logical-target
  value: Boolean
    v: true
url:
  v: http://hl7belgium.org/fhir/patient-monitoring/StructureDefinition/homehosp-questionnaire-response-lm
  l: homehosp-questionnaire-response-lm
identifier:
  system:
    v: urn:ietf:rfc:3986
    l: 3986
  value:
    v: urn:oid:2.16.840.1.113883.4.642.40.54.42.30
version:
  v: 0.1.0
name:
  v: HomeHospQuestionnaireResponse
title:
  v: Home Hospitalization QuestionnaireResponse Logical Model
status:
  v: draft
date:
  v: 2026-05-18T17:09:55+00:00
publisher:
  v: HL7 Belgium
contact:
  name:
    v: HL7 Belgium
  telecom:
    system:
      v: url
    value:
      v: http://example.com/committees
  telecom:
    system:
      v: email
contact:
  name:
    v: Bob Smith
  telecom:
    system:
      v: email
    use:
      v: work
description:
  v: Logical model representing the FHIR QuestionnaireResponse resource as used in the OPAT and ONCO home hospitalization caresets. Each home nurse visit produces exactly one QuestionnaireResponse if the visit was not cancelled, which corresponds to a single Encounter. The QuestionnaireResponse references the canonical Questionnaire URL and contains the nurse's answers. It can be used as-is for clinical review or as input to an SDC Definition-based extraction pipeline that generates discrete FHIR Observations.
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
      l: 3166
    code:
      v: BE
    display:
      v: Belgium
fhir version:
  v: 4.0.1
kind:
  v: logical
abstract:
  v: false
type:
  v: http://hl7belgium.org/fhir/patient-monitoring/StructureDefinition/HomeHospQuestionnaireResponse
  l: HomeHospQuestionnaireResponse
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Base
  l: Base
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 4.0.1
  element:
    id:
      v: HomeHospQuestionnaireResponse
    path:
      v: HomeHospQuestionnaireResponse
    short:
      v: Home Hospitalization QuestionnaireResponse Logical Model
    definition:
      v: Logical model representing the FHIR QuestionnaireResponse resource as used in the OPAT and ONCO home hospitalization caresets. Each home nurse visit produces exactly one QuestionnaireResponse if the visit was not cancelled, which corresponds to a single Encounter. The QuestionnaireResponse references the canonical Questionnaire URL and contains the nurse's answers. It can be used as-is for clinical review or as input to an SDC Definition-based extraction pipeline that generates discrete FHIR Observations.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
  element:
    id:
      v: HomeHospQuestionnaireResponse.questionnaire
    path:
      v: HomeHospQuestionnaireResponse.questionnaire
    short:
      v: Canonical URL of the Questionnaire this response is based on (e.g. http://hl7belgium.org/fhir/patient-monitoring/Questionnaire/OPATContinuInfuusV1)
    definition:
      v: Canonical URL of the Questionnaire this response is based on (e.g. http://hl7belgium.org/fhir/patient-monitoring/Questionnaire/OPATContinuInfuusV1)
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: HomeHospQuestionnaireResponse.questionnaire
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: canonical
        l: canonical
  element:
    id:
      v: HomeHospQuestionnaireResponse.status
    path:
      v: HomeHospQuestionnaireResponse.status
    short:
      v: Status of the questionnaire response | Answers: completed | entered-in-error
    definition:
      v: Status of the questionnaire response | Answers: completed | entered-in-error
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: HomeHospQuestionnaireResponse.status
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: code
        l: code
  element:
    id:
      v: HomeHospQuestionnaireResponse.subject
    path:
      v: HomeHospQuestionnaireResponse.subject
    short:
      v: Reference to the Patient this response is about
    definition:
      v: Reference to the Patient this response is about
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: HomeHospQuestionnaireResponse.subject
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: Reference
        l: Reference
      target profile:
        v: https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/BeModelPatient
        l: BeModelPatient
  element:
    id:
      v: HomeHospQuestionnaireResponse.encounter
    path:
      v: HomeHospQuestionnaireResponse.encounter
    short:
      v: Reference to the Encounter during which this response was captured - !!! in testphase this was not required but it makes sence to reference the encounter
    definition:
      v: Reference to the Encounter during which this response was captured - !!! in testphase this was not required but it makes sence to reference the encounter
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: HomeHospQuestionnaireResponse.encounter
      min:
        v: 1

v: 1

code:
  v: Reference
  l: Reference
target profile:
  v: http://hl7belgium.org/fhir/patient-monitoring/StructureDefinition/homehosp-encounter-lm
  l: homehosp-encounter-lm

id:
  v: HomeHospQuestionnaireResponse.authored
path:
  v: HomeHospQuestionnaireResponse.authored
short:
  v: Date/time when the response was completed
definition:
  v: Date/time when the response was completed
min:
  v: 1
max:
  v: 1
base:
  path:
    v: HomeHospQuestionnaireResponse.authored
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: HomeHospQuestionnaireResponse.author
path:
  v: HomeHospQuestionnaireResponse.author
short:
  v: Reference to the home nurse who authored the response (Practitioner)
definition:
  v: Reference to the home nurse who authored the response (Practitioner)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HomeHospQuestionnaireResponse.author
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-practitioner
    l: be-practitioner

id:
  v: HomeHospQuestionnaireResponse.source
path:
  v: HomeHospQuestionnaireResponse.source
short:
  v: Reference to the person who provided the answers (if different from author)
definition:
  v: Reference to the person who provided the answers (if different from author)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HomeHospQuestionnaireResponse.source
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/BeModelPatient
    l: BeModelPatient

id:
  v: HomeHospQuestionnaireResponse.item
path:
  v: HomeHospQuestionnaireResponse.item
short:
  v: Answer items corresponding to questionnaire groups and questions. Structure mirrors the Questionnaire item hierarchy (groups and leaf questions). Each leaf item contains a linkId, optional text, and one or more answer values.
definition:
  v: Answer items corresponding to questionnaire groups and questions. Structure mirrors the Questionnaire item hierarchy (groups and leaf questions). Each leaf item contains a linkId, optional text, and one or more answer values.
min:
  v: 1
max:
  v: *
base:
  path:
    v: HomeHospQuestionnaireResponse.item
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: HomeHospQuestionnaireResponse.item.id
path:
  v: HomeHospQuestionnaireResponse.item.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: HomeHospQuestionnaireResponse.item.extension
path:
  v: HomeHospQuestionnaireResponse.item.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: HomeHospQuestionnaireResponse.item.modifierExtension
path:
  v: HomeHospQuestionnaireResponse.item.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: HomeHospQuestionnaireResponse.item.linkId
path:
  v: HomeHospQuestionnaireResponse.item.linkId
short:
  v: Unique linkId matching the corresponding Questionnaire item
definition:
  v: Unique linkId matching the corresponding Questionnaire item
min:
  v: 1
max:
  v: 1
base:
  path:
    v: HomeHospQuestionnaireResponse.item.linkId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: HomeHospQuestionnaireResponse.item.text
path:
  v: HomeHospQuestionnaireResponse.item.text
short:
  v: Display text of the question (copied from the Questionnaire for readability)
definition:
  v: Display text of the question (copied from the Questionnaire for readability)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HomeHospQuestionnaireResponse.item.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: HomeHospQuestionnaireResponse.item.answer
path:
  v: HomeHospQuestionnaireResponse.item.answer
short:
  v: Answer(s) provided for this item
definition:
  v: Answer(s) provided for this item
min:
  v: 0
max:
  v: *
base:
  path:
    v: HomeHospQuestionnaireResponse.item.answer
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: HomeHospQuestionnaireResponse.item.answer.id
path:
  v: HomeHospQuestionnaireResponse.item.answer.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: HomeHospQuestionnaireResponse.item.answer.extension
path:
  v: HomeHospQuestionnaireResponse.item.answer.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: HomeHospQuestionnaireResponse.item.answer.modifierExtension
path:
  v: HomeHospQuestionnaireResponse.item.answer.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: HomeHospQuestionnaireResponse.item.answer.valueCoding
path:
  v: HomeHospQuestionnaireResponse.item.answer.valueCoding
short:
  v: Coded answer (for choice-type questions using SNOMED CT codes)
definition:
  v: Coded answer (for choice-type questions using SNOMED CT codes)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HomeHospQuestionnaireResponse.item.answer.valueCoding
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Coding
    l: Coding

id:
  v: HomeHospQuestionnaireResponse.item.answer.valueDecimal
path:
  v: HomeHospQuestionnaireResponse.item.answer.valueDecimal
short:
  v: Numeric answer with unit implicit from the Questionnaire (for vital parameters and infusor weights)
definition:
  v: Numeric answer with unit implicit from the Questionnaire (for vital parameters and infusor weights)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HomeHospQuestionnaireResponse.item.answer.valueDecimal
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal
    l: decimal

id:
  v: HomeHospQuestionnaireResponse.item.answer.valueString
path:
  v: HomeHospQuestionnaireResponse.item.answer.valueString
short:
  v: Free-text answer (for open text questions)
definition:
  v: Free-text answer (for open text questions)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HomeHospQuestionnaireResponse.item.answer.valueString
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: HomeHospQuestionnaireResponse.item.answer.valueBoolean
path:
  v: HomeHospQuestionnaireResponse.item.answer.valueBoolean
short:
  v: Boolean answer (reserved for future use; prefer valueCoding with SNOMED yes/no)
definition:
  v: Boolean answer (reserved for future use; prefer valueCoding with SNOMED yes/no)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HomeHospQuestionnaireResponse.item.answer.valueBoolean
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean

id:
  v: HomeHospQuestionnaireResponse.item.item
path:
  v: HomeHospQuestionnaireResponse.item.item
short:
  v: Nested answer items for sub-questions within a group (same structure as item)
definition:
  v: Nested answer items for sub-questions within a group (same structure as item)
min:
  v: 0
max:
  v: *
base:
  path:
    v: HomeHospQuestionnaireResponse.item.item
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: HomeHospQuestionnaireResponse.item.item.id
path:
  v: HomeHospQuestionnaireResponse.item.item.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: HomeHospQuestionnaireResponse.item.item.extension
path:
  v: HomeHospQuestionnaireResponse.item.item.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: HomeHospQuestionnaireResponse.item.item.modifierExtension
path:
  v: HomeHospQuestionnaireResponse.item.item.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: HomeHospQuestionnaireResponse.item.item.linkId
path:
  v: HomeHospQuestionnaireResponse.item.item.linkId
short:
  v: Unique linkId matching the corresponding nested Questionnaire item
definition:
  v: Unique linkId matching the corresponding nested Questionnaire item
min:
  v: 1
max:
  v: 1
base:
  path:
    v: HomeHospQuestionnaireResponse.item.item.linkId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: HomeHospQuestionnaireResponse.item.item.text
path:
  v: HomeHospQuestionnaireResponse.item.item.text
short:
  v: Display text of the nested question
definition:
  v: Display text of the nested question
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HomeHospQuestionnaireResponse.item.item.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: HomeHospQuestionnaireResponse.item.item.answer
path:
  v: HomeHospQuestionnaireResponse.item.item.answer
short:
  v: Answer(s) for the nested item
definition:
  v: Answer(s) for the nested item
min:
  v: 0
max:
  v: *
base:
  path:
    v: HomeHospQuestionnaireResponse.item.item.answer
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: HomeHospQuestionnaireResponse.item.item.answer.id
path:
  v: HomeHospQuestionnaireResponse.item.item.answer.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: HomeHospQuestionnaireResponse.item.item.answer.extension
path:
  v: HomeHospQuestionnaireResponse.item.item.answer.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: HomeHospQuestionnaireResponse.item.item.answer.modifierExtension
path:
  v: HomeHospQuestionnaireResponse.item.item.answer.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: HomeHospQuestionnaireResponse.item.item.answer.valueCoding
path:
  v: HomeHospQuestionnaireResponse.item.item.answer.valueCoding
short:
  v: Coded answer for the nested item
definition:
  v: Coded answer for the nested item
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HomeHospQuestionnaireResponse.item.item.answer.valueCoding
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Coding
    l: Coding

id:
  v: HomeHospQuestionnaireResponse.item.item.answer.valueDecimal
path:
  v: HomeHospQuestionnaireResponse.item.item.answer.valueDecimal
short:
  v: Numeric answer for the nested item
definition:
  v: Numeric answer for the nested item
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HomeHospQuestionnaireResponse.item.item.answer.valueDecimal
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal
    l: decimal

id:
  v: HomeHospQuestionnaireResponse.item.item.answer.valueString
path:
  v: HomeHospQuestionnaireResponse.item.item.answer.valueString
short:
  v: Free-text answer for the nested item
definition:
  v: Free-text answer for the nested item
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HomeHospQuestionnaireResponse.item.item.answer.valueString
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

element:
  id:
    v: HomeHospQuestionnaireResponse
  path:
    v: HomeHospQuestionnaireResponse
  short:
    v: Home Hospitalization QuestionnaireResponse Logical Model
  definition:
    v: Logical model representing the FHIR QuestionnaireResponse resource as used in the OPAT and ONCO home hospitalization caresets. Each home nurse visit produces exactly one QuestionnaireResponse if the visit was not cancelled, which corresponds to a single Encounter. The QuestionnaireResponse references the canonical Questionnaire URL and contains the nurse's answers. It can be used as-is for clinical review or as input to an SDC Definition-based extraction pipeline that generates discrete FHIR Observations.
element:
  id:
    v: HomeHospQuestionnaireResponse.questionnaire
  path:
    v: HomeHospQuestionnaireResponse.questionnaire
  short:
    v: Canonical URL of the Questionnaire this response is based on (e.g. http://hl7belgium.org/fhir/patient-monitoring/Questionnaire/OPATContinuInfuusV1)
  definition:
    v: Canonical URL of the Questionnaire this response is based on (e.g. http://hl7belgium.org/fhir/patient-monitoring/Questionnaire/OPATContinuInfuusV1)
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: canonical
      l: canonical
element:
  id:
    v: HomeHospQuestionnaireResponse.status
  path:
    v: HomeHospQuestionnaireResponse.status
  short:
    v: Status of the questionnaire response | Answers: completed | entered-in-error
  definition:
    v: Status of the questionnaire response | Answers: completed | entered-in-error
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: code
      l: code
element:
  id:
    v: HomeHospQuestionnaireResponse.subject
  path:
    v: HomeHospQuestionnaireResponse.subject
  short:
    v: Reference to the Patient this response is about
  definition:
    v: Reference to the Patient this response is about
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Reference
      l: Reference
    target profile:
      v: https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/BeModelPatient
      l: BeModelPatient
element:
  id:
    v: HomeHospQuestionnaireResponse.encounter
  path:
    v: HomeHospQuestionnaireResponse.encounter
  short:
    v: Reference to the Encounter during which this response was captured - !!! in testphase this was not required but it makes sence to reference the encounter
  definition:
    v: Reference to the Encounter during which this response was captured - !!! in testphase this was not required but it makes sence to reference the encounter
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Reference
      l: Reference
    target profile:
      v: http://hl7belgium.org/fhir/patient-monitoring/StructureDefinition/homehosp-encounter-lm
      l: homehosp-encounter-lm
element:
  id:
    v: HomeHospQuestionnaireResponse.authored
  path:
    v: HomeHospQuestionnaireResponse.authored
  short:
    v: Date/time when the response was completed
  definition:
    v: Date/time when the response was completed
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: dateTime
      l: dateTime
element:
  id:
    v: HomeHospQuestionnaireResponse.author
  path:
    v: HomeHospQuestionnaireResponse.author
  short:
    v: Reference to the home nurse who authored the response (Practitioner)
  definition:
    v: Reference to the home nurse who authored the response (Practitioner)
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Reference
      l: Reference
    target profile:
      v: https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-practitioner
      l: be-practitioner
element:
  id:
    v: HomeHospQuestionnaireResponse.source
  path:
    v: HomeHospQuestionnaireResponse.source
  short:
    v: Reference to the person who provided the answers (if different from author)
  definition:
    v: Reference to the person who provided the answers (if different from author)
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Reference
      l: Reference
    target profile:
      v: https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/BeModelPatient
      l: BeModelPatient
element:
  id:
    v: HomeHospQuestionnaireResponse.item
  path:
    v: HomeHospQuestionnaireResponse.item
  short:
    v: Answer items corresponding to questionnaire groups and questions. Structure mirrors the Questionnaire item hierarchy (groups and leaf questions). Each leaf item contains a linkId, optional text, and one or more answer values.
  definition:
    v: Answer items corresponding to questionnaire groups and questions. Structure mirrors the Questionnaire item hierarchy (groups and leaf questions). Each leaf item contains a linkId, optional text, and one or more answer values.
  min:
    v: 1
  max:
    v: *
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: HomeHospQuestionnaireResponse.item.linkId
  path:
    v: HomeHospQuestionnaireResponse.item.linkId
  short:
    v: Unique linkId matching the corresponding Questionnaire item
  definition:
    v: Unique linkId matching the corresponding Questionnaire item
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: HomeHospQuestionnaireResponse.item.text
  path:
    v: HomeHospQuestionnaireResponse.item.text
  short:
    v: Display text of the question (copied from the Questionnaire for readability)
  definition:
    v: Display text of the question (copied from the Questionnaire for readability)
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: HomeHospQuestionnaireResponse.item.answer
  path:
    v: HomeHospQuestionnaireResponse.item.answer
  short:
    v: Answer(s) provided for this item
  definition:
    v: Answer(s) provided for this item
  min:
    v: 0

v: *

code:
  v: BackboneElement
  l: BackboneElement

id:
  v: HomeHospQuestionnaireResponse.item.answer.valueCoding
path:
  v: HomeHospQuestionnaireResponse.item.answer.valueCoding
short:
  v: Coded answer (for choice-type questions using SNOMED CT codes)
definition:
  v: Coded answer (for choice-type questions using SNOMED CT codes)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Coding
    l: Coding

id:
  v: HomeHospQuestionnaireResponse.item.answer.valueDecimal
path:
  v: HomeHospQuestionnaireResponse.item.answer.valueDecimal
short:
  v: Numeric answer with unit implicit from the Questionnaire (for vital parameters and infusor weights)
definition:
  v: Numeric answer with unit implicit from the Questionnaire (for vital parameters and infusor weights)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: decimal
    l: decimal

id:
  v: HomeHospQuestionnaireResponse.item.answer.valueString
path:
  v: HomeHospQuestionnaireResponse.item.answer.valueString
short:
  v: Free-text answer (for open text questions)
definition:
  v: Free-text answer (for open text questions)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: HomeHospQuestionnaireResponse.item.answer.valueBoolean
path:
  v: HomeHospQuestionnaireResponse.item.answer.valueBoolean
short:
  v: Boolean answer (reserved for future use; prefer valueCoding with SNOMED yes/no)
definition:
  v: Boolean answer (reserved for future use; prefer valueCoding with SNOMED yes/no)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: boolean
    l: boolean

id:
  v: HomeHospQuestionnaireResponse.item.item
path:
  v: HomeHospQuestionnaireResponse.item.item
short:
  v: Nested answer items for sub-questions within a group (same structure as item)
definition:
  v: Nested answer items for sub-questions within a group (same structure as item)
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: HomeHospQuestionnaireResponse.item.item.linkId
path:
  v: HomeHospQuestionnaireResponse.item.item.linkId
short:
  v: Unique linkId matching the corresponding nested Questionnaire item
definition:
  v: Unique linkId matching the corresponding nested Questionnaire item
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: HomeHospQuestionnaireResponse.item.item.text
path:
  v: HomeHospQuestionnaireResponse.item.item.text
short:
  v: Display text of the nested question
definition:
  v: Display text of the nested question
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: HomeHospQuestionnaireResponse.item.item.answer
path:
  v: HomeHospQuestionnaireResponse.item.item.answer
short:
  v: Answer(s) for the nested item
definition:
  v: Answer(s) for the nested item
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: HomeHospQuestionnaireResponse.item.item.answer.valueCoding
path:
  v: HomeHospQuestionnaireResponse.item.item.answer.valueCoding
short:
  v: Coded answer for the nested item
definition:
  v: Coded answer for the nested item
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Coding
    l: Coding

id:
  v: HomeHospQuestionnaireResponse.item.item.answer.valueDecimal
path:
  v: HomeHospQuestionnaireResponse.item.item.answer.valueDecimal
short:
  v: Numeric answer for the nested item
definition:
  v: Numeric answer for the nested item
min:
  v: 0
max:
  v: 1
type:
  code:
    v: decimal
    l: decimal

id:
  v: HomeHospQuestionnaireResponse.item.item.answer.valueString
path:
  v: HomeHospQuestionnaireResponse.item.item.answer.valueString
short:
  v: Free-text answer for the nested item
definition:
  v: Free-text answer for the nested item
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string