PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.ukcore.stu3.currentbuild@0.0.8-pre-release
    https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationRepeatInformation
description: The specific repeat information of a medication item.
package_name: fhir.r4.ukcore.stu3.currentbuild
derivation: constraint
name: ExtensionUKCoreMedicationRepeatInformation
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        numberOfPrescriptionsIssued:
          match: {url: numberOfPrescriptionsIssued}
          schema:
            short: The specific number of times a repeat prescription has been issued
            index: 1
            elements:
              url:
                pattern: {type: uri, value: numberOfPrescriptionsIssued}
                type: uri
                index: 2
              value:
                short: The specific number of times a repeat prescription has been issued
                choices: [valueUnsignedInt]
                index: 4
              valueUnsignedInt: {type: unsignedInt, short: The specific number of times a repeat prescription has been issued, choiceOf: value, index: 5}
            required: [value, valueUnsignedInt]
        authorisationExpiryDate:
          match: {url: authorisationExpiryDate}
          schema:
            short: Repeat prescription review date
            index: 6
            elements:
              url:
                pattern: {type: uri, value: authorisationExpiryDate}
                type: uri
                index: 7
              value:
                short: Repeat prescription review date
                choices: [valueDateTime]
                index: 9
              valueDateTime: {type: dateTime, short: Repeat prescription review date, choiceOf: value, index: 10}
            required: [value, valueDateTime]
  url:
    pattern: {type: uri, value: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationRepeatInformation'}
    type: uri
    index: 11
  value:
    choices: []
    index: 13
package_version: 0.0.8-pre-release
extensions:
  numberOfPrescriptionsIssued:
    url: numberOfPrescriptionsIssued
    short: The specific number of times a repeat prescription has been issued
    index: 1
    elements:
      url:
        pattern: {type: uri, value: numberOfPrescriptionsIssued}
        type: uri
        index: 2
      value:
        short: The specific number of times a repeat prescription has been issued
        choices: [valueUnsignedInt]
        index: 4
      valueUnsignedInt: {type: unsignedInt, short: The specific number of times a repeat prescription has been issued, choiceOf: value, index: 5}
    required: [value, valueUnsignedInt]
  authorisationExpiryDate:
    url: authorisationExpiryDate
    short: Repeat prescription review date
    index: 6
    elements:
      url:
        pattern: {type: uri, value: authorisationExpiryDate}
        type: uri
        index: 7
      value:
        short: Repeat prescription review date
        choices: [valueDateTime]
        index: 9
      valueDateTime: {type: dateTime, short: Repeat prescription review date, choiceOf: value, index: 10}
    required: [value, valueDateTime]
class: extension
kind: complex-type
url: https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationRepeatInformation
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 2.2.0