Release 5 Draft Ballot

This page is part of the FHIR Specification (v4.6.0: R5 Draft Ballot). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Valueset-example-yesnodontknow.ttl

Vocabulary Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any 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 -------------------------------------------------------------------

<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      <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-0136-Y\"> </a>Y\n          </td>\n          <td>http://terminology.hl7.org/CodeSystem/v2-0136</td>\n          <td>Yes</td>\n          <td/>\n        </tr>\n        <tr>\n          <td style=\"white-space:nowrap\">\n            <a name=\"http---terminology.hl7.org-CodeSystem-v2-0136-N\"> </a>N\n          </td>\n          <td>http://terminology.hl7.org/CodeSystem/v2-0136</td>\n          <td>No</td>\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=\"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>The source was asked but 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.version [ fhir:value "4.6.0"];
  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://terminology.hl7.org/ValueSet/v2-0136";
         fhir:index 0;
         fhir:link <http://terminology.hl7.org/ValueSet/v2-0136>
       ]
     ], [
       fhir:index 1;
       fhir:ValueSet.compose.include.system [ fhir:value "http://terminology.hl7.org/CodeSystem/data-absent-reason" ];
       fhir:ValueSet.compose.include.concept [
         fhir:index 0;
         fhir:ValueSet.compose.include.concept.code [ fhir:value "asked-unknown" ];
         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://terminology.hl7.org/CodeSystem/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://terminology.hl7.org/CodeSystem/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://terminology.hl7.org/CodeSystem/data-absent-reason" ];
       fhir:ValueSet.expansion.contains.code [ fhir:value "asked-unknown" ];
       fhir:ValueSet.expansion.contains.display [ fhir:value "Don't know" ]
     ]
  ] .

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

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

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


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.