22 lines
648 B
Go
22 lines
648 B
Go
package allergyintolerance
|
|
|
|
import (
|
|
"database/sql"
|
|
)
|
|
|
|
// AllergyIntoleranceDB merepresentasikan tabel data alergi pasien
|
|
// TODO: Sesuaikan field dan tag `db` dengan tabel SIMRS Anda
|
|
type AllergyIntoleranceDB struct {
|
|
IdxAlergi int64 `db:"idxalergi"`
|
|
NoMR sql.NullString `db:"nomr"`
|
|
}
|
|
|
|
type AllergyIntoleranceSyncLog struct {
|
|
IdxAlergi int64 `db:"idxalergi"`
|
|
AllergyIntoleranceID string `db:"allergyintolerance_id"`
|
|
RequestPayload string `db:"request_payload"`
|
|
ResponsePayload string `db:"response_payload"`
|
|
Status string `db:"status"`
|
|
ErrorMessage string `db:"error_message"`
|
|
}
|