All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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 context); /** * * * * not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CE) and * let value : datatypes::CE = self.code.oclAsType(datatypes::CE) in ( * value.code = '10160-0' and value.codeSystem = '2.16.840.1.113883.6.1') * @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='not self.code.oclIsUndefined() and self.code.oclIsKindOf(datatypes::CE) and \r\nlet value : datatypes::CE = self.code.oclAsType(datatypes::CE) in (\r\nvalue.code = \'10160-0\' and value.codeSystem = \'2.16.840.1.113883.6.1\')'" * @generated */ boolean validateMedicationSectionCode(DiagnosticChain diagnostics, Map context); /** * * * * not self.title.oclIsUndefined() * @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='not self.title.oclIsUndefined()'" * @generated */ boolean validateMedicationSectionTitle(DiagnosticChain diagnostics, Map context); /** * * * @generated */ public MedicationSection init(); } // MedicationSection




© 2015 - 2024 Weber Informatics LLC | Privacy Policy