fabric-samples/hyperledger-fabric/chaincode/fhir-data/dist/patient.d.ts
2020-05-11 14:26:07 -05:00

160 lines
3.2 KiB
TypeScript

interface ICoding {
system?: string;
version?: string;
code?: string;
display?: string;
userSelected?: boolean;
}
interface IType {
coding?: ICoding[];
text?: string;
}
interface IPeriod {
start?: string;
end?: string;
}
interface IIdentifier {
use?: string;
type?: IType;
system?: string;
value?: string;
period?: IPeriod;
}
interface ISecurity {
system?: string;
version?: string;
code?: string;
display?: string;
userSelected?: boolean;
}
interface ITag {
system?: string;
version?: string;
code?: string;
display?: string;
userSelected?: boolean;
}
interface IMeta {
versionId?: string;
lastUpdated?: string;
source?: string;
profile?: string[];
security?: ISecurity[];
tag?: ITag[];
}
interface IName {
use?: string;
text?: string;
family?: string;
given?: string[];
prefix?: string[];
suffix?: string[];
period?: IPeriod;
}
interface ITelecom {
system?: string;
value?: string;
use?: string;
rank?: number;
period?: IPeriod;
}
interface IAddress {
use?: string;
type?: string;
text?: string;
line?: string[];
city?: string;
district?: string;
state?: string;
postalCode?: string;
country?: string;
period?: IPeriod;
}
interface IMaritalStatus {
coding?: ICoding[];
text?: string;
}
interface IPhoto {
contentType?: string;
language?: string;
data?: string;
url?: string;
size?: number;
hash?: string;
title?: string;
creation?: string;
}
interface IRelationship {
coding?: ICoding[];
text?: string;
}
interface IOrganization {
reference?: string;
type?: string;
identifier?: IIdentifier;
display?: string;
}
interface IContact {
relationship?: IRelationship[];
name?: IName;
telecom?: ITelecom[];
address?: IAddress;
gender: string;
organization?: IOrganization;
period?: IPeriod;
}
interface ILanguage {
coding?: ICoding[];
text?: string;
}
interface ICommunication {
language?: ILanguage;
preferred?: boolean;
}
interface IGeneralPractitioner {
reference?: string;
type?: string;
identifier?: IIdentifier;
display?: string;
}
interface IManagingOrganization {
reference?: string;
type?: string;
identifier?: IIdentifier;
display?: string;
}
interface IOther {
reference?: string;
type?: string;
identifier?: IIdentifier;
display?: string;
}
interface ILink {
other?: IOther;
type: string;
}
export declare class Patient {
resourceType?: string;
id?: string;
meta?: IMeta;
implicitRules?: string;
language?: string;
Text?: Text;
identifier?: IIdentifier[];
active?: boolean;
name?: IName[];
telecom?: ITelecom[];
gender: string;
birthDate?: string;
deceasedBoolean?: boolean;
address?: IAddress[];
maritalStatus?: IMaritalStatus;
multipleBirthBoolean?: boolean;
photo?: IPhoto[];
contact?: IContact[];
communication?: ICommunication[];
generalPractitioner?: IGeneralPractitioner[];
managingOrganization?: IManagingOrganization[];
link?: ILink[];
}
export {};