@ahryman40k/ts-fhir-types
Version:
Typescript / Javascript object model for FHIR standard Model follows FHIR R4 specifications.
48 lines (47 loc) • 1.54 kB
TypeScript
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 { IAttachment } from './RTTI_Attachment';
import { IReference } from './RTTI_Reference';
import { IPerson_Link } from './RTTI_Person_Link';
export declare enum PersonGenderKind {
_male = "male",
_female = "female",
_other = "other",
_unknown = "unknown"
}
import { IDomainResource } from './IDomainResource';
export interface IPerson extends IDomainResource {
resourceType: 'Person';
id?: string;
meta?: IMeta;
implicitRules?: string;
_implicitRules?: IElement;
language?: string;
_language?: IElement;
text?: INarrative;
contained?: IResourceList[];
extension?: IExtension[];
modifierExtension?: IExtension[];
identifier?: IIdentifier[];
name?: IHumanName[];
telecom?: IContactPoint[];
gender?: PersonGenderKind;
_gender?: IElement;
birthDate?: string;
_birthDate?: IElement;
address?: IAddress[];
photo?: IAttachment;
managingOrganization?: IReference;
active?: boolean;
_active?: IElement;
link?: IPerson_Link[];
}
export declare const RTTI_Person: t.Type<IPerson>;