org.openhealthtools.mdht.uml.cda.ccd.MedicationSection Maven / Gradle / Ivy
The newest version!
/*******************************************************************************
* Copyright (c) 2009, 2012 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.openhealthtools.mdht.uml.cda.ccd;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
import org.openhealthtools.mdht.uml.cda.Section;
/**
*
* A representation of the model object 'Medication Section'.
*
*
*
*
* The Medications section defines a patient's current medications and pertinent medication
* history. At a minimum, the currently active medications should be listed, with an entire medication history as an
* option, particularly when the summary document is used for comprehensive data export. The section may also include a
* patient's prescription history, and enables the determination of the source of a medication list (e.g. from a pharmacy
* system vs. from the patient).
*
*
*
*
* @see org.openhealthtools.mdht.uml.cda.ccd.CCDPackage#getMedicationSection()
* @model annotation="http://www.openhealthtools.org/mdht/uml/cda/annotation code.codeSystem='2.16.840.1.113883.6.1' code.displayName='History of medication use' templateId.root='2.16.840.1.113883.10.20.1.8' constraints.validation.error='MedicationSectionTemplateId MedicationSectionCode MedicationSectionTitle' code.codeSystemName='LOINC' code.code='10160-0'"
* @generated
*/
public interface MedicationSection extends Section {
/**
*
*
*
* self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.10.20.1.8')
* @param diagnostics The chain of diagnostics to which problems are to be appended.
* @param context The cache of context-specific information.
*
* @model annotation="http://www.eclipse.org/uml2/1.1.0/GenModel body='self.templateId->exists(id : datatypes::II | id.root = \'2.16.840.1.113883.10.20.1.8\')'"
* @generated
*/
boolean validateMedicationSectionTemplateId(DiagnosticChain diagnostics, Map