PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.medmorph@1.0.0
    http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-supplemental-valueset
description: This profile describes the US Public Health Supplemental value set.
package_name: hl7.fhir.us.medmorph
derivation: constraint
name: USPublicHealthSupplementalValueSet
type: ValueSet
elements:
  useContext:
    mustSupport: true
    array: true
    min: 1
    index: 0
    slicing:
      rules: closed
      discriminator:
      - {path: code, type: pattern}
      min: 1
      slices:
        reportingContext:
          match:
            code: {code: reporting, system: 'http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-usage-context-type'}
          schema:
            mustSupport: true
            _required: true
            index: 1
            elements:
              code:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {code: reporting, system: 'http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-usage-context-type'}
                index: 2
              value:
                short: value set useContext
                mustSupport: true
                choices: [valueCodeableConcept]
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: supplemental, system: 'http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-usage-context'}
                index: 4
              valueCodeableConcept:
                short: value set useContext
                type: CodeableConcept
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: supplemental, system: 'http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-usage-context'}
                choiceOf: value
                index: 5
            required: [value, valueCodeableConcept, code]
package_version: 1.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-supplemental-valueset
base: http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-valueset
version: 1.0.0
required: [useContext]