feat (patient): add search by identifier and nik only
This commit is contained in:
No files matched your search
@@ -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"
|
||||
)
|
||||
Reference in New Issue
Block a user