Structured Data Capture 2.0 (STU2)

(back to narrative)

Raw ttl

@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 "questionnaire-sdc-profile-example-cap"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>url</b>: <a href=\"http://hl7.org/fhir/us/sdc/Questionnaire/questionnaire-sdc-profile-example-cap\">http://hl7.org/fhir/us/sdc/Questionnaire/questionnaire-sdc-profile-example-cap</a></p><p><b>title</b>: (Ask Richard)</p><p><b>status</b>: ACTIVE</p><p><b>url</b>: <a href=\"http://hl7.org/fhir/us/sdc/Questionnaire/questionnaire-sdc-profile-example-cap\">http://hl7.org/fhir/us/sdc/Questionnaire/questionnaire-sdc-profile-example-cap</a></p><p><b>title</b>: (Ask Richard)</p><p><b>status</b>: ACTIVE</p><blockquote><p><b>item</b></p><p><b>linkId</b>: 1</p><p><b>text</b>: MARGINS</p><p><b>type</b>: GROUP</p><p><b>required</b>: true</p><blockquote><p><b>item</b></p></blockquote></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: 2</p><p><b>text</b>: ACCESSORY FINDINGS</p><p><b>type</b>: GROUP</p><p><b>required</b>: true</p><blockquote><p><b>item</b></p></blockquote><blockquote><p><b>item</b></p></blockquote></blockquote></div>"
  ];
  fhir:Questionnaire.url [ fhir:value "http://hl7.org/fhir/us/sdc/Questionnaire/questionnaire-sdc-profile-example-cap"];
  fhir:Questionnaire.title [ fhir:value "(Ask Richard)"];
  fhir:Questionnaire.status [ fhir:value "active"];
  fhir:Questionnaire.item [
     fhir:index 0;
     fhir:Questionnaire.item.linkId [ fhir:value "1" ];
     fhir:Questionnaire.item.text [ fhir:value "MARGINS" ];
     fhir:Questionnaire.item.type [ fhir:value "group" ];
     fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ];
     fhir:Questionnaire.item.item [
       fhir:index 0;
       fhir:Questionnaire.item.linkId [ fhir:value "1.1" ];
       fhir:Questionnaire.item.text [ fhir:value "Status of surgical margin involvement by tumor (observable entity)" ];
       fhir:Questionnaire.item.type [ fhir:value "choice" ];
       fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ];
       fhir:Questionnaire.item.option [
         fhir:index 0;
         fhir:Questionnaire.item.option.valueCoding [
           fhir:Coding.code [ fhir:value "M1" ];
           fhir:Coding.display [ fhir:value "Margins univolved by tumor" ]         ]       ], [
         fhir:index 1;
         fhir:Questionnaire.item.option.valueCoding [
           fhir:Coding.code [ fhir:value "M2" ];
           fhir:Coding.display [ fhir:value "Margin(s) involved by tumor" ]         ]       ], [
         fhir:index 2;
         fhir:Questionnaire.item.option.valueCoding [
           fhir:Coding.code [ fhir:value "M3" ];
           fhir:Coding.display [ fhir:value "Cannot be determined" ]         ]       ], [
         fhir:index 3;
         fhir:Questionnaire.item.option.valueCoding [
           fhir:Coding.code [ fhir:value "M4" ];
           fhir:Coding.display [ fhir:value "Not applicable" ]         ]       ];
       fhir:Questionnaire.item.item [
         fhir:index 0;
         fhir:Questionnaire.item.linkId [ fhir:value "1.1.1" ];
         fhir:Questionnaire.item.type [ fhir:value "group" ];
         fhir:Questionnaire.item.enableWhen [
           fhir:index 0;
           fhir:Questionnaire.item.enableWhen.question [ fhir:value "1.1" ];
           fhir:Questionnaire.item.enableWhen.answerCoding [
             fhir:Coding.code [ fhir:value "M1" ]           ]         ];
         fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ];
         fhir:Questionnaire.item.item [
           fhir:index 0;
           fhir:Questionnaire.item.linkId [ fhir:value "1.1.1.1" ];
           fhir:Questionnaire.item.text [ fhir:value "Distance from Closest Margin" ];
           fhir:Questionnaire.item.type [ fhir:value "choice" ];
           fhir:Questionnaire.item.option [
             fhir:index 0;
             fhir:Questionnaire.item.option.valueCoding [
               fhir:Coding.code [ fhir:value "D1" ];
               fhir:Coding.display [ fhir:value "Specify (mm)" ]             ]           ], [
             fhir:index 1;
             fhir:Questionnaire.item.option.valueCoding [
               fhir:Coding.code [ fhir:value "D2" ];
               fhir:Coding.display [ fhir:value "Cannot be assessed (explain)" ]             ]           ];
           fhir:Questionnaire.item.item [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/minValue" ];
               fhir:Extension.valueDecimal [ fhir:value "0.01"^^xsd:decimal ]             ], [
               fhir:index 1;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/maxValue" ];
               fhir:Extension.valueDecimal [ fhir:value "1000"^^xsd:decimal ]             ], [
               fhir:index 2;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces" ];
               fhir:Extension.valueInteger [ fhir:value "2"^^xsd:integer ]             ];
             fhir:Questionnaire.item.linkId [ fhir:value "1.1.1.1.1.1" ];
             fhir:Questionnaire.item.text [ fhir:value "Specify (mm)" ];
             fhir:Questionnaire.item.type [ fhir:value "decimal" ];
             fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ]           ], [
             fhir:index 1;
             fhir:Questionnaire.item.linkId [ fhir:value "1.1.1.1.2.1" ];
             fhir:Questionnaire.item.text [ fhir:value "Cannot be assessed (explain)" ];
             fhir:Questionnaire.item.type [ fhir:value "string" ];
             fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ]           ]         ], [
           fhir:index 1;
           fhir:Questionnaire.item.linkId [ fhir:value "1.1.1.2" ];
           fhir:Questionnaire.item.text [ fhir:value "Specify Margin, if possible" ];
           fhir:Questionnaire.item.type [ fhir:value "choice" ];
           fhir:Questionnaire.item.option [
             fhir:index 0;
             fhir:Questionnaire.item.option.valueCoding [
               fhir:Coding.code [ fhir:value "W1" ];
               fhir:Coding.display [ fhir:value "Specify margin" ]             ]           ], [
             fhir:index 1;
             fhir:Questionnaire.item.option.valueCoding [
               fhir:Coding.code [ fhir:value "W2" ];
               fhir:Coding.display [ fhir:value "Cannot be determined (explain)" ]             ]           ];
           fhir:Questionnaire.item.item [
             fhir:index 0;
             fhir:Questionnaire.item.linkId [ fhir:value "1.1.1.2.1.1" ];
             fhir:Questionnaire.item.text [ fhir:value "Specify margin" ];
             fhir:Questionnaire.item.type [ fhir:value "string" ];
             fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ]           ], [
             fhir:index 1;
             fhir:Questionnaire.item.linkId [ fhir:value "1.1.1.2.2.1" ];
             fhir:Questionnaire.item.text [ fhir:value "Cannot be determined (explain)" ];
             fhir:Questionnaire.item.type [ fhir:value "string" ];
             fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ]           ]         ]       ], [
         fhir:index 1;
         fhir:Questionnaire.item.linkId [ fhir:value "1.1.2.1" ];
         fhir:Questionnaire.item.text [ fhir:value "Specify Margin(s), if possible" ];
         fhir:Questionnaire.item.type [ fhir:value "choice" ];
         fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ];
         fhir:Questionnaire.item.option [
           fhir:index 0;
           fhir:Questionnaire.item.option.valueCoding [
             fhir:Coding.code [ fhir:value "I1" ];
             fhir:Coding.display [ fhir:value "Specify margin(s)" ]           ]         ], [
           fhir:index 1;
           fhir:Questionnaire.item.option.valueCoding [
             fhir:Coding.code [ fhir:value "I2" ];
             fhir:Coding.display [ fhir:value "Cannot be determined (explain)" ]           ]         ];
         fhir:Questionnaire.item.item [
           fhir:index 0;
           fhir:Questionnaire.item.linkId [ fhir:value "1.1.2.1.1.1" ];
           fhir:Questionnaire.item.text [ fhir:value "Specify margin(s)" ];
           fhir:Questionnaire.item.type [ fhir:value "string" ];
           fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ]         ], [
           fhir:index 1;
           fhir:Questionnaire.item.linkId [ fhir:value "1.1.2.1.2.1" ];
           fhir:Questionnaire.item.text [ fhir:value "Cannot be determined (explain)" ];
           fhir:Questionnaire.item.type [ fhir:value "string" ];
           fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ]         ]       ], [
         fhir:index 2;
         fhir:Questionnaire.item.linkId [ fhir:value "1.1.3.1" ];
         fhir:Questionnaire.item.text [ fhir:value "Cannot be determined" ];
         fhir:Questionnaire.item.type [ fhir:value "string" ];
         fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ]       ], [
         fhir:index 3;
         fhir:Questionnaire.item.linkId [ fhir:value "1.1.4.1" ];
         fhir:Questionnaire.item.text [ fhir:value "Not Applicable" ];
         fhir:Questionnaire.item.type [ fhir:value "string" ];
         fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ]       ]     ]
  ], [
     fhir:index 1;
     fhir:Questionnaire.item.linkId [ fhir:value "2" ];
     fhir:Questionnaire.item.text [ fhir:value "ACCESSORY FINDINGS" ];
     fhir:Questionnaire.item.type [ fhir:value "group" ];
     fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ];
     fhir:Questionnaire.item.item [
       fhir:index 0;
       fhir:Questionnaire.item.linkId [ fhir:value "2.1" ];
       fhir:Questionnaire.item.text [ fhir:value "Treatment Effect (applicable to carcinomas treated with neoadjuvant therapy)" ];
       fhir:Questionnaire.item.type [ fhir:value "choice" ];
       fhir:Questionnaire.item.option [
         fhir:index 0;
         fhir:Questionnaire.item.option.valueCoding [
           fhir:Coding.code [ fhir:value "E1" ];
           fhir:Coding.display [ fhir:value "Not identified" ]         ]       ], [
         fhir:index 1;
         fhir:Questionnaire.item.option.valueCoding [
           fhir:Coding.code [ fhir:value "E2" ];
           fhir:Coding.display [ fhir:value "Present (specify)" ]         ]       ], [
         fhir:index 2;
         fhir:Questionnaire.item.option.valueCoding [
           fhir:Coding.code [ fhir:value "E3" ];
           fhir:Coding.display [ fhir:value "Indeterminate" ]         ]       ];
       fhir:Questionnaire.item.item [
         fhir:index 0;
         fhir:Questionnaire.item.linkId [ fhir:value "2.1.1.1" ];
         fhir:Questionnaire.item.text [ fhir:value "Not identified" ];
         fhir:Questionnaire.item.type [ fhir:value "string" ];
         fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ]       ], [
         fhir:index 1;
         fhir:Questionnaire.item.linkId [ fhir:value "2.1.2.1" ];
         fhir:Questionnaire.item.text [ fhir:value "Present (specify)" ];
         fhir:Questionnaire.item.type [ fhir:value "string" ];
         fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ]       ], [
         fhir:index 2;
         fhir:Questionnaire.item.linkId [ fhir:value "2.1.3.1" ];
         fhir:Questionnaire.item.text [ fhir:value "Indeterminate" ];
         fhir:Questionnaire.item.type [ fhir:value "string" ];
         fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ]       ]     ], [
       fhir:index 1;
       fhir:Questionnaire.item.linkId [ fhir:value "2.2" ];
       fhir:Questionnaire.item.text [ fhir:value "Tumor Description" ];
       fhir:Questionnaire.item.type [ fhir:value "choice" ];
       fhir:Questionnaire.item.repeats [ fhir:value "true"^^xsd:boolean ];
       fhir:Questionnaire.item.option [
         fhir:index 0;
         fhir:Questionnaire.item.option.valueCoding [
           fhir:Coding.code [ fhir:value "U1" ];
           fhir:Coding.display [ fhir:value "Hemorrhagic" ]         ]       ], [
         fhir:index 1;
         fhir:Questionnaire.item.option.valueCoding [
           fhir:Coding.code [ fhir:value "U2" ];
           fhir:Coding.display [ fhir:value "Necrotic" ]         ]       ], [
         fhir:index 2;
         fhir:Questionnaire.item.option.valueCoding [
           fhir:Coding.code [ fhir:value "U3" ];
           fhir:Coding.display [ fhir:value "Invasion" ]         ]       ], [
         fhir:index 3;
         fhir:Questionnaire.item.option.valueCoding [
           fhir:Coding.code [ fhir:value "U4" ];
           fhir:Coding.display [ fhir:value "Other (specify)" ]         ]       ];
       fhir:Questionnaire.item.item [
         fhir:index 0;
         fhir:Questionnaire.item.linkId [ fhir:value "2.2.1.1" ];
         fhir:Questionnaire.item.text [ fhir:value "??" ];
         fhir:Questionnaire.item.type [ fhir:value "choice" ];
         fhir:Questionnaire.item.repeats [ fhir:value "true"^^xsd:boolean ];
         fhir:Questionnaire.item.option [
           fhir:index 0;
           fhir:Questionnaire.item.option.valueCoding [
             fhir:Coding.code [ fhir:value "V1" ];
             fhir:Coding.display [ fhir:value "Capsule" ]           ]         ], [
           fhir:index 1;
           fhir:Questionnaire.item.option.valueCoding [
             fhir:Coding.code [ fhir:value "V2" ];
             fhir:Coding.display [ fhir:value "Vessels" ]           ]         ], [
           fhir:index 2;
           fhir:Questionnaire.item.option.valueCoding [
             fhir:Coding.code [ fhir:value "V3" ];
             fhir:Coding.display [ fhir:value "Extra-adrenal (specify)" ]           ]         ];
         fhir:Questionnaire.item.item [
           fhir:index 0;
           fhir:Questionnaire.item.linkId [ fhir:value "2.2.1.1.1.1" ];
           fhir:Questionnaire.item.text [ fhir:value "Extra-adrenal (specify)" ];
           fhir:Questionnaire.item.type [ fhir:value "string" ];
           fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ]         ]       ], [
         fhir:index 1;
         fhir:Questionnaire.item.linkId [ fhir:value "2.2.2.1" ];
         fhir:Questionnaire.item.text [ fhir:value "Other (specify)" ];
         fhir:Questionnaire.item.type [ fhir:value "string" ];
         fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ]       ]     ]
  ].

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

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