description: 'Laajennuksella ilmoitetaan ajanvarauksen syy: Asiakkaan antamat tiedot, varaamisen pääasiallinen syy, ammattilaisen arvio asiakkaan palvelutarpeesta.' package_name: fi.kela.kanta.pta.ajanvaraus.r4 derivation: constraint name: AppointmentReason type: Extension elements: extension: short: Asiakkaan antamat tiedot index: 0 slicing: slices: ReasonText: match: {} schema: short: Asiakkaan antamat tiedot index: 0 elements: url: pattern: {type: Uri, value: ReasonText} index: 1 value: choices: [valueString] index: 3 valueString: {type: string, choiceOf: value, index: 4} required: [valueString, value] ReasonCode: match: {} schema: short: Kontaktin syy index: 5 elements: url: pattern: {type: Uri, value: ReasonCode} index: 6 value: short: Kontaktin syy choices: [valueCoding] index: 8 valueCoding: {type: Coding, short: Kontaktin syy, choiceOf: value, index: 9} value[x]: elements: system: {index: 10} version: {index: 11} code: {short: Kontaktin syyn koodiarvo, index: 12} display: {short: Kontaktin syyn nimi, index: 13} userSelected: {index: 14} required: [display, system, code] required: [valueCoding, value] ServiceNeed: match: {} schema: short: Palvelutarve index: 15 elements: url: pattern: {type: Uri, value: ServiceNeed} index: 16 value: choices: [valueString] index: 18 valueString: {type: string, choiceOf: value, index: 19} required: [valueString, value] url: pattern: {type: Uri, value: 'https://pta.kanta.fi/fhir/StructureDefinition/extension/AppointmentReason'} index: 20 value: choices: [] index: 22 package_version: 1.0.0-RC1 extensions: ReasonText: url: null short: Asiakkaan antamat tiedot index: 0 elements: url: pattern: {type: Uri, value: ReasonText} index: 1 value: choices: [valueString] index: 3 valueString: {type: string, choiceOf: value, index: 4} required: [valueString, value] ReasonCode: url: null short: Kontaktin syy index: 5 elements: url: pattern: {type: Uri, value: ReasonCode} index: 6 value: short: Kontaktin syy choices: [valueCoding] index: 8 valueCoding: {type: Coding, short: Kontaktin syy, choiceOf: value, index: 9} value[x]: elements: system: {index: 10} version: {index: 11} code: {short: Kontaktin syyn koodiarvo, index: 12} display: {short: Kontaktin syyn nimi, index: 13} userSelected: {index: 14} required: [display, system, code] required: [valueCoding, value] ServiceNeed: url: null short: Palvelutarve index: 15 elements: url: pattern: {type: Uri, value: ServiceNeed} index: 16 value: choices: [valueString] index: 18 valueString: {type: string, choiceOf: value, index: 19} required: [valueString, value] class: extension kind: complex-type url: https://pta.kanta.fi/fhir/StructureDefinition/extension/AppointmentReason base: http://hl7.org/fhir/StructureDefinition/Extension version: '0.2'