Skip to main content

OvokCurrentPatientProfile

No behavioral description is attached to this declaration. The public signature, parameter and return types, and source location below document its published contract.

Kind: Type alias
Package: @ovok/core

Import​

import { OvokCurrentPatientProfile } from '@ovok/core';

TypeScript shape​

type OvokCurrentPatientProfile = {
project: {
resourceType: "Project";
id: string;
name: string;
strictMode: boolean;
};
membership: {
resourceType: "ProjectMembership";
id: string;
user: {
reference: string;
display: string;
};
};
profile: {
resourceType: "Patient";
id: string;
name: Array<{
given: string[];
family: string;
}>;
telecom: Array<{
system: string;
use: string;
value: string;
}>;
};
config: {
resourceType: "UserConfiguration";
menu: Array<{
title: string;
link: Array<{
name: string;
target: string;
}>;
}>;
};
accessPolicy: {
resourceType: "AccessPolicy";
resource: Array<{
resourceType: string;
}>;
ipAccessRule: Array<{
ip: string;
}>;
};
security: {
mfaEnrolled: boolean;
sessions: Array<{
id: string;
lastUpdated: string;
authMethod: string;
remoteAddress: string;
}>;
};
};

This is a type-level export; it has no call parameters.

Public members​

MemberTypeDetails
project{ resourceType: "Project"; id: string; name: string; strictMode: boolean; }—
membership{ resourceType: "ProjectMembership"; id: string; user: { reference: string; display: string; }; }—
profile{ resourceType: "Patient"; id: string; name: Array<{ given: string[]; family: string; }>; telecom: Array<{ system: string; use: string; value: string; }>; }—
config{ resourceType: "UserConfiguration"; menu: Array<{ title: string; link: Array<{ name: string; target: string; }>; }>; }—
accessPolicy{ resourceType: "AccessPolicy"; resource: Array<{ resourceType: string; }>; ipAccessRule: Array<{ ip: string; }>; }—
security{ mfaEnrolled: boolean; sessions: Array<{ id: string; lastUpdated: string; authMethod: string; remoteAddress: string; }>; }—

Learn the workflow​

Continue with Client Configuration for the workflow context and examples.

Source​

View the declaration in the SDK source.