FHIR Release 3 (STU) CI-Build

This page is part of the FHIR Specification (v3.0.2: STU 3). The current version which supercedes this version is 5.0.0 . For a full list Continuous Integration Build of available versions, see FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Valueset-use-context.json

Example ValueSet/use-context (JSON)

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

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

Definition for Value SetContext of Use ValueSet

{
  "resourceType": "ValueSet",
  "id": "use-context",
  "meta": {
    "lastUpdated": "2019-10-24T11:53:00+11:00",
    "profile": [
      "http://hl7.org/fhir/StructureDefinition/shareablevalueset"
    ]

  "resourceType" : "ValueSet",
  "id" : "use-context",
  "meta" : {
    "lastUpdated" : "2025-12-17T09:50:17.012+00:00"

  },
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"

  "text" : {
    "status" : "generated",
    "div" : "<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.1/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 explicitly 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 explicitly 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 explicitly 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 explicitly 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 explicitly 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.1/ValueSet-v3-ActEncounterCode.html\">ActEncounterCode</a></li><li>Import all the codes that are contained in <a href=\"http://terminology.hl7.org/7.0.1/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>"

  },
  "extension": [

  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "fhir"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "informative"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 1
  }],
  "url" : "http://hl7.org/fhir/ValueSet/use-context",
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.3.28"
  }],
  "version" : "6.0.0-ballot3",
  "name" : "ContextOfUseValueSet",
  "title" : "Context of Use ValueSet",
  "status" : "draft",
  "experimental" : true,
  "date" : "2025-12-17T09:50:17+00:00",
  "publisher" : "FHIR Project team",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    }]
  }],
  "description" : "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" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001",
      "display" : "World"
    }]
  }],
  "copyright" : "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",
  "compose" : {
    "include" : [{
      "valueSet" : ["http://terminology.hl7.org/ValueSet/v2-0265"]
    },

    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-ballot-status",
      "valueString": "Informative"

      "system" : "http://snomed.info/sct",
      "filter" : [{
        "property" : "concept",
        "op" : "is-a",
        "value" : "394733009"
      }]

    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 1

      "system" : "urn:iso:std:iso:3166"

    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    }
  ],
  "url": "http://hl7.org/fhir/ValueSet/use-context",
  "identifier": [

      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "filter" : [{
        "property" : "class",
        "op" : "=",
        "value" : "region"
      }]
    },

    {
      "system": "urn:ietf:rfc:3986",
      "value": "urn:oid:2.16.840.1.113883.4.642.3.27"
    }
  ],
  "version": "3.0.2",
  "name": "Context of Use ValueSet",
  "status": "draft",
  "experimental": true,
  "date": "2019-10-24T11:53:00+11:00",
  "publisher": "FHIR Project team",
  "contact": [

      "system" : "http://snomed.info/sct",
      "filter" : [{
        "property" : "concept",
        "op" : "is-a",
        "value" : "387961004"
      }]
    },

    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/fhir"
        }
      ]
    }
  ],
  "description": "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": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.",
  "compose": {
    "include": [
      {
        "valueSet": [
          "http://hl7.org/fhir/ValueSet/usps-state"
        ]
      },
      {
        "valueSet": [
          "http://hl7.org/fhir/ValueSet/practitioner-specialty"
        ]
      },
      {
        "system": "http://snomed.info/sct",
        "filter": [
          {
            "property": "concept",
            "op": "is-a",
            "value": "394733009"
          }
        ]
      },
      {
        "system": "urn:iso:std:iso:3166"
      },
      {
        "system": "urn:iso:std:iso:3166"
      },
      {
        "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
        "filter": [
          {
            "property": "class",
            "op": "=",
            "value": "region"
          }
        ]
      },
      {
        "system": "http://snomed.info/sct",
        "filter": [
          {
            "property": "concept",
            "op": "is-a",
            "value": "387961004"
          }
        ]
      },
      {
        "valueSet": [
          "http://hl7.org/fhir/ValueSet/administrative-gender"
        ]
      },
      {
        "valueSet": [
          "http://hl7.org/fhir/ValueSet/condition-code"
        ]
      },
      {
        "system": "http://nucc.org/provider-taxonomy"
      },
      {
        "valueSet": [
          "http://hl7.org/fhir/ValueSet/v3-ActEncounterCode"
        ]
      },
      {
        "valueSet": [
          "http://hl7.org/fhir/ValueSet/v3-ActTaskCode"
        ]
      }
    ]

      "valueSet" : ["http://hl7.org/fhir/ValueSet/administrative-gender"]
    },
    {
      "valueSet" : ["http://hl7.org/fhir/ValueSet/condition-code"]
    },
    {
      "system" : "http://nucc.org/provider-taxonomy"
    },
    {
      "valueSet" : ["http://terminology.hl7.org/ValueSet/v3-ActEncounterCode"]
    },
    {
      "valueSet" : ["http://terminology.hl7.org/ValueSet/v3-ActTaskCode"]
    },
    {
      "valueSet" : ["http://hl7.org/fhir/ValueSet/usage-context-agreement-scope"]
    }]

  }
}

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.