UNPKG

ng-smart-on-fhir

Version:

[![SRDC](https://www.srdc.com.tr/wp-content/uploads/2014/12/srdc-wp.png)](https://srdc.com.tr/en)

32 lines (31 loc) 1.01 kB
import { HttpClient } from "@angular/common/http"; import * as i0 from "@angular/core"; /** * SMART Health Link Service * Executes the requests, parses and validates SMART Health Links as defined in the HL7 documentations */ export declare class ShlService { private http; get emptyBundle(): fhir4.Bundle; constructor(http: HttpClient); handleShl(shl: string): Promise<{ label: string | undefined; shc: string[]; verified: boolean; bundle: import("fhir/r4").Bundle<import("fhir/r4").FhirResource>; }>; private decryptSHLPayloadAndGetSHCs; handleShc(shc: string): Promise<{ shc: string[]; bundle: any; verified: boolean; }>; getSingleBundle(shc: string): Promise<any>; private parseShc; private verifyShc; private fetchJWKs; private inflate; private base64UrlToBytes; static ɵfac: i0.ɵɵFactoryDeclaration<ShlService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<ShlService>; }