PackagesCanonicalsLogsProblems
    Packages
    se.electronichealth.fhir.hvo.r5@0.1.2-alpha
    http://electronichealth.se/fhir/hvo/StructureDefinition/HVOContractTransactionBundle
description: HVO profile for Bundle consisting of a HVOContract with related resources to use for a transaction
package_name: se.electronichealth.fhir.hvo.r5
derivation: constraint
name: HVOContractTransactionBundle
type: Bundle
elements:
  type:
    pattern: {type: Code, value: transaction}
    mustSupport: true
    index: 0
  entry:
    mustSupport: true
    array: true
    min: 2
    index: 1
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: resource, type: profile}
      min: 2
      slices:
        HVOContract:
          match: {}
          schema:
            mustSupport: true
            _required: true
            index: 2
            elements:
              fullUrl: {short: Temporary ID when creating a HVOContract for other resources in the Bundle to reference, mustSupport: true, index: 3}
              resource:
                type: Contract
                mustSupport: true
                index: 4
                elements:
                  id: {short: Logical ID of resource to use when updating it, index: 5}
              request:
                mustSupport: true
                index: 6
                elements:
                  method: {short: PUT | POST, mustSupport: true, index: 7}
                  url:
                    pattern: {type: Uri, value: Contract}
                    mustSupport: true
                    index: 8
            required: [resource, request]
        HVOOrganizationAffiliation:
          match: {}
          schema:
            mustSupport: true
            array: true
            min: 1
            _required: true
            index: 9
            elements:
              fullUrl: {short: Temporary ID when creating a HVOOrganizationAffiliation for other resources in the Bundle to reference, mustSupport: true, index: 10}
              resource:
                type: OrganizationAffiliation
                mustSupport: true
                index: 11
                elements:
                  id: {short: Logical ID of resource to use when updating it, index: 12}
              request:
                mustSupport: true
                index: 13
                elements:
                  method: {short: PUT | POST, mustSupport: true, index: 14}
                  url:
                    pattern: {type: Uri, value: OrganizationAffiliation}
                    mustSupport: true
                    index: 15
            required: [resource, request]
        HVOService:
          match: {}
          schema:
            mustSupport: true
            array: true
            index: 16
            elements:
              fullUrl: {short: Temporary ID when creating a HVOService for other resources in the Bundle to reference, mustSupport: true, index: 17}
              resource:
                type: HealthcareService
                mustSupport: true
                index: 18
                elements:
                  id: {short: Logical ID of resource to use when updating it, index: 19}
              request:
                mustSupport: true
                index: 20
                elements:
                  method: {short: PUT | POST, mustSupport: true, index: 21}
                  url:
                    pattern: {type: Uri, value: HealthcareService}
                    mustSupport: true
                    index: 22
            required: [resource, request]
package_version: 0.1.2-alpha
class: profile
kind: resource
url: http://electronichealth.se/fhir/hvo/StructureDefinition/HVOContractTransactionBundle
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 0.1.0