description: Defines the library containing the US Public Health supplemental value sets. package_name: hl7.fhir.us.ecr derivation: constraint name: USPublicHealthSupplementalValuesetLibrary type: Library elements: useContext: array: true min: 2 index: 0 slicing: rules: open discriminator: - {path: code, type: pattern} min: 2 slices: reportingContext: match: code: {code: reporting, system: 'http://hl7.org/fhir/us/ecr/CodeSystem/us-ph-usage-context-type'} schema: _required: true index: 1 elements: code: pattern: type: Coding value: {code: reporting, system: 'http://hl7.org/fhir/us/ecr/CodeSystem/us-ph-usage-context-type'} index: 2 value: short: Library useContext pattern: type: CodeableConcept value: coding: - {code: supplemental, system: 'http://hl7.org/fhir/us/ecr/CodeSystem/us-ph-usage-context'} choices: [valueCodeableConcept] index: 4 valueCodeableConcept: short: Library useContext type: CodeableConcept pattern: type: CodeableConcept value: coding: - {code: supplemental, system: 'http://hl7.org/fhir/us/ecr/CodeSystem/us-ph-usage-context'} choiceOf: value index: 5 required: [value, valueCodeableConcept, code] specificationTypeContext: match: code: {code: specification-type, system: 'http://hl7.org/fhir/us/ecr/CodeSystem/us-ph-usage-context-type'} schema: _required: true index: 6 elements: code: pattern: type: Coding value: {code: specification-type, system: 'http://hl7.org/fhir/us/ecr/CodeSystem/us-ph-usage-context-type'} index: 7 value: short: Library useContext pattern: type: CodeableConcept value: coding: - {code: value-set-library, system: 'http://hl7.org/fhir/us/ecr/CodeSystem/us-ph-usage-context'} choices: [valueCodeableConcept] index: 9 valueCodeableConcept: short: Library useContext type: CodeableConcept pattern: type: CodeableConcept value: coding: - {code: value-set-library, system: 'http://hl7.org/fhir/us/ecr/CodeSystem/us-ph-usage-context'} choiceOf: value index: 10 required: [value, valueCodeableConcept, code] relatedArtifact: index: 11 slicing: rules: open discriminator: - {path: type, type: value} min: 1 slices: sliceUSPHValueSet: match: {type: composed-of} schema: short: US Public Health Supplemental Value Set mustSupport: true _required: true index: 12 elements: type: short: composed-of pattern: {type: Code, value: composed-of} index: 13 resource: {type: canonical, mustSupport: true, index: 14} required: [resource] package_version: 2.1.0 class: profile kind: resource url: http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-supplemental-valueset-library base: http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-valueset-library version: 2.1.0 required: [relatedArtifact]