/**
* Epic on Fhir
* All of the components of the Change Healthcare Interoperability Apis
*
* OpenAPI spec version: 1.0.0
* Contact: bmain@lumeris.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { Address } from './address';
import { CodeableConcept } from './codeableConcept';
import { Extension } from './extension';
import { Identifier } from './identifier';
import { PatientR4Communication } from './patientR4Communication';
import { PatientR4Name1 } from './patientR4Name1';
import { PatientR4Telecom } from './patientR4Telecom';
import { PatientSTU3Contact } from './patientSTU3Contact';
import { PatientSTU3Meta } from './patientSTU3Meta';
import { Reference } from './reference';
/**
* A single Patient resource.
*/
export interface PatientSTU3 {
/**
* Whether or not the patient record is active.
*/
active?: boolean;
address?: Array
;
extension: Array;
/**
* The patient's date of birth in the format YYYY-MM-DD.
*/
birthDate: string;
/**
* A list of languages used to communicate with the patient, along with an indicator of which is preferred.
*/
communication: Array;
/**
* Contact details.
*/
contact: Array;
/**
* Whether the patient is deceased.
*/
deceasedBoolean?: boolean;
/**
* The date and time of death.
*/
deceasedDateTime?: string;
/**
* The patient's legal sex.
*/
gender?: string;
generalPractitioner: Array;
/**
* The patient FHIR ID.
*/
id?: string;
identifier?: Array;
managingOrganization: Reference;
maritalStatus: CodeableConcept;
meta: PatientSTU3Meta;
/**
* The patient's birth order.
*/
multipleBirthInteger: any;
/**
* The patient's name.
- Starting in the May 2020 version of Epic, this element includes both the patient's \"official\" name, which is the patient's legal name, and the patient's \"usual\" name, which is the patient's preferred name.
- If the patient does not have a preferred name defined in your system, the \"usual\" name also holds the patient's legal name.
- In a patient-facing context, this web service always shows the patient's preferred name, unless a user has security point 'Only Show Legal Name'.
- In February 2020 and earlier, this element returns only the patient's legal name with a use code of \"usual\".
*/
name?: Array;
/**
* Telephone numbers and email addresses for the patient, along with their use (i.e. home, work, etc.)
*/
telecom: Array;
}