Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateDocumentInput ¶
type CreateDocumentResponse ¶
type CreateDocumentResponse struct { Document model.Document UpdatedPatient model.Patient Code int Err error }
func CreateDocument ¶
func CreateDocument(newdoc UploadDocumentInput, ownerId string, uploaderID string) CreateDocumentResponse
type DeleteDocumentResponse ¶
func DeleteDocument ¶
func DeleteDocument(docId string, patientId string) DeleteDocumentResponse
type GetDocumentByIdResponse ¶
func GetDocument ¶
func GetDocument(id string) GetDocumentByIdResponse
type GetDocumentsResponse ¶
func GetDocuments ¶
func GetDocuments(id string) GetDocumentsResponse
type UpdateDocumentResponse ¶
func UpdateDocument ¶
func UpdateDocument(newDocumentInfo CreateDocumentInput, id string) UpdateDocumentResponse
func Updatefavorite ¶
func Updatefavorite(id string, favorite bool, ownerID string) UpdateDocumentResponse
Click to show internal directories.
Click to hide internal directories.