package inpatient

import (
	ecore "simrs-vx/internal/domain/base-entities/core"
	ei "simrs-vx/internal/domain/main-entities/infra"
	ere "simrs-vx/internal/domain/references/encounter"
)

type Inpatient struct {
	ecore.Main                          // adjust this according to the needs
	Encounter_Id *uint                  `json:"encounter_id"`
	Class_Code   ere.InpatientClassCode `json:"class_code" gorm:"size:10"`
	Infra_Code   *string                `json:"infra_code" gorm:"size:10"`
	Infra        *ei.Infra              `json:"infra,omitempty" gorm:"foreignKey:Infra_Code;references:Code"`
}
