improvement: users can now comment on a case and it's details and have an option to make it visible for clinics too.
This commit is contained in:
@@ -63,12 +63,12 @@ export interface LabCaseComment {
|
||||
visibleToClinic: boolean;
|
||||
createdAt: string;
|
||||
canToggleVisibility: boolean;
|
||||
showVisibilityStatus?: boolean;
|
||||
}
|
||||
|
||||
export interface LabCaseDetail {
|
||||
id: string;
|
||||
sentAt: string | null;
|
||||
labComment: string | null;
|
||||
clinic: { id: string; name: string };
|
||||
patient: {
|
||||
id: string;
|
||||
|
||||
@@ -89,7 +89,6 @@ export interface PastLabCase {
|
||||
id: string;
|
||||
clientId: string;
|
||||
destinationOrganizationId: string | null;
|
||||
labComment?: string | null;
|
||||
sentAt?: string | null;
|
||||
treatmentDetailIds: string[];
|
||||
details: Array<{
|
||||
@@ -143,7 +142,6 @@ export interface LabCaseDraft {
|
||||
clientId: string;
|
||||
id?: string;
|
||||
destinationOrganizationId: string | null;
|
||||
labComment: string;
|
||||
detailClientIds: string[];
|
||||
toothProsthesis: LabCaseToothProsthesisDraft[];
|
||||
sentAt?: string | null;
|
||||
@@ -166,7 +164,6 @@ export interface SaveLabCasePayload {
|
||||
clientId: string;
|
||||
id?: string;
|
||||
destinationOrganizationId?: string;
|
||||
labComment?: string;
|
||||
treatmentDetailIds: string[];
|
||||
toothProsthesis?: Array<{
|
||||
treatmentDetailId: string;
|
||||
@@ -185,7 +182,6 @@ export interface LabCaseResponse {
|
||||
id: string;
|
||||
clientId: string;
|
||||
destinationOrganizationId: string | null;
|
||||
labComment: string | null;
|
||||
sentAt: string | null;
|
||||
treatmentDetailIds: string[];
|
||||
details: Array<{
|
||||
|
||||
Reference in New Issue
Block a user