PackagesCanonicalsLogsProblems
    Packages
    rs/hl7.fhir.us.ph@library-1.0.0-ballot
    http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-valueset
description: This profile describes US Public Health value sets.
package_name: rs/hl7.fhir.us.ph
derivation: constraint
name: USPublicHealthValueSet
type: ValueSet
elements:
  extension:
    mustSupport: true
    array: true
    min: 2
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 2
      slices:
        extensionValueSetSteward:
          match: {url: null}
          schema: {short: Value set steward, type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/valueset-steward', index: 1}
          min: 1
          max: 1
        extensionValueSetAuthor:
          match: {url: null}
          schema: {short: Value set author, type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/valueset-author', index: 2}
          min: 1
          max: 1
  identifier: {short: Value set identifier used by public health (e.g. RCTC OID), mustSupport: true, index: 3}
  name: {short: Value set name, mustSupport: true, index: 4}
  title: {short: Value set title, mustSupport: true, index: 5}
  status: {short: Value set definition version, mustSupport: true, index: 6}
  publisher: {short: The entity that is responsible for the content of the Value Set Definition, mustSupport: true, index: 7}
  description: {short: Value set description, mustSupport: true, index: 8}
  useContext:
    mustSupport: true
    array: true
    min: 1
    index: 9
    slicing:
      rules: open
      discriminator:
      - {path: code, type: pattern}
      min: 1
      slices:
        priorityContext:
          match:
            code: {code: priority, system: 'http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-usage-context-type'}
          schema:
            mustSupport: true
            _required: true
            index: 10
            elements:
              code:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {code: priority, system: 'http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-usage-context-type'}
                type: Coding
                index: 11
              value:
                short: Release priority of the ValueSet
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 13
              valueCodeableConcept: {short: Release priority of the ValueSet, type: CodeableConcept, mustSupport: true, choiceOf: value, index: 14}
            required: [code, value, valueCodeableConcept]
        focusConditionContext:
          match:
            code: {code: focus, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'}
          schema:
            mustSupport: true
            index: 15
            elements:
              code:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {code: focus, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'}
                type: Coding
                index: 16
              value:
                short: Clinical condition that is the focus of the codes in this value set
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 18
              valueCodeableConcept: {type: CodeableConcept, short: Clinical condition that is the focus of the codes in this value set, mustSupport: true, choiceOf: value, index: 19}
package_version: library-1.0.0-ballot
extensions:
  extensionValueSetSteward: {url: 'http://hl7.org/fhir/StructureDefinition/valueset-steward', min: 1, max: 1, short: Value set steward, type: Extension, mustSupport: true, index: 1}
  extensionValueSetAuthor: {url: 'http://hl7.org/fhir/StructureDefinition/valueset-author', min: 1, max: 1, short: Value set author, type: Extension, mustSupport: true, index: 2}
class: profile
kind: resource
url: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-valueset
base: http://hl7.org/fhir/StructureDefinition/shareablevalueset
version: 1.0.0-ballot
required: [description, name, status, title, useContext]