Medication Update
This commit is contained in:
No files matched your search
@@ -2,6 +2,7 @@ package servicerequest
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
"time"
|
||||
)
|
||||
|
||||
// ServiceRequestDB merepresentasikan tabel order lab/radiologi
|
||||
@@ -22,3 +23,39 @@ type ServiceRequestSyncLog struct {
|
||||
Status string `db:"status"`
|
||||
ErrorMessage string `db:"error_message"`
|
||||
}
|
||||
|
||||
type ServiceRequestRadDB struct {
|
||||
ID string `db:"id"`
|
||||
JsonData sql.NullString `db:"Json_data"`
|
||||
PatientIHS sql.NullString `db:"Nomor_satusehat_pasien"`
|
||||
PatientName sql.NullString `db:"Nama_lengkap"`
|
||||
EncounterID sql.NullString `db:"IDXDAFTAR_satusehat"`
|
||||
CreatedAt time.Time `db:"Created_at"`
|
||||
RequesterID sql.NullString `db:"requester_id"`
|
||||
PerformerID sql.NullString `db:"performer_id"`
|
||||
}
|
||||
|
||||
type ServiceRequestJson struct {
|
||||
Status string `json:"status"`
|
||||
Intent string `json:"intent"`
|
||||
Category []struct {
|
||||
Coding []struct {
|
||||
Code string `json:"code"`
|
||||
Display string `json:"display"`
|
||||
} `json:"coding"`
|
||||
} `json:"category"`
|
||||
Code struct {
|
||||
Coding []struct {
|
||||
Code string `json:"code"`
|
||||
Display string `json:"display"`
|
||||
} `json:"coding"`
|
||||
} `json:"code"`
|
||||
Requester struct {
|
||||
Reference string `json:"reference"`
|
||||
} `json:"requester"`
|
||||
Performer []struct {
|
||||
Reference string `json:"reference"`
|
||||
Display string `json:"display"`
|
||||
} `json:"performer"`
|
||||
AuthoredOn string `json:"authoredOn"`
|
||||
}
|
||||
Reference in New Issue
Block a user