first commit

This commit is contained in:
Sas Andy
2024-12-09 09:51:19 +07:00
commit ecc5dfd9c0
69 changed files with 5365 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
package types
type TerminologyStore interface {
GetTerminologyDisplay(code string, system string) (*CodeableTerminology, error)
}
type CodeableTerminology struct {
CodeSystem string `json:"CodeSystem" db:"code_system"`
Code string `json:"Code" db:"code"`
Display string `json:"Display" db:"display"`
}
type GetTerminologyDisplayPayload struct {
Code string `json:"code" validate:"required"`
CodeSystem string `json:"codesystem" validate:"required"`
}