@advinow/wellness-report

## How to use Add `WellnessReportModule` to your module.

Usage no npm install needed!

<script type="module">
  import advinowWellnessReport from 'https://cdn.skypack.dev/@advinow/wellness-report';
</script>

README

WellnessReport

How to use

Add WellnessReportModule to your module.

I.e.

@NgModule({
  ...
  imports: [
    ...
    WellnessReportModule,
    ...
  ],
  ...
})

Component is ready to be used in your template.

Inputs:

interface BloodPressure {
  diastolic: number;
  systolic: number;
}
@Input() BloodPressure: BloodPressure;
@Input() HeartRate: number;
@Input() BloodOxygen: number;
@Input() Height: number;
@Input() Weight: number;
@Input() BirthDate: string;
@Input() Name: string;
@Input() ProfilePhotoSrc: string;
<wellness-report
    ...
   [Name]="'John Smith'"
    ...
></wellness-report>

Language needs to be set in the WellnessReportService using the enum below:

export enum Lang {
  en = 'en',
  es = 'es'
}

i.e. WellnessReportService.lang = Lang.es