PackagesCanonicalsLogsProblems
    Packages
    myhealth.eu.fhir.core@1.0.0
    http://fhir.ehdsi.eu/core/StructureDefinition/medicationStatement-myhealtheu-core
description: This profile sets minimum expectations for the MedicationStatement resource common to most of the use cases.\nThis profile is adapted from the MPD work.
package_name: myhealth.eu.fhir.core
derivation: constraint
name: MedicationStatementMyHealthCore
type: MedicationStatement
elements:
  dosage:
    elements:
      site:
        binding: {strength: required, valueSet: 'http://fhir.ehdsi.eu/core/ValueSet/eHDSIBodySiteWithExceptions'}
        index: 10
      route:
        binding: {strength: extensible, valueSet: 'http://terminology.ehdsi.eu/ValueSet/eHDSIRouteofAdministration'}
        index: 11
      doseAndRate:
        elements:
          dose:
            choices: []
            index: 13
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: $this, type: type}
              min: null
              slices:
                doseQuantity:
                  match: {}
                  schema:
                    choices: [doseQuantity]
                    index: 15
                  min: 0
                  max: 1
          doseQuantity:
            type: Quantity
            choiceOf: dose
            index: 16
            slicing:
              slices:
                doseQuantity:
                  match: {}
                  schema: {type: Quantity, choiceOf: dose, index: 16}
                  min: 0
                  max: 1
          rate:
            choices: [rateQuantity]
            index: 23
            slicing:
              slices:
                rateQuantity:
                  match: {}
                  schema:
                    choices: [rateQuantity]
                    index: 23
                  min: 0
                  max: 1
          rateRatio:
            type: Ratio
            choiceOf: rate
            index: 21
            slicing:
              slices:
                rateRatio:
                  match: {}
                  schema: {type: Ratio, choiceOf: rate, index: 21}
                  min: 0
                  max: 1
          rateQuantity:
            type: Quantity
            choiceOf: rate
            index: 24
            slicing:
              slices:
                rateQuantity:
                  match: {}
                  schema: {type: Quantity, choiceOf: rate, index: 24}
                  min: 0
                  max: 1
      maxDosePerPeriod: {type: Ratio, index: 25}
      maxDosePerAdministration: {type: Quantity, index: 26}
      maxDosePerLifetime: {type: Quantity, index: 27}
  reasonCode:
    binding: {strength: required, valueSet: 'http://fhir.ehdsi.eu/core/ValueSet/eHDSIMedicationReasonWithExceptions'}
    index: 9
  medicationCodeableConcept: {type: CodeableConcept, choiceOf: medication, index: 5}
  statusReason:
    binding: {strength: required, valueSet: 'http://fhir.ehdsi.eu/core/ValueSet/eHDSIMedicationStatusReasonWithExceptions'}
    index: 2
  status: {index: 1}
  language:
    binding: {strength: required, valueSet: 'http://terminology.ehdsi.eu/ValueSet/eHDSILanguage'}
    index: 0
  medicationReference:
    type: Reference
    choiceOf: medication
    refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/medication-myhealtheu-core']
    index: 6
  informationSource:
    type: Reference
    refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/organization-myhealtheu-core', 'http://fhir.ehdsi.eu/core/StructureDefinition/patient-myhealtheu-core', 'http://fhir.ehdsi.eu/core/StructureDefinition/practitioner-myhealtheu-core', 'http://fhir.ehdsi.eu/core/StructureDefinition/practitionerRole-myhealtheu-core', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
    index: 8
  subject:
    type: Reference
    refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/patient-myhealtheu-core', 'http://hl7.org/fhir/StructureDefinition/Group']
    index: 7
  medication:
    choices: [medicationCodeableConcept, medicationReference]
    index: 4
package_version: 1.0.0
class: profile
kind: resource
url: http://fhir.ehdsi.eu/core/StructureDefinition/medicationStatement-myhealtheu-core
base: http://hl7.eu/fhir/base/StructureDefinition/medicationStatement-eu-core
version: 1.0.0