hi-profiles
Version:
React components for the ABDM Health Information Profiles
24 lines (23 loc) • 995 B
TypeScript
export type Author = fhir4.Device | fhir4.RelatedPerson | fhir4.Patient | fhir4.Practitioner | fhir4.PractitionerRole | fhir4.Organization;
export default class HIProfile {
private _bundle;
private _composition;
private _entries;
constructor(bundle: fhir4.Bundle);
get bundle(): fhir4.Bundle;
get composition(): fhir4.Composition;
get entries(): fhir4.BundleEntry[];
get details(): {
title: string;
date: string;
authors: Author[];
status: string;
};
parseHumanName(humanName: fhir4.HumanName | undefined): string;
getAuthorName(author: Author | undefined | null): string | null;
getConceptDisplay(concept: fhir4.CodeableConcept | undefined): string | null;
getCodingDisplay(coding: fhir4.Coding): string;
getObservationValue(observation: fhir4.Observation | fhir4.ObservationComponent): string;
getResource(id: string | undefined): fhir4.Resource | null;
get encounter(): fhir4.Encounter | null;
}