PackagesCanonicalsLogsProblems
    Packages
    medatixx.healthhub@1.5.0
    https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_MedicationRequest
description: Profile for a medication proposal. Allows either a free-text proposal (medicationCodeableConcept.text) or a PZN-coded proposal via a contained Medication (medicationReference -> Mxx_HealthHub_Medication). When medicationReference is used, the contained Medication must contain at least one PZN coding.
package_name: medatixx.healthhub
derivation: constraint
name: Mxx_HealthHub_MedicationRequest
type: MedicationRequest
elements:
  performerType: {index: 34}
  category: {index: 5}
  insurance: {index: 45}
  instantiatesCanonical: {index: 40}
  eventHistory: {index: 55}
  instantiatesUri: {index: 41}
  substitution: {index: 52}
  detectedIssue: {index: 54}
  encounter: {index: 26}
  medication[x]:
    elements:
      coding: {index: 17}
      text: {index: 18}
    required: [text]
  dispenseRequest: {index: 51}
  reported:
    choices: []
    index: 9
  reasonCode:
    index: 36
    elements:
      coding: {index: 37}
      text: {index: 38}
    required: [text]
  medicationCodeableConcept:
    type: CodeableConcept
    short: Freitext-Vorschlag (ohne PZN)
    choiceOf: medication
    index: 16
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, short: Freitext-Vorschlag (ohne PZN), choiceOf: medication, index: 16}
  statusReason: {index: 3}
  authoredOn: {index: 28}
  note:
    index: 46
    elements:
      author:
        choices: []
        index: 48
      time: {index: 49}
  contained: {short: Contained Medication (nur PZN-Pfad), index: 0}
  requester:
    type: Reference
    refers: ['https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_PartnerSystem']
    index: 29
    elements:
      type: {index: 30}
      identifier: {index: 31}
      display: {index: 32}
  supportingInformation: {index: 27}
  priority: {index: 6}
  status:
    pattern: {type: Code, value: active}
    index: 2
  dosageInstruction: {index: 50}
  groupIdentifier: {short: Fachliche Rezeptzugehörigkeit (optional), index: 43}
  recorder: {index: 35}
  identifier: {index: 1}
  doNotPerform: {index: 7}
  intent:
    pattern: {type: Code, value: proposal}
    index: 4
  basedOn: {index: 42}
  priorPrescription: {index: 53}
  medicationReference:
    type: Reference
    short: PZN-codierter Vorschlag (contained Medication)
    choiceOf: medication
    refers: ['https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_Medication']
    index: 21
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            type: Reference
            short: PZN-codierter Vorschlag (contained Medication)
            choiceOf: medication
            refers: ['https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_Medication']
            index: 21
  courseOfTherapyType: {index: 44}
  subject:
    type: Reference
    refers: ['https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_Patient']
    index: 22
    elements:
      type: {index: 23}
      identifier: {type: Identifier, short: An identifier intended for computation, index: 24}
      display: {index: 25}
  performer: {index: 33}
  medication:
    short: PZN-codierter Vorschlag (contained Medication)
    choices: [medicationReference]
    index: 20
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            short: PZN-codierter Vorschlag (contained Medication)
            choices: [medicationReference]
            index: 20
  reasonReference: {index: 39}
package_version: 1.5.0
class: profile
kind: resource
url: https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_MedicationRequest
base: http://hl7.org/fhir/StructureDefinition/MedicationRequest
version: 1.5.0
required: [requester]