コンテンツにスキップ

DupPatient

重複が疑われる患者の組を表すモデル。同一人物が二重に登録されている可能性のある 2 件の患者を、突き合わせのために組にして持ちます。

定義: src/lib/models/dup-patient.ts

フィールド

フィールド 説明
patient1 Patient 患者(1 件目)
patient2 Patient 患者(2 件目)

型定義

import { z } from "zod";

import { patientSchema } from "@/lib/models/patient";

export const dupPatientSchema = z.object({
  patient1: patientSchema,
  patient2: patientSchema
});

export type DupPatient = z.infer<typeof dupPatientSchema>;