Sample
No behavioral description is attached to this declaration. The public signature, parameter and return types, and source location below document its published contract.
Kind: Interface
Package: @ovok/core
Import
import { Sample } from '@ovok/core';
TypeScript shape
interface Sample {
device?: HKDevice | undefined;
quantity: number;
endDate: string;
startDate: string;
unit: string;
sourceRevision: {
operatingSystemVersion: string;
version: string;
productType: string;
source: {
bundleIdentifier: string;
name: string;
};
};
uuid: string;
quantityType: string;
metadata: {
[key: string]: number | string;
};
}
This is a type-level export; it has no call parameters.
Public members
| Member | Type | Details |
|---|---|---|
device | HKDevice | undefined | Optional. — |
quantity | number | — |
endDate | string | — |
startDate | string | — |
unit | string | — |
sourceRevision | { operatingSystemVersion: string; version: string; productType: string; source: { bundleIdentifier: string; name: string; }; } | — |
uuid | string | — |
quantityType | string | — |
metadata | { [key: string]: number | string; } | — |
Learn the workflow
Continue with Fhir And Observations for the workflow context and examples.