-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPrescriptionsAdapter.hpp
41 lines (32 loc) · 994 Bytes
/
PrescriptionsAdapter.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// PrescriptionsAdapter.hpp
// AmiKo-wx
//
// Created by Alex Bettarini on 23 Jun 2020
// Copyright © 2020 Ywesee GmbH. All rights reserved.
#pragma once
#include <string>
#include <wx/url.h>
#include <wx/filename.h>
class Patient;
class PrescriptionItem;
class Operator;
class PrescriptionsAdapter
{
public:
PrescriptionsAdapter();
virtual ~PrescriptionsAdapter() {}
wxArrayString listOfPrescriptionURLsForPatient(Patient *p);
wxArrayString listOfPrescriptionsForPatient(Patient *p);
wxString loadPrescriptionFromFile(wxString filePath);
wxURL savePrescriptionForPatient_withUniqueHash_andOverwrite(Patient *p, wxString hash, bool overwrite);
void deletePrescriptionWithName_forPatient(wxString name, Patient *p);
wxFileName amkPathForPatient(Patient *p);
// 30
std::vector<PrescriptionItem *> cart;
Patient *patient;
Operator *doctor;
// 33
std::string placeDate;
// .m 31
wxString currentFileName;
};