PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.cpg@1.0.0
    http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-artifactbundle
description: Defines the minimum expectations for an artifact bundle used to package and distribute artifact content
package_name: hl7.fhir.uv.cpg
derivation: constraint
name: CPGArtifactBundle
type: Bundle
elements:
  type:
    type: code
    short: The bundle is a collection of artifacts for distribution
    pattern: {type: Code, value: collection}
    mustSupport: true
    index: 0
  entry:
    mustSupport: true
    array: true
    min: 1
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: $this.resource, type: profile}
      min: 1
      slices:
        planDefinition:
          match: {}
          schema:
            short: The packaged artifact
            mustSupport: true
            array: true
            index: 20
            elements:
              resource: {type: PlanDefinition, mustSupport: true, index: 21}
            required: [resource]
        questionnaire:
          match: {}
          schema:
            short: The packaged artifact
            mustSupport: true
            array: true
            index: 24
            elements:
              resource: {type: Questionnaire, mustSupport: true, index: 25}
            required: [resource]
        graphDefinition:
          match: {}
          schema:
            short: The packaged artifact
            mustSupport: true
            array: true
            index: 8
            elements:
              resource: {type: GraphDefinition, mustSupport: true, index: 9}
            required: [resource]
        careTeamDefinition:
          match: {}
          schema:
            short: The packaged artifact
            mustSupport: true
            array: true
            index: 4
            elements:
              resource: {type: CareTeam, mustSupport: true, index: 5}
            required: [resource]
        structureDefinition:
          match: {}
          schema:
            short: The packaged artifact
            mustSupport: true
            array: true
            index: 26
            elements:
              resource: {type: StructureDefinition, mustSupport: true, index: 27}
            required: [resource]
        measure:
          match: {}
          schema:
            short: The packaged artifact
            mustSupport: true
            array: true
            index: 18
            elements:
              resource: {type: Measure, mustSupport: true, index: 19}
            required: [resource]
        library:
          match: {}
          schema:
            short: The packaged artifact
            mustSupport: true
            array: true
            index: 14
            elements:
              resource: {type: Library, mustSupport: true, index: 15}
            required: [resource]
        practitionerRoleDefinition:
          match: {}
          schema:
            short: The packaged artifact
            mustSupport: true
            array: true
            index: 22
            elements:
              resource: {type: PractitionerRole, mustSupport: true, index: 23}
            required: [resource]
        testCase:
          match: {}
          schema:
            short: The packaged artifact
            mustSupport: true
            array: true
            index: 30
            elements:
              resource: {type: Bundle, mustSupport: true, index: 31}
            required: [resource]
        valueSet:
          match: {}
          schema:
            short: The packaged artifact
            mustSupport: true
            array: true
            index: 28
            elements:
              resource: {type: ValueSet, mustSupport: true, index: 29}
            required: [resource]
        activityDefinition:
          match: {}
          schema:
            short: The packaged artifact
            mustSupport: true
            array: true
            index: 2
            elements:
              resource: {type: ActivityDefinition, mustSupport: true, index: 3}
            required: [resource]
        implementationGuide:
          match: {}
          schema:
            short: The packaged artifact
            mustSupport: true
            array: true
            index: 12
            elements:
              resource: {type: ImplementationGuide, mustSupport: true, index: 13}
            required: [resource]
        groupDefinition:
          match: {}
          schema:
            short: The packaged artifact
            mustSupport: true
            array: true
            index: 10
            elements:
              resource: {type: Group, mustSupport: true, index: 11}
            required: [resource]
        codeSystem:
          match: {}
          schema:
            short: The packaged artifact
            mustSupport: true
            array: true
            index: 6
            elements:
              resource: {type: CodeSystem, mustSupport: true, index: 7}
            required: [resource]
        locationDefinition:
          match: {}
          schema:
            short: The packaged artifact
            mustSupport: true
            array: true
            index: 16
            elements:
              resource: {type: Location, mustSupport: true, index: 17}
            required: [resource]
package_version: 1.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-artifactbundle
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 1.0.0
required: [entry]