gcp-nrces-fhir
Version:
Google cloud healthcare api NRCES FHIR implimenataion
52 lines • 2.15 kB
TypeScript
import { CODEABLE_CONCEPT, EXTENSION, IDENTTIFIER, MULTI_RESOURCE } from "../config";
import { ResourceMaster } from "../Interfaces";
import { VALUE } from "../resources/Observation";
import ResourceMain from "../resources/ResourceMai";
import { TO_HTML_HCX_OPTIONS } from "./interfaces";
declare const taskCodeArray: CODEABLE_CONCEPT[];
declare const taskIntentArray: readonly ["unknown", "proposal", "plan", "order", "original-order", "reflex-order", "filler-order ", "instance-order", "option"];
declare const statusArray: readonly ["draft", "requested", "received", "accepted", "completed"];
declare type TaskIntent = (typeof taskIntentArray)[number];
declare type TaskCode = (typeof taskCodeArray)[number];
declare type Status = (typeof statusArray)[number];
interface Requester extends MULTI_RESOURCE {
resource: "Device" | "RelatedPerson" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole";
}
interface Owner extends MULTI_RESOURCE {
resource: "CareTeam" | "HealthcareService" | "Device" | "RelatedPerson" | "Practitioner" | "PractitionerRole" | "Organization" | "Patient";
}
interface InAndOutPut {
id?: string;
extension?: EXTENSION[];
modifierExtension?: EXTENSION[];
type: CODEABLE_CONCEPT;
value: VALUE;
}
export interface TASK {
id?: string;
text?: string;
resourceType: "Task";
code?: TaskCode;
intent: TaskIntent;
status: Status;
authoredOn?: string;
description?: string;
requester?: Requester;
owner?: Owner;
input?: InAndOutPut[];
output?: InAndOutPut[];
identifier?: IDENTTIFIER[];
}
export interface TO_HTML_HCX_OPTIONS_PAYMENT_RECONCILIATION extends Omit<TO_HTML_HCX_OPTIONS, "body"> {
body: any;
}
export declare class Task extends ResourceMain implements ResourceMaster {
getFHIR(options: TASK): any;
convertFhirToObject(options: any): TASK;
toHtml(option: TO_HTML_HCX_OPTIONS_PAYMENT_RECONCILIATION): Promise<string>;
intentArray(): TaskIntent[];
taskCodeArray(): TaskCode[];
statusArray(): Status[];
}
export {};
//# sourceMappingURL=Task.d.ts.map