PackagesCanonicalsLogsProblems
    Packages
    il.core.fhir.r4@0.18.0
    http://fhir.health.gov.il/StructureDefinition/il-core-device-dispense
description: Israel Core Proposed constraints and extensions on the ILCoreSupplyDelivery profile of SupplyDelivery Resource.
package_name: il.core.fhir.r4
derivation: constraint
name: ILCoreDeviceDispense
type: SupplyDelivery
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        whenHandedOver:
          match: {url: null}
          schema: {type: Extension, url: 'http://fhir.health.gov.il/StructureDefinition/ext-device-dispense-when-handed-over', index: 1}
          min: 0
          max: 1
  basedOn:
    extensions:
      alternate-reference:
        url: http://hl7.org/fhir/StructureDefinition/alternate-reference
        type: Extension
        index: 2
        elements:
          value:
            choices: [valueReference]
            index: 4
          valueReference:
            type: Reference
            choiceOf: value
            refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-device-request']
            index: 5
    elements:
      extension:
        type: Extension
        url: http://hl7.org/fhir/StructureDefinition/alternate-reference
        index: 2
        slicing:
          slices:
            alternate-reference:
              match: {}
              schema:
                type: Extension
                url: http://hl7.org/fhir/StructureDefinition/alternate-reference
                index: 2
                elements:
                  value:
                    choices: [valueReference]
                    index: 4
                  valueReference:
                    type: Reference
                    choiceOf: value
                    refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-device-request']
                    index: 5
  type:
    elements:
      coding:
        elements:
          system:
            pattern: {type: uri, value: 'http://hl7.org/fhir/ValueSet/supplydelivery-type'}
            type: uri
            index: 6
          code:
            pattern: {type: code, value: device}
            type: code
            index: 7
  suppliedItem:
    elements:
      item:
        choices: []
        index: 9
        slicing:
          slices:
            itemReference:
              match: {}
              schema:
                choices: [itemReference]
                index: 11
      itemReference:
        type: Reference
        choiceOf: item
        refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-device']
        index: 12
        slicing:
          slices:
            itemReference:
              match: {}
              schema:
                type: Reference
                choiceOf: item
                refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-device']
                index: 12
  receiver:
    extensions:
      alternate-reference:
        url: http://hl7.org/fhir/StructureDefinition/alternate-reference
        type: Extension
        index: 13
        elements:
          value:
            choices: [valueReference]
            index: 15
          valueReference:
            type: Reference
            choiceOf: value
            refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-patient']
            index: 16
    elements:
      extension:
        type: Extension
        url: http://hl7.org/fhir/StructureDefinition/alternate-reference
        index: 13
        slicing:
          slices:
            alternate-reference:
              match: {}
              schema:
                type: Extension
                url: http://hl7.org/fhir/StructureDefinition/alternate-reference
                index: 13
                elements:
                  value:
                    choices: [valueReference]
                    index: 15
                  valueReference:
                    type: Reference
                    choiceOf: value
                    refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-patient']
                    index: 16
package_version: 0.18.0
extensions:
  whenHandedOver: {url: 'http://fhir.health.gov.il/StructureDefinition/ext-device-dispense-when-handed-over', min: 0, max: 1, type: Extension, index: 1}
class: profile
kind: resource
url: http://fhir.health.gov.il/StructureDefinition/il-core-device-dispense
base: http://fhir.health.gov.il/StructureDefinition/il-core-supply-delivery
version: null