2022-08-28 11:51:58 -06:00
|
|
|
package base
|
|
|
|
|
2022-08-30 20:03:24 -06:00
|
|
|
import "github.com/fastenhealth/fastenhealth-onprem/backend/pkg/database"
|
|
|
|
|
2022-08-28 11:51:58 -06:00
|
|
|
type Client interface {
|
2022-08-30 20:03:24 -06:00
|
|
|
GetRequest(resourceSubpath string, decodeModelPtr interface{}) error
|
|
|
|
SyncAll(db database.DatabaseRepository) error
|
2022-08-28 11:51:58 -06:00
|
|
|
|
|
|
|
//PatientProfile() (models.PatientProfile, error)
|
|
|
|
//Allergies()
|
|
|
|
//Encounters()
|
|
|
|
//Immunizations()
|
|
|
|
//Instructions()
|
|
|
|
//Medications()
|
|
|
|
//Narratives()
|
|
|
|
//Organizations()
|
|
|
|
//PlansOfCare()
|
|
|
|
//Problems()
|
|
|
|
//Procedures()
|
|
|
|
//TestResults()
|
|
|
|
//Vitals()
|
|
|
|
//CCD()
|
|
|
|
//Demographics()
|
|
|
|
//SocialHistory()
|
|
|
|
}
|