Questionnaire/null Generated Narrative Assembled From Questionnaire: Example sub-module Questionnaire for contact Assembled From Questionnaire: Example sub-module Questionnaire for name Launch context resources value: Patient (Details: http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext code patient = 'Patient', stated as 'null') value: Patient
Variable: %patient (person) url: http://hl7.org/fhir/uv/sdc/Questionnaire/sdc-modular-root name: QuestionnaireSDCModularRoot title: Example modular Questionnaire status: draft experimental: true item Variable: 'patientname.' (linkIdPrefix) constraint value: qcontact-1 value: error value: Must have either first or last name value: item.where(linkId=%linkIdPrefix+'1').exists() or item.where(linkId=%linkIdPrefix+'2').exists()
Variable: iif(%person.name.where(use='official').exists(),%person.name.where(use='official')[0],%person.name[0]) (name) linkId: 1 definition: SDC Question Library text: What is the person's official name? type: group item initial.exists().not(): %name.prefix.where($this in ('Mr.'|'Miss'|'Mrs'|'Ms.'))[0] linkId: patientname.1 text: Title type: string required: true
item initial.exists().not(): %name.given[0] linkId: patientname.2 definition: SDC Question Library text: First type: string required: true maxLength: 100
item initial.exists().not(): %name.last linkId: patientname.3 definition: SDC Question Library text: Last type: string required: true maxLength: 100
item minValue: 1900-01-01 maxValue: linkId: 2 definition: SDC Question Library text: What is this person's date of birth? type: date required: true
item linkId: 3 definition: SDC Question Library text: What is this person's gender? type: choice required: true answerValueSet: AdministrativeGender
item linkId: 4 definition: SDC Question Library text: What is this person's current mailing address? type: group required: true Items
item Item population context: %patient.contact (person) Variable: 'patientcontact.' (linkIdPrefix) linkId: 5 type: group required: true item Variable: %linkIdPrefix + 'name.' (linkIdPrefix) constraint value: qcontact-1 value: error value: Must have either first or last name value: item.where(linkId=%linkIdPrefix+'1').exists() or item.where(linkId=%linkIdPrefix+'2').exists()
Variable: iif(%person.name.where(use='official').exists(),%person.name.where(use='official')[0],%person.name[0]) (name) linkId: patientcontact.1 definition: SDC Question Library text: What is the person's official name? type: group
item initial.exists().not(): %person.telecom[use='phone'][0] linkId: patientcontact.2 definition: http://example.org/StructureDefinition/non-existent-library#Stuff.phone text: Phone number type: string required: true
|