FHIR Release 3 (STU) CI-Build

This page is part of the FHIR Specification (v3.0.2: STU 3). The current version which supercedes this version is 5.0.0 . For a full list Continuous Integration Build of available versions, see FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions . Page versions: R5 R4B R4 R3

Valueset-example-yesnodontknow.ttl

Example ValueSet/yesnodontknow (Turtle)

Maturity Level : N/A
Responsible Owner: Vocabulary Terminology Infrastructure Work Group Ballot Standards Status : Informative Compartments : Not linked to any No defined compartments

Raw Turtle , JSON-LD (+ 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 rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/ValueSet/yesnodontknow> a fhir:ValueSet;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "yesnodontknow"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <h3>Value Set Contents</h3>\n      <p>This value set contains 3 concepts</p>\n      <table class=\"codes\">\n        <tr>\n          <td>\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>\n            <a name=\"http---hl7.org-fhir-v2-0136-Y\"> </a>\n            <a href=\"v2/0136/index.html#v2-0136-Y\">Y</a>\n          </td>\n          <td>http://hl7.org/fhir/v2/0136</td>\n          <td>Yes</td>\n          <td/>\n        </tr>\n        <tr>\n          <td>\n            <a name=\"http---hl7.org-fhir-v2-0136-N\"> </a>\n            <a href=\"v2/0136/index.html#v2-0136-N\">N</a>\n          </td>\n          <td>http://hl7.org/fhir/v2/0136</td>\n          <td>No</td>\n          <td/>\n        </tr>\n        <tr>\n          <td>\n            <a name=\"http---hl7.org-fhir-data-absent-reason-asked\"> </a>\n            <a href=\"codesystem-data-absent-reason.html#data-absent-reason-asked\">asked</a>\n          </td>\n          <td>http://hl7.org/fhir/data-absent-reason</td>\n          <td>Don't know</td>\n          <td>The source human does not know the value.</td>\n        </tr>\n      </table>\n    </div>"
  ];
  fhir:ValueSet.url [ fhir:value "http://hl7.org/fhir/ValueSet/yesnodontknow"];
  fhir:ValueSet.name [ fhir:value "Yes/No/Don't Know"];
  fhir:ValueSet.status [ fhir:value "draft"];
  fhir:ValueSet.description [ fhir:value "For Capturing simple yes-no-don't know answers"];
  fhir:ValueSet.compose [
     fhir:ValueSet.compose.include [
       fhir:index 0;
       fhir:ValueSet.compose.include.valueSet [
         fhir:value "http://hl7.org/fhir/ValueSet/v2-0136";
         fhir:index 0
       ]
     ], [
       fhir:index 1;
       fhir:ValueSet.compose.include.system [ fhir:value "http://hl7.org/fhir/data-absent-reason" ];
       fhir:ValueSet.compose.include.concept [
         fhir:index 0;
         fhir:ValueSet.compose.include.concept.code [ fhir:value "asked" ];
         fhir:ValueSet.compose.include.concept.display [ fhir:value "Don't know" ]
       ]
     ]
  ];
  fhir:ValueSet.expansion [
     fhir:ValueSet.expansion.identifier [ fhir:value "urn:uuid:bf99fe50-2c2b-41ad-bd63-bee6919810b4" ];
     fhir:ValueSet.expansion.timestamp [ fhir:value "2015-07-14T10:00:00Z"^^xsd:dateTime ];
     fhir:ValueSet.expansion.contains [
       fhir:index 0;
       fhir:ValueSet.expansion.contains.system [ fhir:value "http://hl7.org/fhir/v2/0136" ];
       fhir:ValueSet.expansion.contains.code [ fhir:value "Y" ];
       fhir:ValueSet.expansion.contains.display [ fhir:value "Yes" ]
     ], [
       fhir:index 1;
       fhir:ValueSet.expansion.contains.system [ fhir:value "http://hl7.org/fhir/v2/0136" ];
       fhir:ValueSet.expansion.contains.code [ fhir:value "N" ];
       fhir:ValueSet.expansion.contains.display [ fhir:value "No" ]
     ], [
       fhir:index 2;
       fhir:ValueSet.expansion.contains.system [ fhir:value "http://hl7.org/fhir/data-absent-reason" ];
       fhir:ValueSet.expansion.contains.code [ fhir:value "asked" ];
       fhir:ValueSet.expansion.contains.display [ fhir:value "Don't know" ]

<http://hl7.org/fhir/ValueSet/yesnodontknow> a fhir:ValueSet ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "yesnodontknow"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p class=\"res-header-id\">\n        <b>Generated Narrative: ValueSet yesnodontknow</b>\n      </p>\n      <a name=\"yesnodontknow\"> </a>\n      <a name=\"hcyesnodontknow\"> </a>\n      <p>This value set expansion contains 3 concepts.</p>\n      <table class=\"codes\">\n        <tr>\n          <td>\n            <b>System</b>\n          </td>\n          <td style=\"white-space:nowrap\">\n            <b>Code</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>\n            <a name=\"yesnodontknow-http://terminology.hl7.org/CodeSystem/v2-0532-Y\"> </a>\n            <code>http://terminology.hl7.org/CodeSystem/v2-0532</code>\n          </td>\n          <td style=\"white-space:nowrap\">  \n            <a href=\"http://terminology.hl7.org/7.0.1/CodeSystem-v2-0532.html#v2-0532-Y\">Y</a>\n          </td>\n          <td>Yes</td>\n          <td>Yes</td>\n        </tr>\n        <tr>\n          <td>\n            <a name=\"yesnodontknow-http://terminology.hl7.org/CodeSystem/v2-0532-N\"> </a>\n            <code>http://terminology.hl7.org/CodeSystem/v2-0532</code>\n          </td>\n          <td style=\"white-space:nowrap\">  \n            <a href=\"http://terminology.hl7.org/7.0.1/CodeSystem-v2-0532.html#v2-0532-N\">N</a>\n          </td>\n          <td>No</td>\n          <td>No</td>\n        </tr>\n        <tr>\n          <td>\n            <a name=\"yesnodontknow-http://terminology.hl7.org/CodeSystem/data-absent-reason-asked-unknown\"> </a>\n            <code>http://terminology.hl7.org/CodeSystem/data-absent-reason</code>\n          </td>\n          <td style=\"white-space:nowrap\">  \n            <a href=\"http://terminology.hl7.org/7.0.1/CodeSystem-data-absent-reason.html#data-absent-reason-asked-unknown\">asked-unknown</a>\n          </td>\n          <td>Don't know</td>\n          <td>The source was asked but does not know the value.</td>\n        </tr>\n      </table>\n    </div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "vocab"

     ]
  ] .

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

