PackagesCanonicalsLogsProblems
    Packages
    HL7Norway.STU3.no.basis@1.0.2
    http://hl7.no/fhir/StructureDefinition/no-basis-MedicationDispense
description: null
package_name: HL7Norway.STU3.no.basis
derivation: constraint
name: no-basis-MedicationDispense
type: MedicationDispense
elements:
  identifier:
    index: 0
    slicing:
      rules: openAtEnd
      ordered: true
      discriminator:
      - {path: type.text, type: value}
      min: null
      slices:
        PLL-id:
          match:
            type: {text: PLL}
          schema:
            index: 1
            elements:
              use: {index: 2}
              type:
                index: 3
                elements:
                  text:
                    pattern: {type: String, value: PLL}
                    index: 4
                required: [text]
              system: {index: 5}
              value: {index: 6}
              period: {index: 7}
              assigner: {index: 8}
            required: [value, type]
  medication:
    choices: [medicationCodeableConcept, medicationReference, medicationReference]
    index: 10
  medicationCodeableConcept: {type: CodeableConcept, choiceOf: medication, index: 11}
  medicationReference:
    type: Reference
    choiceOf: medication
    refers: ['http://hl7.org/fhir/StructureDefinition/Medication']
    index: 12
  authorizingPrescription:
    type: Reference
    refers: ['http://ehelse.no/fhir/StructureDefinition/no-basis-MedicationRequest', 'http://hl7.org/fhir/StructureDefinition/MedicationRequest']
    index: 14
  whenHandedOver: {index: 15}
  receiver:
    type: Reference
    refers: ['http://ehelse.no/fhir/StructureDefinition/no-basis-Patient', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner']
    index: 16
package_version: 1.0.2
class: profile
kind: resource
url: http://hl7.no/fhir/StructureDefinition/no-basis-MedicationDispense
base: http://hl7.org/fhir/StructureDefinition/MedicationDispense
version: '0.1'
required: [whenHandedOver]