org.openhealthtools.mdht.uml.cda.consol.InternalReference Maven / Gradle / Ivy
The newest version!
/*******************************************************************************
* 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;
import org.openhealthtools.mdht.uml.cda.Act;
/**
*
* A representation of the model object 'Internal Reference'.
*
*
*
* CDA and HL7 Version 3 Entries may reference (point to) information contained in other entries
* within the same document or message
*
*
* The act being referred to can be any CDA Clinical Statement element type (act, procedure,
* observation, substanceAdministration, supply, et cetera). For compatibility with the Clinical
* Statement model the internal reference shall always use the <act> class, regardless of the XML
* element type of the act it refers to.
*
*
*
*
* @see org.openhealthtools.mdht.uml.cda.consol.ConsolPackage#getInternalReference()
* @model annotation="http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.error='InternalReferenceId InternalReferenceCode'"
* @generated
*/
public interface InternalReference extends Act {
/**
*
*
*
* (self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (not self.id->isEmpty())
* @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.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (not self.id->isEmpty())'"
* @generated
*/
boolean validateInternalReferenceId(DiagnosticChain diagnostics, Map