Publish-box (todo)
Example Questionnaire/child-rel-demo (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Questionnaire with a variety of child item types (as used in the QuestionnaireResponse page links section)
@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 "child-rel-demo"] ; #
fhir:meta [
fhir:versionId [ fhir:v "1" ] ;
fhir:lastUpdated [ fhir:v "2023-03-03T03:05:07.9531803+00:00"^^xsd:dateTime ]
] ; #
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/child-rel-demo"^^xsd:anyURI] ; #
fhir:title [ fhir:v "Demo form on R5 spec QR page"] ; #
fhir:status [ fhir:v "draft"] ; #
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:item ( [
fhir:linkId [ fhir:v "grp1" ] ;
fhir:text [ fhir:v "grp1" ] ;
fhir:type [ fhir:v "group" ] ;
fhir:required [ fhir:v "true"^^xsd:boolean ] ;
fhir:repeats [ fhir:v "true"^^xsd:boolean ] ;
fhir:item ( [
fhir:linkId [ fhir:v "grp2" ] ;
fhir:text [ fhir:v "grp2" ] ;
fhir:type [ fhir:v "group" ] ;
fhir:item ( [
fhir:linkId [ fhir:v "Q1" ] ;
fhir:text [ fhir:v "Q1" ] ;
fhir:type [ fhir:v "string" ] ;
fhir:repeats [ fhir:v "true"^^xsd:boolean ]
] [
fhir:linkId [ fhir:v "Q2" ] ;
fhir:text [ fhir:v "Q2" ] ;
fhir:type [ fhir:v "string" ]
] )
] [
fhir:linkId [ fhir:v "Q3" ] ;
fhir:text [ fhir:v "Q3" ] ;
fhir:type [ fhir:v "string" ] ;
fhir:required [ fhir:v "true"^^xsd:boolean ] ;
fhir:repeats [ fhir:v "true"^^xsd:boolean ] ;
fhir:item ( [
fhir:linkId [ fhir:v "Q4" ] ;
fhir:text [ fhir:v "Q4" ] ;
fhir:type [ fhir:v "string" ]
] [
fhir:linkId [ fhir:v "grp3" ] ;
fhir:text [ fhir:v "grp3" ] ;
fhir:type [ fhir:v "string" ] ;
fhir:item ( [
fhir:linkId [ fhir:v "Q5" ] ;
fhir:text [ fhir:v "Q5" ] ;
fhir:type [ fhir:v "string" ]
] )
] )
] )
] )] . #
# -------------------------------------------------------------------------------------
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.