22 lines
749 B
Go
22 lines
749 B
Go
package vaccinedata
|
|
|
|
import (
|
|
"time"
|
|
|
|
ecore "simrs-vx/internal/domain/base-entities/core"
|
|
|
|
erc "simrs-vx/internal/domain/references/clinical"
|
|
)
|
|
|
|
type VaccineData struct {
|
|
ecore.Main // adjust this according to the needs
|
|
Type *erc.VaccineTypeCode `json:"type" gorm:"size:25"`
|
|
Encounter_Id *uint `json:"encounter_id"`
|
|
BatchNumber *string `json:"batchNumber"`
|
|
Dose *float64 `json:"dose"`
|
|
DoseOrder *uint `json:"doseOrder"`
|
|
InjectionLocation *string `json:"injectionLocation"`
|
|
GivenDate *time.Time `json:"givenDate"`
|
|
ExpirationDate *time.Time `json:"expirationDate"`
|
|
}
|