PackagesCanonicalsLogsProblems
    Packages
    swiss.mednet.fhir@0.18.0
    https://mednet.swiss/fhir/StructureDefinition/mni-medication
description: MedNet Interface (MNI) - Medication Profile
package_name: swiss.mednet.fhir
derivation: constraint
name: MNIMedication
type: Medication
elements:
  id: {short: 'The id is unique within the space of all resources of the same type on the same server It can be any combination of upper- or lower-case ASCII letters ''A''..''Z'', and ''a''..''z'', numerals (''0''..''9''), ''-'' and ''.'' with a length limit of 64 characters. (This might be an integer, an un-prefixed OID, UUID or any other identifier pattern that meets these constraints.)', mustSupport: true, index: 0}
  implicitRules: {mustSupport: false, index: 1}
  modifierExtension: {mustSupport: false, index: 2}
  code:
    mustSupport: true
    index: 3
    elements:
      coding:
        mustSupport: true
        index: 4
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          - {path: code, type: value}
          min: null
          slices:
            GTIN:
              match: {system: 'urn:oid:2.51.1.1', code: null}
              schema:
                short: Code defined by the GTIN terminology system
                mustSupport: true
                index: 5
                elements:
                  system:
                    pattern: {type: Uri, value: 'urn:oid:2.51.1.1'}
                    mustSupport: true
                    index: 6
                  code: {mustSupport: true, index: 7}
                  display: {mustSupport: true, index: 8}
                required: [system, code]
            Pharmacode:
              match: {system: 'urn:oid:2.16.756.5.30.2.6.1', code: null}
              schema:
                short: Code defined by the Pharmacode terminology system
                mustSupport: true
                index: 9
                elements:
                  system:
                    pattern: {type: Uri, value: 'urn:oid:2.16.756.5.30.2.6.1'}
                    mustSupport: true
                    index: 10
                  code: {mustSupport: true, index: 11}
                  display: {mustSupport: true, index: 12}
                required: [system, code]
            ProductNumber:
              match: {system: 'https://mednet.swiss/fhir/productNumber', code: null}
              schema:
                short: Code defined by the ProductNumber terminology system
                mustSupport: true
                index: 13
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://mednet.swiss/fhir/productNumber'}
                    mustSupport: true
                    index: 14
                  code: {mustSupport: true, index: 15}
                  display: {mustSupport: true, index: 16}
                required: [code]
      text: {short: Should contain the full name or label of the medication in the document language. This text must alway be provided, mustSupport: true, index: 17}
    required: [text]
package_version: 0.18.0
class: profile
kind: resource
url: https://mednet.swiss/fhir/StructureDefinition/mni-medication
base: http://hl7.org/fhir/StructureDefinition/Medication
version: 0.18.0
required: [code]