description: null package_name: bonsai.first.test.r4 derivation: constraint name: NLLDataLock type: Basic elements: id: {mustSupport: true, index: 0} meta: mustSupport: true index: 1 elements: versionId: {mustSupport: true, index: 2} security: binding: {strength: extensible, valueSet: 'http://ehalsomyndigheten.se/fhir/ValueSet/security-labels'} mustSupport: true index: 3 elements: system: {mustSupport: true, index: 4} version: {mustSupport: true, index: 5} code: {mustSupport: true, index: 6} extension: array: true min: 3 index: 7 slicing: slices: nllTargetPatient: match: {} schema: {short: Reference to patient affected by this lock, type: Extension, mustSupport: true, url: 'http://electronichealth.se/fhir/StructureDefinition/NLLDataLockTarget', index: 8} max: 1 nllPrescriptionChain: match: {} schema: {short: Prescription chain id, type: Extension, mustSupport: true, url: 'http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionChain', index: 9} max: 1 nllLockedSubjectType: match: {} schema: short: Type of information locked type: Extension mustSupport: true binding: {strength: required, valueSet: 'http://ehalsomyndigheten.se/fhir/ValueSet/locked-subjects'} url: http://electronichealth.se/fhir/StructureDefinition/NLLLockedSubjectType index: 10 min: 1 max: 1 nllStatus: match: {} schema: short: The status of the lock, reflects if it is active or not type: Extension mustSupport: true url: http://electronichealth.se/fhir/StructureDefinition/NLLDataLockStatus index: 11 elements: value: choices: [] index: 13 nllLegalGround: match: {} schema: short: Legal ground for the data lock type: Extension mustSupport: true binding: {strength: required, valueSet: 'http://ehalsomyndigheten.se/fhir/ValueSet/data-lock-types'} url: http://electronichealth.se/fhir/StructureDefinition/NLLDataLockLegalGround index: 14 min: 1 max: 1 code: short: 'Resource type: Data Lock (sv. Spärr)' binding: {strength: required, valueSet: 'http://ehalsomyndigheten.se/fhir/ValueSet/basic-resource-types'} mustSupport: true index: 15 elements: coding: mustSupport: true index: 16 elements: system: pattern: {type: uri, value: 'http://ehalsomyndigheten.se/fhir/CodeSystem/basic-resource-types'} mustSupport: true type: uri index: 17 version: {mustSupport: true, index: 18} code: pattern: {type: code, value: datalock} mustSupport: true type: code index: 19 required: [code] required: [coding] package_version: 0.1.3 extensions: nllTargetPatient: {url: 'http://electronichealth.se/fhir/StructureDefinition/NLLDataLockTarget', max: 1, short: Reference to patient affected by this lock, type: Extension, mustSupport: true, index: 8} nllPrescriptionChain: {url: 'http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionChain', max: 1, short: Prescription chain id, type: Extension, mustSupport: true, index: 9} nllLockedSubjectType: url: http://electronichealth.se/fhir/StructureDefinition/NLLLockedSubjectType min: 1 max: 1 short: Type of information locked type: Extension mustSupport: true binding: {strength: required, valueSet: 'http://ehalsomyndigheten.se/fhir/ValueSet/locked-subjects'} index: 10 nllStatus: url: http://electronichealth.se/fhir/StructureDefinition/NLLDataLockStatus short: The status of the lock, reflects if it is active or not type: Extension mustSupport: true index: 11 elements: value: choices: [] index: 13 nllLegalGround: url: http://electronichealth.se/fhir/StructureDefinition/NLLDataLockLegalGround min: 1 max: 1 short: Legal ground for the data lock type: Extension mustSupport: true binding: {strength: required, valueSet: 'http://ehalsomyndigheten.se/fhir/ValueSet/data-lock-types'} index: 14 class: profile kind: resource url: http://electronichealth.se/fhir/StructureDefinition/NLLDataLock base: http://hl7.org/fhir/StructureDefinition/Basic version: 1.1.0