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QAAyC;QAEnD,kCAAkC;QAClC,MAAM,OAAO,GAAG,GAAkD,EAAE,CAAC;YACnE,IAAI,QAAQ,GAAmC,IAAI,CAAC;YAEpD,UAAU;YACV,IAAI,QAAQ,CAAC,EAAE,EAAE;gBACf,QAAQ,GAAG,MAAM,IAAI,CAAC,GAAG,CAAiC,IAAI,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,SAAS,EAAE,CAAC;aAC3F;YACD,UAAU;iBACL;gBACH,QAAQ,GAAG,MAAM,IAAI,CAAC,IAAI,CAAiC,IAAI,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,SAAS,EAAE,CAAC;aAC5F;YAED,OAAO,wCAAE,CAAC,QAAQ,CAAC,CAAC,SAAS,EAAE,CAAC;QAClC,CAAC,EAAC;QAEF,OAAO,0CAAI,CAAC,OAAO,EAAE,CAAC,CAAC;IACzB,CAAC;;oHArFU,kCAAkC,oLASnC,sEAAuB,0DACvB,2FAA4C;mIAV3C,kCAAkC,WAAlC,kCAAkC,mBAFjC,MAAM","sources":["./src/app/licensureCore/landingPage/organizationalPayor/card/organizational-payor-landing-card.component.ts","./src/app/licensureCore/landingPage/organizationalPayor/card/organizational-payor-landing-card.component.html","./src/app/licensureCore/landingPage/organizationalPayor/organizational-payor-landing-routing.module.ts","./src/app/licensureCore/landingPage/organizationalPayor/organizational-payor-landing.component.ts","./src/app/licensureCore/landingPage/organizationalPayor/organizational-payor-landing.component.html","./src/app/licensureCore/landingPage/organizationalPayor/organizational-payor-landing.module.ts","./src/app/licensureCore/services/organizational-payor-licensee.service.ts"],"sourcesContent":["import { Component, Injector, OnInit, OnChanges, Inject, Optional, ViewEncapsulation } from '@angular/core';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport * as _l from 'lodash-es';\nimport {\n BusyManagerService,\n CONSTANTS_SERVICE_TOKEN,\n ConstantsService,\n OnlineServiceLinkManagerService,\n registerDynamicComponent,\n LandingCardBaseComponent,\n ReachModelConfigurationInjector, MODEL_CONFIG_INJECTION_TOKEN,\n ReachScenarios,\n SummaryInfoManagerService,\n UserManagerService,\n UtilitiesService,\n OnlineServiceLinkSubscription\n} from '@core/core.module';\nimport {\n IOrganizationalPayorConstantsService,\n LicensureLandingComponentKeys,\n LicensureOnlineServiceProcessTypes\n} from '@licensureCore/licensure-core.module';\n\nimport { IOrganizationalPayorInfoDto } from 'src/app/licensureShared/licensure-shared.module';\n\nexport const OrganizationalPayorCardComponentSelector: string = 'organizational-payor-landing-card';\n\n@Component({\n encapsulation: ViewEncapsulation.None,\n selector: OrganizationalPayorCardComponentSelector,\n templateUrl: './organizational-payor-landing-card.component.html',\n styleUrls: ['./organizational-payor-landing-card.component.scss']\n})\nexport class OrganizationalPayorLandingCardComponent extends LandingCardBaseComponent implements OnInit, OnChanges {\n readonlyInfo: any;\n\n constructor(activatedRoute: ActivatedRoute\n , busyManagerService: BusyManagerService\n , @Inject(CONSTANTS_SERVICE_TOKEN) constantsService: ConstantsService\n , injector: Injector\n , onlineServiceLinkManagerService: OnlineServiceLinkManagerService\n , @Optional() @Inject(MODEL_CONFIG_INJECTION_TOKEN) protected reachModelConfigurationInjector: ReachModelConfigurationInjector\n , router: Router, summaryInfoManagerService: SummaryInfoManagerService\n , userManagerService: UserManagerService\n , utilitiesService: UtilitiesService\n ) {\n\n super(activatedRoute\n , busyManagerService\n , constantsService\n , injector\n \n , onlineServiceLinkManagerService\n , reachModelConfigurationInjector\n , router\n , summaryInfoManagerService\n , userManagerService\n , utilitiesService\n , (constantsService as IOrganizationalPayorConstantsService).DOMAIN_IDS.ORGANIZATIONAL_PAYOR\n );\n\n this.onlineServiceLinkSubscriptions.push(new OnlineServiceLinkSubscription(LicensureOnlineServiceProcessTypes.OrganizationalPayor, () => { return this.domainKeyId; }));\n }\n\n ngOnInit(): void {\n super.ngOnInit();\n if (this.info) {\n this.readonlyInfo = this.createReadonlyInfo(this.info.title, this.info.id, this.info.model);\n }\n }\n\n ngOnChanges() { }\n\n private createReadonlyInfo(title: string, id: string, infoDto: IOrganizationalPayorInfoDto) {\n return {\n title: title,\n id: id,\n name: infoDto.ContactName,\n phone: infoDto.ContactPhone,\n email: infoDto.ContactEmail,\n licenseeCount: infoDto.LicenseeCount,\n dueCount: infoDto.DueCount,\n overdueCount: infoDto.OverdueCount,\n };\n }\n}\n\nregisterDynamicComponent(ReachScenarios.LandingPage, LicensureLandingComponentKeys.OrganizationalPayorSummary, OrganizationalPayorLandingCardComponent, OrganizationalPayorCardComponentSelector);\n","\n\n \n \n \n \n\n \n \n {{title}}\n \n \n\n \n
\n\n \n
\n\n \n
\n \n {{readonlyInfo.name}}\n
\n\n \n
\n \n {{readonlyInfo.phone}}\n
\n\n \n
\n \n {{readonlyInfo.email}}\n
\n\n \n
\n \n {{readonlyInfo.licenseeCount}}\n
\n\n \n
\n \n {{readonlyInfo.dueCount}}\n
\n\n \n
\n \n {{readonlyInfo.overdueCount}}\n
\n
\n\n \n
\n \n
\n\n
\n\n
","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\n\nimport { RouteInfoRegistry } from '@core/core.module';\nimport { CoreSharedModule } from 'src/app/coreShared/core-shared.module';\nimport { LicensureSharedModule } from 'src/app/licensureShared/licensure-shared.module';\n\nimport { OrganizationalPayorLandingComponent } from './organizational-payor-landing.component';\nimport { LicensureLandingComponentKeys } from '@licensureCore/index-constants';\n\n// Definition of routes for this component.\nconst routes: Routes = [\n {\n path: '',\n component: OrganizationalPayorLandingComponent\n },\n {\n path: RouteInfoRegistry.getItemByRegistryTypeKey(LicensureLandingComponentKeys.OrganizationalPayorDetail).path,\n component: OrganizationalPayorLandingComponent\n }\n ];\n\n@NgModule({\n imports: [RouterModule.forChild(routes), CoreSharedModule, LicensureSharedModule],\n exports: [RouterModule]\n})\nexport class OrganizationalPayorLandingRoutingModule { }\n","import { Component, OnInit, OnChanges, OnDestroy, Inject, Optional, SimpleChanges } from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\nimport { of, from, forkJoin } from 'rxjs';\nimport { ConfirmationService } from 'primeng/api';\nimport * as _l from 'lodash-es';\nimport {\n BusyManagerService,\n Command,\n CommandService,\n CONSTANTS_SERVICE_TOKEN,\n ConstantsService,\n DialogSettings,\n MODEL_CONFIG_INJECTION_TOKEN,\n OnlineServiceLinkManagerService,\n LandingDetailBaseComponent,\n ReachModelConfigurationInjector,\n ReachScenarios,\n registerDynamicComponent,\n SummaryInfoManagerService,\n OnlineServiceLinkSubscription,\n} from '@core/core.module';\nimport { IOrganizationalPayorConstantsService, LicensureLandingComponentKeys, ILicenseeInfo, LicensureOnlineServiceProcessTypes, LicensureListService } from '@licensureCore/licensure-core.module';\nimport { ILicenseTypeDto, IOnlineLicenseSearchResultItemDto, IOrganizationalPayorLicenseeDto, IOrganizationalPayorLicenseeSearchCriteria, IOrganizationalPayorLicenseeSearchResultItemDto, LicenseTypeDto, OnlineLicenseSearchResultItemDto, OrganizationalPayorLicenseeDto, OrganizationalPayorLicenseeSearchCriteria, OrganizationalPayorLicenseeSearchResultItemDto } from 'src/app/licensureShared/licensure-shared.module';\nimport { LicenseeLookupComponent } from '../../features/licensee-lookup/licensee-lookup.component';\nimport { OrganizationalPayorLicenseeService } from '../../services/organizational-payor-licensee.service';\nimport { FormControl, FormGroup, Validators } from '@angular/forms';\n\nexport const OrganizationalPayorLandingComponentSelector = 'organizational-payor-landing';\n@Component({\n selector: OrganizationalPayorLandingComponentSelector,\n templateUrl: './organizational-payor-landing.component.html',\n styleUrls: ['./organizational-payor-landing.component.scss']\n})\nexport class OrganizationalPayorLandingComponent extends LandingDetailBaseComponent implements OnInit, OnChanges, OnDestroy {\n title: string = \"Organizational Payor\";\n currentDate: Date = new Date();\n possibleLicenseTypes: ILicenseTypeDto[];\n possibleExpiryPeriods: string[];\n searchCommand: Command;\n dataLoaded: boolean = false;\n totalResultCount: number = 0;\n clearCommand: Command;\n searchResultItems: IOrganizationalPayorLicenseeSearchResultItemDto[];\n organizationalPayorConstantsService: IOrganizationalPayorConstantsService;\n dialogSettings: DialogSettings;\n presentEditorCommand: Command;\n removeItemCommand: Command;\n contentForm: FormGroup;\n searchCriteria: OrganizationalPayorLicenseeSearchCriteria = new OrganizationalPayorLicenseeSearchCriteria();\n friendlyNames: any = {};\n\n constructor(activatedRoute: ActivatedRoute\n , @Inject(CONSTANTS_SERVICE_TOKEN) constantsService: ConstantsService\n \n , onlineServiceLinkManagerService: OnlineServiceLinkManagerService\n , @Optional() @Inject(MODEL_CONFIG_INJECTION_TOKEN) protected reachModelConfigurationInjector: ReachModelConfigurationInjector\n , summaryInfoManagerService: SummaryInfoManagerService\n , private commandService: CommandService\n , private busyManagerService: BusyManagerService\n , private organizationalPayorLicenseeService: OrganizationalPayorLicenseeService\n , private confirmationService: ConfirmationService\n , private listService: LicensureListService\n ) {\n\n super(constantsService\n \n , onlineServiceLinkManagerService\n , reachModelConfigurationInjector\n , activatedRoute\n , summaryInfoManagerService\n , (constantsService as IOrganizationalPayorConstantsService).DOMAIN_IDS.ORGANIZATIONAL_PAYOR);\n\n this.organizationalPayorConstantsService = this.constantsService as IOrganizationalPayorConstantsService;\n this.onlineServiceLinkSubscriptions.push(new OnlineServiceLinkSubscription(LicensureOnlineServiceProcessTypes.OrganizationalPayor, () => { return this.domainKeyId; }));\n this.modelToForm();\n }\n\n public get resultCount(): number {\n return this.searchResultItems ? this.searchResultItems.length : 0;\n }\n\n public get resultCountDisplay(): string {\n // No matches\n if (this.resultCount == 0) {\n return \"no matches found\"\n }\n\n // 1 match returned\n if (this.resultCount == 1) {\n return `${this.resultCount} match`\n }\n\n // All matches returned\n if (this.resultCount == this.totalResultCount) {\n return `${this.resultCount} matches`\n }\n\n // Limited matches returned\n if (this.resultCount < this.totalResultCount) {\n return `displaying the first ${this.resultCount} of ${this.totalResultCount} matches`;\n }\n\n return \"\";\n }\n\n ngOnInit(): void {\n super.ngOnInit();\n this.searchCriteria.EffectiveOnly = true;\n this.searchCriteria.IncludeAllResults = true;\n this.initCommands();\n this.loadLookupLists();\n this.executeLicenseesSearch();\n }\n\n protected loadLookupLists(): void {\n const doInit = async (): Promise => {\n const responseCollection = await forkJoin([\n this.listService.getLicenseTypes()\n ]).toPromise();\n\n this.possibleLicenseTypes = _l.filter(this.listService.filterInactiveItems(responseCollection[0]), (item: LicenseTypeDto) => {\n return (!item.IsExcludedOnline\n );\n }) as ILicenseTypeDto[];\n\n this.possibleExpiryPeriods = [\n new Date(this.currentDate.getFullYear(), this.currentDate.getMonth(), 0).toLocaleDateString(),\n new Date(this.currentDate.getFullYear(), this.currentDate.getMonth() + 1, 0).toLocaleDateString(),\n new Date(this.currentDate.getFullYear(), (this.currentDate.getMonth() + 2), 0).toLocaleDateString(),\n new Date(this.currentDate.getFullYear(), (this.currentDate.getMonth() + 3), 0).toLocaleDateString(),\n new Date(this.currentDate.getFullYear(), (this.currentDate.getMonth() + 4), 0).toLocaleDateString(),\n new Date(this.currentDate.getFullYear(), (this.currentDate.getMonth() + 5), 0).toLocaleDateString(),\n new Date(this.currentDate.getFullYear(), (this.currentDate.getMonth() + 6), 0).toLocaleDateString(),\n new Date(this.currentDate.getFullYear(), (this.currentDate.getMonth() + 7), 0).toLocaleDateString(),\n new Date(this.currentDate.getFullYear(), (this.currentDate.getMonth() + 8), 0).toLocaleDateString(),\n new Date(this.currentDate.getFullYear(), (this.currentDate.getMonth() + 9), 0).toLocaleDateString(),\n new Date(this.currentDate.getFullYear(), (this.currentDate.getMonth() + 10), 0).toLocaleDateString(),\n new Date(this.currentDate.getFullYear(), (this.currentDate.getMonth() + 11), 0).toLocaleDateString(),\n new Date(this.currentDate.getFullYear(), (this.currentDate.getMonth() + 12), 0).toLocaleDateString()\n ]\n\n this.dataLoaded = true;\n return of(true).toPromise();\n }\n\n this.busyManagerService.resolve(from(doInit()), this.constantsService.BUSY_MANAGER_BUSY_TYPES.VIEW_INIT);\n }\n\n protected formToModel() {\n this.searchCriteria.ExpiryDate = this.contentForm.get('ExpiryDate').value;\n this.searchCriteria.FirstName = this.contentForm.get('FirstName').value as string;\n this.searchCriteria.LicenseType = this.contentForm.get('LicenseType').value?.Code;\n this.searchCriteria.LastName = this.contentForm.get('LastName').value as string;\n this.searchCriteria.LicenseNumber = this.contentForm.get('LicenseNumber').value as number;\n this.searchCriteria.Due = this.contentForm.get('Due').value as boolean\n this.searchCriteria.Overdue = this.contentForm.get('Overdue').value as boolean;\n this.searchCriteria.IncludeAllResults = true;\n this.searchCriteria.EffectiveOnly = true;\n }\n\n protected modelToForm() {\n this.friendlyNames.LastName = 'Last Name';\n this.friendlyNames.LicenseNumber = 'License Number';\n\n this.contentForm = new FormGroup({\n FirstName: new FormControl('', [Validators.maxLength(40)]),\n LastName: new FormControl('', [Validators.maxLength(180)]),\n LicenseType: new FormControl(),\n LicenseNumber: new FormControl('', [Validators.maxLength(9)]),\n ExpiryDate: new FormControl(''),\n Due: new FormControl(null),\n Overdue: new FormControl(null)\n });\n\n this.contentForm.valueChanges.subscribe(() => {\n this.formToModel();\n })\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n super.onInputChanges(changes);\n }\n\n ngOnDestroy(): void { }\n\n private initCommands() {\n this.presentEditorCommand = this.commandService.create(this.canPresentEditorCommandExecute, this.presentEditorCommandExecute);\n this.removeItemCommand = this.commandService.create(this.canRemoveItemCommandExecute, this.removeItemCommandExecute);\n this.searchCommand = this.commandService.create(this.canSearchCommandExecute, this.searchCommandExecuted)\n this.clearCommand = this.commandService.create(this.canClearCommandExecute, this.clearCommandExecute);\n }\n\n protected canClearCommandExecute = (): boolean => {\n return true;\n };\n\n protected clearCommandExecute = () => {\n this.executeClear();\n };\n\n private canSearchCommandExecute(): boolean {\n return true;\n }\n\n private searchCommandExecuted = () => {\n this.executeLicenseesSearch();\n }\n\n protected executeLicenseesSearch() {\n\n for (var property in this.searchCriteria) {\n if (this.searchCriteria[property] === null || this.searchCriteria[property] === undefined) {\n delete this.searchCriteria[property];\n }\n }\n\n this.searchCriteria.OrganizationalPayorId = this.model.Id;\n const execute = async (): Promise => {\n this.organizationalPayorLicenseeService.searchLicensees(this.searchCriteria)\n .subscribe((searchResult) => {\n this.searchResultItems = searchResult.Results;\n this.totalResultCount = searchResult.TotalResultCount;\n });\n\n return of(true).toPromise();\n }\n\n this.busyManagerService.resolve(from(execute()), this.constantsService.BUSY_MANAGER_BUSY_TYPES.VIEW_INIT);\n }\n\n protected executeClear(): void {\n this.contentForm.get('ExpiryDate').setValue(null);;\n this.contentForm.get('FirstName').setValue(null);\n this.contentForm.get('LicenseType').setValue(null);\n this.contentForm.get('LastName').setValue(null);\n this.contentForm.get('LicenseNumber').setValue(null);\n this.contentForm.get('Due').setValue(null);\n this.contentForm.get('Overdue').setValue(null);\n this.searchResultItems.length = 0;\n }\n\n\n protected canPresentEditorCommandExecute = (): boolean => {\n return true;\n }\n\n protected presentEditorCommandExecute = () => {\n let okCommand = this.commandService.create((dialogModel: IOnlineLicenseSearchResultItemDto) => dialogModel?.LicenseId != null\n , (dialogModel: IOnlineLicenseSearchResultItemDto) => {\n const execute = async (): Promise => {\n let payorModel = new OrganizationalPayorLicenseeDto();\n payorModel.OrganizationalPayorId = this.model.Id;\n payorModel.LicenseId = dialogModel.LicenseId;\n payorModel.EffectiveFrom = new Date();\n payorModel.EffectiveTo = null;\n payorModel.IsPay = true;\n\n this.organizationalPayorLicenseeService.save(payorModel).subscribe((searchResult) => {\n this.executeLicenseesSearch();\n }, (response) => {\n if (response === this.constantsService.SYSTEM_CONSTANTS.NOT_FOUND) {\n this.model.onlineEntitySearchResultsModel.onlineEntitySearchResults = null;\n }\n });\n\n return of(true).toPromise();\n }\n\n this.busyManagerService.resolve(from(execute()), this.constantsService.BUSY_MANAGER_BUSY_TYPES.VIEW_INIT);\n });\n\n const createDialog = async (): Promise => {\n let dialogModel = new OrganizationalPayorLicenseeDto();\n dialogModel.OrganizationalPayorId = this.model.Id;\n let dialogTitle = \"Add Licensee\";\n this.dialogSettings = new DialogSettings(\n null, // Component instance\n ReachScenarios.Default, // Scenario key\n LicenseeLookupComponent, // Content type\n 'LicenseeLookupComponent', // Content key\n dialogTitle, // Title\n dialogModel, // Model\n null, // OK command does not close dialog\n true); // Use model reference\n\n this.dialogSettings.initializationData.organizationalPayorId = this.model.Id;\n this.dialogSettings.initializationData.currentLicensees = [];\n this.searchResultItems.forEach(i => {\n let lic = {} as ILicenseeInfo;\n lic.LicenseNumber = i.LicenseNumber;\n lic.LicenseTypeCode = i.LicenseType;\n this.dialogSettings.initializationData.currentLicensees.push(lic);\n });\n\n this.dialogSettings.okCommand = okCommand;\n this.dialogSettings.isOpen = true;\n return of(true).toPromise();\n }\n return from(createDialog());\n }\n\n protected canRemoveItemCommandExecute = (): boolean => {\n return true;\n }\n\n protected removeItemCommandExecute = (selectedItem: IOrganizationalPayorLicenseeSearchResultItemDto) => {\n this.confirmationService.confirm({\n message: `${selectedItem.FirstName} ${selectedItem.LastName} (License #${selectedItem.LicenseNumber}) is about to be removed from this list.`,\n header: 'Confirmation',\n icon: 'pi pi-exclamation-triangle',\n rejectLabel: 'Cancel',\n acceptLabel: 'Ok',\n accept: () => {\n\n this.organizationalPayorLicenseeService.getById(selectedItem.OrganizationalPayorLicenseeId)\n .subscribe((searchResult: IOrganizationalPayorLicenseeDto) => {\n searchResult.EffectiveTo = new Date();\n searchResult.IsPay = false;\n this.organizationalPayorLicenseeService.save(searchResult)\n .subscribe(() => {\n this.executeLicenseesSearch();\n });\n });\n }\n });\n }\n}\n\nregisterDynamicComponent(ReachScenarios.LandingPage, LicensureLandingComponentKeys.OrganizationalPayorDetail, OrganizationalPayorLandingComponent, OrganizationalPayorLandingComponentSelector);\n","\n\n\n
\n \n
\n \n \n
\n\n \n
\n \n \n
\n\n \n
\n \n \n
\n\n \n
\n \n \n
\n\n \n
\n \n \n\n
\n \n \n \n \n
\n
\n
\n\n\n
\n
\n \n
\n \n
\n\n \n
\n \n
\n
\n
\n\n\n\n\n \n \n
\n
Licensees  ({{resultCountDisplay}})
\n
\n \n
\n
\n
\n\n \n \n \n Name \n First \n Birth Date\n License Type\n License #\n Expire Date \n CME Due Date \n Latest Payment\n Confirmation #\n \n \n \n \n \n\n \n \n \n\n Name{{item.LastName}}\n First{{item.FirstName}}\n Birth Date{{item.BirthDate | date:'MM/dd/yyyy' | whenEmpty:'-'}}\n License Type{{item.LicenseType}}\n License #{{item.LicenseNumber}}\n Expire Date{{item.ExpireDate | date:'MM/dd/yyyy' | whenEmpty: '-'}}\n CME Due Date{{item.CmeDueDate | date:'MM/dd/yyyy' | whenEmpty: '-'}}\n Latest Payment{{item.LatestPaymentDate | date:'MM/dd/yyyy' | whenEmpty:'-'}}\n Confirmation #{{item.LatestConfirmationNumber}}\n\n \n \n \n\n \n \n\n \n \n\n \n \n\n \n \n \n \n No entries. Click (+) to add.\n \n \n \n
\n\n\n\n\n
\n \n
\n\n\n\n\n\n\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { PanelModule } from 'primeng/panel';\nimport { MessagesModule } from 'primeng/messages';\nimport { MessageModule } from 'primeng/message';\nimport { CoreModule } from '@core/core.module';\nimport { CoreSharedModule } from '@coreShared/core-shared.module';\nimport { LicensureSharedModule } from '@licensureShared/licensure-shared.module';\n\n// Routing Module.\nimport { OrganizationalPayorLandingRoutingModule } from '../organizationalPayor/organizational-payor-landing-routing.module';\n\n// Components.\nimport { OrganizationalPayorLandingComponent } from './organizational-payor-landing.component';\nimport { OrganizationalPayorLandingCardComponent } from './card/organizational-payor-landing-card.component';\n\n// Export components (Barrel File)\nexport {\n OrganizationalPayorLandingComponent,\n OrganizationalPayorLandingCardComponent\n};\n\n@NgModule({\n declarations: [\n OrganizationalPayorLandingComponent,\n OrganizationalPayorLandingCardComponent\n ],\n\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n CoreModule,\n PanelModule,\n MessageModule,\n MessagesModule,\n CoreSharedModule,\n LicensureSharedModule,\n OrganizationalPayorLandingRoutingModule\n ],\n\n exports: [\n OrganizationalPayorLandingComponent,\n OrganizationalPayorLandingCardComponent\n ]\n\n})\nexport class OrganizationalPayorLandingModule {\n static components = {\n card: OrganizationalPayorLandingCardComponent,\n detail: OrganizationalPayorLandingComponent\n };\n}","// FRAMEWORK\nimport { Inject, Injectable } from \"@angular/core\";\nimport { HttpClient } from \"@angular/common/http\";\nimport { from, Observable, of } from \"rxjs\";\n\n// CORE\nimport {\n BusyManagerService,\n CONSTANTS_SERVICE_TOKEN, ConstantsService,\n DefaultProviderConfigurationService, DEFAULT_PROVIDER_CONFIGURATION_SERVICE_TOKEN,\n ReachHttpClientService,\n MessageService,\n UtilitiesService\n} from '@core/core.module';\n\n// SHARED\nimport { SearchResultListDto } from '@coreShared/core-shared.module';\nimport { IOrganizationalPayorLicenseeDto, OrganizationalPayorLicenseeDto, OrganizationalPayorLicenseeSearchResultItemDto } from '@licensureShared/licensure-shared.module';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class OrganizationalPayorLicenseeService extends ReachHttpClientService {\n\n // FIELDS\n private uri: string;\n\n // CTOR\n constructor(\n // Base.\n busyManagerService: BusyManagerService,\n @Inject(CONSTANTS_SERVICE_TOKEN) constantsService: ConstantsService,\n @Inject(DEFAULT_PROVIDER_CONFIGURATION_SERVICE_TOKEN) defaultProviderConfigurationService:\n DefaultProviderConfigurationService,\n http: HttpClient,\n messageService: MessageService,\n\n // Custom\n private utilitiesService: UtilitiesService,\n ) {\n\n // Base.\n super(\n busyManagerService,\n constantsService,\n defaultProviderConfigurationService,\n http,\n messageService\n );\n\n // Declarations.\n this.uri = `${this.apiRootUri}/licensure/OrganizationalPayorLicensee`;\n }\n\n /**\n * Find an OrganizationalPayorLicensee by ID.\n * @param id \n * @returns \n */\n public getById(id: number): Observable {\n \n // Create executable method...\n const execute = async (): Promise => {\n\n // Retreive the record.\n let dto = await this.get(`${this.uri}/${id}`).toPromise();\n return of(dto).toPromise();\n };\n\n // ...Execute and return as observable.\n return from(execute());\n }\n\n /**\n * Searches for OrganizationalPayorLicensees.\n * @param criteria \n * @returns \n */\n public searchLicensees(criteria) {\n let searchUri = `${this.apiRootUri}/licensure/OrganizationalPayorLicenseeSearch`;\n return this.get>(`${searchUri}/search`, { params: criteria });\n }\n\n /**\n * Handles UPDATE and CREATE CRUD operations for IOrganizationalPayorLicenseeDto.\n * @param licensee IOrganizationalPayorLicenseeDto\n * @returns \n */\n public save(licensee: IOrganizationalPayorLicenseeDto): Observable {\n\n // Create async executable method.\n const exectue = async (): Promise => {\n let response: OrganizationalPayorLicenseeDto = null;\n\n // UPDATE.\n if (licensee.Id) {\n response = await this.put(this.uri, licensee).toPromise();\n }\n // CREATE.\n else {\n response = await this.post(this.uri, licensee).toPromise();\n }\n\n return of(response).toPromise();\n };\n\n return from(exectue());\n }\n}\n"],"names":[],"sourceRoot":"webpack:///"}