description: This profile constrains the MedicationStatement resource for the purpose of the MyHealth@EU EPS. package_name: myhealth.eu.fhir.eps derivation: constraint name: MedicationStatementMyHealthEuEps type: MedicationStatement elements: medication: choices: [medicationCodeableConcept, medicationReference] index: 1 medicationCodeableConcept: {type: CodeableConcept, choiceOf: medication, index: 2} medicationReference: type: Reference choiceOf: medication refers: ['http://fhir.ehdsi.eu/eps/StructureDefinition/medication-eps-myhealtheu'] index: 3 subject: type: Reference refers: ['http://fhir.ehdsi.eu/eps/StructureDefinition/patient-myhealtheu-eps'] index: 4 elements: reference: {index: 5} required: [reference] effective: choices: [] index: 7 informationSource: type: Reference refers: ['http://fhir.ehdsi.eu/eps/StructureDefinition/organization-myhealtheu-eps', 'http://fhir.ehdsi.eu/eps/StructureDefinition/patient-myhealtheu-eps', 'http://fhir.ehdsi.eu/eps/StructureDefinition/practitioner-myhealtheu-eps', 'http://fhir.ehdsi.eu/eps/StructureDefinition/practitionerRole-myhealtheu-eps', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 8 dosage: index: 9 elements: timing: elements: repeat: index: 10 elements: bounds: choices: [] index: 12 duration: {index: 13} frequency: {index: 14} period: {index: 15} periodUnit: {index: 16} doseAndRate: {index: 17} package_version: 1.0.0-poc class: profile kind: resource url: http://fhir.ehdsi.eu/eps/StructureDefinition/medicationStatement-myhealtheu-eps base: http://fhir.ehdsi.eu/core/StructureDefinition/medicationStatement-myhealtheu-core version: 1.0.0-poc required: [effective]