blob: 5a8e75148d04882f040390c02d4a58e058ab3cc8 [file] [log] [blame]
/**
*/
package org.hl7.fhir;
import java.lang.String;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Element</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* Base definition for all elements in a resource.
* If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.hl7.fhir.Element#getExtension <em>Extension</em>}</li>
* <li>{@link org.hl7.fhir.Element#getId <em>Id</em>}</li>
* </ul>
*
* @see org.hl7.fhir.FhirPackage#getElement()
* @model extendedMetaData="name='Element' kind='elementOnly'"
* @generated
*/
public interface Element extends EObject {
/**
* Returns the value of the '<em><b>Extension</b></em>' containment reference list.
* The list contents are of type {@link org.hl7.fhir.Extension}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
* <!-- end-model-doc -->
* @return the value of the '<em>Extension</em>' containment reference list.
* @see org.hl7.fhir.FhirPackage#getElement_Extension()
* @model containment="true"
* extendedMetaData="kind='element' name='extension' namespace='##targetNamespace'"
* @generated
*/
EList<Extension> getExtension();
/**
* Returns the value of the '<em><b>Id</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Id</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Id</em>' attribute.
* @see #setId(String)
* @see org.hl7.fhir.FhirPackage#getElement_Id()
* @model dataType="org.hl7.fhir.IdPrimitive"
* extendedMetaData="kind='attribute' name='id'"
* @generated
*/
String getId();
/**
* Sets the value of the '{@link org.hl7.fhir.Element#getId <em>Id</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Id</em>' attribute.
* @see #getId()
* @generated
*/
void setId(String value);
} // Element