PackagesCanonicalsLogsProblems
    Packages
    sfm.030521@1.0.1
    http://ehelse.no/fhir/StructureDefinition/sfm-lib-List
description: LIB items and related warnings for selected patient in a given period.
package_name: sfm.030521
derivation: constraint
name: SfmLibList
type: List
elements:
  date: {mustSupport: true, index: 30}
  mode: {mustSupport: true, index: 25}
  source: {index: 31}
  title: {index: 26}
  note: {mustSupport: true, index: 32}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        actor:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://ehelse.no/fhir/StructureDefinition/sfm-actor
            index: 1
            extensions:
              role: {url: null, mustSupport: true, index: 3}
              practioner: {url: null, mustSupport: true, index: 4}
            elements:
              extension:
                index: 2
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    role:
                      match: {url: null}
                      schema: {mustSupport: true, index: 3}
                    practioner:
                      match: {url: null}
                      schema: {mustSupport: true, index: 4}
        metaData:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehelse.no/fhir/StructureDefinition/sfm-lib-list-meta-data', index: 5}
        warnings:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://ehelse.no/fhir/StructureDefinition/sfm-warning
            index: 6
            extensions:
              doublePrescription:
                url: null
                mustSupport: true
                index: 8
                extensions:
                  reference: {url: null, mustSupport: true, index: 10}
                  reason: {url: null, mustSupport: true, index: 11}
                  codedreason: {url: null, mustSupport: true, index: 12}
                elements:
                  extension:
                    index: 9
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        reference:
                          match: {url: null}
                          schema: {mustSupport: true, index: 10}
                        reason:
                          match: {url: null}
                          schema: {mustSupport: true, index: 11}
                        codedreason:
                          match: {url: null}
                          schema: {mustSupport: true, index: 12}
              interaction:
                url: null
                index: 13
                extensions:
                  reference: {url: null, mustSupport: true, index: 15}
                  reason: {url: null, mustSupport: true, index: 16}
                  codedreason: {url: null, mustSupport: true, index: 17}
                  interactiondata: {url: null, mustSupport: true, index: 18}
                elements:
                  extension:
                    index: 14
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        reference:
                          match: {url: null}
                          schema: {mustSupport: true, index: 15}
                        reason:
                          match: {url: null}
                          schema: {mustSupport: true, index: 16}
                        codedreason:
                          match: {url: null}
                          schema: {mustSupport: true, index: 17}
                        interactiondata:
                          match: {url: null}
                          schema: {mustSupport: true, index: 18}
              allergyIntollerance:
                url: null
                index: 19
                extensions:
                  reference: {url: null, mustSupport: true, index: 21}
                  reason: {url: null, mustSupport: true, index: 22}
                  codedreason: {url: null, mustSupport: true, index: 23}
                elements:
                  extension:
                    index: 20
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        reference:
                          match: {url: null}
                          schema: {mustSupport: true, index: 21}
                        reason:
                          match: {url: null}
                          schema: {mustSupport: true, index: 22}
                        codedreason:
                          match: {url: null}
                          schema: {mustSupport: true, index: 23}
            elements:
              extension:
                index: 7
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    doublePrescription:
                      match: {url: null}
                      schema:
                        mustSupport: true
                        index: 8
                        extensions:
                          reference: {url: null, mustSupport: true, index: 10}
                          reason: {url: null, mustSupport: true, index: 11}
                          codedreason: {url: null, mustSupport: true, index: 12}
                        elements:
                          extension:
                            index: 9
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: null
                              slices:
                                reference:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 10}
                                reason:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 11}
                                codedreason:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 12}
                    interaction:
                      match: {url: null}
                      schema:
                        index: 13
                        extensions:
                          reference: {url: null, mustSupport: true, index: 15}
                          reason: {url: null, mustSupport: true, index: 16}
                          codedreason: {url: null, mustSupport: true, index: 17}
                          interactiondata: {url: null, mustSupport: true, index: 18}
                        elements:
                          extension:
                            index: 14
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: null
                              slices:
                                reference:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 15}
                                reason:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 16}
                                codedreason:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 17}
                                interactiondata:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 18}
                    allergyIntollerance:
                      match: {url: null}
                      schema:
                        index: 19
                        extensions:
                          reference: {url: null, mustSupport: true, index: 21}
                          reason: {url: null, mustSupport: true, index: 22}
                          codedreason: {url: null, mustSupport: true, index: 23}
                        elements:
                          extension:
                            index: 20
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: null
                              slices:
                                reference:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 21}
                                reason:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 22}
                                codedreason:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 23}
  status: {mustSupport: true, index: 24}
  code:
    short: List of prescriptions
    pattern:
      type: CodeableConcept
      value: {text: medications}
    index: 27
    elements:
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'http://ehelse.no/fhir/CodeSystem/sfm-type-lib-list'}
            index: 28
  entry:
    mustSupport: true
    index: 33
    elements:
      item:
        type: Reference
        refers: ['http://ehelse.no/fhir/StructureDefinition/sfm-Magistrell-Medication', 'http://ehelse.no/fhir/StructureDefinition/sfm-MedicationStatement', 'http://ehelse.no/fhir/StructureDefinition/sfm-NutritionStatement', 'http://nhn.no/kj/fhir/StructureDefinition/KjAllergyIntolerance']
        index: 34
  subject: {index: 29}
