org.openhealthtools.mdht.uml.cda.consol.MedicationTaperedDose Maven / Gradle / Ivy
/*******************************************************************************
* Copyright (c) 2011, 2012 Sean Muir 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:
* Sean Muir (JKM Software) - initial API and implementation
*******************************************************************************/
package org.openhealthtools.mdht.uml.cda.consol;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
/**
*
* A representation of the model object 'Medication Tapered Dose'.
*
*
*
*
* This template identifier is used to identify medication administration events that require special processing to handle
* tapered dosing. The parent template is 1.3.6.1.4.1.19376.1.5.3.1.4.7. A tapered dose is often used for certain
* medications where abrupt termination of the medication can have negative consequences. Tapered dosages may be done by
* adjusting the dose frequency, the dose amount, or both.
*
*
* When merely the dose frequency is adjusted, (e.g., Prednisone 5mg b.i.d. for three days, then 5mg. daily for three
* days, and then 5mg every other day), then only one medication entry is needed, multiple frequency specifications
* recorded in <effectiveTime> elements. When the dose varies (eg. Prednisone 15mg daily for three days, then 10 mg
* daily for three days, the 5 mg daily for three days), subordinate medication entries should be created for each
* distinct dosage.
*
*
*
*
* @see org.openhealthtools.mdht.uml.cda.consol.ConsolPackage#getMedicationTaperedDose()
* @model annotation="http://www.openhealthtools.org/mdht/uml/cda/annotation templateId.root='null' constraints.validation.error='MedicationTaperedDoseTemplateId MedicationTaperedDoseTaperedDosingSubstanceAdministration'"
* @generated
*/
public interface MedicationTaperedDose extends MedicationActivity {
/**
*
*
*
* self.entryRelationship.substanceAdministration->exists( substanceAdministration | substanceAdministration.oclIsKindOf( consol::Medication) )
* @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.entryRelationship.substanceAdministration->exists( substanceAdministration | substanceAdministration.oclIsKindOf( consol::Medication) )'"
* @generated
*/
boolean validateMedicationTaperedDoseTaperedDosingSubstanceAdministration(DiagnosticChain diagnostics,
Map