blob: d77f13cd43a8007f79310aa169019e2a6eb31ddd [file] [log] [blame]
/**
*/
package org.hl7.fhir;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Element Definition Base</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* Captures constraints on each element within the resource, profile, or extension.
* 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.ElementDefinitionBase#getPath <em>Path</em>}</li>
* <li>{@link org.hl7.fhir.ElementDefinitionBase#getMin <em>Min</em>}</li>
* <li>{@link org.hl7.fhir.ElementDefinitionBase#getMax <em>Max</em>}</li>
* </ul>
*
* @see org.hl7.fhir.FhirPackage#getElementDefinitionBase()
* @model extendedMetaData="name='ElementDefinition.Base' kind='elementOnly'"
* @generated
*/
public interface ElementDefinitionBase extends Element {
/**
* Returns the value of the '<em><b>Path</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The Path that identifies the base element - this matches the ElementDefinition.path for that element. Across FHIR, there is only one base definition of any element - that is, an element definition on a [[[StructureDefinition]]] without a StructureDefinition.base.
* <!-- end-model-doc -->
* @return the value of the '<em>Path</em>' containment reference.
* @see #setPath(org.hl7.fhir.String)
* @see org.hl7.fhir.FhirPackage#getElementDefinitionBase_Path()
* @model containment="true" required="true"
* extendedMetaData="kind='element' name='path' namespace='##targetNamespace'"
* @generated
*/
org.hl7.fhir.String getPath();
/**
* Sets the value of the '{@link org.hl7.fhir.ElementDefinitionBase#getPath <em>Path</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Path</em>' containment reference.
* @see #getPath()
* @generated
*/
void setPath(org.hl7.fhir.String value);
/**
* Returns the value of the '<em><b>Min</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Minimum cardinality of the base element identified by the path.
* <!-- end-model-doc -->
* @return the value of the '<em>Min</em>' containment reference.
* @see #setMin(org.hl7.fhir.Integer)
* @see org.hl7.fhir.FhirPackage#getElementDefinitionBase_Min()
* @model containment="true" required="true"
* extendedMetaData="kind='element' name='min' namespace='##targetNamespace'"
* @generated
*/
org.hl7.fhir.Integer getMin();
/**
* Sets the value of the '{@link org.hl7.fhir.ElementDefinitionBase#getMin <em>Min</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Min</em>' containment reference.
* @see #getMin()
* @generated
*/
void setMin(org.hl7.fhir.Integer value);
/**
* Returns the value of the '<em><b>Max</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Maximum cardinality of the base element identified by the path.
* <!-- end-model-doc -->
* @return the value of the '<em>Max</em>' containment reference.
* @see #setMax(org.hl7.fhir.String)
* @see org.hl7.fhir.FhirPackage#getElementDefinitionBase_Max()
* @model containment="true" required="true"
* extendedMetaData="kind='element' name='max' namespace='##targetNamespace'"
* @generated
*/
org.hl7.fhir.String getMax();
/**
* Sets the value of the '{@link org.hl7.fhir.ElementDefinitionBase#getMax <em>Max</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Max</em>' containment reference.
* @see #getMax()
* @generated
*/
void setMax(org.hl7.fhir.String value);
} // ElementDefinitionBase