blob: 54e31b191e2d38b77c2e31c9657caaeddddcf41e [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.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;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>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.Person#getIdentifiers <em>Identifier</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Person#getNames <em>Name</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Person#getTelecoms <em>Telecom</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Person#getGender <em>Gender</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Person#getBirthDate <em>Birth Date</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Person#getAddresses <em>Address</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Person#getPhoto <em>Photo</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Person#getManagingOrganization <em>Managing Organization</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Person#getActive <em>Active</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Person#getLinks <em>Link</em>}</li>
* </ul>
*
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getPerson()
* @model
* @generated
*/
public interface Person 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#getPerson_Identifier()
* @model
* @generated
*/
EList<Identifier> getIdentifiers();
/**
* Returns the value of the '<em><b>Name</b></em>' reference list.
* The list contents are of type {@link org.eclipse.mdht.uml.fhir.core.datatype.HumanName}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Name</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>Name</em>' reference list.
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getPerson_Name()
* @model
* @generated
*/
EList<HumanName> getNames();
/**
* 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#getPerson_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#getPerson_Gender()
* @model
* @generated
*/
Code getGender();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Person#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#getPerson_BirthDate()
* @model
* @generated
*/
Date getBirthDate();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Person#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#getPerson_Address()
* @model
* @generated
*/
EList<Address> getAddresses();
/**
* Returns the value of the '<em><b>Photo</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Photo</em>' reference 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.
* @see #setPhoto(Attachment)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getPerson_Photo()
* @model
* @generated
*/
Attachment getPhoto();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Person#getPhoto <em>Photo</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Photo</em>' reference.
* @see #getPhoto()
* @generated
*/
void setPhoto(Attachment value);
/**
* Returns the value of the '<em><b>Managing Organization</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Managing Organization</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Managing Organization</em>' reference.
* @see #setManagingOrganization(Organization)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getPerson_ManagingOrganization()
* @model
* @generated
*/
Organization getManagingOrganization();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Person#getManagingOrganization <em>Managing Organization</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Managing Organization</em>' reference.
* @see #getManagingOrganization()
* @generated
*/
void setManagingOrganization(Organization value);
/**
* Returns the value of the '<em><b>Active</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Active</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Active</em>' reference.
* @see #setActive(org.eclipse.mdht.uml.fhir.core.datatype.Boolean)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getPerson_Active()
* @model
* @generated
*/
org.eclipse.mdht.uml.fhir.core.datatype.Boolean getActive();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Person#getActive <em>Active</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Active</em>' reference.
* @see #getActive()
* @generated
*/
void setActive(org.eclipse.mdht.uml.fhir.core.datatype.Boolean value);
/**
* Returns the value of the '<em><b>Link</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.mdht.uml.fhir.core.resource.PersonLink}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Link</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>Link</em>' containment reference list.
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getPerson_Link()
* @model containment="true"
* @generated
*/
EList<PersonLink> getLinks();
} // Person