FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example Questionnaire/zika-virus-exposure-assessment (Turtle)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification)

Example instrument for assessing Zika virus exposure potential

@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:id [ fhir:v "zika-virus-exposure-assessment"] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Questionnaire</b><a name=\"zika-virus-exposure-assessment\"> </a><a name=\"hczika-virus-exposure-assessment\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Questionnaire &quot;zika-virus-exposure-assessment&quot; </p></div><p><b>StructureDefinition Work Group</b>: fhir</p><p><b>url</b>: <code>http://example.org/Questionnaire/zika-virus-exposure-assessment</code></p><p><b>identifier</b>: <a href=\"http://terminology.hl7.org/5.5.0/NamingSystem-uri.html\" title=\"As defined by RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt)(with many schemes defined in many RFCs). For OIDs and UUIDs, use the URN form (urn:oid:(note: lowercase) and urn:uuid:). See http://www.ietf.org/rfc/rfc3001.txt and http://www.ietf.org/rfc/rfc4122.txt \r\n\r\nThis oid is used as an identifier II.root to indicate the the extension is an absolute URI (technically, an IRI). Typically, this is used for OIDs and GUIDs. Note that when this OID is used with OIDs and GUIDs, the II.extension should start with urn:oid or urn:uuid: \r\n\r\nNote that this OID is created to aid with interconversion between CDA and FHIR - FHIR uses urn:ietf:rfc:3986 as equivalent to this OID. URIs as identifiers appear more commonly in FHIR.\r\n\r\nThis OID may also be used in CD.codeSystem.\">URI</a>/urn:oid:2.16.840.1.113883.4.642.20.1</p><p><b>name</b>: ExampleZikaVirusExposureAssessment</p><p><b>title</b>: Example Zika Virus Exposure Assessment</p><p><b>status</b>: draft</p><p><b>subjectType</b>: Patient</p><p><b>date</b>: 2016-11-14</p><p><b>publisher</b>: HL7 International / FHIR Infrastructure</p><p><b>contact</b>: </p><p><b>description</b>: Example questionnaire to assess Zika virus exposure potential.</p><p><b>effectivePeriod</b>: 2016-11-14 --&gt; (ongoing)</p><blockquote><p><b>item</b></p><p><b>linkId</b>: 1</p><p><b>code</b>: CDE: Resident of or Frequent Traveler to Zika Area (Details: http://example.org/questionnaires code CDE: Resident of or Frequent Traveler to Zika Area = 'CDE: Resident of or Frequent Traveler to Zika Area', stated as 'null')</p><p><b>text</b>: Are you a resident of, or do you travel frequently to, an area with active Zika transmission?</p><p><b>type</b>: boolean</p></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: 2</p><p><b>code</b>: CDE: Recent Travel to Zika Area (Details: http://example.org/questionnaires code CDE: Recent Travel to Zika Area = 'CDE: Recent Travel to Zika Area', stated as 'null')</p><p><b>text</b>: Have you recently traveled to an area with active Zika transmission?</p><p><b>type</b>: boolean</p><h3>EnableWhens</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Question</b></td><td><b>Operator</b></td><td><b>Answer[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>1</td><td>=</td><td>false</td></tr></table></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: 3</p><p><b>code</b>: CDE: Time Since Returned From Travel (Details: http://example.org/questionnaires code CDE: Time Since Returned From Travel = 'CDE: Time Since Returned From Travel', stated as 'null')</p><p><b>text</b>: How long has it been since you returned?</p><p><b>type</b>: quantity</p><h3>EnableWhens</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Question</b></td><td><b>Operator</b></td><td><b>Answer[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>2</td><td>=</td><td>true</td></tr></table></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: 4</p><p><b>code</b>: CDE: Recent Sexual Encounter with Traveler to Zika Area (Details: http://example.org/questionnaires code CDE: Recent Sexual Encounter with Traveler to Zika Area = 'CDE: Recent Sexual Encounter with Traveler to Zika Area', stated as 'null')</p><p><b>text</b>: Have you recently had condomless sex with a partner that has travelled in an area with active Zika transmission?</p><p><b>type</b>: boolean</p><h3>EnableWhens</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Question</b></td><td><b>Operator</b></td><td><b>Answer[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>2</td><td>=</td><td>false</td></tr></table></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: 5</p><p><b>code</b>: CDE: Time Since Sexual Encounter (Details: http://example.org/questionnaires code CDE: Time Since Sexual Encounter = 'CDE: Time Since Sexual Encounter', stated as 'null')</p><p><b>text</b>: How long has it been since your last condomless sexual encounter?</p><p><b>type</b>: quantity</p><h3>EnableWhens</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Question</b></td><td><b>Operator</b></td><td><b>Answer[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>4</td><td>=</td><td>true</td></tr></table></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: 6</p><p><b>code</b>: CDE: Planned Travel to Zika Area (Details: http://example.org/questionnaires code CDE: Planned Travel to Zika Area = 'CDE: Planned Travel to Zika Area', stated as 'null')</p><p><b>text</b>: Do you plan to travel to an area with active Zika transmission?</p><p><b>type</b>: boolean</p><h3>EnableWhens</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Question</b></td><td><b>Operator</b></td><td><b>Answer[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>4</td><td>=</td><td>false</td></tr></table></blockquote></div>"
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "fhir" ]
  ] ) ; # 
  fhir:url [ fhir:v "http://example.org/Questionnaire/zika-virus-exposure-assessment"^^xsd:anyURI] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.20.1" ]
  ] ) ; # 
  fhir:name [ fhir:v "ExampleZikaVirusExposureAssessment"] ; # 
  fhir:title [ fhir:v "Example Zika Virus Exposure Assessment"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:subjectType ( [ fhir:v "Patient"] ) ; # 
  fhir:date [ fhir:v "2016-11-14"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Example questionnaire to assess Zika virus exposure potential."] ; # 
  fhir:effectivePeriod [
     fhir:start [ fhir:v "2016-11-14"^^xsd:date ]
  ] ; # 
  fhir:item ( [
     fhir:extension ( [
       fhir:url [ fhir:v "http://example.org/additional-information"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Attachment ;
         fhir:url [ fhir:v "http://www.cdc.gov/zika/geo/index.html"^^xsd:anyURI ] ;
         fhir:title [ fhir:v "Areas with active Zika virus transmission/exposure risk" ]
       ]
     ] ) ;
     fhir:linkId [ fhir:v "1" ] ;
     fhir:code ( [
       fhir:system [ fhir:v "http://example.org/questionnaires"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "CDE: Resident of or Frequent Traveler to Zika Area" ]
     ] ) ;
     fhir:text [ fhir:v "Are you a resident of, or do you travel frequently to, an area with active Zika transmission?" ] ;
     fhir:type [ fhir:v "boolean" ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://example.org/additional-information"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Attachment ;
         fhir:url [ fhir:v "http://www.cdc.gov/zika/geo/index.html"^^xsd:anyURI ] ;
         fhir:title [ fhir:v "Areas with active Zika virus transmission/exposure risk" ]
       ]
     ] ) ;
     fhir:linkId [ fhir:v "2" ] ;
     fhir:code ( [
       fhir:system [ fhir:v "http://example.org/questionnaires"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "CDE: Recent Travel to Zika Area" ]
     ] ) ;
     fhir:text [ fhir:v "Have you recently traveled to an area with active Zika transmission?" ] ;
     fhir:type [ fhir:v "boolean" ] ;
     fhir:enableWhen ( [
       fhir:question [ fhir:v "1" ] ;
       fhir:operator [ fhir:v "=" ] ;
       fhir:answer [ fhir:v "false"^^xsd:boolean ]
     ] )
  ] [
     fhir:linkId [ fhir:v "3" ] ;
     fhir:code ( [
       fhir:system [ fhir:v "http://example.org/questionnaires"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "CDE: Time Since Returned From Travel" ]
     ] ) ;
     fhir:text [ fhir:v "How long has it been since you returned?" ] ;
     fhir:type [ fhir:v "quantity" ] ;
     fhir:enableWhen ( [
       fhir:question [ fhir:v "2" ] ;
       fhir:operator [ fhir:v "=" ] ;
       fhir:answer [ fhir:v "true"^^xsd:boolean ]
     ] )
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://example.org/additional-information"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Attachment ;
         fhir:url [ fhir:v "http://www.cdc.gov/zika/geo/index.html"^^xsd:anyURI ] ;
         fhir:title [ fhir:v "Areas with active Zika virus transmission/exposure risk" ]
       ]
     ] ) ;
     fhir:linkId [ fhir:v "4" ] ;
     fhir:code ( [
       fhir:system [ fhir:v "http://example.org/questionnaires"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "CDE: Recent Sexual Encounter with Traveler to Zika Area" ]
     ] ) ;
     fhir:text [ fhir:v "Have you recently had condomless sex with a partner that has travelled in an area with active Zika transmission?" ] ;
     fhir:type [ fhir:v "boolean" ] ;
     fhir:enableWhen ( [
       fhir:question [ fhir:v "2" ] ;
       fhir:operator [ fhir:v "=" ] ;
       fhir:answer [ fhir:v "false"^^xsd:boolean ]
     ] )
  ] [
     fhir:linkId [ fhir:v "5" ] ;
     fhir:code ( [
       fhir:system [ fhir:v "http://example.org/questionnaires"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "CDE: Time Since Sexual Encounter" ]
     ] ) ;
     fhir:text [ fhir:v "How long has it been since your last condomless sexual encounter?" ] ;
     fhir:type [ fhir:v "quantity" ] ;
     fhir:enableWhen ( [
       fhir:question [ fhir:v "4" ] ;
       fhir:operator [ fhir:v "=" ] ;
       fhir:answer [ fhir:v "true"^^xsd:boolean ]
     ] )
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://example.org/additional-information"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Attachment ;
         fhir:url [ fhir:v "http://www.cdc.gov/zika/geo/index.html"^^xsd:anyURI ] ;
         fhir:title [ fhir:v "Areas with active Zika virus transmission/exposure risk" ]
       ]
     ] ) ;
     fhir:linkId [ fhir:v "6" ] ;
     fhir:code ( [
       fhir:system [ fhir:v "http://example.org/questionnaires"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "CDE: Planned Travel to Zika Area" ]
     ] ) ;
     fhir:text [ fhir:v "Do you plan to travel to an area with active Zika transmission?" ] ;
     fhir:type [ fhir:v "boolean" ] ;
     fhir:enableWhen ( [
       fhir:question [ fhir:v "4" ] ;
       fhir:operator [ fhir:v "=" ] ;
       fhir:answer [ fhir:v "false"^^xsd:boolean ]
     ] )
  ] )] . # 

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.