Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: R5 Ballot - see ballot notes). 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 R2

Example ValueSet/use-context (XML)

Vocabulary Work GroupMaturity Level: N/AStandards Status: Informative

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

Definition for Value SetConformanceUseContext

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

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="use-context"/> 
  <meta> 
    <lastUpdated value="2022-09-10T04:52:37.223+10: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/3.1.0/ValueSet-v2-0265.html">http://terminology.hl7.org/ValueSet/v2-0265</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 
          <code> urn:iso:std:iso:3166</code> 
        </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">http://hl7.org/fhir/ValueSet/administrative-gender</a> 
        </li> 
        <li> Import all the codes that are contained in 
          <a href="valueset-condition-code.html">http://hl7.org/fhir/ValueSet/condition-code</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/3.1.0/ValueSet-v3-ActEncounterCode.html">http://terminology.hl7.org/ValueSet/v3-ActEncounterCode</a> 
        </li> 
        <li> Import all the codes that are contained in 
          <a href="http://terminology.hl7.org/3.1.0/ValueSet-v3-ActTaskCode.html">http://terminology.hl7.org/ValueSet/v3-ActTaskCode</a> 
        </li> 
        <li> Import all the codes that are contained in 
          <a href="valueset-usage-context-agreement-scope.html">http://hl7.org/fhir/ValueSet/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-ballot"/> 
  <name value="Context of Use ValueSet"/> 
  <title value="ConformanceUseContext"/> 
  <status value="draft"/> 
  <experimental value="true"/> 
  <date value="2022-09-10T04:52:37+10: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."/> 
  <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.