Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
HIAST-Clinics
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
almohanad.hafez
HIAST-Clinics
Commits
f1c6c71b
Commit
f1c6c71b
authored
Aug 26, 2024
by
Almouhannad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(F) Add medicine and visit view classes
parent
01293688
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
1 deletion
+31
-1
medicine-view.ts
Clinics.Frontend/src/app/classes/medicine/medicine-view.ts
+17
-0
visit-view.ts
Clinics.Frontend/src/app/classes/visit/visit-view.ts
+13
-0
medicines.component.html
.../app/components/doctor/medicines/medicines.component.html
+1
-1
No files found.
Clinics.Frontend/src/app/classes/medicine/medicine-view.ts
0 → 100644
View file @
f1c6c71b
export
class
MedicineView
{
public
name
:
string
;
public
form
:
'حبوب'
|
'شراب'
public
amount
:
number
;
public
dosage
:
number
;
public
number
:
number
;
constructor
(
name
:
string
=
''
,
form
:
'حبوب'
|
'شراب'
=
'حبوب'
,
amount
:
number
=
0
,
dosage
:
number
=
0
,
number
:
number
=
0
)
{
this
.
name
=
name
;
this
.
form
=
form
;
this
.
amount
=
amount
;
this
.
dosage
=
dosage
;
this
.
number
=
number
;
}
}
Clinics.Frontend/src/app/classes/visit/visit-view.ts
0 → 100644
View file @
f1c6c71b
import
{
MedicineView
}
from
"../medicine/medicine-view"
;
export
class
VisitView
{
doctorName
:
string
;
diagnosis
:
string
;
medicines
:
MedicineView
[];
constructor
(
doctorName
:
string
=
''
,
diagnosis
:
string
=
''
,
medicines
:
MedicineView
[]
=
[])
{
this
.
doctorName
=
doctorName
;
this
.
diagnosis
=
diagnosis
;
this
.
medicines
=
medicines
;
}
}
Clinics.Frontend/src/app/components/doctor/medicines/medicines.component.html
View file @
f1c6c71b
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<th
scope=
"row"
>
2
</th>
<th
scope=
"row"
>
2
</th>
<td>
باراسيتامول
</td>
<td>
باراسيتامول
</td>
<td>
شراب
</td>
<td>
شراب
</td>
<td>
500 مل
غ
</td>
<td>
500 مل
ل
</td>
<td>
500
</td>
<td>
500
</td>
<td>
2
</td>
<td>
2
</td>
</tr>
</tr>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment