@redox-contrib/models
Version:
Typescript definitions for the Redox API.
18 lines (17 loc) • 450 B
TypeScript
import type { Meta, Note, Patient } from '../common';
import type { NotesOrder } from './NotesOrder';
import type { NotesVisit } from './NotesVisit';
export interface NewMeta extends Meta {
DataModel: 'Notes';
EventType: 'New';
}
export interface NewNote extends Note {
FileContents?: string | null;
}
export interface New {
Meta: NewMeta;
Note: NewNote;
Patient: Patient;
Orders?: NotesOrder[];
Visit?: NotesVisit;
}