valuesetDefinition

Declares a named reference to a value set identified by a URI. Optionally specifies a version and restricts the code systems from which codes are drawn.

Examples

Simple value set reference

valueset "Diabetes Mellitus": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.103.12.1001'

Value set with version

valueset "Hypertension": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240' version '20210224'

Value set restricted to specific code systems

valueset "Inpatient Encounter": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307'
  codesystems { "SNOMED-CT", "ICD-10-CM" }
Railroad Diagram
100%
accessModifier valueset identifier : valuesetId version versionSpecifier codesystems

scroll to zoom · drag to pan · click green rules or blue tokens to navigate

EBNF

valuesetDefinition
  : accessModifier? 'valueset' identifier ':' valuesetId ('version' versionSpecifier)? codesystems?
  ;

Used In