<http://hl7.org/fhir/ValueSet/yesnodontknow.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://hl7.org/fhir/STU3/ValueSet/yesnodontknow.ttl> .

  ] ) ; # 
  fhir:url [
     fhir:v "http://hl7.org/fhir/ValueSet/yesnodontknow"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/ValueSet/yesnodontknow>
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.3.3149" ]
  ] ) ; # 
  fhir:version [ fhir:v "6.0.0-ballot3"] ; # 
  fhir:name [ fhir:v "YesNoDontKnow"] ; # 
  fhir:title [ fhir:v "Yes/No/Don't Know"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v true] ; # 
  fhir:publisher [ fhir:v "HL7 International / Terminology Infrastructure"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/Vocab" ]
     ] )
  ] ) ; # 
  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:l <http://terminology.hl7.org/ValueSet/v2-0136>
       ] )
     ] [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/data-absent-reason"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/data-absent-reason>
       ] ;
       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:l <urn:uuid:bf99fe50-2c2b-41ad-bd63-bee6919810b4>
     ] ;
     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:l <http://terminology.hl7.org/CodeSystem/v2-0532>
       ] ;
       fhir:code [ fhir:v "Y" ] ;
       fhir:display [ fhir:v "Yes" ]
     ] [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v2-0532"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v2-0532>
       ] ;
       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:l <http://terminology.hl7.org/CodeSystem/data-absent-reason>
       ] ;
       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.