@ahryman40k/ts-fhir-types
Version:
Typescript / Javascript object model for FHIR standard Model follows FHIR R4 specifications.
32 lines (31 loc) • 807 B
TypeScript
import * as t from 'io-ts';
import { IExtension } from './RTTI_Extension';
import { IElement } from './RTTI_Element';
import { IPeriod } from './RTTI_Period';
export declare enum HumanNameUseKind {
_usual = "usual",
_official = "official",
_temp = "temp",
_nickname = "nickname",
_anonymous = "anonymous",
_old = "old",
_maiden = "maiden"
}
export interface IHumanName {
id?: string;
extension?: IExtension[];
use?: HumanNameUseKind;
_use?: IElement;
text?: string;
_text?: IElement;
family?: string;
_family?: IElement;
given?: string[];
_given?: IElement[];
prefix?: string[];
_prefix?: IElement[];
suffix?: string[];
_suffix?: IElement[];
period?: IPeriod;
}
export declare const RTTI_HumanName: t.Type<IHumanName>;