description: null package_name: rs/bonsai.first.test.r4 derivation: constraint name: NLLDosage type: Dosage elements: site: short: Site of administration mustSupport: true index: 58 elements: coding: binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/ValueSet/nll-snomed-site'} mustSupport: true index: 59 elements: system: {mustSupport: true, index: 60} version: {mustSupport: true, index: 61} code: {mustSupport: true, index: 62} required: [code] text: {mustSupport: true, index: 63} required: [coding] asNeeded: short: Take "as needed" mustSupport: true choices: [asNeededBoolean] index: 56 method: short: Method used for administering the medication mustSupport: true index: 70 elements: coding: binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/ValueSet/nll-snomed-method'} mustSupport: true index: 71 elements: system: {mustSupport: true, index: 72} version: {mustSupport: true, index: 73} code: {mustSupport: true, index: 74} required: [code] text: {maxLength: 256, mustSupport: true, index: 75} required: [coding] patientInstruction: {short: Patient oriented dosage instructions, mustSupport: true, maxLength: 512, index: 19} route: short: How the medication should enter the body mustSupport: true index: 64 elements: coding: binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/ValueSet/nll-snomed-route'} mustSupport: true index: 65 elements: system: {mustSupport: true, index: 66} version: {mustSupport: true, index: 67} code: {mustSupport: true, index: 68} required: [code] text: {maxLength: 256, mustSupport: true, index: 69} required: [coding] asNeededBoolean: {short: Take "as needed", type: boolean, mustSupport: true, choiceOf: asNeeded, index: 57} extension: short: Dose exceeds recommended dose type: Extension mustSupport: true url: http://electronichealth.se/fhir/StructureDefinition/NLLObservandumDose index: 0 slicing: slices: nllObservandumDose: match: {} schema: {short: Dose exceeds recommended dose, type: Extension, mustSupport: true, url: 'http://electronichealth.se/fhir/StructureDefinition/NLLObservandumDose', index: 0} max: 1 nllAdministeringInstruction: match: {} schema: {short: Patient oriented administration instructions, type: Extension, mustSupport: true, url: 'http://electronichealth.se/fhir/StructureDefinition/NLLAdministeringInstruction', index: 1} max: 1 nllMedicalDevice: match: {} schema: short: Medical device to use for administration. type: Extension mustSupport: true url: http://electronichealth.se/fhir/StructureDefinition/NLLMedicalDevice index: 2 elements: value: choices: [] index: 4 value[x]: elements: coding: binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/ValueSet/nll-snomed-medical-device'} index: 5 text: {maxLength: 256, index: 6} nllSubSequence: match: {} schema: {short: Subsequence, type: Extension, mustSupport: true, url: 'http://electronichealth.se/fhir/StructureDefinition/NLLSubSequence', index: 7} max: 1 nllDosageType: match: {} schema: {short: Dosage type, type: Extension, mustSupport: true, url: 'http://electronichealth.se/fhir/StructureDefinition/NLLDosageType', index: 8} nllSiteQualifier: match: {} schema: short: More precise administration site type: Extension mustSupport: true url: http://electronichealth.se/fhir/StructureDefinition/NLLSiteQualifier index: 9 elements: value: choices: [] index: 11 value[x]: elements: coding: index: 12 elements: code: {index: 13} text: {maxLength: 256, index: 14} timing: mustSupport: true index: 20 elements: repeat: mustSupport: true index: 21 extensions: nllSubSequenceDuration: {url: 'http://electronichealth.se/fhir/StructureDefinition/NLLSubSequenceDuration', short: SubSequence duration, type: Extension, mustSupport: true, index: 22} elements: boundsRange: short: Range of lengths type: Range mustSupport: true choiceOf: bounds index: 35 slicing: slices: boundsRange: match: {} schema: {short: Range of lengths, type: Range, mustSupport: true, choiceOf: bounds, index: 35} frequencyMax: {mustSupport: true, index: 48} when: binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/ValueSet/nll-event-timing'} mustSupport: true index: 54 periodUnit: short: h | d - unit of time (UCUM) binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/ValueSet/dose-period-units'} mustSupport: true index: 51 frequency: {mustSupport: true, index: 47} duration: {short: Duration of the administration, mustSupport: true, index: 45} bounds: short: Range of lengths mustSupport: true choices: [boundsRange] index: 34 slicing: slices: boundsRange: match: {} schema: short: Range of lengths mustSupport: true choices: [boundsRange] index: 34 extension: short: SubSequence duration type: Extension mustSupport: true url: http://electronichealth.se/fhir/StructureDefinition/NLLSubSequenceDuration index: 22 slicing: slices: nllSubSequenceDuration: match: {} schema: {short: SubSequence duration, type: Extension, mustSupport: true, url: 'http://electronichealth.se/fhir/StructureDefinition/NLLSubSequenceDuration', index: 22} boundsDuration: short: Sequence length type: Duration mustSupport: true choiceOf: bounds index: 29 slicing: slices: boundsDuration: match: {} schema: {short: Sequence length, type: Duration, mustSupport: true, choiceOf: bounds, index: 29} durationUnit: short: min | h - unit of time (UCUM) binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/ValueSet/dose-duration-units'} mustSupport: true index: 46 dayOfWeek: {mustSupport: true, index: 52} count: {short: Single dose, mustSupport: true, index: 44} bounds[x]: elements: low: mustSupport: true index: 36 elements: value: {mustSupport: true, index: 37} system: {mustSupport: true, index: 38} code: binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/ValueSet/sequence-length-units'} pattern: {type: code, value: d} mustSupport: true type: code index: 39 required: [code, value] high: mustSupport: true index: 40 elements: value: {mustSupport: true, index: 41} system: {mustSupport: true, index: 42} code: binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/ValueSet/sequence-length-units'} pattern: {type: code, value: d} mustSupport: true type: code index: 43 required: [code, value] required: [high, low] periodMax: {mustSupport: true, index: 50} period: {mustSupport: true, index: 49} timeOfDay: {mustSupport: true, index: 53} additionalInstruction: mustSupport: true index: 17 elements: text: {maxLength: 512, mustSupport: true, index: 18} sequence: {mustSupport: true, index: 15} maxDosePerPeriod: short: Upper limit on medication per day mustSupport: true index: 102 elements: numerator: binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/ValueSet/nll-ucum-unit'} mustSupport: true index: 103 elements: value: {short: Max dose therapeutic substance value, mustSupport: true, index: 104} system: {mustSupport: true, index: 105} code: {mustSupport: true, index: 106} required: [code] denominator: mustSupport: true pattern: type: Quantity value: {code: d, value: 1, system: 'http://unitsofmeasure.org'} type: Quantity index: 107 elements: value: mustSupport: true pattern: {type: decimal, value: 1} type: decimal index: 108 system: pattern: {type: uri, value: 'http://unitsofmeasure.org'} mustSupport: true type: uri index: 109 code: pattern: {type: code, value: d} mustSupport: true type: code index: 110 doseAndRate: mustSupport: true index: 76 elements: dose: mustSupport: true choices: [doseQuantity] index: 91 slicing: slices: doseQuantity: match: {} schema: mustSupport: true choices: [doseQuantity] index: 91 doseRange: type: Range mustSupport: true choiceOf: dose index: 81 slicing: slices: doseRange: match: {} schema: {type: Range, mustSupport: true, choiceOf: dose, index: 81} dose[x]: elements: value: {short: Dose quantity value, mustSupport: true, index: 93} system: {mustSupport: true, index: 94} code: {mustSupport: true, index: 95} doseQuantity: type: Quantity mustSupport: true choiceOf: dose index: 92 slicing: slices: doseQuantity: match: {} schema: {type: Quantity, mustSupport: true, choiceOf: dose, index: 92} rate: mustSupport: true choices: [rateQuantity] index: 97 rateQuantity: {type: Quantity, mustSupport: true, choiceOf: rate, index: 98} rate[x]: elements: value: {short: Rate value, mustSupport: true, index: 99} system: {mustSupport: true, index: 100} code: {mustSupport: true, index: 101} required: [code] text: {short: Free text dosage, mustSupport: true, maxLength: 512, index: 16} package_version: 0.1.1 extensions: nllObservandumDose: {url: 'http://electronichealth.se/fhir/StructureDefinition/NLLObservandumDose', max: 1, short: Dose exceeds recommended dose, type: Extension, mustSupport: true, index: 0} nllAdministeringInstruction: {url: 'http://electronichealth.se/fhir/StructureDefinition/NLLAdministeringInstruction', max: 1, short: Patient oriented administration instructions, type: Extension, mustSupport: true, index: 1} nllMedicalDevice: url: http://electronichealth.se/fhir/StructureDefinition/NLLMedicalDevice short: Medical device to use for administration. type: Extension mustSupport: true index: 2 elements: value: choices: [] index: 4 value[x]: elements: coding: binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/ValueSet/nll-snomed-medical-device'} index: 5 text: {maxLength: 256, index: 6} nllSubSequence: {url: 'http://electronichealth.se/fhir/StructureDefinition/NLLSubSequence', max: 1, short: Subsequence, type: Extension, mustSupport: true, index: 7} nllDosageType: {url: 'http://electronichealth.se/fhir/StructureDefinition/NLLDosageType', short: Dosage type, type: Extension, mustSupport: true, index: 8} nllSiteQualifier: url: http://electronichealth.se/fhir/StructureDefinition/NLLSiteQualifier short: More precise administration site type: Extension mustSupport: true index: 9 elements: value: choices: [] index: 11 value[x]: elements: coding: index: 12 elements: code: {index: 13} text: {maxLength: 256, index: 14} class: complex-type kind: complex-type url: http://electronichealth.se/fhir/StructureDefinition/NLLDosage base: http://hl7.org/fhir/StructureDefinition/Dosage version: 1.0.5 required: [patientInstruction, sequence]