package cpmcuorder

import (
	"time"

	ecore "simrs-vx/internal/domain/base-entities/core"
	ercl "simrs-vx/internal/domain/references/clinical"
	erc "simrs-vx/internal/domain/references/common"
)

type CpMcuOrder struct {
	ecore.BigMain
	Encounter_Id      uint                     `json:"encounter_id"`
	Number            uint64                   `json:"number"`
	Doctor_Code       string                   `json:"doctor_code" gorm:"unique;size:20"`
	UrgencyLevel_Code ercl.McuUrgencyLevelCode `json:"urgencyLevel_code" gorm:"not null;size:15"`
	OtherNotes        *string                  `json:"otherNotes"`
	ExamScheduleDate  *time.Time               `json:"examinationDate"`
	Resume            *string                  `json:"resume"`
	Status_Code       erc.DataStatusCode       `json:"status_code" gorm:"not null;size:10"`
}
