fix
This commit is contained in:
@@ -6,8 +6,8 @@ android {
|
|||||||
applicationId "com.mermsemr.providers"
|
applicationId "com.mermsemr.providers"
|
||||||
minSdkVersion rootProject.ext.minSdkVersion
|
minSdkVersion rootProject.ext.minSdkVersion
|
||||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||||
versionCode 1028
|
versionCode 1029
|
||||||
versionName "1.0.28"
|
versionName "1.0.29"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</ion-col>
|
</ion-col>
|
||||||
</ion-row>
|
</ion-row>
|
||||||
<ion-row style="height: 60px; padding-top: 0px; font-size: 50px; text-align: center; background-color: honeydew; ">
|
<ion-row style="height: 60px; padding-top: 0px; font-size: 40px; text-align: center; background-color: white; ">
|
||||||
<ion-col >
|
<ion-col >
|
||||||
<ion-icon name="people-outline" (click)="goPracticepatients()" ></ion-icon>
|
<ion-icon name="people-outline" (click)="goPracticepatients()" ></ion-icon>
|
||||||
</ion-col>
|
</ion-col>
|
||||||
|
|||||||
@@ -8,20 +8,31 @@
|
|||||||
<ion-col size="8" class="page-title">Patients</ion-col>
|
<ion-col size="8" class="page-title">Patients</ion-col>
|
||||||
</ion-row>
|
</ion-row>
|
||||||
</ion-grid>
|
</ion-grid>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Item Dividers in a List -->
|
|
||||||
<ion-list>
|
|
||||||
|
|
||||||
<ion-item><ion-label>Search patient </ion-label></ion-item>
|
<ion-grid style="font-size: 25px; text-align: center; height: 30px; width: 100%;">
|
||||||
<ion-item><ion-label>Edit Profile</ion-label></ion-item>
|
<ion-row>
|
||||||
<ion-item><ion-label>A4</ion-label></ion-item>
|
<ion-col>
|
||||||
<ion-item><ion-label>Practice Time</ion-label></ion-item>
|
<ion-icon name="calendar-outline" style="padding-right: 20px; padding-left: 20px;"></ion-icon>
|
||||||
|
</ion-col>
|
||||||
|
<ion-col>
|
||||||
</ion-list>
|
<ion-icon name="person-add-outline" style="padding-right: 20px; padding-left: 20px;"></ion-icon>
|
||||||
|
</ion-col>
|
||||||
|
</ion-row>
|
||||||
|
<ion-row>
|
||||||
|
<ion-toolbar>
|
||||||
|
<ion-searchbar></ion-searchbar>
|
||||||
|
</ion-toolbar>
|
||||||
|
|
||||||
|
<ion-list style="width: 100%;">
|
||||||
|
<ion-item *ngFor="let type of patientsData" (click)="goSelectPatient(type)">{{type.firstname}}
|
||||||
|
{{type.lastname}}</ion-item>
|
||||||
|
</ion-list>
|
||||||
|
</ion-row>
|
||||||
|
</ion-grid>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,7 @@
|
|||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
import { Router, NavigationExtras } from '@angular/router'
|
||||||
|
import { MermsServiceProviderService } from './../providers/merms-service-provider.service';
|
||||||
|
import { MermsSessionService } from './../merms-session.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-merms-mypatients',
|
selector: 'app-merms-mypatients',
|
||||||
@@ -7,11 +10,47 @@ import { Component, OnInit } from '@angular/core';
|
|||||||
})
|
})
|
||||||
export class MermsMypatientsPage implements OnInit {
|
export class MermsMypatientsPage implements OnInit {
|
||||||
|
|
||||||
constructor() { }
|
patientsData:any;
|
||||||
|
currentProviderData: {
|
||||||
|
sessionid: string,
|
||||||
|
member_id: number,
|
||||||
|
card_count: number
|
||||||
|
card_type: number
|
||||||
|
};
|
||||||
|
|
||||||
|
constructor(
|
||||||
|
private router: Router,
|
||||||
|
private mermsServiceProviderService: MermsServiceProviderService,
|
||||||
|
private mermsSessionService: MermsSessionService
|
||||||
|
) {
|
||||||
|
this.currentProviderData = {
|
||||||
|
sessionid: this.mermsSessionService.session,
|
||||||
|
member_id: this.mermsSessionService.member_id,
|
||||||
|
card_count: 100,
|
||||||
|
card_type: 22000
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
try {
|
||||||
|
this.mermsServiceProviderService.genericGetService('provider/mypatients', this.currentProviderData).subscribe(patientsData => {
|
||||||
|
console.log("card data result 22k: ", patientsData[0]['payload']);
|
||||||
|
this.patientsData = patientsData[0]['payload'];
|
||||||
|
|
||||||
|
});
|
||||||
|
} catch (e) {
|
||||||
|
console.log(e);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
}
|
}
|
||||||
goBack(){
|
goBack() {
|
||||||
|
|
||||||
|
}
|
||||||
|
goSelectPatient(patientData:any){
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user