PackagesCanonicalsLogsProblems
    Packages
    swiss.mednet.fhir@0.3.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}
  code:
    mustSupport: true
    index: 1
    elements:
      coding:
        mustSupport: true
        index: 2
        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: 3
                elements:
                  system:
                    pattern: {type: Uri, value: 'urn:oid:2.51.1.1'}
                    mustSupport: true
                    index: 4
                  code: {mustSupport: true, index: 5}
                  display: {mustSupport: true, index: 6}
                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: 7
                elements:
                  system:
                    pattern: {type: Uri, value: 'urn:oid:2.16.756.5.30.2.6.1'}
                    mustSupport: true
                    index: 8
                  code: {mustSupport: true, index: 9}
                  display: {mustSupport: true, index: 10}
                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: 11
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://mednet.swiss/fhir/productNumber'}
                    mustSupport: true
                    index: 12
                  code: {mustSupport: true, index: 13}
                  display: {mustSupport: true, index: 14}
                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: 15}
    required: [text]
package_version: 0.3.0
class: profile
kind: resource
url: https://mednet.swiss/fhir/StructureDefinition/mni-medication
base: http://hl7.org/fhir/StructureDefinition/Medication
version: 0.3.0
required: [code]