Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Example ValueSet/yesnodontknow (Turtle)

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

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

Yes/No/Don't know, for capturing a common answer set in questionnaires

@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:ValueSet ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "yesnodontknow"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>This value set contains 3 concepts</p>\n      <table class=\"codes\">\n        <tr>\n          <td style=\"white-space:nowrap\">\n            <b>Code</b>\n          </td>\n          <td>\n            <b>System</b>\n          </td>\n          <td>\n            <b>Display</b>\n          </td>\n          <td>\n            <b>Definition</b>\n          </td>\n        </tr>\n        <tr>\n          <td style=\"white-space:nowrap\">\n            <a name=\"http---terminology.hl7.org-CodeSystem-v2-0532-Y\"> </a>  \n            <a href=\"http://terminology.hl7.org/5.1.0/CodeSystem-v2-0532.html#v2-0532-Y\">Y</a>\n          </td>\n          <td>http://terminology.hl7.org/CodeSystem/v2-0532</td>\n          <td>Yes</td>\n          <td>\n            <div>\n              <p>Yes</p>\n\n            </div>\n          </td>\n        </tr>\n        <tr>\n          <td style=\"white-space:nowrap\">\n            <a name=\"http---terminology.hl7.org-CodeSystem-v2-0532-N\"> </a>  \n            <a href=\"http://terminology.hl7.org/5.1.0/CodeSystem-v2-0532.html#v2-0532-N\">N</a>\n          </td>\n          <td>http://terminology.hl7.org/CodeSystem/v2-0532</td>\n          <td>No</td>\n          <td>\n            <div>\n              <p>No</p>\n\n            </div>\n          </td>\n        </tr>\n        <tr>\n          <td style=\"white-space:nowrap\">\n            <a name=\"http---terminology.hl7.org-CodeSystem-data-absent-reason-asked-unknown\"> </a>  \n            <a href=\"http://terminology.hl7.org/5.1.0/CodeSystem-data-absent-reason.html#data-absent-reason-asked-unknown\">asked-unknown</a>\n          </td>\n          <td>http://terminology.hl7.org/CodeSystem/data-absent-reason</td>\n          <td>Don't know</td>\n          <td>\n            <div>\n              <p>The source was asked but does not know the value.</p>\n\n            </div>\n          </td>\n        </tr>\n      </table>\n    </div>"
  ] ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/ValueSet/yesnodontknow"^^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.3.3149" ]
  ] ) ; # 
  fhir:version [ fhir:v "5.0.0"] ; # 
  fhir:name [ fhir:v "YesNoDontKnow"] ; # 
  fhir:title [ fhir:v "Yes/No/Don't Know"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:description [ fhir:v "For Capturing simple yes-no-don't know answers"] ; # 
  fhir:compose [
     fhir:include ( [
       fhir:valueSet ( [
         fhir:v "http://terminology.hl7.org/ValueSet/v2-0136"^^xsd:anyURI ;
         fhir:link <http://terminology.hl7.org/ValueSet/v2-0136>
       ] )
     ] [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/data-absent-reason"^^xsd:anyURI ] ;
       fhir:concept ( [
         fhir:code [ fhir:v "asked-unknown" ] ;
         fhir:display [ fhir:v "Don't know" ]
       ] )
     ] )
  ] ; # 
  fhir:expansion [
     fhir:identifier [ fhir:v "urn:uuid:bf99fe50-2c2b-41ad-bd63-bee6919810b4"^^xsd:anyURI ] ;
     fhir:timestamp [ fhir:v "2015-07-14T10:00:00Z"^^xsd:dateTime ] ;
     fhir:contains ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0532"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "Y" ] ;
       fhir:display [ fhir:v "Yes" ]
     ] [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0532"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "N" ] ;
       fhir:display [ fhir:v "No" ]
     ] [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/data-absent-reason"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "asked-unknown" ] ;
       fhir:display [ fhir:v "Don't know" ]
     ] )
  ]] . # 

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


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.