blob: 2caf64075c880f87b5823128e59bc9907d242644 [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.Address;
import org.eclipse.mdht.uml.fhir.core.datatype.Attachment;
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.ContactPoint;
import org.eclipse.mdht.uml.fhir.core.datatype.Date;
import org.eclipse.mdht.uml.fhir.core.datatype.HumanName;
import org.eclipse.mdht.uml.fhir.core.datatype.Identifier;
import org.eclipse.mdht.uml.fhir.core.datatype.Period;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Related Person</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.RelatedPerson#getIdentifiers <em>Identifier</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.RelatedPerson#getPatient <em>Patient</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.RelatedPerson#getRelationship <em>Relationship</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.RelatedPerson#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.RelatedPerson#getTelecoms <em>Telecom</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.RelatedPerson#getGender <em>Gender</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.RelatedPerson#getBirthDate <em>Birth Date</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.RelatedPerson#getAddresses <em>Address</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.RelatedPerson#getPhotos <em>Photo</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.RelatedPerson#getPeriod <em>Period</em>}</li>
* </ul>
*
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getRelatedPerson()
* @model
* @generated
*/
public interface RelatedPerson 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#getRelatedPerson_Identifier()
* @model
* @generated
*/
EList<Identifier> getIdentifiers();
/**
* Returns the value of the '<em><b>Patient</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Patient</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Patient</em>' reference.
* @see #setPatient(Patient)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getRelatedPerson_Patient()
* @model required="true"
* @generated
*/
Patient getPatient();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.RelatedPerson#getPatient <em>Patient</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Patient</em>' reference.
* @see #getPatient()
* @generated
*/
void setPatient(Patient value);
/**
* Returns the value of the '<em><b>Relationship</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Relationship</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Relationship</em>' reference.
* @see #setRelationship(CodeableConcept)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getRelatedPerson_Relationship()
* @model
* @generated
*/
CodeableConcept getRelationship();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.RelatedPerson#getRelationship <em>Relationship</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Relationship</em>' reference.
* @see #getRelationship()
* @generated
*/
void setRelationship(CodeableConcept value);
/**
* Returns the value of the '<em><b>Name</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Name</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Name</em>' reference.
* @see #setName(HumanName)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getRelatedPerson_Name()
* @model
* @generated
*/
HumanName getName();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.RelatedPerson#getName <em>Name</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Name</em>' reference.
* @see #getName()
* @generated
*/
void setName(HumanName value);
/**
* Returns the value of the '<em><b>Telecom</b></em>' reference list.
* The list contents are of type {@link org.eclipse.mdht.uml.fhir.core.datatype.ContactPoint}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Telecom</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>Telecom</em>' reference list.
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getRelatedPerson_Telecom()
* @model
* @generated
*/
EList<ContactPoint> getTelecoms();
/**
* Returns the value of the '<em><b>Gender</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Gender</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Gender</em>' reference.
* @see #setGender(Code)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getRelatedPerson_Gender()
* @model
* @generated
*/
Code getGender();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.RelatedPerson#getGender <em>Gender</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Gender</em>' reference.
* @see #getGender()
* @generated
*/
void setGender(Code value);
/**
* Returns the value of the '<em><b>Birth Date</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Birth Date</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Birth Date</em>' reference.
* @see #setBirthDate(Date)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getRelatedPerson_BirthDate()
* @model
* @generated
*/
Date getBirthDate();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.RelatedPerson#getBirthDate <em>Birth Date</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Birth Date</em>' reference.
* @see #getBirthDate()
* @generated
*/
void setBirthDate(Date value);
/**
* Returns the value of the '<em><b>Address</b></em>' reference list.
* The list contents are of type {@link org.eclipse.mdht.uml.fhir.core.datatype.Address}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Address</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>Address</em>' reference list.
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getRelatedPerson_Address()
* @model
* @generated
*/
EList<Address> getAddresses();
/**
* Returns the value of the '<em><b>Photo</b></em>' reference list.
* The list contents are of type {@link org.eclipse.mdht.uml.fhir.core.datatype.Attachment}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Photo</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>Photo</em>' reference list.
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getRelatedPerson_Photo()
* @model
* @generated
*/
EList<Attachment> getPhotos();
/**
* Returns the value of the '<em><b>Period</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Period</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Period</em>' reference.
* @see #setPeriod(Period)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getRelatedPerson_Period()
* @model
* @generated
*/
Period getPeriod();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.RelatedPerson#getPeriod <em>Period</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Period</em>' reference.
* @see #getPeriod()
* @generated
*/
void setPeriod(Period value);
} // RelatedPerson