Structured Data Capture
4.0.0-ci-build - STU 4 CI-build International flag

Structured Data Capture, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 4.0.0-ci-build built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/sdc/ and changes regularly. See the Directory of published versions

: Task-based solicitation example

Page standards status: Informative

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 -------------------------------------------------------------------

<http://hl7.org/fhir/Task/example> a fhir:Task ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "example"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-task" ;
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-task>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Task example</b></p><a name=\"example\"> </a><a name=\"hcexample\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-sdc-task.html\">Task Questionnaire</a></p></div><p><b>status</b>: Completed</p><p><b>intent</b>: order</p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/sdc/CodeSystem/temp complete-questionnaire}\">Complete Questionnaire</span></p><p><b>for</b>: <a href=\"http://example.org/fhir/Patient/proband\">Annie Proband</a></p><p><b>authoredOn</b>: 2021-09-06</p><p><b>requester</b>: <a href=\"http://hl7.org/fhir/R4/practitionerrole-example.html\">Dr. Adam Careful, Acme Hospital</a></p><p><b>owner</b>: <a href=\"http://example.org/fhir/Patient/proband\">Annie Proband</a></p><p><b>reasonCode</b>: <span title=\"Codes:\">Pre-genomic analysis family history</span></p><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/sdc/CodeSystem/temp questionnaire}\">Questionnaire</span></p><p><b>value</b>: <a href=\"Questionnaire-questionnaire-sdc-profile-example-ussg-fht.html\">US Surgeon General - Family Health Portrait</a></p></blockquote><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/sdc/CodeSystem/temp response-endpoint}\">Response Endpoint</span></p><p><b>value</b>: <a href=\"http://example.org/someplace/QuestionnaireResponse\">http://example.org/someplace/QuestionnaireResponse</a></p></blockquote><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/sdc/CodeSystem/temp response-endpoint}\">Response Endpoint</span></p><p><b>value</b>: <a href=\"http://example.org/some-other-place/Questionnaire/$process-response\">http://example.org/some-other-place/Questionnaire/$process-response</a></p></blockquote><h3>Outputs</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://hl7.org/fhir/uv/sdc/CodeSystem/temp questionnaire-response}\">Questionnaire Response</span></td><td><a href=\"QuestionnaireResponse-questionnaireresponse-sdc-example-ussg-fht-answers.html\">Response to Questionnaire '-&gt;US Surgeon General - Family Health Portrait' about '-&gt;http://example.org/fhir/Patient/proband'</a></td></tr></table></div>"
  ] ;
  fhir:Task.status [ fhir:value "completed"] ;
  fhir:Task.intent [ fhir:value "order"] ;
  fhir:Task.code [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/uv/sdc/CodeSystem/temp" ] ;
       fhir:Coding.code [ fhir:value "complete-questionnaire" ]
     ]
  ] ;
  fhir:Task.for [
     fhir:link <http://example.org/fhir/Patient/proband> ;
     fhir:Reference.reference [ fhir:value "http://example.org/fhir/Patient/proband" ] ;
     fhir:Reference.display [ fhir:value "Annie Proband" ]
  ] ;
  fhir:Task.authoredOn [ fhir:value "2021-09-06"^^xsd:date] ;
  fhir:Task.requester [
     fhir:link <http://hl7.org/fhir/PractitionerRole/example> ;
     fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/PractitionerRole/example" ] ;
     fhir:Reference.display [ fhir:value "Dr. Adam Careful, Acme Hospital" ]
  ] ;
  fhir:Task.owner [
     fhir:link <http://example.org/fhir/Patient/proband> ;
     fhir:Reference.reference [ fhir:value "http://example.org/fhir/Patient/proband" ] ;
     fhir:Reference.display [ fhir:value "Annie Proband" ]
  ] ;
  fhir:Task.reasonCode [
     fhir:CodeableConcept.text [ fhir:value "Pre-genomic analysis family history" ]
  ] ;
  fhir:Task.input [
     fhir:index -1 ;
     fhir:Task.input.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/uv/sdc/CodeSystem/temp" ] ;
         fhir:Coding.code [ fhir:value "questionnaire" ]
       ]
     ] ;
     fhir:Task.input.valueCanonical [
       fhir:value "http://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-profile-example-ussg-fht" ;
       fhir:link <http://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-profile-example-ussg-fht>
     ]
  ], [
     fhir:index -1 ;
     fhir:Task.input.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/uv/sdc/CodeSystem/temp" ] ;
         fhir:Coding.code [ fhir:value "response-endpoint" ]
       ]
     ] ;
     fhir:Task.input.valueUrl [ fhir:value "http://example.org/someplace/QuestionnaireResponse" ]
  ], [
     fhir:index -1 ;
     fhir:Task.input.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/uv/sdc/CodeSystem/temp" ] ;
         fhir:Coding.code [ fhir:value "response-endpoint" ]
       ]
     ] ;
     fhir:Task.input.valueUrl [ fhir:value "http://example.org/some-other-place/Questionnaire/$process-response" ]
  ] ;
  fhir:Task.output [
     fhir:index -1 ;
     fhir:Task.output.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/uv/sdc/CodeSystem/temp" ] ;
         fhir:Coding.code [ fhir:value "questionnaire-response" ]
       ]
     ] ;
     fhir:Task.output.valueReference [
       fhir:link <http://hl7.org/fhir/QuestionnaireResponse/questionnaireresponse-sdc-example-ussg-fht-answers> ;
       fhir:Reference.reference [ fhir:value "QuestionnaireResponse/questionnaireresponse-sdc-example-ussg-fht-answers" ]
     ]
  ] .

<http://hl7.org/fhir/PractitionerRole/example> a fhir:PractitionerRole .

<http://hl7.org/fhir/QuestionnaireResponse/questionnaireresponse-sdc-example-ussg-fht-answers> a fhir:QuestionnaireResponse .

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

<http://hl7.org/fhir/Task/example.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/Task/example.ttl> .