blob: 6e321d698c02039a625659a3bd3d953d5f95ef25 [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.CodeableConcept;
import org.eclipse.mdht.uml.fhir.core.datatype.Coding;
import org.eclipse.mdht.uml.fhir.core.datatype.Instant;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Message Header</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.MessageHeader#getTimestamp <em>Timestamp</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MessageHeader#getEvent <em>Event</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MessageHeader#getResponse <em>Response</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MessageHeader#getSource <em>Source</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MessageHeader#getDestinations <em>Destination</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MessageHeader#getEnterer <em>Enterer</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MessageHeader#getAuthor <em>Author</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MessageHeader#getReceiver <em>Receiver</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MessageHeader#getResponsible <em>Responsible</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MessageHeader#getReason <em>Reason</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MessageHeader#getData <em>Data</em>}</li>
* </ul>
*
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMessageHeader()
* @model
* @generated
*/
public interface MessageHeader extends DomainResource {
/**
* Returns the value of the '<em><b>Timestamp</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Timestamp</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Timestamp</em>' reference.
* @see #setTimestamp(Instant)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMessageHeader_Timestamp()
* @model required="true"
* @generated
*/
Instant getTimestamp();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MessageHeader#getTimestamp <em>Timestamp</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Timestamp</em>' reference.
* @see #getTimestamp()
* @generated
*/
void setTimestamp(Instant value);
/**
* Returns the value of the '<em><b>Event</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Event</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Event</em>' reference.
* @see #setEvent(Coding)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMessageHeader_Event()
* @model required="true"
* @generated
*/
Coding getEvent();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MessageHeader#getEvent <em>Event</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Event</em>' reference.
* @see #getEvent()
* @generated
*/
void setEvent(Coding value);
/**
* Returns the value of the '<em><b>Response</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Response</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Response</em>' containment reference.
* @see #setResponse(MessageHeaderResponse)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMessageHeader_Response()
* @model containment="true"
* @generated
*/
MessageHeaderResponse getResponse();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MessageHeader#getResponse <em>Response</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Response</em>' containment reference.
* @see #getResponse()
* @generated
*/
void setResponse(MessageHeaderResponse value);
/**
* Returns the value of the '<em><b>Source</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Source</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Source</em>' containment reference.
* @see #setSource(MessageHeaderMessageSource)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMessageHeader_Source()
* @model containment="true" required="true"
* @generated
*/
MessageHeaderMessageSource getSource();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MessageHeader#getSource <em>Source</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Source</em>' containment reference.
* @see #getSource()
* @generated
*/
void setSource(MessageHeaderMessageSource value);
/**
* Returns the value of the '<em><b>Destination</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.mdht.uml.fhir.core.resource.MessageHeaderMessageDestination}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Destination</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>Destination</em>' containment reference list.
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMessageHeader_Destination()
* @model containment="true"
* @generated
*/
EList<MessageHeaderMessageDestination> getDestinations();
/**
* Returns the value of the '<em><b>Enterer</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Enterer</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Enterer</em>' reference.
* @see #setEnterer(Practitioner)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMessageHeader_Enterer()
* @model
* @generated
*/
Practitioner getEnterer();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MessageHeader#getEnterer <em>Enterer</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Enterer</em>' reference.
* @see #getEnterer()
* @generated
*/
void setEnterer(Practitioner value);
/**
* Returns the value of the '<em><b>Author</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Author</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Author</em>' reference.
* @see #setAuthor(Practitioner)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMessageHeader_Author()
* @model
* @generated
*/
Practitioner getAuthor();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MessageHeader#getAuthor <em>Author</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Author</em>' reference.
* @see #getAuthor()
* @generated
*/
void setAuthor(Practitioner value);
/**
* Returns the value of the '<em><b>Receiver</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Receiver</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Receiver</em>' reference.
* @see #setReceiver(Resource)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMessageHeader_Receiver()
* @model
* @generated
*/
Resource getReceiver();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MessageHeader#getReceiver <em>Receiver</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Receiver</em>' reference.
* @see #getReceiver()
* @generated
*/
void setReceiver(Resource value);
/**
* Returns the value of the '<em><b>Responsible</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Responsible</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Responsible</em>' reference.
* @see #setResponsible(Resource)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMessageHeader_Responsible()
* @model
* @generated
*/
Resource getResponsible();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MessageHeader#getResponsible <em>Responsible</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Responsible</em>' reference.
* @see #getResponsible()
* @generated
*/
void setResponsible(Resource 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#getMessageHeader_Reason()
* @model
* @generated
*/
CodeableConcept getReason();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MessageHeader#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>Data</b></em>' reference list.
* The list contents are of type {@link org.eclipse.mdht.uml.fhir.core.resource.Resource}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Data</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>Data</em>' reference list.
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMessageHeader_Data()
* @model
* @generated
*/
EList<Resource> getData();
} // MessageHeader