PackagesCanonicalsLogsProblems
    Packages
    swiss.mednet.fhir@0.7.0
    https://mednet.swiss/fhir/StructureDefinition/mni-medicationStatement
description: MedNet Interface (MNI) - Medication Statement Profile
package_name: swiss.mednet.fhir
derivation: constraint
name: MNIMedicationStatement
type: MedicationStatement
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}
  contained: {short: It is possible to include the medication as embedded resource in this contained object. This way it is not needed to include it in the Bundle, mustSupport: true, index: 1}
  status:
    short: 'Only active medication statement are allowed. Fixed value : active'
    pattern: {type: Code, value: active}
    mustSupport: true
    index: 2
  medicationReference:
    type: Reference
    mustSupport: true
    refers: ['https://mednet.swiss/fhir/StructureDefinition/mni-medication']
    index: 3
  subject:
    type: Reference
    short: Link to the Patient
    mustSupport: true
    refers: ['https://mednet.swiss/fhir/StructureDefinition/mni-patient']
    index: 4
  effectiveDateTime: {type: dateTime, mustSupport: true, index: 5}
  effectivePeriod:
    type: Period
    mustSupport: true
    index: 6
    elements:
      start: {mustSupport: true, index: 7}
      end: {mustSupport: true, index: 8}
    required: [start, end]
  dosage:
    mustSupport: true
    index: 9
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: profile}
      min: null
      slices:
        nonstructured:
          match: {}
          schema: {short: If it is not possible to deliver the dosage in structured version It can be delivered as simple text in the format X-X-X-X (Morning-Afternoon-Evening-Night), type: Dosage, mustSupport: true, index: 10}
          min: 0
          max: 1
        structured:
          match: {}
          schema: {type: Dosage, mustSupport: true, array: true, index: 11}
          min: 0
package_version: 0.7.0
class: profile
kind: resource
url: https://mednet.swiss/fhir/StructureDefinition/mni-medicationStatement
base: http://hl7.org/fhir/StructureDefinition/MedicationStatement
version: 0.7.0