PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.ph-library@2.0.0-ballot
    http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-executable-valueset
description: This ValueSet profile describes the requirements for a value set containing a point-in-time expansion enumerating the codes that meet the value set intent. As new versions of the code systems used by the value set are released, the contents of this expansion will need to be updated to incorporate newly defined codes that meet the value set intent. The complete expansion of the ValueSet is included, but not necessarily the computable definition. An executable value set is intended for use in environments that are not expected to have access to a terminology server capable of expanding the value set, so the expansion is communicated as part of the ValueSet.
package_name: hl7.fhir.us.ph-library
derivation: constraint
name: USPublicHealthExecutableValueSet
type: ValueSet
elements:
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      slices:
        usageWarning:
          match: {}
          schema:
            type: Extension
            mustSupport: true
            url: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-usagewarning-extension
            index: 1
            elements:
              value:
                pattern: {type: string, value: 'This value set contains a point-in-time expansion enumerating the codes that meet the value set intent. As new versions of the code systems used by the value set are released, the contents of this expansion will need to be updated to incorporate newly defined codes that meet the value set intent. Before, and periodically during production use, the value set expansion contents SHOULD be updated. The value set expansion specifies the timestamp when the expansion was produced, SHOULD contain the parameters used for the expansion, and SHALL contain the codes that are obtained by evaluating the value set definition. If this is ONLY an executable value set, a distributable definition of the value set must be obtained to compute the updated expansion.'}
                mustSupport: true
                choices: []
                type: string
                index: 3
            required: [value]
  expansion:
    mustSupport: true
    index: 4
    elements:
      parameter: {mustSupport: true, index: 5}
      contains: {mustSupport: true, index: 6}
package_version: 2.0.0-ballot
extensions:
  usageWarning:
    url: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-usagewarning-extension
    type: Extension
    mustSupport: true
    index: 1
    elements:
      value:
        pattern: {type: string, value: 'This value set contains a point-in-time expansion enumerating the codes that meet the value set intent. As new versions of the code systems used by the value set are released, the contents of this expansion will need to be updated to incorporate newly defined codes that meet the value set intent. Before, and periodically during production use, the value set expansion contents SHOULD be updated. The value set expansion specifies the timestamp when the expansion was produced, SHOULD contain the parameters used for the expansion, and SHALL contain the codes that are obtained by evaluating the value set definition. If this is ONLY an executable value set, a distributable definition of the value set must be obtained to compute the updated expansion.'}
        mustSupport: true
        choices: []
        type: string
        index: 3
    required: [value]
class: profile
kind: resource
url: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-executable-valueset
base: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-valueset
version: 2.0.0-ballot
required: [expansion]