first commit
This commit is contained in:
16
types/terminology.types.go
Normal file
16
types/terminology.types.go
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user