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
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
start=@ AND {fhir:nodeRole [fhir:treeRoot]}
# The formal response to a guidance request
EXTENDS @ CLOSED {
a [fhir:GuidanceResponse]?;
fhir:nodeRole [fhir:treeRoot]?;
fhir:requestIdentifier @?; # The identifier of the request
# associated with this response, if
# any
fhir:identifier @?; # Business identifier
fhir:module @ OR
@ OR
@ ; # What guidance was requested
fhir:status @ AND
{fhir:v @fhirvs:guidance-response-status}; # success | data-requested |
# data-required | in-progress |
# failure | entered-in-error
fhir:subject @ AND {fhir:link
@ OR
@ ? }?; # Patient the request was performed
# for
fhir:encounter @ AND {fhir:link
@ ? }?; # Encounter during which the
# response was returned
fhir:occurrenceDateTime @?; # When the guidance response was
# processed
fhir:performer @ AND {fhir:link
@ ? }?; # Device returning the guidance
fhir:reason @?; # Why guidance is needed
fhir:note @?; # Additional notes about the response
fhir:evaluationMessage @ AND {fhir:link
@ ? }?; # Messages resulting from the
# evaluation of the artifact or
# artifacts
fhir:outputParameters @ AND {fhir:link
@ ? }?; # The output parameters of the
# evaluation, if any
fhir:result @?; # Proposed actions, if any
fhir:dataRequirement @?; # Additional required data
}
#---------------------- Cardinality Types (OneOrMore) -------------------
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ AND {fhir:link
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ } ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
#---------------------- Value Sets ------------------------
# The status of a guidance response.
fhirvs:guidance-response-status ["success" "data-requested" "data-required" "in-progress" "failure" "entered-in-error"]