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 R2

Example ValueSet/use-context (XML)

Terminology Infrastructure Work GroupMaturity Level: N/AStandards Status: Informative

Raw XML (canonical form + also see XML Format Specification)

Definition for Value SetContext of Use ValueSet

<?xml version="1.0" encoding="UTF-8"?>

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="use-context"/> 
  <meta> 
    <lastUpdated value="2023-03-26T15:21:02.749+11:00"/> 
    <profile value="http://hl7.org/fhir/StructureDefinition/shareablevalueset"/> 
  </meta> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <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/5.1.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>  where concept  is-a  394733009 (Medical specialties)
        </li> 
        <li> Include all codes defined in 
          <a href="http://terminology.hl7.org/5.1.0/CodeSystem-ISO3166Part1.html">
            <code> urn:iso:std:iso:3166</code> 
          </a> 
        </li> 
        <li> Include codes from 
          <code> http://unstats.un.org/unsd/methods/m49/m49.htm</code>  where class  =  region
        </li> 
        <li> Include codes from 
          <a href="http://www.snomed.org/">
            <code> http://snomed.info/sct</code> 
          </a>  where concept  is-a  387961004 (Kingdom Animalia)
        </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 
          <code> http://nucc.org/provider-taxonomy</code> 
        </li> 
        <li> Import all the codes that are contained in 
          <a href="http://terminology.hl7.org/5.1.0/ValueSet-v3-ActEncounterCode.html">ActEncounterCode</a> 
        </li> 
        <li> Import all the codes that are contained in 
          <a href="http://terminology.hl7.org/5.1.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> 
  </text> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="draft"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1"/> 
  </extension> 
  <url value="http://hl7.org/fhir/ValueSet/use-context"/> 
  <identifier> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:oid:2.16.840.1.113883.4.642.3.28"/> 
  </identifier> 
  <version value="5.0.0"/> 
  <name value="ContextOfUseValueSet"/> 
  <title value="Context of Use ValueSet"/> 
  <status value="draft"/> 
  <experimental value="true"/> 
  <date value="2023-03-26T15:21:02+11:00"/> 
  <publisher value="FHIR Project team"/> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      <value value="http://hl7.org/fhir"/> 
    </telecom> 
  </contact> 
  <description value="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."/> 
  <jurisdiction> 
    <coding> 
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/> 
      <code value="001"/> 
      <display value="World"/> 
    </coding> 
  </jurisdiction> 
  <copyright value="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-snome
  d-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"/> 
  <compose> 
    <include> 
      <valueSet value="http://terminology.hl7.org/ValueSet/v2-0265"/> 
    </include> 
    <include> 
      <system value="http://snomed.info/sct"/> 
      <filter> 
        <property value="concept"/> 
        <op value="is-a"/> 
        <value value="394733009"/> 
      </filter> 
    </include> 
    <include> 
      <system value="urn:iso:std:iso:3166"/> 
    </include> 
    <include> 
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/> 
      <filter> 
        <property value="class"/> 
        <op value="="/> 
        <value value="region"/> 
      </filter> 
    </include> 
    <include> 
      <system value="http://snomed.info/sct"/> 
      <filter> 
        <property value="concept"/> 
        <op value="is-a"/> 
        <value value="387961004"/> 
      </filter> 
    </include> 
    <include> 
      <valueSet value="http://hl7.org/fhir/ValueSet/administrative-gender"/> 
    </include> 
    <include> 
      <valueSet value="http://hl7.org/fhir/ValueSet/condition-code"/> 
    </include> 
    <include> 
      <system value="http://nucc.org/provider-taxonomy"/> 
    </include> 
    <include> 
      <valueSet value="http://terminology.hl7.org/ValueSet/v3-ActEncounterCode"/> 
    </include> 
    <include> 
      <valueSet value="http://terminology.hl7.org/ValueSet/v3-ActTaskCode"/> 
    </include> 
    <include> 
      <valueSet value="http://hl7.org/fhir/ValueSet/usage-context-agreement-scope"/> 
    </include> 
  </compose> 
</ValueSet> 

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.