feat (therapy-protocol): add verification
This commit is contained in:
No files matched your search
@@ -30,3 +30,7 @@ type TherapyProtocol struct {
|
||||
DurationUnit_Code *common.TimeUnitCode `json:"durationUnit_code" gorm:"size:10"`
|
||||
Status_Code *common.DataVerifiedCode `json:"status_code" gorm:"size:10"`
|
||||
}
|
||||
|
||||
func (d TherapyProtocol) IsNew() bool {
|
||||
return d.Status_Code != nil && *d.Status_Code == common.DVCNew
|
||||
}
|
||||
Reference in New Issue
Block a user