PackagesCanonicalsLogsProblems
    Packages
    rs/bonsai.first.test.r4@0.1.1
    http://electronichealth.se/fhir/StructureDefinition/NLLMedicationListInfo
description: 'The NLLMedicationListInfo resource contains general information about a patient''s medication list.\r\nIt provides aggregated information about a patient''s medication list e.g. medication list version and a flag telling if a the patient´s medication list contains controlled medicinal products (sv: särskilda läkemedel).'
package_name: rs/bonsai.first.test.r4
derivation: constraint
name: NLLMedicationListInfo
type: Basic
elements:
  id: {mustSupport: true, index: 0}
  meta:
    mustSupport: true
    index: 1
    elements:
      lastUpdated: {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:
    short: Controlled medicinal products
    type: Extension
    mustSupport: true
    url: http://electronichealth.se/fhir/StructureDefinition/NLLControlledDrugs
    index: 7
    slicing:
      slices:
        nllControlledDrugs:
          match: {}
          schema: {short: Controlled medicinal products, type: Extension, mustSupport: true, url: 'http://electronichealth.se/fhir/StructureDefinition/NLLControlledDrugs', index: 7}
          max: 1
        nllMedicationlistVersion:
          match: {}
          schema: {short: Medication list version, type: Extension, mustSupport: true, url: 'http://electronichealth.se/fhir/StructureDefinition/Version', index: 8}
          max: 1
        nllPrivacyLock:
          match: {}
          schema: {short: Privacy lock flag, type: Extension, mustSupport: true, url: 'http://electronichealth.se/fhir/StructureDefinition/NLLPrivacyLock', index: 9}
          max: 1
  code:
    short: 'Resource type: Medication List Information'
    binding: {strength: required, valueSet: 'http://ehalsomyndigheten.se/fhir/ValueSet/basic-resource-types'}
    mustSupport: true
    index: 10
    elements:
      coding:
        mustSupport: true
        index: 11
        elements:
          system:
            pattern: {type: uri, value: 'http://ehalsomyndigheten.se/fhir/CodeSystem/basic-resource-types'}
            mustSupport: true
            type: uri
            index: 12
          version: {mustSupport: true, index: 13}
          code:
            pattern: {type: code, value: medlistinfo}
            mustSupport: true
            type: code
            index: 14
        required: [code]
    required: [coding]
  subject:
    short: Patient
    refers: ['http://electronichealth.se/fhir/StructureDefinition/NLLPatient']
    type: Reference
    mustSupport: true
    index: 15
package_version: 0.1.1
extensions:
  nllControlledDrugs: {url: 'http://electronichealth.se/fhir/StructureDefinition/NLLControlledDrugs', max: 1, short: Controlled medicinal products, type: Extension, mustSupport: true, index: 7}
  nllMedicationlistVersion: {url: 'http://electronichealth.se/fhir/StructureDefinition/Version', max: 1, short: Medication list version, type: Extension, mustSupport: true, index: 8}
  nllPrivacyLock: {url: 'http://electronichealth.se/fhir/StructureDefinition/NLLPrivacyLock', max: 1, short: Privacy lock flag, type: Extension, mustSupport: true, index: 9}
class: profile
kind: resource
url: http://electronichealth.se/fhir/StructureDefinition/NLLMedicationListInfo
base: http://hl7.org/fhir/StructureDefinition/Basic
version: 1.1.0
required: [subject]