PackagesCanonicalsLogsProblems
    Packages
    fi.kela.kanta.res.medication.r4@1.0.0
    http://resepti.kanta.fi/fhir/StructureDefinition/extension/dosageInfo
description: Alle 12-vuotiaan potilaan paino \r\nSic!-merkintä\r\nSic!-merkinnän syy\r\nSic!-merkinnän lisätieto\r\nAnnostusohje vain tekstinä
package_name: fi.kela.kanta.res.medication.r4
derivation: constraint
name: DosageInfo
type: Extension
elements:
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 2
      slices:
        weightPatientUnder12YearsOld:
          match: {url: weightPatientUnder12YearsOld}
          schema:
            short: Alle 12-vuotiaan potilaan paino
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: weightPatientUnder12YearsOld}
                index: 2
              value:
                short: Alle 12-vuotiaan potilaan paino
                choices: [valueQuantity]
                index: 4
              valueQuantity: {type: Quantity, short: Alle 12-vuotiaan potilaan paino, choiceOf: value, index: 5}
              value[x]:
                elements:
                  value: {short: Alle 12-vuotiaan potilaan paino, index: 6}
                  unit: {short: Alle 12-vuotiaan potilaan painon yksikkö, index: 7}
                required: [value, unit]
            required: [value, valueQuantity]
        sicLabel:
          match: {url: sicLabel}
          schema:
            short: Sic!-merkintä
            _required: true
            index: 8
            elements:
              url:
                pattern: {type: Uri, value: sicLabel}
                index: 9
              value:
                short: Sic!-merkintä
                choices: [valueBoolean]
                index: 11
              valueBoolean: {type: boolean, short: Sic!-merkintä, choiceOf: value, index: 12}
            required: [value, valueBoolean]
        sicReasonCode:
          match: {url: sicReasonCode}
          schema:
            short: Sic!-merkinnän syy
            index: 13
            elements:
              url:
                pattern: {type: Uri, value: sicReasonCode}
                index: 14
              value:
                short: Sic!-merkinnän syy
                choices: [valueCoding]
                index: 16
              valueCoding: {type: Coding, short: Sic!-merkinnän syy, choiceOf: value, index: 17}
              value[x]:
                elements:
                  system:
                    short: THL - Sic!-merkinnän syy koodiston OID
                    pattern: {type: Uri, value: 'urn:oid:1.2.246.537.6.615.202301'}
                    index: 18
                  code: {short: THL - Sic!-merkinnän syy koodiston arvo, index: 19}
                required: [system, code]
            required: [valueCoding, value]
        sicReasonText:
          match: {url: sicReasonText}
          schema:
            short: Sic!-merkinnän lisätieto
            index: 20
            elements:
              url:
                pattern: {type: Uri, value: sicReasonText}
                index: 21
              value:
                short: Sic!-merkinnän lisätieto
                choices: [valueString]
                index: 23
              valueString: {type: string, short: Sic!-merkinnän lisätieto, choiceOf: value, index: 24}
            required: [valueString, value]
        onlyTextDosageInUse:
          match: {url: onlyTextDosageInUse}
          schema:
            short: Annostusohje vain tekstinä
            _required: true
            index: 25
            elements:
              url:
                pattern: {type: Uri, value: onlyTextDosageInUse}
                index: 26
              value:
                short: Annostusohje vain tekstinä
                choices: [valueBoolean]
                index: 28
              valueBoolean: {type: boolean, short: Annostusohje vain tekstinä, choiceOf: value, index: 29}
            required: [value, valueBoolean]
        dosageChangesAllowed:
          match: {url: dosageChangesAllowed}
          schema:
            short: Annostusohjeen muutos sallittu
            index: 30
            elements:
              url:
                pattern: {type: Uri, value: dosageChangesAllowed}
                index: 31
              value:
                short: Annostusohjeen muutos sallittu
                choices: [valueBoolean]
                index: 33
              valueBoolean: {type: boolean, short: Annostusohjeen muutos sallittu, choiceOf: value, index: 34}
            required: [value, valueBoolean]
  url:
    pattern: {type: Uri, value: 'http://resepti.kanta.fi/fhir/StructureDefinition/extension/dosageInfo'}
    index: 35
  value:
    choices: []
    index: 37
