description: Defines the asset-collection library containing the US Public Health specification assets. package_name: rs/hl7.fhir.us.ph derivation: constraint name: USPublicHealthSpecificationLibrary type: Library elements: type: short: asset-collection mustSupport: true pattern: type: CodeableConcept value: coding: - {code: asset-collection, system: 'http://terminology.hl7.org/CodeSystem/library-type'} type: CodeableConcept index: 0 useContext: array: true min: 2 index: 1 slicing: rules: open discriminator: - {path: code, type: pattern} min: 2 slices: reportingContext: match: code: {code: reporting, system: 'http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-usage-context-type'} schema: _required: true index: 2 elements: code: pattern: type: Coding value: {code: reporting, system: 'http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-usage-context-type'} type: Coding index: 3 value: short: Library useContext pattern: type: CodeableConcept value: coding: - {code: triggering, system: 'http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-usage-context'} choices: [valueCodeableConcept] type: CodeableConcept index: 5 valueCodeableConcept: short: Library useContext type: CodeableConcept pattern: type: CodeableConcept value: coding: - {code: triggering, system: 'http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-usage-context'} choiceOf: value index: 6 required: [code, value, valueCodeableConcept] specificationTypeContext: match: code: {code: specification-type, system: 'http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-usage-context-type'} schema: _required: true index: 7 elements: code: pattern: type: Coding value: {code: specification-type, system: 'http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-usage-context-type'} type: Coding index: 8 value: short: Library useContext pattern: type: CodeableConcept value: coding: - {code: program, system: 'http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-usage-context'} choices: [valueCodeableConcept] type: CodeableConcept index: 10 valueCodeableConcept: short: Library useContext type: CodeableConcept pattern: type: CodeableConcept value: coding: - {code: program, system: 'http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-usage-context'} choiceOf: value index: 11 required: [code, value, valueCodeableConcept] relatedArtifact: mustSupport: true index: 12 slicing: rules: open discriminator: - {path: resource.resolve(), type: profile} min: 1 slices: slicePlanDefinition: match: {} schema: short: US Public Health PlanDefinition mustSupport: true _required: true index: 13 elements: type: short: composed-of pattern: {type: code, value: composed-of} type: code index: 14 resource: {type: canonical, mustSupport: true, index: 15} required: [resource] sliceTriggeringValueSetLibrary: match: {} schema: short: US Public Health Triggering ValueSet Library mustSupport: true _required: true index: 16 elements: type: short: composed-of pattern: {type: code, value: composed-of} type: code index: 17 resource: {type: canonical, mustSupport: true, index: 18} required: [resource] package_version: library-1.0.0-ballot class: profile kind: resource url: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-specification-library base: http://hl7.org/fhir/StructureDefinition/shareablelibrary version: 1.0.0-ballot required: [relatedArtifact]