description: null package_name: bonsai.demo.a derivation: constraint name: NLLUsageDates type: Extension elements: extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: 0 slices: usageStartDate: match: {url: usageStartDate} schema: short: When the patient should start taking the medication. index: 1 elements: url: pattern: {type: Uri, value: usageStartDate} index: 2 value: choices: [valueDate] index: 4 valueDate: {type: date, choiceOf: value, index: 5} usageEndDate: match: {url: usageEndDate} schema: short: When the patient should stop taking the medication. index: 6 elements: url: pattern: {type: Uri, value: usageEndDate} index: 7 value: choices: [valueDate] index: 9 valueDate: {type: date, choiceOf: value, index: 10} scheduleStartDate: match: {url: scheduleStartDate} schema: short: Dosage schedule start date index: 11 elements: url: pattern: {type: Uri, value: scheduleStartDate} index: 12 value: choices: [valueDate] index: 14 valueDate: {type: date, choiceOf: value, index: 15} url: pattern: {type: Uri, value: 'http://electronichealth.se/fhir/StructureDefinition/NLLUsageDates'} index: 16 value: choices: [] index: 18 package_version: 2.2.1 extensions: usageStartDate: url: usageStartDate short: When the patient should start taking the medication. index: 1 elements: url: pattern: {type: Uri, value: usageStartDate} index: 2 value: choices: [valueDate] index: 4 valueDate: {type: date, choiceOf: value, index: 5} usageEndDate: url: usageEndDate short: When the patient should stop taking the medication. index: 6 elements: url: pattern: {type: Uri, value: usageEndDate} index: 7 value: choices: [valueDate] index: 9 valueDate: {type: date, choiceOf: value, index: 10} scheduleStartDate: url: scheduleStartDate short: Dosage schedule start date index: 11 elements: url: pattern: {type: Uri, value: scheduleStartDate} index: 12 value: choices: [valueDate] index: 14 valueDate: {type: date, choiceOf: value, index: 15} class: extension kind: complex-type url: http://electronichealth.se/fhir/StructureDefinition/NLLUsageDates base: http://hl7.org/fhir/StructureDefinition/Extension version: 1.0.0