package models // DiagnosaResponse represents the response structure for BPJS diagnosa data type DiagnosaResponse struct { Message string `json:"message"` Data map[string]interface{} `json:"data"` } // DiagnosaRawResponse represents the raw response structure from BPJS API type DiagnosaRawResponse struct { MetaData struct { Code string `json:"code"` Message string `json:"message"` } `json:"metaData"` Response interface{} `json:"response"` } // DiagnosaData represents the diagnosa reference data structure type DiagnosaData struct { KdDiag string `json:"kdDiag"` NmDiag string `json:"nmDiag"` } // DiagnosaListResponse represents the response structure for diagnosa list type DiagnosaListResponse struct { Diagnosa []DiagnosaData `json:"diagnosa"` } // ErrorResponse represents error response structure type ErrorResponse struct { Error string `json:"error"` Message string `json:"message"` Code int `json:"code,omitempty"` } // BPJSMetaData represents BPJS API metadata structure type BPJSMetaData struct { Code string `json:"code"` Message string `json:"message"` } // DiagnosaFilter represents filter parameters for diagnosa queries type DiagnosaFilter struct { NIK *string `form:"nik" json:"nik,omitempty"` TglSEP *string `form:"tglSEP" json:"tglSEP,omitempty"` }