description: Referal used to represent information about the training-referal (GGOP) from a hospital to a Danish municipalities package_name: kl.dk.fhir.rehab derivation: constraint name: KLGateway140ServiceRequest type: ServiceRequest elements: occurrence[x]: elements: start: {short: '[DK] anledningTilbudtFørsteKontakt', index: 33} end: {index: 34} performerType: {index: 39} category: short: '[DK] anledningTypeAfGGOP' array: true min: 1 max: 2 index: 12 elements: coding: binding: {strength: required, valueSet: 'http://fhir.kl.dk/rehab/ValueSet/ServiceRequestTypes140'} index: 13 insurance: {index: 45} instantiatesCanonical: {index: 5} instantiatesUri: {index: 6} relevantHistory: {index: 51} asNeeded: choices: [] index: 36 supportingInfo: {index: 46} encounter: {index: 21} patientInstruction: {index: 50} specimen: {index: 47} reasonCode: {index: 43} authoredOn: {short: '[DK] anledningstid', index: 37} occurrenceTiming: type: Timing choiceOf: occurrence index: 29 slicing: slices: occurrenceTiming: match: {} schema: {type: Timing, choiceOf: occurrence, index: 29} min: 0 max: 0 note: {index: 49} requisition: {index: 9} extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: dischargeDate: match: {url: null} schema: {type: Extension, short: '[DK] anledningUdskrivningsdato', url: 'http://fhir.kl.dk/rehab/StructureDefinition/PreconditionDate', index: 1} min: 0 max: 1 statusReason: match: {url: null} schema: type: Extension short: '[DK] anledningÅrsagManglendeAktivitet' url: http://hl7.org/fhir/StructureDefinition/request-statusReason index: 2 elements: value[x]: elements: coding: binding: {strength: required, valueSet: 'http://fhir.kl.dk/rehab/ValueSet/ServiceRequestStatusReasons140'} index: 3 locationReference: {index: 42} requester: type: Reference short: '[DK] anledningAnsvarlig' refers: ['http://fhir.kl.dk/rehab/StructureDefinition/klgateway-140-organization'] index: 38 priority: {index: 14} occurrencePeriod: type: Period choiceOf: occurrence index: 32 slicing: slices: occurrencePeriod: match: {} schema: {type: Period, choiceOf: occurrence, index: 32} min: 0 max: 1 status: {short: '[DK] anledningsStatus', index: 10} code: elements: coding: short: '[DK] anledningsIndsats' binding: {strength: required, valueSet: 'http://fhir.kl.dk/rehab/ValueSet/ServiceTypes140'} index: 16 identifier: {index: 4} doNotPerform: {index: 15} bodySite: {index: 48} intent: short: '[DK] anledningsHensigt' pattern: {type: Code, value: plan} index: 11 replaces: type: Reference short: '[DK] anledningErstatter' refers: ['http://fhir.kl.dk/rehab/StructureDefinition/klgateway-140-servicerequest'] index: 8 orderDetail: {index: 17} basedOn: {index: 7} quantity: choices: [] index: 19 locationCode: {index: 41} occurrenceDateTime: type: dateTime choiceOf: occurrence index: 26 slicing: slices: occurrenceDateTime: match: {} schema: {type: dateTime, choiceOf: occurrence, index: 26} min: 0 max: 0 subject: type: Reference short: '[DK] anledningsSubjekt' refers: ['http://fhir.kl.dk/rehab/StructureDefinition/klgateway-140-citizen'] index: 20 occurrence: choices: [occurrencePeriod] index: 31 slicing: slices: occurrencePeriod: match: {} schema: choices: [occurrencePeriod] index: 31 min: 0 max: 1 performer: {index: 40} reasonReference: type: Reference short: '[DK] anledningsbegrundelse' refers: ['http://fhir.kl.dk/rehab/StructureDefinition/klgateway-140-focus-condition'] index: 44 package_version: 2.0.0 extensions: dischargeDate: {url: 'http://fhir.kl.dk/rehab/StructureDefinition/PreconditionDate', min: 0, max: 1, type: Extension, short: '[DK] anledningUdskrivningsdato', index: 1} statusReason: url: http://hl7.org/fhir/StructureDefinition/request-statusReason type: Extension short: '[DK] anledningÅrsagManglendeAktivitet' index: 2 elements: value[x]: elements: coding: binding: {strength: required, valueSet: 'http://fhir.kl.dk/rehab/ValueSet/ServiceRequestStatusReasons140'} index: 3 class: profile kind: resource url: http://fhir.kl.dk/rehab/StructureDefinition/klgateway-140-servicerequest base: http://hl7.org/fhir/StructureDefinition/ServiceRequest version: 2.0.0 required: [authoredOn, requester, category]