package clinicalimpression

import (
	"database/sql"
)

// ClinicalImpressionDB merepresentasikan tabel data kesan klinis / prognosis pasien
// TODO: Sesuaikan field dan tag `db` dengan tabel SIMRS Anda
type ClinicalImpressionDB struct {
	IdxKesan  int64          `db:"idxkesan"`
	IdxDaftar int64          `db:"idxdaftar"`
	NoMR      sql.NullString `db:"nomr"`
	TglKesan  sql.NullTime   `db:"tgl_kesan"`
}

type ClinicalImpressionSyncLog struct {
	IdxKesan             int64  `db:"idxkesan"`
	ClinicalImpressionID string `db:"clinicalimpression_id"`
	RequestPayload       string `db:"request_payload"`
	ResponsePayload      string `db:"response_payload"`
	Status               string `db:"status"`
	ErrorMessage         string `db:"error_message"`
}
