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"` }