This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": [ | |
{ | |
"id": "P100207", | |
"external_id": "", | |
"provider": null, | |
"firstName": "Bill", | |
"middleName": "k", | |
"lastName": "Johnson", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTML | |
<div *ngFor="let patient of patients;let i=index" [id]="'scroll'+i" class="patient-list-{{patient.id}}"> | |
<div class="d-flex list-row-padding align-items-center ml-4 mr-4 patients-table-data border border-top-0 border-left-0 border-right-0 " | |
[id]="'patient'+i"> | |
<div class="col-1 pr-1 circle-padding mr-1" *ngIf="patient.active==true && (patient.stats && patient.stats.los)"> | |
<span class="d-flex rounded-circle justify-content-center align-items-center round-circle text-white" [ngClass]="getLos(patient)">{{patient.stats.los}}</span> | |
</div> | |
<div class="col-1 pr-1 circle-padding mr-1" *ngIf="patient.active==false"> |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": [ | |
{ | |
"id": 100291, | |
"type": "internal", | |
"code": "", | |
"first_name": "wewqewq", | |
"last_name": "213213", | |
"email": "[email protected]", | |
"registered": false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RequestURL: https: //api.hsourcesandbox.net/api/v1/nursesRequestMethod: POSTStatusCode: 400BadRequestRemoteAddress: 23.20.217.143: 443ReferrerPolicy: no-referrer-when-downgradeAccess-Control-Allow-Origin: *Access-Control-Expose-Headers: AuthorizationCache-Control: no-cache, | |
privateConnection: keep-aliveContent-Length: 80Content-Type: application/jsonDate: Fri, | |
18Jan201908: 27: 16GMTServer: nginx/1.12.1Vary: OriginX-Powered-By: PHP/7.1.25X-RateLimit-Limit: 5000X-RateLimit-Remaining: 4998ProvisionalheadersareshownAccept: application/json, | |
text/plain, | |
*/*Authorization: bearereyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpc3MiOiJodHRwOlwvXC9hcGkuaHNvdXJjZXNhbmRib3gubmV0XC9hcGlcL3YxXC9hdXRoXC9yZWZyZXNoIiwiaWF0IjoxNTQ3NzkwNzE1LCJleHAiOjE1NDc4MDg3MjQsIm5iZiI6MTU0Nzc5NzkyNCwianRpIjoiNlpjNkpuYVI2RGMweUFlYSIsInN1YiI6MTAwMDc1LCJwcnYiOiIyM2JkNWM4OTQ5ZjYwMGFkYjM5ZTcwMWM0MDA4NzJkYjdhNTk3NmY3In0.DMnMfiHUF_EXcM-zrapoSiG29ih3WM6Tag37X3NRlGdoZIPovRBJnWpSwVFcpMYAsLVEgc_nf2GJ9E1GxY4m6wContent-Type: application/jsoncontentType: applica |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"first": "rajitha", | |
"middle": "yadav", | |
"last": "kothapally", | |
"phone": "960.315.3514-3213", | |
"alt_phone": "312.312.3213", | |
"email": "[email protected]", | |
"notes": "for testing purpose", | |
"phone_type": "Landline", | |
"alt_phone_type": "Mobile", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"first": "rajitha", | |
"middle": "k", | |
"last": "kothapally", | |
"phone": "343.243.2432-4324", | |
"alt_phone": "324.243.2342-3432", | |
"email": "[email protected]", | |
"notes": "testing purpose", | |
"phone_type": "Landline", | |
"alt_phone_type": "Landline", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": [ | |
{ | |
"id": 103000, | |
"parent_id": 0, | |
"child_order_id": "", | |
"revision": "", | |
"external_id": "", | |
"nsId": 835222, | |
"orderType": "Delivery", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": [ | |
{ | |
"id": 103000, | |
"parent_id": 0, | |
"child_order_id": "", | |
"revision": "", | |
"external_id": "", | |
"nsId": 835222, | |
"orderType": "Delivery", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { combineLatest as observableCombineLatest, of as observableOf, Observable } from 'rxjs'; | |
import { mergeMap, catchError, map, tap } from 'rxjs/operators'; | |
import { Injectable } from '@angular/core'; | |
import { locationService } from './location.service'; | |
import { ApiCallsService } from './apicalls.service'; | |
import * as moment from 'moment'; | |
// import 'moment-timezone'; | |
import { constants } from '../modules/utilities/constants'; | |
// import { communicationService } from './communication.service'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function throttle(callback, limit) { | |
var tick = false; | |
return function () { | |
if (!tick) { | |
callback.call(); | |
tick = true; | |
setTimeout(function () { | |
tick = false; | |
}, limit); | |
} |
OlderNewer