STU 3 Candidate

This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). 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

Raw Turtle, JSON-LD

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 xs: <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: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.import [
       fhir:value "http://hl7.org/fhir/ValueSet/v2-0136";
       fhir:index 0     ];
     fhir:ValueSet.compose.include [
       fhir:index 0;
       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"^^xs: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:ValueSet.expansion.contains [
       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:ValueSet.expansion.contains [
       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" ]     ]
  ].

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


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.