Release 5 FHIR CI-Build

This page is part of the Continuous Integration Build of FHIR Specification (v5.0.0: R5 - STU ). This is the current published version in it's permanent home (it will always (will be available incorrect/inconsistent at this URL). For a full list of available versions, see times).
See the Directory of published versions . Page versions: R5 R4B R4

Example ValueSet/use-context (Turtle)

Maturity Level : N/A
Responsible Owner: Terminology Infrastructure Work Group Standards Status : Informative

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

Definition for Value SetContext of Use ValueSet

@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 -------------------------------------------------------------------

[] a fhir:ValueSet ;
  fhir:id [ fhir:v "use-context"] ;

<http://hl7.org/fhir/ValueSet/use-context> a fhir:ValueSet ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "use-context"] ; # 

  fhir:meta [
     fhir:lastUpdated [ fhir:v "2023-03-26T15:21:02.749+11:00" ] ;
     fhir:profile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/shareablevalueset" ] )
  ] ;

     fhir:lastUpdated [ fhir:v "2025-11-17T19:23:40.261+00:00"^^xsd:dateTime ]
  ] ; # 

  fhir:text [
     fhir:status [ fhir:v "generated" ]
  ] ;

     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ValueSet use-context</b></p><a name=\"use-context\"> </a><a name=\"hcuse-context\"> </a><p>This value set includes codes based on the following rules:</p><ul><li>Import all the codes that are contained in <a href=\"http://terminology.hl7.org/7.0.0/ValueSet-v2-0265.html\">hl7VS-specialtyType</a></li><li>Include codes from<a href=\"http://www.snomed.org/\"><code>http://snomed.info/sct</code></a><span title=\"Version is not explicity stated. No matching Code System found\"> version Not Stated (use latest from terminology server)</span> where concept  is-a 394733009 (Medical specialties)</li><li>Include all codes defined in <code>urn:iso:std:iso:3166</code><span title=\"Version is not explicity stated. No matching Code System found\"> version Not Stated (use latest from terminology server)</span></li><li>Include codes from<code>http://unstats.un.org/unsd/methods/m49/m49.htm</code><span title=\"Version is not explicity stated. No matching Code System found\"> version Not Stated (use latest from terminology server)</span> where class  = region</li><li>Include codes from<a href=\"http://www.snomed.org/\"><code>http://snomed.info/sct</code></a><span title=\"Version is not explicity stated. No matching Code System found\"> version Not Stated (use latest from terminology server)</span> where concept  is-a 387961004 (Kingdom Animalia (organism))</li><li>Import all the codes that are contained in <a href=\"valueset-administrative-gender.html\">AdministrativeGender</a></li><li>Import all the codes that are contained in <a href=\"valueset-condition-code.html\">Condition/Problem/Diagnosis Codes</a></li><li>Include all codes defined in <a href=\"http://tx.fhir.org/r5\"><code>http://nucc.org/provider-taxonomy</code></a><span style=\"opacity: 0.5\" title=\"Version is not explicity stated. When building this specification, the most recent version 22.1 has been used\"> version ⏿22.1</span></li><li>Import all the codes that are contained in <a href=\"http://terminology.hl7.org/7.0.0/ValueSet-v3-ActEncounterCode.html\">ActEncounterCode</a></li><li>Import all the codes that are contained in <a href=\"http://terminology.hl7.org/7.0.0/ValueSet-v3-ActTaskCode.html\">ActTaskCode</a></li><li>Import all the codes that are contained in <a href=\"valueset-usage-context-agreement-scope.html\">Usage Context Agreement Scope</a></li></ul></div>"^^rdf:XMLLiteral ]
  ] ; # 

  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ] ;
     fhir:value [ fhir:v "fhir" ]

     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 "fhir"
     ]

  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ] ;
     fhir:value [ fhir:v "draft" ]

     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "informative"
     ]

  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ] ;
     fhir:value [ fhir:v "1" ]
  ] ) ;
  fhir:url [ fhir:v "http://hl7.org/fhir/ValueSet/use-context"], [ fhir:v "http://hl7.org/fhir/ValueSet/use-context"] ;

     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm>
     ] ;
     fhir:value [
       a fhir:Integer ;
       fhir:v 1
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://hl7.org/fhir/ValueSet/use-context"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/ValueSet/use-context>
  ] ; # 

  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.3.28" ]
  ] [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;

     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.28" ]
  ] ) ;
  fhir:version [ fhir:v "5.0.0"], [ fhir:v "5.0.0"] ;
  fhir:name [ fhir:v "ContextOfUseValueSet"], [ fhir:v "ContextOfUseValueSet"] ;
  fhir:title [ fhir:v "Context of Use ValueSet"], [ fhir:v "Context of Use ValueSet"] ;
  fhir:status [ fhir:v "draft"], [ fhir:v "draft"] ;
  fhir:experimental [ fhir:v "true"], [ fhir:v "true"] ;
  fhir:date [ fhir:v "2023-03-26T15:21:02+11:00"], [ fhir:v "2023-03-26T15:21:02+11:00"] ;
  fhir:publisher [ fhir:v "FHIR Project team"], [ fhir:v "FHIR Project team"] ;

  ] ) ; # 
  fhir:version [ fhir:v "6.0.0-ballot3"] ; # 
  fhir:name [ fhir:v "ContextOfUseValueSet"] ; # 
  fhir:title [ fhir:v "Context of Use ValueSet"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v true] ; # 
  fhir:date [ fhir:v "2025-11-17T19:23:40+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "FHIR Project team"] ; # 

  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org/fhir" ]
     ] )
  ] [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org/fhir" ]
     ] )
  ] ) ;
  fhir:description [ fhir:v "This value set defines a base set of codes that can be used to indicate that the content in a resource was developed with a focus and intent of supporting use within particular contexts."], [ fhir:v "This value set defines a base set of codes that can be used to indicate that the content in a resource was developed with a focus and intent of supporting use within particular contexts."] ;

  ] ) ; # 
  fhir:description [ fhir:v "This value set defines a base set of codes that can be used to indicate that the content in a resource was developed with a focus and intent of supporting use within particular contexts."] ; # 

  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;

       fhir:system [
         fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ;
         fhir:l <http://unstats.un.org/unsd/methods/m49/m49.htm>
       ] ;

       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ;
  fhir:copyright [ fhir:v "This resource includes content from SNOMED Clinical Terms® (SNOMED CT®) which is copyright of the International Health Terminology Standards Development Organisation (IHTSDO). Implementers of these specifications must have the appropriate SNOMED CT Affiliate license - for more information contact http://www.snomed.org/snomed-ct/get-snomed-ct or info@snomed.org. This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained"], [ fhir:v "This resource includes content from SNOMED Clinical Terms® (SNOMED CT®) which is copyright of the International Health Terminology Standards Development Organisation (IHTSDO). Implementers of these specifications must have the appropriate SNOMED CT Affiliate license - for more information contact http://www.snomed.org/snomed-ct/get-snomed-ct or info@snomed.org. This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained"] ;

  ] ) ; # 
  fhir:copyright [ fhir:v "This resource includes content from SNOMED Clinical Terms® (SNOMED CT®) which is copyright of the International Health Terminology Standards Development Organisation (IHTSDO). Implementers of these specifications must have the appropriate SNOMED CT Affiliate license - for more information contact http://www.snomed.org/snomed-ct/get-snomed-ct or info@snomed.org. This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained"] ; # 

  fhir:compose [
     fhir:include ( [
       fhir:valueSet ( [ fhir:v "http://terminology.hl7.org/ValueSet/v2-0265" ] )

       fhir:valueSet ( [
         fhir:v "http://terminology.hl7.org/ValueSet/v2-0265"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/ValueSet/v2-0265>
       ] )

     ] [
       fhir:system [ fhir:v "http://snomed.info/sct" ] ;

       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;

       fhir:filter ( [
         fhir:property [ fhir:v "concept" ] ;
         fhir:op [ fhir:v "is-a" ] ;
         fhir:value [ fhir:v "394733009" ]
       ] )
     ] [
       fhir:system [ fhir:v "urn:iso:std:iso:3166" ]

       fhir:system [
         fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
         fhir:l <urn:iso:std:iso:3166>
       ]

     ] [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;

       fhir:system [
         fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ;
         fhir:l <http://unstats.un.org/unsd/methods/m49/m49.htm>
       ] ;

       fhir:filter ( [
         fhir:property [ fhir:v "class" ] ;
         fhir:op [ fhir:v "=" ] ;
         fhir:value [ fhir:v "region" ]
       ] )
     ] [
       fhir:system [ fhir:v "http://snomed.info/sct" ] ;

       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;

       fhir:filter ( [
         fhir:property [ fhir:v "concept" ] ;
         fhir:op [ fhir:v "is-a" ] ;
         fhir:value [ fhir:v "387961004" ]
       ] )
     ] [
       fhir:valueSet ( [ fhir:v "http://hl7.org/fhir/ValueSet/administrative-gender" ] )

       fhir:valueSet ( [
         fhir:v "http://hl7.org/fhir/ValueSet/administrative-gender"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/ValueSet/administrative-gender>
       ] )

     ] [
       fhir:valueSet ( [ fhir:v "http://hl7.org/fhir/ValueSet/condition-code" ] )

       fhir:valueSet ( [
         fhir:v "http://hl7.org/fhir/ValueSet/condition-code"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/ValueSet/condition-code>
       ] )

     ] [
       fhir:system [ fhir:v "http://nucc.org/provider-taxonomy" ]

       fhir:system [
         fhir:v "http://nucc.org/provider-taxonomy"^^xsd:anyURI ;
         fhir:l <http://nucc.org/provider-taxonomy>
       ]

     ] [
       fhir:valueSet ( [ fhir:v "http://terminology.hl7.org/ValueSet/v3-ActEncounterCode" ] )

       fhir:valueSet ( [
         fhir:v "http://terminology.hl7.org/ValueSet/v3-ActEncounterCode"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/ValueSet/v3-ActEncounterCode>
       ] )

     ] [
       fhir:valueSet ( [ fhir:v "http://terminology.hl7.org/ValueSet/v3-ActTaskCode" ] )

       fhir:valueSet ( [
         fhir:v "http://terminology.hl7.org/ValueSet/v3-ActTaskCode"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/ValueSet/v3-ActTaskCode>
       ] )

     ] [
       fhir:valueSet ( [ fhir:v "http://hl7.org/fhir/ValueSet/usage-context-agreement-scope" ] )

       fhir:valueSet ( [
         fhir:v "http://hl7.org/fhir/ValueSet/usage-context-agreement-scope"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/ValueSet/usage-context-agreement-scope>
       ] )

     ] )
  ] .

  ] ; # 
  fhir:expansion [] . # 


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


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.