PREFIX fhir:
PREFIX fhirvs:
PREFIX xsd:
PREFIX rdf:
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
start=@ AND {fhir:nodeRole [fhir:treeRoot]}
# A structured set of questions and their answers
EXTENDS @ CLOSED {
a [fhir:QuestionnaireResponse]?;
fhir:nodeRole [fhir:treeRoot]?;
fhir:identifier @?; # Business identifier for this set
# of answers
fhir:basedOn @?; # Request fulfilled by this
# QuestionnaireResponse
fhir:partOf @?; # Part of referenced event
fhir:questionnaire @; # Canonical URL of Questionnaire
# being answered
fhir:status @ AND
{fhir:v @fhirvs:questionnaire-answers-status}; # in-progress | completed | amended
# | entered-in-error | stopped
fhir:subject @ AND {fhir:link
@ ? }?; # The subject of the questions
fhir:encounter @ AND {fhir:link
@ ? }?; # Encounter the questionnaire
# response is part of
fhir:authored @?; # Date the answers were gathered
fhir:author @ AND {fhir:link
@ OR
@ OR
@ OR
@ OR
@ OR
@ ? }?; # The individual or device that
# received and recorded the answers
fhir:source @ AND {fhir:link
@ OR
@ OR
@ OR
@ OR
@ OR
@ ? }?; # The individual or device that
# answered the questions
fhir:item @?; # Groups and questions
}
# The response(s) to the question
EXTENDS @ CLOSED {
fhir:value @ OR
@ OR
@ OR
@ OR
@ OR
@