Publish-box (todo)
FHIR Infrastructure Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: No defined compartments |
Raw Turtle (+ also see Turtle/RDF Format Specification)
General questionnaire example
@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 sct: <http://snomed.info/id/> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- [a fhir:Questionnaire ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "3141"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n \n <pre>\n 1.Comorbidity?\n 1.1 Cardial Comorbidity\n 1.1.1 Angina?\n 1.1.2 MI?\n 1.2 Vascular Comorbidity?\n ...\n Histopathology\n Abdominal\n pT category?\n ...\n </pre>\n \n </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://hl7.org/fhir/Questionnaire/3141"^^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.2" ] ] ) ; # fhir:name [ fhir:v "CancerQualityForumQuestionnaire2012"] ; # fhir:title [ fhir:v "Cancer Quality Forum Questionnaire 2012"] ; # fhir:status [ fhir:v "draft"] ; # fhir:subjectType ( [ fhir:v "Patient"] ) ; # fhir:date [ fhir:v "2012-01"^^xsd:gYearMonth] ; # fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"] ; # fhir:contact ( [ fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ] ] ) ] ) ; # fhir:description [ fhir:v "Cancer Quality Forum Questionnaire 2012"] ; # fhir:item ( [ fhir:linkId [ fhir:v "1" ] ; fhir:code ( [ fhir:system [ fhir:v "http://example.org/system/code/sections"^^xsd:anyURI ] ; fhir:code [ fhir:v "COMORBIDITY" ] ] ) ; fhir:type [ fhir:v "group" ] ; fhir:item ( [ fhir:linkId [ fhir:v "1.1" ] ; fhir:code ( [ fhir:system [ fhir:v "http://example.org/system/code/questions"^^xsd:anyURI ] ; fhir:code [ fhir:v "COMORB" ] ] ) ; fhir:prefix [ fhir:v "1" ] ; fhir:type [ fhir:v "coding" ] ; fhir:answerValueSet [ fhir:v "http://hl7.org/fhir/ValueSet/yesnodontknow"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/yesnodontknow> ] ; fhir:item ( [ fhir:linkId [ fhir:v "1.1.1" ] ; fhir:code ( [ fhir:system [ fhir:v "http://example.org/system/code/sections"^^xsd:anyURI ] ; fhir:code [ fhir:v "CARDIAL" ] ] ) ; fhir:type [ fhir:v "group" ] ; fhir:enableWhen ( [ fhir:question [ fhir:v "1.1" ] ; fhir:operator [ fhir:v "=" ] ; fhir:answer [ a fhir:Coding ; fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0136"^^xsd:anyURI ] ; fhir:code [ fhir:v "Y" ] ] ] ) ; fhir:item ( [ fhir:linkId [ fhir:v "1.1.1.1" ] ; fhir:code ( [ fhir:system [ fhir:v "http://example.org/system/code/questions"^^xsd:anyURI ] ; fhir:code [ fhir:v "COMORBCAR" ] ] ) ; fhir:prefix [ fhir:v "1.1" ] ; fhir:type [ fhir:v "coding" ] ; fhir:answerValueSet [ fhir:v "http://hl7.org/fhir/ValueSet/yesnodontknow"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/yesnodontknow> ] ; fhir:item ( [ fhir:linkId [ fhir:v "1.1.1.1.1" ] ; fhir:code ( [ fhir:system [ fhir:v "http://example.org/system/code/questions"^^xsd:anyURI ] ; fhir:code [ fhir:v "COMCAR00" ] ; fhir:display [ fhir:v "Angina Pectoris" ] ] [ a sct:194828000 ; fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ; fhir:code [ fhir:v "194828000" ] ; fhir:display [ fhir:v "Angina (disorder)" ] ] ) ; fhir:prefix [ fhir:v "1.1.1" ] ; fhir:type [ fhir:v "coding" ] ; fhir:answerValueSet [ fhir:v "http://hl7.org/fhir/ValueSet/yesnodontknow"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/yesnodontknow> ] ] [ fhir:linkId [ fhir:v "1.1.1.1.2" ] ; fhir:code ( [ a sct:22298006 ; fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ; fhir:code [ fhir:v "22298006" ] ; fhir:display [ fhir:v "Myocardial infarction (disorder)" ] ] ) ; fhir:prefix [ fhir:v "1.1.2" ] ; fhir:type [ fhir:v "coding" ] ; fhir:answerValueSet [ fhir:v "http://hl7.org/fhir/ValueSet/yesnodontknow"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/yesnodontknow> ] ] ) ] [ fhir:linkId [ fhir:v "1.1.1.2" ] ; fhir:code ( [ fhir:system [ fhir:v "http://example.org/system/code/questions"^^xsd:anyURI ] ; fhir:code [ fhir:v "COMORBVAS" ] ] ) ; fhir:prefix [ fhir:v "1.2" ] ; fhir:type [ fhir:v "coding" ] ; fhir:answerValueSet [ fhir:v "http://hl7.org/fhir/ValueSet/yesnodontknow"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/yesnodontknow> ] ] ) ] ) ] ) ] [ fhir:linkId [ fhir:v "2" ] ; fhir:code ( [ fhir:system [ fhir:v "http://example.org/system/code/sections"^^xsd:anyURI ] ; fhir:code [ fhir:v "HISTOPATHOLOGY" ] ] ) ; fhir:type [ fhir:v "group" ] ; fhir:item ( [ fhir:linkId [ fhir:v "2.1" ] ; fhir:code ( [ fhir:system [ fhir:v "http://example.org/system/code/sections"^^xsd:anyURI ] ; fhir:code [ fhir:v "ABDOMINAL" ] ] ) ; fhir:type [ fhir:v "group" ] ; fhir:item ( [ fhir:linkId [ fhir:v "2.1.2" ] ; fhir:code ( [ fhir:system [ fhir:v "http://example.org/system/code/questions"^^xsd:anyURI ] ; fhir:code [ fhir:v "STADPT" ] ; fhir:display [ fhir:v "pT category" ] ] ) ; fhir:type [ fhir:v "coding" ] ] ) ] ) ] )] . # # -------------------------------------------------------------------------------------
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.
FHIR ®© HL7.org 2011+. FHIR R6 hl7.fhir.core#6.0.0-ballot2 generated on Mon, Aug 12, 2024 16:59+0800.
Links: Search |
Version History |
Contents |
Glossary |
QA |
Compare to R5 |
|
Propose a change