first commit
This commit is contained in:
No files matched your search
@@ -0,0 +1,25 @@
|
||||
package medicationrequest
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
)
|
||||
|
||||
// MedicationRequestDB merepresentasikan tabel data resep obat
|
||||
// TODO: Sesuaikan field dan tag `db` dengan tabel SIMRS Anda
|
||||
type MedicationRequestDB struct {
|
||||
IdxResep int64 `db:"idxresep"`
|
||||
IdxDaftar int64 `db:"idxdaftar"`
|
||||
NoMR sql.NullString `db:"nomr"`
|
||||
TglResep sql.NullTime `db:"tgl_resep"`
|
||||
KFA sql.NullString `db:"kfa_code"`
|
||||
Instruksi sql.NullString `db:"instruksi"`
|
||||
}
|
||||
|
||||
type MedicationRequestSyncLog struct {
|
||||
IdxResep int64 `db:"idxresep"`
|
||||
MedicationRequestID string `db:"medicationrequest_id"`
|
||||
RequestPayload string `db:"request_payload"`
|
||||
ResponsePayload string `db:"response_payload"`
|
||||
Status string `db:"status"`
|
||||
ErrorMessage string `db:"error_message"`
|
||||
}
|
||||
Reference in New Issue
Block a user