31 lines
673 B
Go
31 lines
673 B
Go
package base
|
|
|
|
import "github.com/fastenhealth/fastenhealth-onprem/backend/pkg/database"
|
|
|
|
//go:generate mockgen -source=interface.go -destination=mock/mock_client.go
|
|
type Client interface {
|
|
GetRequest(resourceSubpath string, decodeModelPtr interface{}) error
|
|
SyncAll(db database.DatabaseRepository) error
|
|
|
|
//PatientProfile() (models.PatientProfile, error)
|
|
//Allergies()
|
|
//Encounters()
|
|
//Immunizations()
|
|
//Instructions()
|
|
//Medications()
|
|
//Narratives()
|
|
//Organizations()
|
|
//PlansOfCare()
|
|
//Problems()
|
|
//Procedures()
|
|
//TestResults()
|
|
//Vitals()
|
|
//CCD()
|
|
//Demographics()
|
|
//SocialHistory()
|
|
}
|
|
|
|
type ResourceInterface interface {
|
|
ResourceRef() (string, *string)
|
|
}
|