feat (patient): add search by identifier and nik only

This commit is contained in:
dpurbosakti
2025-10-17 13:04:43 +07:00
parent 1b6b5a73b4
commit 319da694af
5 changed files with 54 additions and 17 deletions

No files matched your search

+2 -1
View File
@@ -57,7 +57,8 @@ type DeleteDto struct {
}
type SearchDto struct {
Search string `json:"search"`
Search string `json:"search"`
Mode SearchMode `json:"mode"`
}
type UploadDto struct {
@@ -0,0 +1,8 @@
package patient
type SearchMode string
const (
SMNik SearchMode = "resident-identity"
SMIdent SearchMode = "identifier"
)