PackagesCanonicalsLogsProblems
    Packages
    ihe.iti.mhd@4.2.0
    https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.ProvideBundle
description: 'A profile on the Bundle transaction for ITI-65 Provide Document resources with Minimal metadata for MHD.\r\n\r\n- [Minimal Metadata](StructureDefinition-IHE.MHD.Minimal.ProvideBundle.html): `https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.ProvideBundle`\r\n  - shall be a Transaction Bundle\r\n  - all resources shall be compliant with minimal constraints, they may be marked minimal, comprehensive, or unContained\r\n  - shall create a [SubmissionSet type List](StructureDefinition-IHE.MHD.Minimal.SubmissionSet.html) that is either minimal, comprehensive, or unContained\r\n  - may create one or more [DocumentReference](StructureDefinition-IHE.MHD.Minimal.DocumentReference.html) that is either minimal, comprehensive, or unContained\r\n    - with a document as a [Binary](http://hl7.org/fhir/R4/binary.html)\r\n    - or, when implementing the **ITI-65 FHIR Document Publish** option, a [FHIR Document Bundle](http://hl7.org/fhir/R4/bundle.html)\r\n  - may create/update one or more [Folder type List](StructureDefinition-IHE.MHD.Minimal.Folder.html) that is either minimal, comprehensive, or unContained\r\n  - may create/update/read one [Patient](http://hl7.org/fhir/R4/patient.html)'
package_name: ihe.iti.mhd
derivation: constraint
name: MinimalProvideDocumentBundle
type: Bundle
elements:
  meta:
    elements:
      profile: {index: 0}
    required: [profile]
  type:
    pattern: {type: Code, value: transaction}
    index: 1
  entry:
    mustSupport: true
    index: 2
    elements:
      resource: {mustSupport: true, index: 3}
    slicing:
      rules: closed
      description: Slicing based on the profile conformance of the entry
      discriminator:
      - {path: resource, type: profile}
      - {path: request.method, type: value}
      min: 1
      slices:
        SubmissionSet:
          match:
            request: {method: POST}
          schema:
            short: the SubmissionSet
            _required: true
            index: 4
            elements:
              resource: {type: List, index: 5}
              request:
                index: 6
                elements:
                  method:
                    pattern: {type: Code, value: POST}
                    index: 7
            required: [resource, request]
        DocumentRefs:
          match:
            request: {method: POST}
          schema:
            short: the DocumentReference resources
            array: true
            index: 8
            elements:
              resource: {type: DocumentReference, index: 9}
              request:
                index: 10
                elements:
                  method:
                    pattern: {type: Code, value: POST}
                    index: 11
            required: [resource, request]
        UpdateDocumentRefs:
          match:
            request: {method: PATCH}
          schema:
            short: the superseded DocumentReference resources
            array: true
            index: 12
            elements:
              resource: {type: Parameters, index: 13}
              request:
                index: 14
                elements:
                  method:
                    pattern: {type: Code, value: PATCH}
                    index: 15
            required: [resource, request]
        Documents:
          match:
            request: {method: null}
          schema:
            short: the Documents
            array: true
            index: 16
            elements:
              resource: {type: Binary, index: 17}
              request: {index: 18}
            required: [resource, request]
        FhirDocuments:
          match:
            request: {method: POST}
          schema:
            short: the FHIR-FhirDocuments
            array: true
            index: 19
            elements:
              resource: {type: Bundle, index: 20}
              request:
                index: 21
                elements:
                  method:
                    pattern: {type: Code, value: POST}
                    index: 22
            required: [resource, request]
        Folders:
          match:
            request: {method: null}
          schema:
            short: Folders
            array: true
            index: 23
            elements:
              resource: {type: List, index: 24}
              request:
                index: 25
                elements:
                  method:
                    binding: {strength: required, valueSet: 'https://profiles.ihe.net/ITI/MHD/ValueSet/MHDprovideFolderActions'}
                    index: 26
            required: [resource, request]
        Patient:
          match:
            request: {method: null}
          schema:
            short: the Patient
            index: 27
            elements:
              resource: {type: Patient, index: 28}
              request:
                elements:
                  method:
                    binding: {strength: required, valueSet: 'https://profiles.ihe.net/ITI/MHD/ValueSet/MHDprovidePatientActions'}
                    index: 29
            required: [resource]
package_version: 4.2.0
class: profile
kind: resource
url: https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.ProvideBundle
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 4.2.0
required: [entry]