PackagesCanonicalsLogsProblems
    Packages
    fi.kela.kanta.res.medication.r4@1.0.0
    http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum
description: 'Lääkejatkumon tunnisteet: käytössä olevan lääkkeen tunniste ja lääkejatkumon osatunniste.\r\nUusin -tilatieto.'
package_name: fi.kela.kanta.res.medication.r4
derivation: constraint
name: Continuum
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        medicineId:
          match: {url: medicineId}
          schema:
            short: Käytössä olevan lääkkeen tunniste
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: medicineId}
                index: 2
              value:
                short: Käytössä olevan lääkkeen tunniste
                choices: [valueIdentifier]
                index: 4
              valueIdentifier: {type: Identifier, short: Käytössä olevan lääkkeen tunniste, choiceOf: value, index: 5}
              value[x]:
                elements:
                  system:
                    pattern: {type: Uri, value: 'urn:ietf:rfc:3986'}
                    index: 6
                  value: {short: Käytössä olevan lääkkeen tunniste, index: 7}
                required: [value, system]
            required: [valueIdentifier, value]
        medicineIdPart:
          match: {url: medicineIdPart}
          schema:
            short: Lääkejatkumon osatunniste
            index: 8
            elements:
              url:
                pattern: {type: Uri, value: medicineIdPart}
                index: 9
              value:
                short: Lääkejatkumon osatunniste
                choices: [valuePositiveInt]
                index: 11
              valuePositiveInt: {type: positiveInt, short: Lääkejatkumon osatunniste, choiceOf: value, index: 12}
            required: [valuePositiveInt, value]
        newest:
          match: {url: newest}
          schema:
            short: Uusin -tilatieto
            index: 13
            elements:
              url:
                pattern: {type: Uri, value: newest}
                index: 14
              value:
                short: Uusin -tilatieto
                choices: [valueBoolean]
                index: 16
              valueBoolean: {type: boolean, short: Uusin -tilatieto, choiceOf: value, index: 17}
            required: [value, valueBoolean]
  url:
    pattern: {type: Uri, value: 'http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum'}
    index: 18
  value:
    choices: []
    index: 20
package_version: 1.0.0
extensions:
  medicineId:
    url: medicineId
    short: Käytössä olevan lääkkeen tunniste
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: medicineId}
        index: 2
      value:
        short: Käytössä olevan lääkkeen tunniste
        choices: [valueIdentifier]
        index: 4
      valueIdentifier: {type: Identifier, short: Käytössä olevan lääkkeen tunniste, choiceOf: value, index: 5}
      value[x]:
        elements:
          system:
            pattern: {type: Uri, value: 'urn:ietf:rfc:3986'}
            index: 6
          value: {short: Käytössä olevan lääkkeen tunniste, index: 7}
        required: [value, system]
    required: [valueIdentifier, value]
  medicineIdPart:
    url: medicineIdPart
    short: Lääkejatkumon osatunniste
    index: 8
    elements:
      url:
        pattern: {type: Uri, value: medicineIdPart}
        index: 9
      value:
        short: Lääkejatkumon osatunniste
        choices: [valuePositiveInt]
        index: 11
      valuePositiveInt: {type: positiveInt, short: Lääkejatkumon osatunniste, choiceOf: value, index: 12}
    required: [valuePositiveInt, value]
  newest:
    url: newest
    short: Uusin -tilatieto
    index: 13
    elements:
      url:
        pattern: {type: Uri, value: newest}
        index: 14
      value:
        short: Uusin -tilatieto
        choices: [valueBoolean]
        index: 16
      valueBoolean: {type: boolean, short: Uusin -tilatieto, choiceOf: value, index: 17}
    required: [value, valueBoolean]
class: extension
kind: complex-type
url: http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum
base: http://hl7.org/fhir/StructureDefinition/Extension
version: '0.1'