UNPKG

@ahryman40k/ts-fhir-types

Version:

Typescript / Javascript object model for FHIR standard Model follows FHIR R4 specifications.

63 lines (62 loc) 2.18 kB
import * as t from 'io-ts'; import { IMeta } from './RTTI_Meta'; import { IElement } from './RTTI_Element'; import { INarrative } from './RTTI_Narrative'; import { IResourceList } from '../Union/RTTI_ResourceList'; import { IExtension } from './RTTI_Extension'; import { IIdentifier } from './RTTI_Identifier'; import { IHumanName } from './RTTI_HumanName'; import { IContactPoint } from './RTTI_ContactPoint'; import { IAddress } from './RTTI_Address'; import { ICodeableConcept } from './RTTI_CodeableConcept'; import { IAttachment } from './RTTI_Attachment'; import { IPatient_Contact } from './RTTI_Patient_Contact'; import { IPatient_Communication } from './RTTI_Patient_Communication'; import { IReference } from './RTTI_Reference'; import { IPatient_Link } from './RTTI_Patient_Link'; export declare enum PatientGenderKind { _male = "male", _female = "female", _other = "other", _unknown = "unknown" } import { IDomainResource } from './IDomainResource'; export interface IPatient extends IDomainResource { resourceType: 'Patient'; id?: string; meta?: IMeta; implicitRules?: string; _implicitRules?: IElement; language?: string; _language?: IElement; text?: INarrative; contained?: IResourceList[]; extension?: IExtension[]; modifierExtension?: IExtension[]; identifier?: IIdentifier[]; active?: boolean; _active?: IElement; name?: IHumanName[]; telecom?: IContactPoint[]; gender?: PatientGenderKind; _gender?: IElement; birthDate?: string; _birthDate?: IElement; deceasedBoolean?: boolean; _deceasedBoolean?: IElement; deceasedDateTime?: string; _deceasedDateTime?: IElement; address?: IAddress[]; maritalStatus?: ICodeableConcept; multipleBirthBoolean?: boolean; _multipleBirthBoolean?: IElement; multipleBirthInteger?: number; _multipleBirthInteger?: IElement; photo?: IAttachment[]; contact?: IPatient_Contact[]; communication?: IPatient_Communication[]; generalPractitioner?: IReference[]; managingOrganization?: IReference; link?: IPatient_Link[]; } export declare const RTTI_Patient: t.Type<IPatient>;