Da Vinci - Documentation Templates and Rules
1.0.0 - STU 1

Publication Build: This will be filled in by the publication tooling

## : DTR Home Oxygen Therapy Questionnaire - R4 - TTL Representation

Raw ttl | Download

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

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

     a fhir:Questionnaire;
      fhir:nodeRole fhir:treeRoot;
      fhir:Resource.id [ fhir:value "home-o2-questionnaire"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaire-r4";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaire-r4>     ]
      ];
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>This form is used to collect information from the provider on Home Oxygen Therapy.</p></div>"
      ];
      fhir:DomainResource.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-library" ];
         fhir:Extension.valueCanonical [ fhir:value "#HomeOxygenTherapy-prepopulation" ]
      ];
      fhir:Questionnaire.url [ fhir:value "http://hl7.org/fhir/us/davinci-dtr/Questionnaire/home-o2-questionnaire"];
      fhir:Questionnaire.version [ fhir:value "1.0.0"];
      fhir:Questionnaire.name [ fhir:value "HomeOxygenTherapyQuestionnaire"];
      fhir:Questionnaire.title [ fhir:value "Home Oxygen Therapy Order Template"];
      fhir:Questionnaire.status [ fhir:value "draft"];
      fhir:Questionnaire.subjectType [
         fhir:value "Patient";
         fhir:index 0
      ];
      fhir:Questionnaire.date [ fhir:value "2019-03-11T00:00:00+00:00"^^xsd:dateTime];
      fhir:Questionnaire.publisher [ fhir:value "HL7 Clinical Decision Support Work Group"];
      fhir:Questionnaire.contact [
         fhir:index 0;
         fhir:ContactDetail.telecom [
           fhir:index 0;
           fhir:ContactPoint.system [ fhir:value "url" ];
           fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/dss" ]     ]
      ];
      fhir:Questionnaire.jurisdiction [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ];
           fhir:Coding.code [ fhir:value "US" ]     ]
      ];
      fhir:Questionnaire.item [
         fhir:index 0;
         fhir:Questionnaire.item.linkId [ fhir:value "1" ];
         fhir:Questionnaire.item.text [ fhir:value "Patient Information" ];
         fhir:Questionnaire.item.type [ fhir:value "group" ];
         fhir:Questionnaire.item.item [
           fhir:index 0;
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-expression" ];
             fhir:Extension.valueExpression [
               fhir:Expression.language [ fhir:value "text/cql" ];
               fhir:Expression.expression [ fhir:value "PatientLastName" ]         ]       ];
           fhir:Questionnaire.item.linkId [ fhir:value "1.1" ];
           fhir:Questionnaire.item.text [ fhir:value "Last Name" ];
           fhir:Questionnaire.item.type [ fhir:value "string" ];
           fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 1;
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-expression" ];
             fhir:Extension.valueExpression [
               fhir:Expression.language [ fhir:value "text/cql" ];
               fhir:Expression.expression [ fhir:value "PatientMiddleInitial" ]         ]       ];
           fhir:Questionnaire.item.linkId [ fhir:value "1.3" ];
           fhir:Questionnaire.item.text [ fhir:value "Middle Initial" ];
           fhir:Questionnaire.item.type [ fhir:value "text" ];
           fhir:Questionnaire.item.required [ fhir:value "false"^^xsd:boolean ]     ], [
           fhir:index 2;
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-expression" ];
             fhir:Extension.valueExpression [
               fhir:Expression.language [ fhir:value "text/cql" ];
               fhir:Expression.expression [ fhir:value "PatientFirstName" ]         ]       ];
           fhir:Questionnaire.item.linkId [ fhir:value "1.2" ];
           fhir:Questionnaire.item.text [ fhir:value "First Name" ];
           fhir:Questionnaire.item.type [ fhir:value "string" ];
           fhir:Questionnaire.item.enableWhen [
             fhir:index 0;
             fhir:Questionnaire.item.enableWhen.question [ fhir:value "1.3" ];
             fhir:Questionnaire.item.enableWhen.operator [ fhir:value "=" ];
             fhir:Questionnaire.item.enableWhen.answerString [ fhir:value "S" ]       ];
           fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 3;
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-expression" ];
             fhir:Extension.valueExpression [
               fhir:Expression.language [ fhir:value "text/cql" ];
               fhir:Expression.expression [ fhir:value "PatientDateOfBirth" ]         ]       ];
           fhir:Questionnaire.item.linkId [ fhir:value "1.4" ];
           fhir:Questionnaire.item.text [ fhir:value "Date Of Birth" ];
           fhir:Questionnaire.item.type [ fhir:value "date" ];
           fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 4;
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-expression" ];
             fhir:Extension.valueExpression [
               fhir:Expression.language [ fhir:value "text/cql" ];
               fhir:Expression.expression [ fhir:value "PatientGender" ]         ]       ];
           fhir:Questionnaire.item.linkId [ fhir:value "1.5" ];
           fhir:Questionnaire.item.text [ fhir:value "Gender" ];
           fhir:Questionnaire.item.type [ fhir:value "choice" ];
           fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ];
           fhir:Questionnaire.item.answerValueSet [
             fhir:value "http://hl7.org/fhir/ValueSet/administrative-gender";
             fhir:link <http://hl7.org/fhir/ValueSet/administrative-gender>       ]     ]
      ].

    # - ontology header ------------------------------------------------------------

     a owl:Ontology;
      owl:imports fhir:fhir.ttl.