package_version: 1.0.0
extensions:
  weightPatientUnder12YearsOld:
    url: weightPatientUnder12YearsOld
    short: Alle 12-vuotiaan potilaan paino
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: weightPatientUnder12YearsOld}
        index: 2
      value:
        short: Alle 12-vuotiaan potilaan paino
        choices: [valueQuantity]
        index: 4
      valueQuantity: {type: Quantity, short: Alle 12-vuotiaan potilaan paino, choiceOf: value, index: 5}
      value[x]:
        elements:
          value: {short: Alle 12-vuotiaan potilaan paino, index: 6}
          unit: {short: Alle 12-vuotiaan potilaan painon yksikkö, index: 7}
        required: [value, unit]
    required: [value, valueQuantity]
  sicLabel:
    url: sicLabel
    short: Sic!-merkintä
    _required: true
    index: 8
    elements:
      url:
        pattern: {type: Uri, value: sicLabel}
        index: 9
      value:
        short: Sic!-merkintä
        choices: [valueBoolean]
        index: 11
      valueBoolean: {type: boolean, short: Sic!-merkintä, choiceOf: value, index: 12}
    required: [value, valueBoolean]
  sicReasonCode:
    url: sicReasonCode
    short: Sic!-merkinnän syy
    index: 13
    elements:
      url:
        pattern: {type: Uri, value: sicReasonCode}
        index: 14
      value:
        short: Sic!-merkinnän syy
        choices: [valueCoding]
        index: 16
      valueCoding: {type: Coding, short: Sic!-merkinnän syy, choiceOf: value, index: 17}
      value[x]:
        elements:
          system:
            short: THL - Sic!-merkinnän syy koodiston OID
            pattern: {type: Uri, value: 'urn:oid:1.2.246.537.6.615.202301'}
            index: 18
          code: {short: THL - Sic!-merkinnän syy koodiston arvo, index: 19}
        required: [system, code]
    required: [valueCoding, value]
  sicReasonText:
    url: sicReasonText
    short: Sic!-merkinnän lisätieto
    index: 20
    elements:
      url:
        pattern: {type: Uri, value: sicReasonText}
        index: 21
      value:
        short: Sic!-merkinnän lisätieto
        choices: [valueString]
        index: 23
      valueString: {type: string, short: Sic!-merkinnän lisätieto, choiceOf: value, index: 24}
    required: [valueString, value]
  onlyTextDosageInUse:
    url: onlyTextDosageInUse
    short: Annostusohje vain tekstinä
    _required: true
    index: 25
    elements:
      url:
        pattern: {type: Uri, value: onlyTextDosageInUse}
        index: 26
      value:
        short: Annostusohje vain tekstinä
        choices: [valueBoolean]
        index: 28
      valueBoolean: {type: boolean, short: Annostusohje vain tekstinä, choiceOf: value, index: 29}
    required: [value, valueBoolean]
  dosageChangesAllowed:
    url: dosageChangesAllowed
    short: Annostusohjeen muutos sallittu
    index: 30
    elements:
      url:
        pattern: {type: Uri, value: dosageChangesAllowed}
        index: 31
      value:
        short: Annostusohjeen muutos sallittu
        choices: [valueBoolean]
        index: 33
      valueBoolean: {type: boolean, short: Annostusohjeen muutos sallittu, choiceOf: value, index: 34}
    required: [value, valueBoolean]
class: extension
kind: complex-type
url: http://resepti.kanta.fi/fhir/StructureDefinition/extension/dosageInfo
base: http://hl7.org/fhir/StructureDefinition/Extension
version: '0.1'