description: Pakkaus package_name: fi.kela.kanta.res.medication.r4 derivation: constraint name: Package type: Extension elements: extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: packageFactor: match: {url: packageFactor} schema: short: Pakkauskoon kerroin index: 1 elements: url: pattern: {type: Uri, value: packageFactor} index: 2 value: short: Pakkauskoon kerroin choices: [valuePositiveInt] index: 4 valuePositiveInt: {type: positiveInt, short: Pakkauskoon kerroin, choiceOf: value, index: 5} packageAmount: match: {url: packageAmount} schema: short: Pakkausten lukumäärä index: 6 elements: url: pattern: {type: Uri, value: packageAmount} index: 7 value: short: Pakkausten lukumäärä choices: [valuePositiveInt] index: 9 valuePositiveInt: {type: positiveInt, short: Pakkausten lukumäärä, choiceOf: value, index: 10} packageSizeText: match: {url: packageSizeText} schema: short: Pakkauskoko tekstinä index: 11 elements: url: pattern: {type: Uri, value: packageSizeText} index: 12 value: short: Pakkauskoko tekstinä choices: [valueString] index: 14 valueString: {type: string, short: Pakkauskoko tekstinä, choiceOf: value, index: 15} url: pattern: {type: Uri, value: 'http://resepti.kanta.fi/StructureDefinition/extension/package'} index: 16 value: choices: [] index: 18 package_version: 1.0.0 extensions: packageFactor: url: packageFactor short: Pakkauskoon kerroin index: 1 elements: url: pattern: {type: Uri, value: packageFactor} index: 2 value: short: Pakkauskoon kerroin choices: [valuePositiveInt] index: 4 valuePositiveInt: {type: positiveInt, short: Pakkauskoon kerroin, choiceOf: value, index: 5} packageAmount: url: packageAmount short: Pakkausten lukumäärä index: 6 elements: url: pattern: {type: Uri, value: packageAmount} index: 7 value: short: Pakkausten lukumäärä choices: [valuePositiveInt] index: 9 valuePositiveInt: {type: positiveInt, short: Pakkausten lukumäärä, choiceOf: value, index: 10} packageSizeText: url: packageSizeText short: Pakkauskoko tekstinä index: 11 elements: url: pattern: {type: Uri, value: packageSizeText} index: 12 value: short: Pakkauskoko tekstinä choices: [valueString] index: 14 valueString: {type: string, short: Pakkauskoko tekstinä, choiceOf: value, index: 15} class: extension kind: complex-type url: http://resepti.kanta.fi/StructureDefinition/extension/package base: http://hl7.org/fhir/StructureDefinition/Extension version: 1.0.0