Da Vinci - Documentation Templates and Rules
2.2.0-ballot - STU 2.2 - Ballot United States of America flag

This page is part of the Documentation Templates and Rules (v2.2.0-ballot: STU 2.2 Ballot) based on FHIR (HL7® FHIR® Standard) R4. This version is a pre-release. The current official version is 2.1.0. For a full list of available versions, see the Directory of published versions

: $next-question Output Parameters Example - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:Parameters ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "NextQuestionOutputParamsExample"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-next-question-output-parameters"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-next-question-output-parameters>     ] )
  ] ; # 
  fhir:parameter ( [
fhir:name [ fhir:v "questionnaire-response-out" ] ;
    ( fhir:Parameters.parameter.resource [
a fhir:QuestionnaireResponse ;
fhir:id [ fhir:v "home-o2-adaptive-questionnaireresponse" ] ;
fhir:meta [
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaireresponse-adapt"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaireresponse-adapt>         ] )       ] ;
      ( fhir:contained [
a fhir:Questionnaire ;
fhir:id [ fhir:v "home-o2-adaptive-questionnaire" ] ;
fhir:meta [
          ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaire-adapt"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaire-adapt>           ] )         ] ;
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Example adaptive questionnaire contained in a QuestionnaireResposne</div>"^^rdf:XMLLiteral         ] ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-questionnaireAdaptive"^^xsd:anyURI ] ;
fhir:value [
a fhir:url ;
fhir:v "http://example.com/fhir/R4"^^xsd:anyURI           ]         ] ) ;
fhir:url [ fhir:v "http://example.com/fhir/questionnaire"^^xsd:anyURI ] ;
fhir:version [ fhir:v "0.1.0" ] ;
fhir:name [ fhir:v "HomeOxygenTherapyAdaptiveQuestionnaire" ] ;
fhir:title [ fhir:v "Adaptive Home Oxygen Therapy Order Template" ] ;
        ( fhir:derivedFrom [
fhir:v "http://hl7.org/fhir/us/davinci-dtr/dtr-questionnaire"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/davinci-dtr/dtr-questionnaire>         ] ) ;
fhir:status [ fhir:v "draft" ] ;
        ( fhir:subjectType [ fhir:v "Patient" ] ) ;
fhir:date [ fhir:v "2020-01-16T00:00:00+00:00"^^xsd:dateTime ] ;
fhir:publisher [ fhir:v "Da Vinci DTR" ] ;
        ( fhir:contact [
fhir:name [ fhir:v "Example Author" ]         ] ) ;
        ( fhir:item [
fhir:linkId [ fhir:v "1" ] ;
fhir:text [ fhir:v "Relevant Patient Diagnoses (conditions that might be expected to improve with oxygen therapy)" ] ;
fhir:type [ fhir:v "text" ] ;
fhir:required [ fhir:v true ]         ] [
fhir:linkId [ fhir:v "2" ] ;
fhir:text [ fhir:v "Order Reason" ] ;
fhir:type [ fhir:v "choice" ] ;
fhir:required [ fhir:v true ] ;
          ( fhir:answerOption [
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "http://example.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "1" ] ;
fhir:display [ fhir:v "Initial or original order for certification" ]             ]           ] [
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "http://example.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "2" ] ;
fhir:display [ fhir:v "Change in status" ]             ]           ] [
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "http://example.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "3" ] ;
fhir:display [ fhir:v "Revision or change in equipment" ]             ]           ] [
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "http://example.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "4" ] ;
fhir:display [ fhir:v "Replacement" ]             ]           ] )         ] )       ] ) ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/qr-coverage"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "Coverage/CoverageExample" ]         ]       ] [
fhir:url [ fhir:v "http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/intendedUse"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
          ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/davinci-crd/CodeSystem/temp"^^xsd:anyURI ] ;
fhir:code [ fhir:v "withorder" ] ;
fhir:display [ fhir:v "Include with order" ]           ] )         ]       ] [
fhir:url [ fhir:v "http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/qr-context"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "ServiceRequest/ServiceRequestExample" ]         ]       ] ) ;
fhir:questionnaire [ fhir:v "#home-o2-adaptive-questionnaire"^^xsd:anyURI ] ;
fhir:status [ fhir:v "completed" ] ;
fhir:subject [
fhir:reference [ fhir:v "Patient/examplepatient" ] ;
fhir:display [ fhir:v "Vlad" ]       ] ;
fhir:authored [ fhir:v "2022-01-26T20:36:57.544Z"^^xsd:dateTime ] ;
      ( fhir:item [
fhir:linkId [ fhir:v "1" ] ;
fhir:text [ fhir:v "Relevant Patient Diagnoses (conditions that might be expected to improve with oxygen therapy)" ] ;
        ( fhir:answer [
          ( fhir:extension [
            ( fhir:extension [
fhir:url [ fhir:v "source"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "auto"               ]             ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/information-origin"^^xsd:anyURI ]           ] ) ;
fhir:value [
a fhir:string ;
fhir:v "diagnosis"           ]         ] )       ] [
fhir:linkId [ fhir:v "2" ] ;
fhir:text [ fhir:v "Order Reason" ] ;
        ( fhir:answer [
          ( fhir:extension [
            ( fhir:extension [
fhir:url [ fhir:v "source"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "auto"               ]             ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/information-origin"^^xsd:anyURI ]           ] ) ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "http://example.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "4" ] ;
fhir:display [ fhir:v "Replacement" ]           ]         ] )       ] )     ] )
  ] ) . #