blob: 1d6831bc89652c486c30c60bdcfa81e0f32f2fdf [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2016 David Carlson 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:
* David Carlson (Clinical Cloud Solutions, LLC) - initial API and implementation
*******************************************************************************/
/**
*/
package org.eclipse.mdht.uml.fhir.core.resource;
import org.eclipse.emf.common.util.EList;
import org.eclipse.mdht.uml.fhir.core.datatype.Code;
import org.eclipse.mdht.uml.fhir.core.datatype.CodeableConcept;
import org.eclipse.mdht.uml.fhir.core.datatype.Identifier;
import org.eclipse.mdht.uml.fhir.core.datatype.Instant;
import org.eclipse.mdht.uml.fhir.core.datatype.PositiveInt;
import org.eclipse.mdht.uml.fhir.core.datatype.UnsignedInt;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Appointment</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
*
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Appointment#getIdentifiers <em>Identifier</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Appointment#getStatus <em>Status</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Appointment#getType <em>Type</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Appointment#getReason <em>Reason</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Appointment#getPriority <em>Priority</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Appointment#getDescription <em>Description</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Appointment#getStart <em>Start</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Appointment#getEnd <em>End</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Appointment#getMinutesDuration <em>Minutes Duration</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Appointment#getSlots <em>Slot</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Appointment#getComment <em>Comment</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Appointment#getParticipants <em>Participant</em>}</li>
* </ul>
*
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getAppointment()
* @model
* @generated
*/
public interface Appointment extends DomainResource {
/**
* Returns the value of the '<em><b>Identifier</b></em>' reference list.
* The list contents are of type {@link org.eclipse.mdht.uml.fhir.core.datatype.Identifier}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Identifier</em>' reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Identifier</em>' reference list.
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getAppointment_Identifier()
* @model
* @generated
*/
EList<Identifier> getIdentifiers();
/**
* Returns the value of the '<em><b>Status</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Status</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Status</em>' reference.
* @see #setStatus(Code)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getAppointment_Status()
* @model required="true"
* @generated
*/
Code getStatus();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Appointment#getStatus <em>Status</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Status</em>' reference.
* @see #getStatus()
* @generated
*/
void setStatus(Code value);
/**
* Returns the value of the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Type</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Type</em>' reference.
* @see #setType(CodeableConcept)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getAppointment_Type()
* @model
* @generated
*/
CodeableConcept getType();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Appointment#getType <em>Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Type</em>' reference.
* @see #getType()
* @generated
*/
void setType(CodeableConcept value);
/**
* Returns the value of the '<em><b>Reason</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Reason</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Reason</em>' reference.
* @see #setReason(CodeableConcept)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getAppointment_Reason()
* @model
* @generated
*/
CodeableConcept getReason();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Appointment#getReason <em>Reason</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Reason</em>' reference.
* @see #getReason()
* @generated
*/
void setReason(CodeableConcept value);
/**
* Returns the value of the '<em><b>Priority</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Priority</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Priority</em>' reference.
* @see #setPriority(UnsignedInt)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getAppointment_Priority()
* @model
* @generated
*/
UnsignedInt getPriority();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Appointment#getPriority <em>Priority</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Priority</em>' reference.
* @see #getPriority()
* @generated
*/
void setPriority(UnsignedInt value);
/**
* Returns the value of the '<em><b>Description</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Description</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Description</em>' reference.
* @see #setDescription(org.eclipse.mdht.uml.fhir.core.datatype.String)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getAppointment_Description()
* @model
* @generated
*/
org.eclipse.mdht.uml.fhir.core.datatype.String getDescription();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Appointment#getDescription <em>Description</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Description</em>' reference.
* @see #getDescription()
* @generated
*/
void setDescription(org.eclipse.mdht.uml.fhir.core.datatype.String value);
/**
* Returns the value of the '<em><b>Start</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Start</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Start</em>' reference.
* @see #setStart(Instant)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getAppointment_Start()
* @model
* @generated
*/
Instant getStart();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Appointment#getStart <em>Start</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Start</em>' reference.
* @see #getStart()
* @generated
*/
void setStart(Instant value);
/**
* Returns the value of the '<em><b>End</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>End</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>End</em>' reference.
* @see #setEnd(Instant)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getAppointment_End()
* @model
* @generated
*/
Instant getEnd();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Appointment#getEnd <em>End</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>End</em>' reference.
* @see #getEnd()
* @generated
*/
void setEnd(Instant value);
/**
* Returns the value of the '<em><b>Minutes Duration</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Minutes Duration</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Minutes Duration</em>' reference.
* @see #setMinutesDuration(PositiveInt)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getAppointment_MinutesDuration()
* @model
* @generated
*/
PositiveInt getMinutesDuration();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Appointment#getMinutesDuration <em>Minutes Duration</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Minutes Duration</em>' reference.
* @see #getMinutesDuration()
* @generated
*/
void setMinutesDuration(PositiveInt value);
/**
* Returns the value of the '<em><b>Slot</b></em>' reference list.
* The list contents are of type {@link org.eclipse.mdht.uml.fhir.core.resource.Slot}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Slot</em>' reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Slot</em>' reference list.
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getAppointment_Slot()
* @model
* @generated
*/
EList<Slot> getSlots();
/**
* Returns the value of the '<em><b>Comment</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Comment</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Comment</em>' reference.
* @see #setComment(org.eclipse.mdht.uml.fhir.core.datatype.String)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getAppointment_Comment()
* @model
* @generated
*/
org.eclipse.mdht.uml.fhir.core.datatype.String getComment();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Appointment#getComment <em>Comment</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Comment</em>' reference.
* @see #getComment()
* @generated
*/
void setComment(org.eclipse.mdht.uml.fhir.core.datatype.String value);
/**
* Returns the value of the '<em><b>Participant</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.mdht.uml.fhir.core.resource.AppointmentParticipant}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Participant</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Participant</em>' containment reference list.
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getAppointment_Participant()
* @model containment="true" required="true"
* @generated
*/
EList<AppointmentParticipant> getParticipants();
} // Appointment