package_version: 1.0.1
extensions:
  actor:
    url: http://ehelse.no/fhir/StructureDefinition/sfm-actor
    type: Extension
    mustSupport: true
    index: 1
    extensions:
      role: {url: null, mustSupport: true, index: 3}
      practioner: {url: null, mustSupport: true, index: 4}
    elements:
      extension:
        index: 2
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            role:
              match: {url: null}
              schema: {mustSupport: true, index: 3}
            practioner:
              match: {url: null}
              schema: {mustSupport: true, index: 4}
  metaData: {url: 'http://ehelse.no/fhir/StructureDefinition/sfm-lib-list-meta-data', type: Extension, index: 5}
  warnings:
    url: http://ehelse.no/fhir/StructureDefinition/sfm-warning
    type: Extension
    mustSupport: true
    index: 6
    extensions:
      doublePrescription:
        url: null
        mustSupport: true
        index: 8
        extensions:
          reference: {url: null, mustSupport: true, index: 10}
          reason: {url: null, mustSupport: true, index: 11}
          codedreason: {url: null, mustSupport: true, index: 12}
        elements:
          extension:
            index: 9
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                reference:
                  match: {url: null}
                  schema: {mustSupport: true, index: 10}
                reason:
                  match: {url: null}
                  schema: {mustSupport: true, index: 11}
                codedreason:
                  match: {url: null}
                  schema: {mustSupport: true, index: 12}
      interaction:
        url: null
        index: 13
        extensions:
          reference: {url: null, mustSupport: true, index: 15}
          reason: {url: null, mustSupport: true, index: 16}
          codedreason: {url: null, mustSupport: true, index: 17}
          interactiondata: {url: null, mustSupport: true, index: 18}
        elements:
          extension:
            index: 14
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                reference:
                  match: {url: null}
                  schema: {mustSupport: true, index: 15}
                reason:
                  match: {url: null}
                  schema: {mustSupport: true, index: 16}
                codedreason:
                  match: {url: null}
                  schema: {mustSupport: true, index: 17}
                interactiondata:
                  match: {url: null}
                  schema: {mustSupport: true, index: 18}
      allergyIntollerance:
        url: null
        index: 19
        extensions:
          reference: {url: null, mustSupport: true, index: 21}
          reason: {url: null, mustSupport: true, index: 22}
          codedreason: {url: null, mustSupport: true, index: 23}
        elements:
          extension:
            index: 20
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                reference:
                  match: {url: null}
                  schema: {mustSupport: true, index: 21}
                reason:
                  match: {url: null}
                  schema: {mustSupport: true, index: 22}
                codedreason:
                  match: {url: null}
                  schema: {mustSupport: true, index: 23}
    elements:
      extension:
        index: 7
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            doublePrescription:
              match: {url: null}
              schema:
                mustSupport: true
                index: 8
                extensions:
                  reference: {url: null, mustSupport: true, index: 10}
                  reason: {url: null, mustSupport: true, index: 11}
                  codedreason: {url: null, mustSupport: true, index: 12}
                elements:
                  extension:
                    index: 9
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        reference:
                          match: {url: null}
                          schema: {mustSupport: true, index: 10}
                        reason:
                          match: {url: null}
                          schema: {mustSupport: true, index: 11}
                        codedreason:
                          match: {url: null}
                          schema: {mustSupport: true, index: 12}
            interaction:
              match: {url: null}
              schema:
                index: 13
                extensions:
                  reference: {url: null, mustSupport: true, index: 15}
                  reason: {url: null, mustSupport: true, index: 16}
                  codedreason: {url: null, mustSupport: true, index: 17}
                  interactiondata: {url: null, mustSupport: true, index: 18}
                elements:
                  extension:
                    index: 14
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        reference:
                          match: {url: null}
                          schema: {mustSupport: true, index: 15}
                        reason:
                          match: {url: null}
                          schema: {mustSupport: true, index: 16}
                        codedreason:
                          match: {url: null}
                          schema: {mustSupport: true, index: 17}
                        interactiondata:
                          match: {url: null}
                          schema: {mustSupport: true, index: 18}
            allergyIntollerance:
              match: {url: null}
              schema:
                index: 19
                extensions:
                  reference: {url: null, mustSupport: true, index: 21}
                  reason: {url: null, mustSupport: true, index: 22}
                  codedreason: {url: null, mustSupport: true, index: 23}
                elements:
                  extension:
                    index: 20
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        reference:
                          match: {url: null}
                          schema: {mustSupport: true, index: 21}
                        reason:
                          match: {url: null}
                          schema: {mustSupport: true, index: 22}
                        codedreason:
                          match: {url: null}
                          schema: {mustSupport: true, index: 23}
class: profile
kind: resource
url: http://ehelse.no/fhir/StructureDefinition/sfm-lib-List
base: http://hl7.org/fhir/StructureDefinition/List
version: '1.0'
required: [date]