diff --git a/prime-angular-frontend/src/app/config/config.model.ts b/prime-angular-frontend/src/app/config/config.model.ts index de39f12dd1..f33b557e87 100644 --- a/prime-angular-frontend/src/app/config/config.model.ts +++ b/prime-angular-frontend/src/app/config/config.model.ts @@ -17,6 +17,7 @@ export interface Configuration { securityGroups: Config[]; collegeLicenseGroupings: CollegeLicenseGroupingConfig[]; deviceProviderRoles: DeviceProviderRoleConfig[]; + siteCloseReasons: Config[]; } export class Config { diff --git a/prime-angular-frontend/src/app/config/config.service.ts b/prime-angular-frontend/src/app/config/config.service.ts index a76db83e0f..f8d1d55e16 100644 --- a/prime-angular-frontend/src/app/config/config.service.ts +++ b/prime-angular-frontend/src/app/config/config.service.ts @@ -119,6 +119,11 @@ export class ConfigService implements IConfigService { .sort(this.utilsService.sortByKey('weight')); } + public get siteCloseReasons(): Config[] { + return [...this.configuration.siteCloseReasons] + .sort(this.utilsService.sortByKey>('name')); + } + /** * @description * Load the runtime configuration. diff --git a/prime-angular-frontend/src/app/core/resources/site-resource.service.ts b/prime-angular-frontend/src/app/core/resources/site-resource.service.ts index caeabc5f4c..f630a11163 100644 --- a/prime-angular-frontend/src/app/core/resources/site-resource.service.ts +++ b/prime-angular-frontend/src/app/core/resources/site-resource.service.ts @@ -606,4 +606,26 @@ export class SiteResource { }) ); } + + public closeSite(siteId: number, siteCloseReasonCode: number, note: string): NoContent { + return this.apiResource.post(`sites/${siteId}/close`, { note, siteCloseReasonCode }) + .pipe( + NoContentResponse, + catchError((error: any) => { + this.logger.error('[SiteRegistration] SiteResource::closeSite error has occurred: ', error); + throw error; + }) + ); + } + + public openSite(siteId: number, note: string): NoContent { + return this.apiResource.post(`sites/${siteId}/open`, { note }) + .pipe( + NoContentResponse, + catchError((error: any) => { + this.logger.error('[SiteRegistration] SiteResource::openSite error has occurred: ', error); + throw error; + }) + ); + } } diff --git a/prime-angular-frontend/src/app/lib/enums/site-adjudication-action.enum.ts b/prime-angular-frontend/src/app/lib/enums/site-adjudication-action.enum.ts index 97cf2e8ee7..72fafc707f 100644 --- a/prime-angular-frontend/src/app/lib/enums/site-adjudication-action.enum.ts +++ b/prime-angular-frontend/src/app/lib/enums/site-adjudication-action.enum.ts @@ -2,5 +2,7 @@ export enum SiteAdjudicationAction { REQUEST_CHANGES = 1, APPROVE = 2, REJECT = 3, - UNREJECT = 4 + UNREJECT = 4, + CLOSE = 7, + OPEN = 8, } diff --git a/prime-angular-frontend/src/app/lib/enums/site-status.enum.ts b/prime-angular-frontend/src/app/lib/enums/site-status.enum.ts index 265a406d24..50e0e58d79 100644 --- a/prime-angular-frontend/src/app/lib/enums/site-status.enum.ts +++ b/prime-angular-frontend/src/app/lib/enums/site-status.enum.ts @@ -3,5 +3,6 @@ export enum SiteStatusType { IN_REVIEW = 2, LOCKED = 3, EDITABLE_NOT_APPROVED = 4, - FLAGGED = 5 + FLAGGED = 5, + CLOSED = 7, } diff --git a/prime-angular-frontend/src/app/modules/adjudication/shared/classes/abstract-site-admin-page.class.ts b/prime-angular-frontend/src/app/modules/adjudication/shared/classes/abstract-site-admin-page.class.ts index 443df8588b..857a472e5a 100644 --- a/prime-angular-frontend/src/app/modules/adjudication/shared/classes/abstract-site-admin-page.class.ts +++ b/prime-angular-frontend/src/app/modules/adjudication/shared/classes/abstract-site-admin-page.class.ts @@ -21,6 +21,8 @@ import { SiteRegistrationNote } from '@shared/models/site-registration-note.mode import { AdjudicationRoutes } from '@adjudication/adjudication.routes'; import { AdjudicationResource } from '../services/adjudication-resource.service'; +import { CloseSiteComponent } from '@shared/components/dialogs/content/close-site-note/close-site-note.component'; +import { OpenSiteNoteComponent } from '@shared/components/dialogs/content/open-site-note/open-site-note.component'; export abstract class AbstractSiteAdminPage { public abstract busy: Subscription; @@ -225,6 +227,35 @@ export abstract class AbstractSiteAdminPage { .subscribe(() => this.onRefresh()); } + public onClose(siteId: number): void { + const data: DialogOptions = { + title: 'Close a Site', + actionText: 'Close Site', + actionType: 'warn', + data: { + siteId: siteId, + } + }; + + this.busy = this.dialog.open(CloseSiteComponent, { data }).afterClosed() + .subscribe((result: { reload: boolean }) => (result?.reload) ? this.getDataset(this.route.snapshot.queryParams) : noop); + } + + public onOpen(siteId: number): void { + + const data: DialogOptions = { + title: 'Open a Closed Site', + actionText: 'Open Site', + actionType: 'warn', + data: { + siteId: siteId, + } + }; + + this.busy = this.dialog.open(OpenSiteNoteComponent, { data }).afterClosed() + .subscribe((result: { reload: boolean }) => (result?.reload) ? this.getDataset(this.route.snapshot.queryParams) : noop); + } + public onEnableEditing(siteId: number): void { this.busy = this.siteResource.enableEditingSite(siteId) .subscribe(() => this.onRefresh()); diff --git a/prime-angular-frontend/src/app/modules/adjudication/shared/components/health-authority-site-container/health-authority-site-container.component.html b/prime-angular-frontend/src/app/modules/adjudication/shared/components/health-authority-site-container/health-authority-site-container.component.html index 9fc3087e2b..8cb3a5f0ff 100644 --- a/prime-angular-frontend/src/app/modules/adjudication/shared/components/health-authority-site-container/health-authority-site-container.component.html +++ b/prime-angular-frontend/src/app/modules/adjudication/shared/components/health-authority-site-container/health-authority-site-container.component.html @@ -42,6 +42,8 @@ (unreject)="onUnreject($event)" (escalate)="onEscalate($event)" (enableEditing)="onEnableEditing($event)" + (close)="onClose($event)" + (open)="onOpen($event)" (flag)="onToggleFlagSite($event)" (delete)="deleteSite($event)"> diff --git a/prime-angular-frontend/src/app/modules/adjudication/shared/components/health-authority-table/health-authority-table.component.html b/prime-angular-frontend/src/app/modules/adjudication/shared/components/health-authority-table/health-authority-table.component.html index 0f5f5b267a..b7d643a188 100644 --- a/prime-angular-frontend/src/app/modules/adjudication/shared/components/health-authority-table/health-authority-table.component.html +++ b/prime-angular-frontend/src/app/modules/adjudication/shared/components/health-authority-table/health-authority-table.component.html @@ -105,7 +105,7 @@ [class.editable]="row.status === SiteStatusType.EDITABLE && !row.approvedDate" [class.under-review]="row.status === SiteStatusType.IN_REVIEW" [class.approved]="row.status === SiteStatusType.EDITABLE && !!row.approvedDate" - [class.declined]="row.status === SiteStatusType.LOCKED"> + [class.declined]="row.status === SiteStatusType.LOCKED || row.status === SiteStatusType.CLOSED">
{{ SiteStatusType[row.status] | case : 'snake' : 'space' | capitalize : true | default: 'Editable' }} flag {{siteRegistration?.isNew ? 'Unflag' : 'Flag'}} "Is New" + + + + - diff --git a/prime-angular-frontend/src/app/modules/adjudication/shared/components/site-registration-actions/site-registration-actions.component.ts b/prime-angular-frontend/src/app/modules/adjudication/shared/components/site-registration-actions/site-registration-actions.component.ts index b9a4a85f78..64d4bdfff8 100644 --- a/prime-angular-frontend/src/app/modules/adjudication/shared/components/site-registration-actions/site-registration-actions.component.ts +++ b/prime-angular-frontend/src/app/modules/adjudication/shared/components/site-registration-actions/site-registration-actions.component.ts @@ -23,6 +23,8 @@ export class SiteRegistrationActionsComponent implements OnInit { @Output() public unreject: EventEmitter; @Output() public escalate: EventEmitter; @Output() public delete: EventEmitter<{ [key: string]: number }>; + @Output() public close: EventEmitter; + @Output() public open: EventEmitter; @Output() public enableEditing: EventEmitter; @Output() public flag: EventEmitter<{ siteId: number, flagged: boolean }>; @Output() public isNew: EventEmitter<{ siteId: number, isNew: boolean }>; @@ -42,6 +44,8 @@ export class SiteRegistrationActionsComponent implements OnInit { this.unreject = new EventEmitter(); this.escalate = new EventEmitter(); this.enableEditing = new EventEmitter(); + this.close = new EventEmitter(); + this.open = new EventEmitter(); this.flag = new EventEmitter<{ siteId: number, flagged: boolean }>(); this.isNew = new EventEmitter<{ siteId: number, isNew: boolean }>(); } @@ -153,6 +157,14 @@ export class SiteRegistrationActionsComponent implements OnInit { } } + public onClose() { + this.close.emit(this.siteRegistration.id); + } + + public onOpen() { + this.open.emit(this.siteRegistration.id); + } + /** * @description * Check whether the given action is valid according to the status of the @@ -161,13 +173,17 @@ export class SiteRegistrationActionsComponent implements OnInit { public isActionAllowed(action: SiteAdjudicationAction): boolean { switch (this.siteRegistration.status) { case SiteStatusType.EDITABLE: - return (action === SiteAdjudicationAction.REJECT); + return (action === SiteAdjudicationAction.REJECT + || action === SiteAdjudicationAction.CLOSE); case SiteStatusType.IN_REVIEW: return (action === SiteAdjudicationAction.REQUEST_CHANGES || action === SiteAdjudicationAction.APPROVE - || action === SiteAdjudicationAction.REJECT); + || action === SiteAdjudicationAction.REJECT + || action === SiteAdjudicationAction.CLOSE); case SiteStatusType.LOCKED: return (action === SiteAdjudicationAction.UNREJECT); + case SiteStatusType.CLOSED: + return (action === SiteAdjudicationAction.OPEN) default: return false; } diff --git a/prime-angular-frontend/src/app/modules/adjudication/shared/components/site-registration-container/site-registration-container.component.html b/prime-angular-frontend/src/app/modules/adjudication/shared/components/site-registration-container/site-registration-container.component.html index 431ae65e9f..f0800ce743 100644 --- a/prime-angular-frontend/src/app/modules/adjudication/shared/components/site-registration-container/site-registration-container.component.html +++ b/prime-angular-frontend/src/app/modules/adjudication/shared/components/site-registration-container/site-registration-container.component.html @@ -49,6 +49,8 @@ (delete)="onDelete($event)" (unreject)="onUnreject($event)" (escalate)="onEscalate($event)" + (close)="onClose($event)" + (open)="onOpen($event)" (enableEditing)="onEnableEditing($event)" (flag)="onToggleFlagSite($event)" (isNew)="onToggleIsNewSite($event)"> diff --git a/prime-angular-frontend/src/app/modules/adjudication/shared/components/site-registration-table/site-registration-table.component.html b/prime-angular-frontend/src/app/modules/adjudication/shared/components/site-registration-table/site-registration-table.component.html index b5c393ae44..40c4bf5088 100644 --- a/prime-angular-frontend/src/app/modules/adjudication/shared/components/site-registration-table/site-registration-table.component.html +++ b/prime-angular-frontend/src/app/modules/adjudication/shared/components/site-registration-table/site-registration-table.component.html @@ -93,7 +93,7 @@ [class.editable]="row.status === SiteStatusType.EDITABLE && !row.approvedDate" [class.under-review]="row.status === SiteStatusType.IN_REVIEW" [class.approved]="row.status === SiteStatusType.EDITABLE && !!row.approvedDate" - [class.declined]="row.status === SiteStatusType.LOCKED"> + [class.declined]="row.status === SiteStatusType.LOCKED || row.status === SiteStatusType.CLOSED">
{{ SiteStatusType[row.status] | case : 'snake' : 'space' | capitalize : true | default: 'Editable' }} - + + + + View/Update Remote Practitioners diff --git a/prime-angular-frontend/src/app/modules/site-registration/pages/site-management-page/site-management-page.component.ts b/prime-angular-frontend/src/app/modules/site-registration/pages/site-management-page/site-management-page.component.ts index 74ff0712a3..3df6a4f929 100644 --- a/prime-angular-frontend/src/app/modules/site-registration/pages/site-management-page/site-management-page.component.ts +++ b/prime-angular-frontend/src/app/modules/site-registration/pages/site-management-page/site-management-page.component.ts @@ -180,6 +180,10 @@ export class SiteManagementPageComponent implements OnInit { return site.status === SiteStatusType.LOCKED; } + public isClosed(site: SiteListViewModel): boolean { + return site.status === SiteStatusType.CLOSED; + } + public getLockedSiteNotificationProperties() { return { icon: 'not_interested', diff --git a/prime-angular-frontend/src/app/shared/components/dialogs/content/close-site-note/close-site-note.component.html b/prime-angular-frontend/src/app/shared/components/dialogs/content/close-site-note/close-site-note.component.html new file mode 100644 index 0000000000..610afd891c --- /dev/null +++ b/prime-angular-frontend/src/app/shared/components/dialogs/content/close-site-note/close-site-note.component.html @@ -0,0 +1,46 @@ +

+ warning + + Close a Site + +

+ +

+ Please select a close reason. +

+
+ + Close Reason + + + {{ siteCloseReasonCode.name }} + + + Required + + + + Required + +
+
+
+
+ +
+
+ +
+
+
+
diff --git a/prime-angular-frontend/src/app/shared/components/dialogs/content/close-site-note/close-site-note.component.scss b/prime-angular-frontend/src/app/shared/components/dialogs/content/close-site-note/close-site-note.component.scss new file mode 100644 index 0000000000..5107143b84 --- /dev/null +++ b/prime-angular-frontend/src/app/shared/components/dialogs/content/close-site-note/close-site-note.component.scss @@ -0,0 +1,23 @@ +@import 'palette'; +@import 'bootstrap/bootstrap-imports'; + +h2 { + color: theme-palette(blue); + + .mat-icon { + font-size: 3rem; + } + + img, + .mat-icon { + margin-right: 15px; + width: 50px; + height: 50px; + } + + span { + border-bottom: 1px solid #eeee; + font-size: 1.75rem; + line-height: 3rem; + } +} diff --git a/prime-angular-frontend/src/app/shared/components/dialogs/content/close-site-note/close-site-note.component.spec.ts b/prime-angular-frontend/src/app/shared/components/dialogs/content/close-site-note/close-site-note.component.spec.ts new file mode 100644 index 0000000000..adec803094 --- /dev/null +++ b/prime-angular-frontend/src/app/shared/components/dialogs/content/close-site-note/close-site-note.component.spec.ts @@ -0,0 +1,63 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { CloseSiteComponent } from './close-site-note.component'; +import { ReactiveFormsModule } from '@angular/forms'; +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; +import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; +import { NgxMaterialModule } from '@lib/modules/ngx-material/ngx-material.module'; +import { ConfigService } from '@config/config.service'; +import { MockConfigService } from 'test/mocks/mock-config.service'; +import { APP_CONFIG, APP_DI_CONFIG } from 'app/app-config.module'; + + +describe('CloseSiteComponent', () => { + let component: CloseSiteComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + imports: [ + HttpClientTestingModule, + ReactiveFormsModule, + BrowserAnimationsModule, + NgxMaterialModule + ], + declarations: [CloseSiteComponent], + providers: [ + { + provide: APP_CONFIG, + useValue: APP_DI_CONFIG + }, + { + provide: ConfigService, + useClass: MockConfigService + }, + { + provide: MatDialogRef, + useValue: { + close: (dialogResult: any) => { } + } + }, + { + provide: MAT_DIALOG_DATA, + useValue: { + data: { + siteId: 1, + } + } + },] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(CloseSiteComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/prime-angular-frontend/src/app/shared/components/dialogs/content/close-site-note/close-site-note.component.ts b/prime-angular-frontend/src/app/shared/components/dialogs/content/close-site-note/close-site-note.component.ts new file mode 100644 index 0000000000..d5dc769967 --- /dev/null +++ b/prime-angular-frontend/src/app/shared/components/dialogs/content/close-site-note/close-site-note.component.ts @@ -0,0 +1,83 @@ +import { Component, Inject, OnInit } from '@angular/core'; +import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms'; +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; +import { ConfirmDialogComponent } from '../../confirm-dialog/confirm-dialog.component'; +import { ConfigService } from '@config/config.service'; +import { Config } from '@config/config.model'; +import { DialogOptions } from '../../dialog-options.model'; +import { SiteResource } from '@core/resources/site-resource.service'; +import { FormUtilsService } from '@core/services/form-utils.service'; + +@Component({ + selector: 'app-close-site', + templateUrl: './close-site-note.component.html', + styleUrls: ['./close-site-note.component.scss'] +}) +export class CloseSiteComponent implements OnInit { + + public form: FormGroup; + public siteCloseReasons: Config[]; + public siteId: number; + + + constructor( + private fb: FormBuilder, + private dialogRef: MatDialogRef, + private configService: ConfigService, + private siteResource: SiteResource, + protected formUtilsService: FormUtilsService, + @Inject(MAT_DIALOG_DATA) public data: DialogOptions, + ) { + this.siteId = data.data.siteId; + } + + public get siteCloseReason(): FormControl { + return this.form.get('siteCloseReason') as FormControl; + } + + public get note(): FormControl { + return this.form.get('note') as FormControl; + } + + public ngOnInit(): void { + this.createFormInstance(); + + this.siteCloseReasons = this.configService.siteCloseReasons; + + this.siteCloseReason.valueChanges.subscribe((value) => { + if (this.siteCloseReasons.find((s) => s.code === value).name === "Other") { + this.formUtilsService.setValidators(this.note, [Validators.required]); + } else { + this.formUtilsService.resetAndClearValidators(this.note); + this.note.markAsUntouched(); + } + }); + } + + public onCancel(): void { + this.dialogRef.close(); + } + + public onCloseSite(): void { + if (this.form.valid) { + this.siteResource.closeSite(this.siteId, this.siteCloseReason.value, this.note.value) + .subscribe(() => { + if (this.note.value) { + this.siteResource.createSiteRegistrationNote(this.siteId, this.note.value) + .subscribe(); + } + this.dialogRef.close({ reload: true }); + }); + } else { + this.siteCloseReason.markAsTouched(); + } + } + + private createFormInstance(): void { + this.form = this.fb.group({ + siteCloseReason: [null, [Validators.required]], + note: [] + }) + + } +} diff --git a/prime-angular-frontend/src/app/shared/components/dialogs/content/open-site-note/open-site-note.component.html b/prime-angular-frontend/src/app/shared/components/dialogs/content/open-site-note/open-site-note.component.html new file mode 100644 index 0000000000..f4870c3540 --- /dev/null +++ b/prime-angular-frontend/src/app/shared/components/dialogs/content/open-site-note/open-site-note.component.html @@ -0,0 +1,38 @@ +

+ warning + + Open a Closed Site + +

+ +

+ Please provide reason for opening a closed site. +

+
+ + + Required + +
+ +
+
+
+ +
+
+ +
+
+
+ +
diff --git a/prime-angular-frontend/src/app/shared/components/dialogs/content/open-site-note/open-site-note.component.scss b/prime-angular-frontend/src/app/shared/components/dialogs/content/open-site-note/open-site-note.component.scss new file mode 100644 index 0000000000..5107143b84 --- /dev/null +++ b/prime-angular-frontend/src/app/shared/components/dialogs/content/open-site-note/open-site-note.component.scss @@ -0,0 +1,23 @@ +@import 'palette'; +@import 'bootstrap/bootstrap-imports'; + +h2 { + color: theme-palette(blue); + + .mat-icon { + font-size: 3rem; + } + + img, + .mat-icon { + margin-right: 15px; + width: 50px; + height: 50px; + } + + span { + border-bottom: 1px solid #eeee; + font-size: 1.75rem; + line-height: 3rem; + } +} diff --git a/prime-angular-frontend/src/app/shared/components/dialogs/content/open-site-note/open-site-note.component.spec.ts b/prime-angular-frontend/src/app/shared/components/dialogs/content/open-site-note/open-site-note.component.spec.ts new file mode 100644 index 0000000000..6fd8128340 --- /dev/null +++ b/prime-angular-frontend/src/app/shared/components/dialogs/content/open-site-note/open-site-note.component.spec.ts @@ -0,0 +1,62 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { OpenSiteNoteComponent } from './open-site-note.component'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; +import { ReactiveFormsModule } from '@angular/forms'; +import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; +import { NgxMaterialModule } from '@lib/modules/ngx-material/ngx-material.module'; +import { APP_CONFIG, APP_DI_CONFIG } from 'app/app-config.module'; +import { ConfigService } from '@config/config.service'; +import { MockConfigService } from 'test/mocks/mock-config.service'; +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; + +describe('OpenSiteNoteComponent', () => { + let component: OpenSiteNoteComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + imports: [ + HttpClientTestingModule, + ReactiveFormsModule, + BrowserAnimationsModule, + NgxMaterialModule + ], + declarations: [OpenSiteNoteComponent], + providers: [ + { + provide: APP_CONFIG, + useValue: APP_DI_CONFIG + }, + { + provide: ConfigService, + useClass: MockConfigService + }, + { + provide: MatDialogRef, + useValue: { + close: (dialogResult: any) => { } + } + }, + { + provide: MAT_DIALOG_DATA, + useValue: { + data: { + siteId: 1, + } + } + },] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(OpenSiteNoteComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/prime-angular-frontend/src/app/shared/components/dialogs/content/open-site-note/open-site-note.component.ts b/prime-angular-frontend/src/app/shared/components/dialogs/content/open-site-note/open-site-note.component.ts new file mode 100644 index 0000000000..2f454c18cd --- /dev/null +++ b/prime-angular-frontend/src/app/shared/components/dialogs/content/open-site-note/open-site-note.component.ts @@ -0,0 +1,60 @@ +import { Component, Inject, OnInit } from '@angular/core'; +import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms'; +import { SiteResource } from '@core/resources/site-resource.service'; +import { ConfirmDialogComponent } from '../../confirm-dialog/confirm-dialog.component'; +import { DialogOptions } from '../../dialog-options.model'; +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; + +@Component({ + selector: 'app-open-site-note', + templateUrl: './open-site-note.component.html', + styleUrls: ['./open-site-note.component.scss'] +}) +export class OpenSiteNoteComponent implements OnInit { + public form: FormGroup; + public siteId: number; + + constructor( + private siteResource: SiteResource, + private fb: FormBuilder, + private dialogRef: MatDialogRef, + @Inject(MAT_DIALOG_DATA) public data: DialogOptions, + ) { + this.siteId = data.data.siteId; + } + + public get note(): FormControl { + return this.form.get('note') as FormControl; + } + + public onCancel(): void { + this.dialogRef.close(); + } + + public onOpenSite(): void { + if (this.form.valid) { + this.siteResource.openSite(this.siteId, this.note.value) + .subscribe(() => { + this.dialogRef.close({ reload: true }); + }); + } + this.note.markAsTouched(); + } + + public ngOnInit(): void { + this.createFormInstance(); + } + + private createFormInstance(): void { + this.form = this.fb.group({ + note: [ + { + value: '', + disabled: false, + }, + [Validators.required] + ] + }); + } + +} diff --git a/prime-angular-frontend/src/app/shared/shared.module.ts b/prime-angular-frontend/src/app/shared/shared.module.ts index 06651b04f4..976af68481 100644 --- a/prime-angular-frontend/src/app/shared/shared.module.ts +++ b/prime-angular-frontend/src/app/shared/shared.module.ts @@ -131,6 +131,8 @@ import { HealthAuthSiteOverviewContainerComponent } from './components/health-au import { EmailFormComponent } from './components/forms/email-form/email-form.component'; import { ChangeVendorNoteComponent } from './components/dialogs/content/change-vendor-note/change-vendor-note.component'; import { TransferHASiteComponent } from './components/dialogs/content/transfer-ha-site/transfer-ha-site.component'; +import { CloseSiteComponent } from './components/dialogs/content/close-site-note/close-site-note.component'; +import { OpenSiteNoteComponent } from './components/dialogs/content/open-site-note/open-site-note.component'; @NgModule({ declarations: [ @@ -243,6 +245,8 @@ import { TransferHASiteComponent } from './components/dialogs/content/transfer-h EmailFormComponent, SelfDeclarationTermComponent, TransferHASiteComponent, + CloseSiteComponent, + OpenSiteNoteComponent, ], imports: [ CommonModule, diff --git a/prime-angular-frontend/src/test/mocks/mock-config.ts b/prime-angular-frontend/src/test/mocks/mock-config.ts index 2cbd1f5759..b21397dd50 100644 --- a/prime-angular-frontend/src/test/mocks/mock-config.ts +++ b/prime-angular-frontend/src/test/mocks/mock-config.ts @@ -2838,6 +2838,16 @@ export class MockConfig { 'certified': false }, ], + 'siteCloseReasons': [ + { + 'code': 1, + 'name': 'Reason 1' + }, + { + 'code': 2, + 'name': 'Reason 2' + } + ], 'facilities': [ { 'code': 4, diff --git a/prime-database-backup/openshift.dockerfile b/prime-database-backup/openshift.dockerfile index bb5dc7be95..c420ec1768 100644 --- a/prime-database-backup/openshift.dockerfile +++ b/prime-database-backup/openshift.dockerfile @@ -24,7 +24,7 @@ COPY backup.cron /etc/cron.d RUN echo "Checking workdir..." && \ apt-get update -yqq -RUN apt-get -y install nano net-tools gnupg wget ca-certificates apt-transport-https cron inetutils-ping libcurl4-openssl-dev +RUN apt-get -y install nano net-tools gnupg wget ca-certificates apt-transport-https cron inetutils-ping libcurl4-openssl-dev RUN chmod -R 755 /opt/backup && \ touch /var/log/cron.log && \ diff --git a/prime-dotnet-webapi-tests/ModelFactories/CommunitySiteFactory.cs b/prime-dotnet-webapi-tests/ModelFactories/CommunitySiteFactory.cs index ce5bb2de79..2704c821de 100644 --- a/prime-dotnet-webapi-tests/ModelFactories/CommunitySiteFactory.cs +++ b/prime-dotnet-webapi-tests/ModelFactories/CommunitySiteFactory.cs @@ -60,6 +60,8 @@ public CommunitySiteFactory(Organization org = null) Ignore(x => x.SiteStatuses); Ignore(x => x.ApprovedDate); Ignore(x => x.Mnemonic); + Ignore(x => x.SiteCloseReasonCode); + Ignore(x => x.ClosedDate); FinishWith((f, x) => { diff --git a/prime-dotnet-webapi-tests/Unit Tests/SiteStatusStateEngine.Tests.cs b/prime-dotnet-webapi-tests/Unit Tests/SiteStatusStateEngine.Tests.cs index 19d93e294d..4844459c5d 100644 --- a/prime-dotnet-webapi-tests/Unit Tests/SiteStatusStateEngine.Tests.cs +++ b/prime-dotnet-webapi-tests/Unit Tests/SiteStatusStateEngine.Tests.cs @@ -27,7 +27,8 @@ public void TestAllowableStatusChange_Active(SiteRegistrationAction action) var expectedAllowed = new[] { SiteRegistrationAction.Submit, - SiteRegistrationAction.Reject + SiteRegistrationAction.Reject, + SiteRegistrationAction.Close }.Contains(action); // Act @@ -51,6 +52,20 @@ public void TestAllowableStatusChange_InReview(SiteRegistrationAction action) // Act var allowed = SiteStatusStateEngine.AllowableStatusChange(action, SiteStatusType.InReview); + } + + [Theory] + [MemberData(nameof(SiteRegistrationActionData))] + public void TestAllowableStatusChange_Closed(SiteRegistrationAction action) + { + // Arrange + var expectedAllowed = new[] + { + SiteRegistrationAction.Open + }.Contains(action); + + // Act + var allowed = SiteStatusStateEngine.AllowableStatusChange(action, SiteStatusType.Closed); // Assert Assert.Equal(expectedAllowed, allowed); diff --git a/prime-dotnet-webapi/ApiDbContext.cs b/prime-dotnet-webapi/ApiDbContext.cs index df75ba62f6..4dd5dad6e6 100644 --- a/prime-dotnet-webapi/ApiDbContext.cs +++ b/prime-dotnet-webapi/ApiDbContext.cs @@ -87,6 +87,7 @@ IHttpContextAccessor context // Site Registration public DbSet Organizations { get; set; } public DbSet Sites { get; set; } + public DbSet SiteStatuses { get; set; } public DbSet SiteVendors { get; set; } public DbSet CommunitySites { get; set; } public DbSet Contacts { get; set; } @@ -100,6 +101,7 @@ IHttpContextAccessor context public DbSet Credentials { get; set; } public DbSet OrganizationClaims { get; set; } public DbSet IndividualDeviceProviders { get; set; } + public DbSet SiteCloseReasons { get; set; } // Health Authorities public DbSet HealthAuthoritySites { get; set; } diff --git a/prime-dotnet-webapi/Configuration/Database/Seeded Tables/SiteCloseReasonConfiguration.cs b/prime-dotnet-webapi/Configuration/Database/Seeded Tables/SiteCloseReasonConfiguration.cs new file mode 100644 index 0000000000..06a2e05625 --- /dev/null +++ b/prime-dotnet-webapi/Configuration/Database/Seeded Tables/SiteCloseReasonConfiguration.cs @@ -0,0 +1,20 @@ +using System.Collections.Generic; +using Prime.Models; + +namespace Prime.Configuration.Database +{ + public class SiteCloseReasonConfiguration : SeededTable + { + public override IEnumerable SeedData + { + get + { + return [ + new SiteCloseReason { Code = 1, Name = "Licence cancelled" }, + new SiteCloseReason { Code = 2, Name = "Closed by Organization" }, + new SiteCloseReason { Code = 3, Name = "Other" }, + ]; + } + } + } +} diff --git a/prime-dotnet-webapi/Configuration/Database/Seeded Tables/StatusConfiguration.cs b/prime-dotnet-webapi/Configuration/Database/Seeded Tables/StatusConfiguration.cs index faef839ce3..fe6cf381ef 100644 --- a/prime-dotnet-webapi/Configuration/Database/Seeded Tables/StatusConfiguration.cs +++ b/prime-dotnet-webapi/Configuration/Database/Seeded Tables/StatusConfiguration.cs @@ -15,7 +15,8 @@ public override IEnumerable SeedData new Status { Code = 3, Name = "Requires TOA" }, new Status { Code = 4, Name = "Locked" }, new Status { Code = 5, Name = "Declined" }, - new Status { Code = 6, Name = "Disabled" } + new Status { Code = 6, Name = "Disabled" }, + new Status { Code = 7, Name = "Closed" }, }; } } diff --git a/prime-dotnet-webapi/Controllers/SitesController.cs b/prime-dotnet-webapi/Controllers/SitesController.cs index 490499c808..6c13908669 100755 --- a/prime-dotnet-webapi/Controllers/SitesController.cs +++ b/prime-dotnet-webapi/Controllers/SitesController.cs @@ -1380,5 +1380,65 @@ public async Task GetDeviceProviderSite(string deviceProviderId) var site = await _deviceProviderService.GetDeviceProviderSiteAsync(deviceProviderId); return Ok(site); } + + // POST: api/Sites/5/close + /// + /// Close a site + /// + /// + /// + [HttpPost("{siteId}/close", Name = nameof(CloseSite))] + [Authorize(Roles = Roles.EditSite)] + [ProducesResponseType(StatusCodes.Status401Unauthorized)] + [ProducesResponseType(StatusCodes.Status403Forbidden)] + [ProducesResponseType(typeof(ApiMessageResponse), StatusCodes.Status404NotFound)] + [ProducesResponseType(StatusCodes.Status200OK)] + public async Task CloseSite(int siteId, CloseSiteUpdateModel closeSiteUpdateModel) + { + if (!await _siteService.SiteExistsAsync(siteId)) + { + return NotFound($"Site not found with id {siteId}"); + } + + var status = await _siteService.GetSiteCurrentStatusAsync(siteId); + if (!SiteStatusStateEngine.AllowableStatusChange(SiteRegistrationAction.Close, status)) + { + return BadRequest("Action could not be performed."); + } + + await _siteService.CloseSite(siteId, closeSiteUpdateModel.SiteCloseReasonCode, closeSiteUpdateModel.Note); + + return Ok(); + } + + // POST: api/Sites/5/open + /// + /// Open a site + /// + /// + /// + [HttpPost("{siteId}/open", Name = nameof(OpenSite))] + [Authorize(Roles = Roles.EditSite)] + [ProducesResponseType(StatusCodes.Status401Unauthorized)] + [ProducesResponseType(StatusCodes.Status403Forbidden)] + [ProducesResponseType(typeof(ApiMessageResponse), StatusCodes.Status404NotFound)] + [ProducesResponseType(StatusCodes.Status200OK)] + public async Task OpenSite(int siteId, OpenSiteUpdateModel openSiteUpdateModel) + { + if (!await _siteService.SiteExistsAsync(siteId)) + { + return NotFound($"Site not found with id {siteId}"); + } + + var status = await _siteService.GetSiteCurrentStatusAsync(siteId); + if (!SiteStatusStateEngine.AllowableStatusChange(SiteRegistrationAction.Open, status)) + { + return BadRequest("Action could not be performed."); + } + + await _siteService.OpenSite(siteId, openSiteUpdateModel.Note); + + return Ok(); + } } } diff --git a/prime-dotnet-webapi/Engines/SiteStatusStateEngine.cs b/prime-dotnet-webapi/Engines/SiteStatusStateEngine.cs index 210fdd3f89..c40cf8852d 100755 --- a/prime-dotnet-webapi/Engines/SiteStatusStateEngine.cs +++ b/prime-dotnet-webapi/Engines/SiteStatusStateEngine.cs @@ -20,7 +20,11 @@ public static bool AllowableStatusChange(SiteRegistrationAction action, SiteStat (SiteRegistrationAction.Approve, SiteStatusType.InReview) => true, // Unreject (SiteRegistrationAction.Unreject, SiteStatusType.Locked) => true, - + // Close + (SiteRegistrationAction.Close, SiteStatusType.Editable) => true, + (SiteRegistrationAction.Close, SiteStatusType.InReview) => true, + // Open + (SiteRegistrationAction.Open, SiteStatusType.Closed) => true, _ => false }; } diff --git a/prime-dotnet-webapi/Migrations/20241007165533_AddCloseSiteReason.Designer.cs b/prime-dotnet-webapi/Migrations/20241007165533_AddCloseSiteReason.Designer.cs new file mode 100644 index 0000000000..4edb3604c6 --- /dev/null +++ b/prime-dotnet-webapi/Migrations/20241007165533_AddCloseSiteReason.Designer.cs @@ -0,0 +1,20256 @@ +// +using System; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; +using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; +using Prime; + +#nullable disable + +namespace Prime.Migrations +{ + [DbContext(typeof(ApiDbContext))] + [Migration("20241007165533_AddCloseSiteReason")] + partial class AddCloseSiteReason + { + /// + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("ProductVersion", "8.0.4") + .HasAnnotation("Relational:MaxIdentifierLength", 63); + + NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); + + modelBuilder.Entity("Prime.Models.AccessAgreementNote", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("AdjudicatorId") + .HasColumnType("integer"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EnrolleeId") + .HasColumnType("integer"); + + b.Property("Note") + .IsRequired() + .HasColumnType("text"); + + b.Property("NoteDate") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("AdjudicatorId"); + + b.HasIndex("EnrolleeId") + .IsUnique(); + + b.ToTable("AccessAgreementNote"); + }); + + modelBuilder.Entity("Prime.Models.Address", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("AddressType") + .HasColumnType("integer"); + + b.Property("City") + .HasColumnType("text"); + + b.Property("CountryCode") + .HasColumnType("text"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("Postal") + .HasColumnType("text"); + + b.Property("ProvinceCode") + .HasColumnType("text"); + + b.Property("Street") + .HasColumnType("text"); + + b.Property("Street2") + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("CountryCode"); + + b.HasIndex("ProvinceCode"); + + b.ToTable("Address"); + + b.HasDiscriminator("AddressType"); + + b.UseTphMappingStrategy(); + }); + + modelBuilder.Entity("Prime.Models.Admin", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("Email") + .IsRequired() + .HasColumnType("text"); + + b.Property("FirstName") + .IsRequired() + .HasColumnType("text"); + + b.Property("IDIR") + .IsRequired() + .HasColumnType("text"); + + b.Property("LastName") + .IsRequired() + .HasColumnType("text"); + + b.Property("Status") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.Property("UserId") + .HasColumnType("uuid"); + + b.Property("Username") + .HasColumnType("text"); + + b.HasKey("Id"); + + b.HasIndex("UserId") + .IsUnique(); + + b.ToTable("Admin"); + }); + + modelBuilder.Entity("Prime.Models.Agreement", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("AcceptedDate") + .HasColumnType("timestamp with time zone"); + + b.Property("AgreementVersionId") + .HasColumnType("integer"); + + b.Property("CreatedDate") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EnrolleeId") + .HasColumnType("integer"); + + b.Property("ExpiryDate") + .HasColumnType("timestamp with time zone"); + + b.Property("ExpiryReason") + .HasColumnType("integer"); + + b.Property("LimitsConditionsClauseId") + .HasColumnType("integer"); + + b.Property("OrganizationId") + .HasColumnType("integer"); + + b.Property("PartyId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("AgreementVersionId"); + + b.HasIndex("EnrolleeId"); + + b.HasIndex("LimitsConditionsClauseId"); + + b.HasIndex("OrganizationId"); + + b.HasIndex("PartyId"); + + b.ToTable("Agreement", t => + { + t.HasCheckConstraint("CHK_Agreement_EitherPartyOrEnrollee", "( CASE WHEN \"EnrolleeId\" IS NULL THEN 0 ELSE 1 END\r\n + CASE WHEN \"PartyId\" IS NULL THEN 0 ELSE 1 END) = 1"); + + t.HasCheckConstraint("CHK_Agreement_OrganizationHasSigningAuth", "((\"OrganizationId\" is null) or (\"PartyId\" is not null))"); + }); + }); + + modelBuilder.Entity("Prime.Models.AgreementVersion", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("AgreementType") + .HasColumnType("integer"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EffectiveDate") + .HasColumnType("timestamp with time zone"); + + b.Property("Text") + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.ToTable("AgreementVersion"); + + b.HasData( + new + { + Id = 1, + AgreementType = 3, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Text = "

PHARMANET TERMS OF ACCESS FOR ON-BEHALF-OF USER

\n\n

\n By enrolling for PharmaNet access, you agree to the following terms (the “Agreement”). Please read them carefully.\n

\n\n
    \n
  1. \n\n

    \n On Behalf of User Access\n

    \n\n

    \n You represent and warrant to the Province that:\n

    \n\n
      \n
    1. \n your employment duties in relation to a Practitioner require you to access PharmaNet (and PharmaNet Data) to\n support the Practitioner’s delivery of Direct Patient Care;\n
    2. \n
    3. \n you are directly supervised by a Practitioner who has been granted access to PharmaNet by the Province; and\n
    4. \n
    5. \n all information provided by you in connection with your application for PharmaNet access, including all\n information submitted through PRIME, is true and correct.\n
    6. \n
    \n\n
  2. \n
  3. \n\n

    \n Definitions\n

    \n\n

    \n In these terms, capitalized terms will have the following meanings:\n

    \n\n
      \n
    • \n “Direct Patient Care” means, for the purposes of this Agreement, the provision of health\n services to an individual to whom a Practitioner provides direct patient care in the context of their Practice.\n
    • \n
    • \n “PharmaCare Newsletter” means the PharmaCare newsletter published by the Province on the\n following website (or such other website as may be specified by the Province from time to time for this\n purpose):\n\n

      \n\n www.gov.bc.ca/pharmacarenewsletter\n
    • \n
    • \n “PharmaNet” means PharmaNet as continued under section 2 of the Information Management\n Regulation.\n
    • \n
    • \n “PharmaNet Data” includes any record or information contained in PharmaNet and any record or\n information in the custody, control or possession of you or a Practitioner that was obtained through access to\n PharmaNet by anyone.\n
    • \n
    • \n “Practice” means a Practitioner’s practice of their health profession.\n
    • \n
    • \n “Practitioner” means a health professional regulated under the Health Professions Act who\n supervises your access and use of PharmaNet and who has been granted access to PharmaNet by the Province.\n
    • \n
    • \n “PRIME” means the online service provided by the Province that allows users to apply for, and\n manage, their access to PharmaNet, and through which users are granted access by the Province.\n
    • \n
    • \n “Province” means Her Majesty the Queen in Right of British Columbia, as represented by the\n Minister of Health.\n
    • \n
    \n\n
  4. \n
  5. \n\n

    \n Terms of Access to PharmaNet\n

    \n\n

    \n You must:\n

    \n\n
      \n
    1. \n access and use PharmaNet and PharmaNet Data only to support Direct Patient Care delivered by the Practitioner to\n the individuals whose PharmaNet Data you are accessing;\n
    2. \n
    3. \n only access PharmaNet as permitted by law and directed by the Practitioner;\n
    4. \n
    5. \n maintain all PharmaNet Data, whether accessed on PharmaNet or otherwise disclosed to you in any manner, in\n strict confidence;\n
    6. \n
    7. \n maintain the security of PharmaNet, and any applications, connections, or networks used to access PharmaNet;\n
    8. \n
    9. \n complete all training required by the Practice’s PharmaNet software vendor and the Province before accessing\n PharmaNet;\n
    10. \n
    11. \n notify the Province if you have any reason to suspect that PharmaNet, or any PharmaNet Data, is or has been\n accessed or used inappropriately by any person.\n
    12. \n
    \n\n

    \n You must not:\n

    \n\n
      \n
    1. \n disclose PharmaNet Data for any purpose other than Direct Patient Care, except as permitted by law and directed\n by the Practitioner;\n
    2. \n
    3. \n permit any person to use any user IDs, passwords or credentials provided to you to access PharmaNet;\n
    4. \n
    5. \n reveal, share or compromise any user IDs, passwords or credentials for PharmaNet;\n
    6. \n
    7. \n use, or attempt to use, the user IDs, passwords or credentials of any other person to access PharmaNet;\n
    8. \n
    9. \n take any action that might compromise the integrity of PharmaNet, its information, or the provincial drug plan,\n such as altering information or submitting false information;\n
    10. \n
    11. \n test the security related to PharmaNet;\n
    12. \n
    13. \n attempt to access PharmaNet from any location other than the approved Practice site of the Practitioner,\n including by VPN or other remote access technology, unless that VPN or remote access technology has first been\n approved by the Province in writing for use at the Practice.\n
    14. \n
    \n\n

    \n Your access to PharmaNet and use of PharmaNet Data are governed by the Pharmaceutical Services Act and you must\n comply with all your duties under that Act.\n

    \n\n

    \n The Province may, in writing and from time to time, set further limits and conditions in respect of PharmaNet,\n either for you or for the Practitioner(s), and that you must comply with any such further limits and conditions.\n

    \n\n
  6. \n
  7. \n\n

    \n How to Notify the Province\n

    \n\n

    \n Notice to the Province may be sent in writing to:\n

    \n\n
    \n Director, Information and PharmaNet Development
    \n Ministry of Health
    \n PO Box 9652, STN PROV GOVT
    \n Victoria, BC V8W 9P4
    \n\n
    \n\n PRIMESupport@gov.bc.ca\n
    \n\n
  8. \n
  9. \n\n

    \n Province may modify these terms\n

    \n\n

    \n The Province may amend these terms, including this section, at any time in its sole discretion:\n

    \n\n
      \n
    1. \n by written notice to you, in which case the amendment will become effective upon the later of (A) the date\n notice of the amendment is first delivered to you, or (B) the effective date of the amendment specified by the\n Province, if any; or\n
    2. \n
    3. \n by publishing notice of any such amendment in the PharmaCare Newsletter, in which case the notice will specify\n the effective date of the amendment, which date will be at least thirty (30) days after the date that the\n PharmaCare Newsletter containing the notice is first published.\n
    4. \n
    \n\n

    \n If you do not agree with any amendment for which notice has been provided by the Province in accordance with (i)\n or (ii) above, you must promptly (and in any event before the effective date) cease all access or use of\n PharmaNet.\n

    \n\n

    \n Any written notice to you under (i) above will be in writing and delivered by the Province to you using any of the\n contact mechanisms identified by you in PRIME, including by mail to a specified postal address, email to a\n specified email address or text message to a specified cell phone number. You may be required to click a URL link\n or log into PRIME to receive the contents of any such notice.\n

    \n\n
  10. \n {$lcPlaceholder}\n
  11. \n\n

    \n Governing Law\n

    \n\n

    \n These terms will be governed by and will be construed and interpreted in accordance with the laws of British\n Columbia and the laws of Canada applicable therein.\n

    \n\n

    \n Unless otherwise specified, a reference to a statute or regulation by name means the statute or regulation of\n British Columbia of that name, as amended or replaced from time to time, and includes any enactment made under the\n authority of that statute or regulation.\n

    \n\n
  12. \n
\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 2, + AgreementType = 2, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Text = "

PHARMANET REGULATED USER TERMS OF ACCESS

\n\n

\n By enrolling for PharmaNet access, you agree to the following terms (the “Agreement”). Please read them carefully.\n

\n\n
    \n
  1. \n\n

    \n BACKGROUND\n

    \n\n

    \n The Province owns and is responsible for the operation of PharmaNet, the province-wide network that links B.C.\n pharmacies to a central data system. Every prescription dispensed in community pharmacies in B.C. is entered into\n PharmaNet.\n

    \n\n

    \n The purpose of providing you, and the On-Behalf-of Users whom you have authorized, with access to PharmaNet is to\n enhance patient care by providing timely and relevant information to persons involved in the provision of direct\n patient care.\n

    \n\n

    \n PharmaNet contains highly sensitive confidential information, including Personal Information and the proprietary\n and confidential information of third-party licensors to the Province, and it is in the public interest to\n ensure that appropriate measures are in place to protect the confidentiality of all such information. All access\n to and use of PharmaNet and PharmaNet Data is subject to the Act and Privacy Laws.\n

    \n\n
  2. \n
  3. \n\n

    \n INTERPRETATION\n

    \n\n
      \n
    1. \n\n

      \n Definitions. Unless otherwise provided in this Agreement, capitalized terms will have the\n meanings given below:\n

      \n\n
        \n
      • \n “Act” means the Pharmaceutical Services Act.\n
      • \n
      • \n “Approved SSO” means a software support organization approved by the Province that provides\n you with the information technology software and/or services through which you and On-Behalf-of Users access\n PharmaNet.\n
      • \n
      • \n\n

        \n “Conformance Standards” means the following documents published by the Province, as\n amended\n from time to time:\n

        \n\n
          \n
        1. \n PharmaNet Professional and Software Conformance Standards; and\n
        2. \n
        3. \n Office of the Chief Information Officer: “Submission for Technical Security Standard and High Level\n Architecture for Wireless Local Area Network Connectivity”.\n
        4. \n
        \n\n
      • \n
      • \n “Direct Patient Care” means, for the purposes of this Agreement, the provision of health\n services to an individual to whom you provide direct patient care in the context of your Practice.\n
      • \n
      • \n “Information Management Regulation” means the Information Management Regulation, B.C. Reg.\n 74/2015.\n
      • \n
      • \n “On-Behalf-of User” means a member of your staff who (i) requires access to PharmaNet to\n carry out duties in relation to your Practice; and (ii) is authorized by you to access PharmaNet on your\n behalf; and (iii) has been granted access to PharmaNet by the Province.\n
      • \n
      • \n “Personal Information” means all recorded information that is about an identifiable\n individual or is defined as, or deemed to be, “personal information” or “personal health information”\n pursuant to any Privacy Laws.\n
      • \n
      • \n “PharmaCare Newsletter” means the PharmaCare newsletter published by the Province on the\n following website (or such other website as may be specified by the Province from time to time for this\n purpose):\n\n

        \n\n www.gov.bc.ca/pharmacarenewsletter\n
      • \n
      • \n “PharmaNet” means PharmaNet as continued under section 2 of the Information Management\n Regulation.\n
      • \n
      • \n “PharmaNet Data” includes any record or information contained in PharmaNet and any record\n or information in the custody, control or possession of you or a On-Behalf-of User that was obtained through\n your or a On-Behalf-of User’s access to PharmaNet.\n
      • \n
      • \n “Practice” means your practice of the health profession regulated under the Health\n Professions Act and identified by you through PRIME.\n
      • \n
      • \n “PRIME” means the online service provided by the Province that allows users to apply for,\n and manage, their access to PharmaNet, and through which users are granted access by the Province.\n
      • \n
      • \n “Privacy Laws” means the Act, the Freedom of Information and Protection of Privacy Act, the\n Personal Information Protection Act, and any other statutory or legal obligations of privacy owed by you or\n the Province, whether arising under statute, by contract or at common law.\n
      • \n
      • \n “Province” means Her Majesty the Queen in Right of British Columbia, as represented by the\n Minister of Health.\n
      • \n
      • \n “Professional College” is the regulatory body governing your Practice.\n
      • \n
      • \n\n

        \n “Unauthorized Person” means any person other than:\n

        \n\n
          \n
        1. \n you,\n
        2. \n
        3. \n an On-Behalf-of User, or\n
        4. \n
        5. \n a representative of an Approved SSO that is accessing PharmaNet for technical support purposes in\n accordance with section 6 of the Information Management Regulation.\n
        6. \n
        \n\n
      • \n
      \n\n
    2. \n
    3. \n Reference to Enactments. Unless otherwise specified, a reference to a statute or regulation by\n name means the statute or regulation of British Columbia of that name, as amended or replaced from time to time,\n and includes any enactment made under the authority of that statute or regulation.\n
    4. \n
    5. \n\n

      \n Conflicting Provisions. In the event of a conflict among provisions of this Agreement:\n

      \n\n
        \n
      1. \n a provision in the body of this Agreement will prevail over any conflicting provision in any further limits\n or conditions communicated to you in writing by the Province, unless the conflicting provision expressly\n states otherwise; and\n
      2. \n
      3. \n a provision referred to in (i) above will prevail over any conflicting provision in the Conformance\n Standards.\n
      4. \n
      \n\n
    6. \n
    \n\n
  4. \n
  5. \n\n

    \n APPLICATION OF LEGISLATION\n

    \n\n

    \n You will strictly comply with, and you will ensure that On-Behalf-of Users strictly comply with, the Act and all\n Privacy Laws applicable to PharmaNet and PharmaNet Data.\n

    \n\n
  6. \n
  7. \n\n

    \n NOTICE THAT SPECIFIC PROVISIONS OF THE ACT APPLY DIRECTLY TO YOU\n

    \n\n

    \n You acknowledge that:\n

    \n\n
      \n
    1. \n PharmaNet Data accessed by you or an On-Behalf-of User pursuant to this Agreement is disclosed to you by the\n Province under the authority of the Act;\n
    2. \n
    3. \n specific provisions of the Act, including the Information Management Regulation and sections 24, 25 and 29 of\n the Act, apply directly to you and to On-Behalf-of Users as a result; and\n
    4. \n
    5. \n this Agreement documents limits and conditions, set by the minister in writing, that the Act requires you to\n comply with.\n
    6. \n
    \n\n
  8. \n
  9. \n\n

    \n ACCESS\n

    \n\n
      \n
    1. \n Grant of Access. The Province will provide you with access to PharmaNet subject to your\n compliance with the limits and conditions set out in section 5(b) below and otherwise in this Agreement. The\n Province may from time to time, at its discretion, amend or change the scope of your access privileges to\n PharmaNet as privacy, security, business and clinical practice requirements change. In such circumstances, the\n Province will use reasonable efforts to notify you of such changes.\n
    2. \n
    3. \n\n

      \n Limits and Conditions of Access. The following limits and conditions apply to your access to\n PharmaNet:\n

      \n\n
        \n
      1. \n you will only access PharmaNet, and you will ensure that On-Behalf-of Users only access PharmaNet, for so\n long as you are a registrant in good standing with the Professional College and your licence permits you to\n deliver Direct Patient Care requiring access to PharmaNet;\n
      2. \n
      3. \n you will only access PharmaNet, and you will ensure that On-Behalf-of Users only access PharmaNet, at a\n location approved by the Province, and using only the technologies and applications approved by the\n Province. For greater certainty, you must not access PharmaNet using a VPN or similar remote access\n technology to an approved location, unless that VPN or remote access technology has first been approved by\n the Province in writing for use at the Practice;\n
      4. \n
      5. \n you will only access PharmaNet as necessary for your provision of Direct Patient Care, and you will ensure\n that On-Behalf-of Users only access PharmaNet as necessary to support your provision of Direct Patient Care;\n
      6. \n
      7. \n you will not under any circumstances access PharmaNet, or use PharmaNet Data, for the purpose of market\n research, and you will ensure that no On-Behalf-of Users access PharmaNet, or use PharmaNet Data, for the\n purpose of market research;\n
      8. \n
      9. \n subject to section 6(b) of this Agreement, you will not use PharmaNet Data, and you will ensure that\n On-Behalf-of Users do not use PharmaNet Data, for any purpose other than your provision of Direct Patient\n Care, including for the purposes of quality improvement, evaluation, health care planning, surveillance,\n research or other secondary uses;\n
      10. \n
      11. \n you will not permit any Unauthorized Person to access PharmaNet, and you will take all reasonable measures\n to ensure that no Unauthorized Person can access PharmaNet;\n
      12. \n
      13. \n you will complete any training program(s) that your Approved SSO makes available to you in relation to\n PharmaNet, and you will ensure that all On-Behalf-of Users complete such training;\n
      14. \n
      15. \n you will immediately notify the Province when you or an On-Behalf-of User no longer require access to\n PharmaNet, including where the On-Behalf-of User ceases to be one of your staff or takes a leave of absence\n from your staff, or where the On-Behalf-of User’s access-related duties in relation to the Practice have\n changed;\n
      16. \n
      17. \n you will comply with, and you will ensure that On-Behalf-of Users comply with, any additional limits or\n conditions applicable to you, as may be communicated to you by the Province in writing;\n
      18. \n
      19. \n you represent and warrant that all information provided by you in connection with your application for\n PharmaNet access, including through PRIME, is true and correct.\n
      20. \n
      \n\n
    4. \n
    5. \n Responsibility for On-Behalf-of Users. You agree that you are responsible under this Agreement\n for all activities undertaken by On-Behalf-of Users in relation to their access to PharmaNet and use of\n PharmaNet Data.\n
    6. \n
    7. \n\n

      \n Privacy and Security Measures. You are responsible for taking all reasonable measures to\n safeguard Personal Information, including any Personal Information in the PharmaNet Data while it is in the\n custody, control or possession of yourself or an On-Behalf-of User. In particular, you will:\n

      \n\n
        \n
      1. \n take all reasonable steps to ensure the physical security of Personal Information, generally and as required\n by Privacy Laws;\n
      2. \n
      3. \n secure all workstations and printers in a protected area in the Practice to prevent viewing of PharmaNet\n Data by Unauthorized Persons;\n
      4. \n
      5. \n ensure separate access credential (such as user name and password) for each On-Behalf-of User, and prohibit\n sharing or other multiple use of your access credential, or an On-Behalf-of User’s access credential, for\n access to PharmaNet;\n
      6. \n
      7. \n secure any workstations used to access PharmaNet and all devices, codes or passwords that enable access to\n PharmaNet by yourself or any On-Behalf-of User;\n
      8. \n
      9. \n take such other privacy and security measures as the Province may reasonably require from time-to-time.\n
      10. \n
      \n\n
    8. \n
    9. \n Conformance Standards - Business Rules. You will comply with, and will ensure On-Behalf-of\n Users comply with, the business rules specified in the Conformance Standards when accessing and recording\n information in PharmaNet.\n
    10. \n
    \n\n
  10. \n
  11. \n\n

    \n DISCLOSURE, STORAGE, AND ACCESS REQUESTS\n

    \n\n
      \n
    1. \n Retention of PharmaNet Data. You will not store or retain PharmaNet Data in any paper files or\n any electronic system, unless such storage or retention is required for record keeping in accordance with\n Professional College requirements and in connection with your provision of Direct Patient Care and otherwise is\n in compliance with the Conformance Standards. You will not modify any records retained in accordance with this\n section other than as may be expressly authorized in the Conformance Standards. For clarity, you may annotate a\n discrete record provided that the discrete record is not itself modified other than as expressly authorized in\n the Conformance Standards.\n
    2. \n
    3. \n Use of Retained Records. You may use any records retained by you in accordance with section\n 6(a) of this Agreement for a purpose authorized under section 24(1) of the Act, including for the purpose of\n monitoring your own Practice.\n
    4. \n
    5. \n Disclosure to Third Parties. You will not, and will ensure that On-Behalf-of Users do not,\n disclose PharmaNet Data to any Unauthorized Person, unless disclosure is required for Direct Patient Care or is\n otherwise authorized under section 24(1) of the Act.\n
    6. \n
    7. \n No Disclosure for Market Research. You will not, and will ensure that On-Behalf-of Users do\n not, disclose PharmaNet Data for the purpose of market research.\n
    8. \n
    9. \n Responding to Patient Access Requests. Aside from any records retained by you in accordance\n with section 6(a) of this Agreement, you will not provide to patients any copies of records containing PharmaNet\n Data or “print outs” produced directly from PharmaNet, and will refer any requests for access to such records or\n “print outs” to the Province.\n
    10. \n
    11. \n Responding to Requests to Correct a Record contained in PharmaNet. If you receive a request for\n correction of any record or information contained in PharmaNet, you will refer the request to the Province.\n
    12. \n
    13. \n Legal Demands for Records Contained in PharmaNet. You will immediately notify the Province if\n you receive any order, demand or request compelling, or threatening to compel, disclosure of records contained\n in PharmaNet. You will cooperate and consult with the Province in responding to any such demands. For greater\n certainty, the foregoing requires that you notify the Province only with respect to any access requests or\n demands for records contained in PharmaNet, and not records retained by you in accordance with section 6(a) of\n this Agreement.\n
    14. \n
    \n\n
  12. \n
  13. \n\n

    \n ACCURACY\n

    \n\n

    \n You will make reasonable efforts to ensure that any Personal Information recorded by you or an On-Behalf-of User\n in PharmaNet is accurate, complete and up to date. In the event that you become aware of a material inaccuracy or\n error in such information, you will take reasonable steps to investigate the inaccuracy or error, correct it if\n necessary, and notify the Province of the inaccuracy or error and any steps taken.\n

    \n\n
  14. \n
  15. \n\n

    \n INVESTIGATIONS, AUDITS, AND REPORTING\n

    \n\n
      \n
    1. \n Audits and Investigations. You will cooperate with any audits or investigations conducted by\n the Province regarding your, or any On-Behalf-of User’s, compliance with the Act, Privacy Laws and this\n Agreement, including providing access upon request to your facilities, data management systems, books, records\n and personnel for the purposes of such audit or investigation.\n
    2. \n
    3. \n Reports to College or Privacy Commissioner. You acknowledge and agree that the Province may\n report any material breach of this Agreement to your Professional College or to the Information and Privacy\n Commissioner of British Columbia.\n
    4. \n
    \n\n
  16. \n
  17. \n\n

    \n NOTICE OF NON COMPLIANCE AND DUTY TO INVESTIGATE\n

    \n\n
      \n
    1. \n Duty to Investigate. You will investigate suspected breaches of the terms of this Agreement,\n and will take all reasonable steps to prevent recurrences of any such breaches, including taking any steps\n necessary to cooperate with the Province in ensuring the suspension or termination of an On-Behalf-of User’s\n access rights.\n
    2. \n
    3. \n\n

      \n Non Compliance. You will promptly notify the Province, and provide particulars, if:\n

      \n\n
        \n
      1. \n you or an On-Behalf-of User do not comply, or you anticipate that you or a On-Behalf-of User will be unable\n to comply with the terms of this Agreement in any respect, or\n
      2. \n
      3. \n you have knowledge of any circumstances, incidents or events which have or may jeopardize the security,\n confidentiality, or integrity of PharmaNet, including any unauthorized attempt, by any person, to access\n PharmaNet.\n
      4. \n
      \n\n
    4. \n
    \n\n
  18. \n
  19. \n\n

    \n TERM OF AGREEMENT, SUSPENSION & TERMINATION\n

    \n\n
      \n
    1. \n Term. The term of this Agreement begins on the date you are granted access to PharmaNet by the\n Province and will continue until the date this Agreement is terminated under paragraph (b), (c), (d) or (e)\n below.\n
    2. \n
    3. \n Termination for Any Reason. You may terminate this Agreement at any time on written notice to\n the Province.\n
    4. \n
    5. \n Suspension or Termination of PharmaNet access. If the Province suspends or terminates your\n right, or an On-Behalf-of User’s right, to access PharmaNet under the Information Management Regulation, the\n Province may also terminate this Agreement at any time thereafter upon written notice to you.\n
    6. \n
    7. \n Termination for Breach. Notwithstanding paragraph (c) above, the Province may terminate this\n Agreement, and any or all access to PharmaNet by you or an On-Behalf-of User, immediately upon notice to you if\n you or an On-Behalf-of User fail to comply with any provision of this Agreement.\n
    8. \n
    9. \n Termination by operation of the Information Management Regulation. This Agreement will\n terminate automatically if your access to PharmaNet ends by operation of section 18 of the Information\n Management Regulation.\n
    10. \n
    11. \n Suspension of Account for Inactivity. As a security precaution, the Province may suspend your\n account or an On-Behalf-of User’s account after a period of inactivity, in accordance with the Province’s\n policies. Please contact the Province immediately if your account has been suspended for inactivity but you\n still require access to PharmaNet.\n
    12. \n
    \n\n
  20. \n
  21. \n\n

    \n DISCLAIMER OF WARRANTY, LIMITATION OF LIABILITY AND INDEMNITY\n

    \n\n
      \n
    1. \n Information Provided As Is. You acknowledge and agree that any use of PharmaNet and PharmaNet\n Data is solely at your own risk. All such access and information is provided on an “as is” and “as available”\n basis without warranty or condition of any kind. The Province does not warrant the accuracy, completeness or\n reliability of the PharmaNet Data or the availability of PharmaNet, or that access to or the operation of\n PharmaNet will function without error, failure or interruption.\n
    2. \n
    3. \n You are Responsible. You are responsible for verifying the accuracy of information disclosed to\n you as a result of your access to PharmaNet or otherwise pursuant to this Agreement before relying or acting\n upon such information. The clinical or other information disclosed to you or an On-Behalf-of User pursuant to\n this Agreement is in no way intended to be a substitute for professional judgment.\n
    4. \n
    5. \n The Province Not Liable for Loss. No action may be brought by any person against the Province\n for any loss or damage of any kind caused by any reason or purpose related to reliance on PharmaNet or PharmaNet\n Data.\n
    6. \n
    7. \n You Must Indemnify the Province if You Cause a Loss or Claim. You agree to indemnify and save\n harmless the Province, and the Province’s employees and agents (each an \"Indemnified Person\")\n from any losses, claims, damages, actions, causes of action, costs and expenses that an Indemnified Person may\n sustain, incur, suffer or be put to at any time, either before or after this Agreement ends, which are based\n upon, arise out of or occur directly or indirectly by reason of any act or omission by you, or by any\n On-Behalf-of User, in connection with this Agreement.\n
    8. \n
    \n\n
  22. \n
  23. \n\n

    \n NOTICE\n

    \n\n
      \n
    1. \n\n

      \n Notice to Province. Except where this Agreement expressly provides for another method of\n delivery, any notice to be given by you to the Province that is contemplated by this Agreement, to be\n effective,\n must be in writing and emailed or mailed to:\n

      \n\n
      \n Director, Information and PharmaNet Development
      \n Ministry of Health
      \n PO Box 9652, STN PROV GOVT
      \n Victoria, BC V8W 9P4
      \n\n
      \n\n PRIMESupport@gov.bc.ca\n
      \n\n
    2. \n
    3. \n Notice to You. Any notice to you to be delivered under the terms of this Agreement will be in\n writing and delivered by the Province to you using any of the contact mechanisms identified by you in PRIME,\n including by mail to a specified postal address, email to a specified email address or text message to the\n specified cell phone number. You may be required to click a URL link or log into PRIME to receive the content\n of any such notice.\n
    4. \n
    5. \n Deemed receipt. Any written communication from a party, if personally delivered or sent\n electronically, will be deemed to have been received 24 hours after the time the notice was sent, or, if sent\n by mail, will be deemed to have been received 3 days (excluding Saturdays, Sundays and statutory holidays)\n after the date the notice was sent.\n
    6. \n
    7. \n Substitute contact information. You may notify the Province of a substitute contact mechanism\n by updating your contact information in PRIME.\n
    8. \n
    \n\n
  24. \n {$lcPlaceholder}\n
  25. \n\n

    \n GENERAL\n

    \n\n
      \n
    1. \n\n

      \n Entire Agreement. This Agreement constitutes the entire agreement between the parties with\n respect to the subject matter of this agreement.\n

      \n\n
    2. \n
    3. \n\n

      \n Severability. Each provision in this Agreement constitutes a separate covenant and is\n severable from any other covenant, and if any of them are held by a court, or other decision-maker, to be\n invalid, this Agreement will be interpreted as if such provisions were not included.\n

      \n\n
    4. \n
    5. \n\n

      \n Survival. Sections 3, 4, 5(b)(iv) (v), 5(c), 5(d), 6(a)(b)(c)(d), 8, 9, 11, and any other\n provision of this Agreement that expressly or by its nature continues after termination, shall survive\n termination of this Agreement.\n

      \n\n
    6. \n
    7. \n\n

      \n Governing Law. This Agreement will be governed by and will be construed and interpreted in\n accordance with the laws of British Columbia and the laws of Canada applicable therein.\n

      \n\n
    8. \n
    9. \n\n

      \n Assignment Restricted. Your rights and obligations under this Agreement may not be assigned\n without the prior written approval of the Province.\n

      \n\n
    10. \n
    11. \n\n

      \n Waiver. The failure of the Province at any time to insist on performance of any provision of\n this Agreement by you is not a waiver of its right subsequently to insist on performance of that or any other\n provision of this Agreement.\n

      \n\n
    12. \n
    13. \n\n

      \n Province may modify this Agreement. The Province may amend this Agreement, including this\n section, at any time in its sole discretion:\n

      \n\n
        \n
      1. \n by written notice to you, in which case the amendment will become effective upon the later of (A) the date\n notice of the amendment is first delivered to you, or (B) the effective date of the amendment specified by\n the Province, if any; or\n
      2. \n
      3. \n by publishing notice of any such amendment in the PharmaCare Newsletter, in which case the notice will\n specify the effective date of the amendment, which date will be at least 30 (thirty) days after the date\n that the PharmaCare Newsletter containing the notice is first published.\n
      4. \n
      \n\n

      \n If you or an On-Behalf-of User access or use PharmaNet after the effective date of an amendment described in\n (i) or (ii) above, you will be deemed to have accepted the corresponding amendment, and this Agreement will be\n deemed to have been so amended as of the effective date. If you do not agree with any amendment for which\n notice has been provided by the Province in accordance with (i) or (ii) above, you must promptly (and in any\n event before the effective date) cease all access or use of PharmaNet by yourself and all On-Behalf-of Users,\n and take the steps necessary to terminate this Agreement in accordance with section 10.\n

      \n\n
    14. \n
    \n\n
  26. \n
\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 3, + AgreementType = 3, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2020, 3, 5, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -8, 0, 0, 0)), + Text = "

PHARMANET TERMS OF ACCESS FOR ON-BEHALF-OF USER

\n\n

\n By enrolling for PharmaNet access, you agree to the following terms (the “Agreement”). Please read them carefully.\n

\n\n
    \n
  1. \n\n

    \n On Behalf of User Access\n

    \n\n

    \n You represent and warrant to the Province that:\n

    \n\n
      \n
    1. \n your employment duties in relation to a Practitioner require you to access PharmaNet (and PharmaNet\n Data) to\n support the Practitioner’s delivery of Direct Patient Care;\n
    2. \n
    3. \n you are directly supervised by a Practitioner who has been granted access to PharmaNet by the Province;\n and\n
    4. \n
    5. \n all information provided by you in connection with your application for PharmaNet access, including all\n information submitted through PRIME, is true and correct.\n
    6. \n
    \n\n
  2. \n
  3. \n\n

    \n Definitions\n

    \n\n

    \n In these terms, capitalized terms will have the following meanings:\n

    \n\n
      \n
    • \n “Direct Patient Care” means, for the purposes of this Agreement, the provision of\n health\n services to an individual to whom a Practitioner provides direct patient care in the context of their\n Practice.\n
    • \n
    • \n “PharmaCare Newsletter” means the PharmaCare newsletter published by the Province on\n the\n following website (or such other website as may be specified by the Province from time to time for this\n purpose):\n\n

      \n\n www.gov.bc.ca/pharmacarenewsletter\n
    • \n
    • \n “PharmaNet” means PharmaNet as continued under section 2 of the Information Management\n Regulation.\n
    • \n
    • \n “PharmaNet Data” includes any record or information contained in PharmaNet and any\n record or\n information in the custody, control or possession of you or a Practitioner that was obtained through\n access to\n PharmaNet by anyone.\n
    • \n
    • \n “Practice” means a Practitioner’s practice of their health profession.\n
    • \n
    • \n “Practitioner” means a health professional regulated under the Health Professions Act\n who\n supervises your access and use of PharmaNet and who has been granted access to PharmaNet by the\n Province.\n
    • \n
    • \n “PRIME” means the online service provided by the Province that allows users to apply\n for, and\n manage, their access to PharmaNet, and through which users are granted access by the Province.\n
    • \n
    • \n “Province” means Her Majesty the Queen in Right of British Columbia, as represented by\n the\n Minister of Health.\n
    • \n
    \n\n
  4. \n
  5. \n\n

    \n Terms of Access to PharmaNet\n

    \n\n

    \n You must:\n

    \n\n
      \n
    1. \n access and use PharmaNet and PharmaNet Data only to support Direct Patient Care delivered by the\n Practitioner to\n the individuals whose PharmaNet Data you are accessing;\n
    2. \n
    3. \n only access PharmaNet as permitted by law and directed by the Practitioner;\n
    4. \n
    5. \n maintain all PharmaNet Data, whether accessed on PharmaNet or otherwise disclosed to you in any manner,\n in\n strict confidence;\n
    6. \n
    7. \n maintain the security of PharmaNet, and any applications, connections, or networks used to access\n PharmaNet;\n
    8. \n
    9. \n complete all training required by the Practice’s PharmaNet software vendor and the Province before\n accessing\n PharmaNet;\n
    10. \n
    11. \n notify the Province if you have any reason to suspect that PharmaNet, or any PharmaNet Data, is or has\n been\n accessed or used inappropriately by any person.\n
    12. \n
    \n\n

    \n You must not:\n

    \n\n
      \n
    1. \n disclose PharmaNet Data for any purpose other than Direct Patient Care, except as permitted by law and\n directed\n by the Practitioner;\n
    2. \n
    3. \n permit any person to use any user IDs, passwords or credentials provided to you to access PharmaNet;\n
    4. \n
    5. \n reveal, share or compromise any user IDs, passwords or credentials for PharmaNet;\n
    6. \n
    7. \n use, or attempt to use, the user IDs, passwords or credentials of any other person to access PharmaNet;\n
    8. \n
    9. \n take any action that might compromise the integrity of PharmaNet, its information, or the provincial\n drug plan,\n such as altering information or submitting false information;\n
    10. \n
    11. \n test the security related to PharmaNet;\n
    12. \n
    13. \n you must not attempt to access PharmaNet from any location other than the approved Practice site of the\n Practitioner, including by VPN or other remote access technology,\n unless that VPN or remote access technology has first been approved by the Province in writing for use\n at the Practice.\n You must be physically located in BC whenever you use approved VPN or other approved remote access\n technology to access PharmaNet.\n
    14. \n
    \n\n

    \n Your access to PharmaNet and use of PharmaNet Data are governed by the Pharmaceutical Services Act and you\n must\n comply with all your duties under that Act.\n

    \n\n

    \n The Province may, in writing and from time to time, set further limits and conditions in respect of\n PharmaNet,\n either for you or for the Practitioner(s), and that you must comply with any such further limits and\n conditions.\n

    \n\n
  6. \n
  7. \n\n

    \n How to Notify the Province\n

    \n\n

    \n Notice to the Province may be sent in writing to:\n

    \n\n
    \n Director, Information and PharmaNet Development
    \n Ministry of Health
    \n PO Box 9652, STN PROV GOVT
    \n Victoria, BC V8W 9P4
    \n\n
    \n\n PRIMESupport@gov.bc.ca\n
    \n\n
  8. \n
  9. \n\n

    \n Province may modify these terms\n

    \n\n

    \n The Province may amend these terms, including this section, at any time in its sole discretion:\n

    \n\n
      \n
    1. \n by written notice to you, in which case the amendment will become effective upon the later of (A) the\n date\n notice of the amendment is first delivered to you, or (B) the effective date of the amendment specified\n by the\n Province, if any; or\n
    2. \n
    3. \n by publishing notice of any such amendment in the PharmaCare Newsletter, in which case the notice will\n specify\n the effective date of the amendment, which date will be at least thirty (30) days after the date that\n the\n PharmaCare Newsletter containing the notice is first published.\n
    4. \n
    \n\n

    \n If you do not agree with any amendment for which notice has been provided by the Province in accordance with\n (i)\n or (ii) above, you must promptly (and in any event before the effective date) cease all access or use of\n PharmaNet.\n

    \n\n

    \n Any written notice to you under (i) above will be in writing and delivered by the Province to you using any\n of the\n contact mechanisms identified by you in PRIME, including by mail to a specified postal address, email to a\n specified email address or text message to a specified cell phone number. You may be required to click a URL\n link\n or log into PRIME to receive the contents of any such notice.\n

    \n\n
  10. \n {$lcPlaceholder}\n
  11. \n\n

    \n Governing Law\n

    \n\n

    \n These terms will be governed by and will be construed and interpreted in accordance with the laws of British\n Columbia and the laws of Canada applicable therein.\n

    \n\n

    \n Unless otherwise specified, a reference to a statute or regulation by name means the statute or regulation\n of\n British Columbia of that name, as amended or replaced from time to time, and includes any enactment made\n under the\n authority of that statute or regulation.\n

    \n\n
  12. \n
\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 4, + AgreementType = 2, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2020, 3, 5, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -8, 0, 0, 0)), + Text = "

PHARMANET REGULATED USER TERMS OF ACCESS

\n\n

\n By enrolling for PharmaNet access, you agree to the following terms (the “Agreement”). Please read them carefully.\n

\n\n
    \n
  1. \n\n

    \n BACKGROUND\n

    \n\n

    \n The Province owns and is responsible for the operation of PharmaNet, the province-wide network that links\n B.C.\n pharmacies to a central data system. Every prescription dispensed in community pharmacies in B.C. is entered\n into\n PharmaNet.\n

    \n\n

    \n The purpose of providing you, and the On-Behalf-of Users whom you have authorized, with access to PharmaNet\n is to\n enhance patient care by providing timely and relevant information to persons involved in the provision of\n direct\n patient care.\n

    \n\n

    \n PharmaNet contains highly sensitive confidential information, including Personal Information and the\n proprietary\n and confidential information of third-party licensors to the Province, and it is in the public interest to\n ensure that appropriate measures are in place to protect the confidentiality of all such information. All\n access\n to and use of PharmaNet and PharmaNet Data is subject to the Act and Privacy Laws.\n

    \n\n
  2. \n
  3. \n\n

    \n INTERPRETATION\n

    \n\n
      \n
    1. \n\n

      \n Definitions. Unless otherwise provided in this Agreement, capitalized terms will\n have the\n meanings given below:\n

      \n\n
        \n
      • \n “Act” means the Pharmaceutical Services Act.\n
      • \n
      • \n “Approved SSO” means a software support organization approved by the Province\n that provides\n you with the information technology software and/or services through which you and On-Behalf-of\n Users access\n PharmaNet.\n
      • \n
      • \n\n

        \n “Conformance Standards” means the following documents published by the\n Province, as\n amended\n from time to time:\n

        \n\n
          \n
        1. \n PharmaNet Professional and Software Conformance Standards; and\n
        2. \n
        3. \n Office of the Chief Information Officer: “Submission for Technical Security Standard and\n High Level\n Architecture for Wireless Local Area Network Connectivity”.\n
        4. \n
        \n\n
      • \n
      • \n “Direct Patient Care” means, for the purposes of this Agreement, the provision\n of health\n services to an individual to whom you provide direct patient care in the context of your\n Practice.\n
      • \n
      • \n “Information Management Regulation” means the Information Management\n Regulation, B.C. Reg.\n 74/2015.\n
      • \n
      • \n “On-Behalf-of User” means a member of your staff who (i) requires access to\n PharmaNet to\n carry out duties in relation to your Practice; and (ii) is authorized by you to access PharmaNet\n on your\n behalf; and (iii) has been granted access to PharmaNet by the Province.\n
      • \n
      • \n “Personal Information” means all recorded information that is about an\n identifiable\n individual or is defined as, or deemed to be, “personal information” or “personal health\n information”\n pursuant to any Privacy Laws.\n
      • \n
      • \n “PharmaCare Newsletter” means the PharmaCare newsletter published by the\n Province on the\n following website (or such other website as may be specified by the Province from time to time\n for this\n purpose):\n\n

        \n\n www.gov.bc.ca/pharmacarenewsletter\n
      • \n
      • \n “PharmaNet” means PharmaNet as continued under section 2 of the Information\n Management\n Regulation.\n
      • \n
      • \n “PharmaNet Data” includes any record or information contained in PharmaNet and\n any record\n or information in the custody, control or possession of you or a On-Behalf-of User that was\n obtained through\n your or a On-Behalf-of User’s access to PharmaNet.\n
      • \n
      • \n “Practice” means your practice of the health profession regulated under the\n Health\n Professions Act and identified by you through PRIME.\n
      • \n
      • \n “PRIME” means the online service provided by the Province that allows users to\n apply for,\n and manage, their access to PharmaNet, and through which users are granted access by the\n Province.\n
      • \n
      • \n “Privacy Laws” means the Act, the Freedom of Information and Protection of\n Privacy Act, the\n Personal Information Protection Act, and any other statutory or legal obligations of privacy\n owed by you or\n the Province, whether arising under statute, by contract or at common law.\n
      • \n
      • \n “Province” means Her Majesty the Queen in Right of British Columbia, as\n represented by the\n Minister of Health.\n
      • \n
      • \n “Professional College” is the regulatory body governing your Practice.\n
      • \n
      • \n\n

        \n “Unauthorized Person” means any person other than:\n

        \n\n
          \n
        1. \n you,\n
        2. \n
        3. \n an On-Behalf-of User, or\n
        4. \n
        5. \n a representative of an Approved SSO that is accessing PharmaNet for technical support\n purposes in\n accordance with section 6 of the Information Management Regulation.\n
        6. \n
        \n\n
      • \n
      \n\n
    2. \n
    3. \n Reference to Enactments. Unless otherwise specified, a reference to a statute or\n regulation by\n name means the statute or regulation of British Columbia of that name, as amended or replaced from time\n to time,\n and includes any enactment made under the authority of that statute or regulation.\n
    4. \n
    5. \n\n

      \n Conflicting Provisions. In the event of a conflict among provisions of this\n Agreement:\n

      \n\n
        \n
      1. \n a provision in the body of this Agreement will prevail over any conflicting provision in any\n further limits\n or conditions communicated to you in writing by the Province, unless the conflicting provision\n expressly\n states otherwise; and\n
      2. \n
      3. \n a provision referred to in (i) above will prevail over any conflicting provision in the\n Conformance\n Standards.\n
      4. \n
      \n\n
    6. \n
    \n\n
  4. \n
  5. \n\n

    \n APPLICATION OF LEGISLATION\n

    \n\n

    \n You will strictly comply with, and you will ensure that On-Behalf-of Users strictly comply with, the Act and\n all\n Privacy Laws applicable to PharmaNet and PharmaNet Data.\n

    \n\n
  6. \n
  7. \n\n

    \n NOTICE THAT SPECIFIC PROVISIONS OF THE ACT APPLY DIRECTLY TO YOU\n

    \n\n

    \n You acknowledge that:\n

    \n\n
      \n
    1. \n PharmaNet Data accessed by you or an On-Behalf-of User pursuant to this Agreement is disclosed to you by\n the\n Province under the authority of the Act;\n
    2. \n
    3. \n specific provisions of the Act, including the Information Management Regulation and sections 24, 25 and\n 29 of\n the Act, apply directly to you and to On-Behalf-of Users as a result; and\n
    4. \n
    5. \n this Agreement documents limits and conditions, set by the minister in writing, that the Act requires\n you to\n comply with.\n
    6. \n
    \n\n
  8. \n
  9. \n\n

    \n ACCESS\n

    \n\n
      \n
    1. \n Grant of Access. The Province will provide you with access to PharmaNet subject to your\n compliance with the limits and conditions set out in section 5(b) below and otherwise in this Agreement.\n The\n Province may from time to time, at its discretion, amend or change the scope of your access privileges\n to\n PharmaNet as privacy, security, business and clinical practice requirements change. In such\n circumstances, the\n Province will use reasonable efforts to notify you of such changes.\n
    2. \n
    3. \n\n

      \n Limits and Conditions of Access. The following limits and conditions apply to your\n access to\n PharmaNet:\n

      \n\n
        \n
      1. \n you will only access PharmaNet, and you will ensure that On-Behalf-of Users only access\n PharmaNet, for so\n long as you are a registrant in good standing with the Professional College and your licence\n permits you to\n deliver Direct Patient Care requiring access to PharmaNet;\n
      2. \n
      3. \n you will only access PharmaNet, and you will ensure that On-Behalf-of Users only access\n PharmaNet, at a location approved by the Province, and using only the technologies and\n applications approved by the Province. For greater certainty, you must not access PharmaNet\n using a VPN or similar remote access technology to an approved location, unless that VPN or\n remote access technology has first been approved by the Province in writing for use at the\n Practice. You, or your On-Behalf-of Users, must be physically located in BC whenever you use VPN\n or similar remote access technology to access PharmaNet.\n
      4. \n
      5. \n you will only access PharmaNet as necessary for your provision of Direct Patient Care, and you\n will ensure\n that On-Behalf-of Users only access PharmaNet as necessary to support your provision of Direct\n Patient Care;\n
      6. \n
      7. \n you will not under any circumstances access PharmaNet, or use PharmaNet Data, for the purpose of\n market\n research, and you will ensure that no On-Behalf-of Users access PharmaNet, or use PharmaNet\n Data, for the\n purpose of market research;\n
      8. \n
      9. \n subject to section 6(b) of this Agreement, you will not use PharmaNet Data, and you will ensure\n that\n On-Behalf-of Users do not use PharmaNet Data, for any purpose other than your provision of\n Direct Patient\n Care, including for the purposes of quality improvement, evaluation, health care planning,\n surveillance,\n research or other secondary uses;\n
      10. \n
      11. \n you will not permit any Unauthorized Person to access PharmaNet, and you will take all\n reasonable measures\n to ensure that no Unauthorized Person can access PharmaNet;\n
      12. \n
      13. \n you will complete any training program(s) that your Approved SSO makes available to you in\n relation to\n PharmaNet, and you will ensure that all On-Behalf-of Users complete such training;\n
      14. \n
      15. \n you will immediately notify the Province when you or an On-Behalf-of User no longer require\n access to\n PharmaNet, including where the On-Behalf-of User ceases to be one of your staff or takes a leave\n of absence\n from your staff, or where the On-Behalf-of User’s access-related duties in relation to the\n Practice have\n changed;\n
      16. \n
      17. \n you will comply with, and you will ensure that On-Behalf-of Users comply with, any additional\n limits or\n conditions applicable to you, as may be communicated to you by the Province in writing;\n
      18. \n
      19. \n you represent and warrant that all information provided by you in connection with your\n application for\n PharmaNet access, including through PRIME, is true and correct.\n
      20. \n
      \n\n
    4. \n
    5. \n Responsibility for On-Behalf-of Users. You agree that you are responsible under this\n Agreement\n for all activities undertaken by On-Behalf-of Users in relation to their access to PharmaNet and use of\n PharmaNet Data.\n
    6. \n
    7. \n\n

      \n Privacy and Security Measures. You are responsible for taking all reasonable\n measures to\n safeguard Personal Information, including any Personal Information in the PharmaNet Data while it is\n in the\n custody, control or possession of yourself or an On-Behalf-of User. In particular, you will:\n

      \n\n
        \n
      1. \n take all reasonable steps to ensure the physical security of Personal Information, generally and\n as required\n by Privacy Laws;\n
      2. \n
      3. \n secure all workstations and printers in a protected area in the Practice to prevent viewing of\n PharmaNet\n Data by Unauthorized Persons;\n
      4. \n
      5. \n ensure separate access credential (such as user name and password) for each On-Behalf-of User,\n and prohibit\n sharing or other multiple use of your access credential, or an On-Behalf-of User’s access\n credential, for\n access to PharmaNet;\n
      6. \n
      7. \n secure any workstations used to access PharmaNet and all devices, codes or passwords that enable\n access to\n PharmaNet by yourself or any On-Behalf-of User;\n
      8. \n
      9. \n take such other privacy and security measures as the Province may reasonably require from\n time-to-time.\n
      10. \n
      \n\n
    8. \n
    9. \n Conformance Standards - Business Rules. You will comply with, and will ensure\n On-Behalf-of\n Users comply with, the business rules specified in the Conformance Standards when accessing and\n recording\n information in PharmaNet.\n
    10. \n
    \n\n
  10. \n
  11. \n\n

    \n DISCLOSURE, STORAGE, AND ACCESS REQUESTS\n

    \n\n
      \n
    1. \n Retention of PharmaNet Data. You will not store or retain PharmaNet Data in any paper\n files or\n any electronic system, unless such storage or retention is required for record keeping in accordance\n with\n Professional College requirements and in connection with your provision of Direct Patient Care and\n otherwise is\n in compliance with the Conformance Standards. You will not modify any records retained in accordance\n with this\n section other than as may be expressly authorized in the Conformance Standards. For clarity, you may\n annotate a\n discrete record provided that the discrete record is not itself modified other than as expressly\n authorized in\n the Conformance Standards.\n
    2. \n
    3. \n Use of Retained Records. You may use any records retained by you in accordance with\n section\n 6(a) of this Agreement for a purpose authorized under section 24(1) of the Act, including for the\n purpose of\n monitoring your own Practice.\n
    4. \n
    5. \n Disclosure to Third Parties. You will not, and will ensure that On-Behalf-of Users do\n not,\n disclose PharmaNet Data to any Unauthorized Person, unless disclosure is required for Direct Patient\n Care or is\n otherwise authorized under section 24(1) of the Act.\n
    6. \n
    7. \n No Disclosure for Market Research. You will not, and will ensure that On-Behalf-of\n Users do\n not, disclose PharmaNet Data for the purpose of market research.\n
    8. \n
    9. \n Responding to Patient Access Requests. Aside from any records retained by you in\n accordance\n with section 6(a) of this Agreement, you will not provide to patients any copies of records containing\n PharmaNet\n Data or “print outs” produced directly from PharmaNet, and will refer any requests for access to such\n records or\n “print outs” to the Province.\n
    10. \n
    11. \n Responding to Requests to Correct a Record contained in PharmaNet. If you receive a\n request for\n correction of any record or information contained in PharmaNet, you will refer the request to the\n Province.\n
    12. \n
    13. \n Legal Demands for Records Contained in PharmaNet. You will immediately notify the\n Province if\n you receive any order, demand or request compelling, or threatening to compel, disclosure of records\n contained\n in PharmaNet. You will cooperate and consult with the Province in responding to any such demands. For\n greater\n certainty, the foregoing requires that you notify the Province only with respect to any access requests\n or\n demands for records contained in PharmaNet, and not records retained by you in accordance with section\n 6(a) of\n this Agreement.\n
    14. \n
    \n\n
  12. \n
  13. \n\n

    \n ACCURACY\n

    \n\n

    \n You will make reasonable efforts to ensure that any Personal Information recorded by you or an On-Behalf-of\n User\n in PharmaNet is accurate, complete and up to date. In the event that you become aware of a material\n inaccuracy or\n error in such information, you will take reasonable steps to investigate the inaccuracy or error, correct it\n if\n necessary, and notify the Province of the inaccuracy or error and any steps taken.\n

    \n\n
  14. \n
  15. \n\n

    \n INVESTIGATIONS, AUDITS, AND REPORTING\n

    \n\n
      \n
    1. \n Audits and Investigations. You will cooperate with any audits or investigations\n conducted by\n the Province regarding your, or any On-Behalf-of User’s, compliance with the Act, Privacy Laws and this\n Agreement, including providing access upon request to your facilities, data management systems, books,\n records\n and personnel for the purposes of such audit or investigation.\n
    2. \n
    3. \n Reports to College or Privacy Commissioner. You acknowledge and agree that the Province\n may\n report any material breach of this Agreement to your Professional College or to the Information and\n Privacy\n Commissioner of British Columbia.\n
    4. \n
    \n\n
  16. \n
  17. \n\n

    \n NOTICE OF NON COMPLIANCE AND DUTY TO INVESTIGATE\n

    \n\n
      \n
    1. \n Duty to Investigate. You will investigate suspected breaches of the terms of this\n Agreement,\n and will take all reasonable steps to prevent recurrences of any such breaches, including taking any\n steps\n necessary to cooperate with the Province in ensuring the suspension or termination of an On-Behalf-of\n User’s\n access rights.\n
    2. \n
    3. \n\n

      \n Non Compliance. You will promptly notify the Province, and provide particulars, if:\n

      \n\n
        \n
      1. \n you or an On-Behalf-of User do not comply, or you anticipate that you or a On-Behalf-of User\n will be unable\n to comply with the terms of this Agreement in any respect, or\n
      2. \n
      3. \n you have knowledge of any circumstances, incidents or events which have or may jeopardize the\n security,\n confidentiality, or integrity of PharmaNet, including any unauthorized attempt, by any person,\n to access\n PharmaNet.\n
      4. \n
      \n\n
    4. \n
    \n\n
  18. \n
  19. \n\n

    \n TERM OF AGREEMENT, SUSPENSION & TERMINATION\n

    \n\n
      \n
    1. \n Term. The term of this Agreement begins on the date you are granted access to PharmaNet\n by the\n Province and will continue until the date this Agreement is terminated under paragraph (b), (c), (d) or\n (e)\n below.\n
    2. \n
    3. \n Termination for Any Reason. You may terminate this Agreement at any time on written\n notice to\n the Province.\n
    4. \n
    5. \n Suspension or Termination of PharmaNet access. If the Province suspends or terminates\n your\n right, or an On-Behalf-of User’s right, to access PharmaNet under the Information Management Regulation,\n the\n Province may also terminate this Agreement at any time thereafter upon written notice to you.\n
    6. \n
    7. \n Termination for Breach. Notwithstanding paragraph (c) above, the Province may terminate\n this\n Agreement, and any or all access to PharmaNet by you or an On-Behalf-of User, immediately upon notice to\n you if\n you or an On-Behalf-of User fail to comply with any provision of this Agreement.\n
    8. \n
    9. \n Termination by operation of the Information Management Regulation. This Agreement will\n terminate automatically if your access to PharmaNet ends by operation of section 18 of the Information\n Management Regulation.\n
    10. \n
    11. \n Suspension of Account for Inactivity. As a security precaution, the Province may\n suspend your\n account or an On-Behalf-of User’s account after a period of inactivity, in accordance with the\n Province’s\n policies. Please contact the Province immediately if your account has been suspended for inactivity but\n you\n still require access to PharmaNet.\n
    12. \n
    \n\n
  20. \n
  21. \n\n

    \n DISCLAIMER OF WARRANTY, LIMITATION OF LIABILITY AND INDEMNITY\n

    \n\n
      \n
    1. \n Information Provided As Is. You acknowledge and agree that any use of PharmaNet and\n PharmaNet\n Data is solely at your own risk. All such access and information is provided on an “as is” and “as\n available”\n basis without warranty or condition of any kind. The Province does not warrant the accuracy,\n completeness or\n reliability of the PharmaNet Data or the availability of PharmaNet, or that access to or the operation\n of\n PharmaNet will function without error, failure or interruption.\n
    2. \n
    3. \n You are Responsible. You are responsible for verifying the accuracy of information\n disclosed to\n you as a result of your access to PharmaNet or otherwise pursuant to this Agreement before relying or\n acting\n upon such information. The clinical or other information disclosed to you or an On-Behalf-of User\n pursuant to\n this Agreement is in no way intended to be a substitute for professional judgment.\n
    4. \n
    5. \n The Province Not Liable for Loss. No action may be brought by any person against the\n Province\n for any loss or damage of any kind caused by any reason or purpose related to reliance on PharmaNet or\n PharmaNet\n Data.\n
    6. \n
    7. \n You Must Indemnify the Province if You Cause a Loss or Claim. You agree to indemnify\n and save\n harmless the Province, and the Province’s employees and agents (each an\n \"Indemnified Person\")\n from any losses, claims, damages, actions, causes of action, costs and expenses that an Indemnified\n Person may\n sustain, incur, suffer or be put to at any time, either before or after this Agreement ends, which are\n based\n upon, arise out of or occur directly or indirectly by reason of any act or omission by you, or by any\n On-Behalf-of User, in connection with this Agreement.\n
    8. \n
    \n\n
  22. \n
  23. \n\n

    \n NOTICE\n

    \n\n
      \n
    1. \n\n

      \n Notice to Province. Except where this Agreement expressly provides for another\n method of\n delivery, any notice to be given by you to the Province that is contemplated by this Agreement, to\n be\n effective,\n must be in writing and emailed or mailed to:\n

      \n\n
      \n Director, Information and PharmaNet Development
      \n Ministry of Health
      \n PO Box 9652, STN PROV GOVT
      \n Victoria, BC V8W 9P4
      \n\n
      \n\n PRIMESupport@gov.bc.ca\n
      \n\n
    2. \n
    3. \n Notice to You. Any notice to you to be delivered under the terms of this Agreement will\n be in\n writing and delivered by the Province to you using any of the contact mechanisms identified by you in\n PRIME,\n including by mail to a specified postal address, email to a specified email address or text message to\n the\n specified cell phone number. You may be required to click a URL link or log into PRIME to receive the\n content\n of any such notice.\n
    4. \n
    5. \n Deemed receipt. Any written communication from a party, if personally delivered or sent\n electronically, will be deemed to have been received 24 hours after the time the notice was sent, or, if\n sent\n by mail, will be deemed to have been received 3 days (excluding Saturdays, Sundays and statutory\n holidays)\n after the date the notice was sent.\n
    6. \n
    7. \n Substitute contact information. You may notify the Province of a substitute contact\n mechanism\n by updating your contact information in PRIME.\n
    8. \n
    \n\n
  24. \n {$lcPlaceholder}\n
  25. \n\n

    \n GENERAL\n

    \n\n
      \n
    1. \n\n

      \n Entire Agreement. This Agreement constitutes the entire agreement between the\n parties with\n respect to the subject matter of this agreement.\n

      \n\n
    2. \n
    3. \n\n

      \n Severability. Each provision in this Agreement constitutes a separate covenant and\n is\n severable from any other covenant, and if any of them are held by a court, or other decision-maker,\n to be\n invalid, this Agreement will be interpreted as if such provisions were not included.\n

      \n\n
    4. \n
    5. \n\n

      \n Survival. Sections 3, 4, 5(b)(iv) (v), 5(c), 5(d), 6(a)(b)(c)(d), 8, 9, 11, and any\n other\n provision of this Agreement that expressly or by its nature continues after termination, shall\n survive\n termination of this Agreement.\n

      \n\n
    6. \n
    7. \n\n

      \n Governing Law. This Agreement will be governed by and will be construed and\n interpreted in\n accordance with the laws of British Columbia and the laws of Canada applicable therein.\n

      \n\n
    8. \n
    9. \n\n

      \n Assignment Restricted. Your rights and obligations under this Agreement may not be\n assigned\n without the prior written approval of the Province.\n

      \n\n
    10. \n
    11. \n\n

      \n Waiver. The failure of the Province at any time to insist on performance of any\n provision of\n this Agreement by you is not a waiver of its right subsequently to insist on performance of that or\n any other\n provision of this Agreement.\n

      \n\n
    12. \n
    13. \n\n

      \n Province may modify this Agreement. The Province may amend this Agreement,\n including this\n section, at any time in its sole discretion:\n

      \n\n
        \n
      1. \n by written notice to you, in which case the amendment will become effective upon the later of\n (A) the date\n notice of the amendment is first delivered to you, or (B) the effective date of the amendment\n specified by\n the Province, if any; or\n
      2. \n
      3. \n by publishing notice of any such amendment in the PharmaCare Newsletter, in which case the\n notice will\n specify the effective date of the amendment, which date will be at least 30 (thirty) days after\n the date\n that the PharmaCare Newsletter containing the notice is first published.\n
      4. \n
      \n\n

      \n If you or an On-Behalf-of User access or use PharmaNet after the effective date of an amendment\n described in\n (i) or (ii) above, you will be deemed to have accepted the corresponding amendment, and this\n Agreement will be\n deemed to have been so amended as of the effective date. If you do not agree with any amendment for\n which\n notice has been provided by the Province in accordance with (i) or (ii) above, you must promptly\n (and in any\n event before the effective date) cease all access or use of PharmaNet by yourself and all\n On-Behalf-of Users,\n and take the steps necessary to terminate this Agreement in accordance with section 10.\n

      \n\n
    14. \n
    \n\n
  26. \n
\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 5, + AgreementType = 3, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2020, 3, 10, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Text = "

PHARMANET TERMS OF ACCESS FOR ON-BEHALF-OF USER

\n\n

\n By enrolling for PharmaNet access, you agree to the following terms (the “Agreement”). Please read them carefully.\n

\n\n
    \n
  1. \n\n

    \n On Behalf of User Access\n

    \n\n

    \n You represent and warrant to the Province that:\n

    \n\n
      \n
    1. \n your employment duties in relation to a Practitioner require you to access PharmaNet (and PharmaNet\n Data) to\n support the Practitioner’s delivery of Direct Patient Care;\n
    2. \n
    3. \n you are directly supervised by a Practitioner who has been granted access to PharmaNet by the Province;\n and\n
    4. \n
    5. \n all information provided by you in connection with your application for PharmaNet access, including all\n information submitted through PRIME, is true and correct.\n
    6. \n
    \n\n
  2. \n
  3. \n\n

    \n Definitions\n

    \n\n

    \n In these terms, capitalized terms will have the following meanings:\n

    \n\n
      \n
    • \n “Direct Patient Care” means, for the purposes of this Agreement, the provision of\n health\n services to an individual to whom a Practitioner provides direct patient care in the context of their\n Practice.\n
    • \n
    • \n “PharmaCare Newsletter” means the PharmaCare newsletter published by the Province on\n the\n following website (or such other website as may be specified by the Province from time to time for this\n purpose):\n\n

      \n\n www.gov.bc.ca/pharmacarenewsletter\n
    • \n
    • \n “PharmaNet” means PharmaNet as continued under section 2 of the Information Management\n Regulation.\n
    • \n
    • \n “PharmaNet Data” includes any record or information contained in PharmaNet and any\n record or\n information in the custody, control or possession of you or a Practitioner that was obtained through\n access to\n PharmaNet by anyone.\n
    • \n
    • \n “Practice” means a Practitioner’s practice of their health profession.\n
    • \n
    • \n “Practitioner” means a health professional regulated under the Health Professions Act\n who\n supervises your access and use of PharmaNet and who has been granted access to PharmaNet by the\n Province.\n
    • \n
    • \n “PRIME” means the online service provided by the Province that allows users to apply\n for, and\n manage, their access to PharmaNet, and through which users are granted access by the Province.\n
    • \n
    • \n “Province” means Her Majesty the Queen in Right of British Columbia, as represented by\n the\n Minister of Health.\n
    • \n
    \n\n
  4. \n
  5. \n\n

    \n Terms of Access to PharmaNet\n

    \n\n

    \n You must:\n

    \n\n
      \n
    1. \n access and use PharmaNet and PharmaNet Data only to support Direct Patient Care delivered by the\n Practitioner to\n the individuals whose PharmaNet Data you are accessing;\n
    2. \n
    3. \n only access PharmaNet as permitted by law and directed by the Practitioner;\n
    4. \n
    5. \n maintain all PharmaNet Data, whether accessed on PharmaNet or otherwise disclosed to you in any manner,\n in\n strict confidence;\n
    6. \n
    7. \n maintain the security of PharmaNet, and any applications, connections, or networks used to access\n PharmaNet;\n
    8. \n
    9. \n complete all training required by the Practice’s PharmaNet software vendor and the Province before\n accessing\n PharmaNet;\n
    10. \n
    11. \n notify the Province if you have any reason to suspect that PharmaNet, or any PharmaNet Data, is or has\n been\n accessed or used inappropriately by any person.\n
    12. \n
    \n\n

    \n You must not:\n

    \n\n
      \n
    1. \n disclose PharmaNet Data for any purpose other than Direct Patient Care, except as permitted by law and\n directed\n by the Practitioner;\n
    2. \n
    3. \n permit any person to use any user IDs, passwords or credentials provided to you to access PharmaNet;\n
    4. \n
    5. \n reveal, share or compromise any user IDs, passwords or credentials for PharmaNet;\n
    6. \n
    7. \n use, or attempt to use, the user IDs, passwords or credentials of any other person to access PharmaNet;\n
    8. \n
    9. \n take any action that might compromise the integrity of PharmaNet, its information, or the provincial\n drug plan,\n such as altering information or submitting false information;\n
    10. \n
    11. \n test the security related to PharmaNet;\n
    12. \n
    13. \n attempt to access PharmaNet from any location other than the approved Practice site of the\n Practitioner, including by VPN or other remote access technology,\n unless that VPN or remote access technology has first been approved by the Province in writing for use\n at the Practice.\n You must be physically located in BC whenever you use approved VPN or other approved remote access\n technology to access PharmaNet.\n
    14. \n
    \n\n

    \n Your access to PharmaNet and use of PharmaNet Data are governed by the Pharmaceutical Services Act and you\n must\n comply with all your duties under that Act.\n

    \n\n

    \n The Province may, in writing and from time to time, set further limits and conditions in respect of\n PharmaNet,\n either for you or for the Practitioner(s), and that you must comply with any such further limits and\n conditions.\n

    \n\n
  6. \n
  7. \n\n

    \n How to Notify the Province\n

    \n\n

    \n Notice to the Province may be sent in writing to:\n

    \n\n
    \n Director, Information and PharmaNet Development
    \n Ministry of Health
    \n PO Box 9652, STN PROV GOVT
    \n Victoria, BC V8W 9P4
    \n\n
    \n\n PRIMESupport@gov.bc.ca\n
    \n\n
  8. \n
  9. \n\n

    \n Province may modify these terms\n

    \n\n

    \n The Province may amend these terms, including this section, at any time in its sole discretion:\n

    \n\n
      \n
    1. \n by written notice to you, in which case the amendment will become effective upon the later of (A) the\n date\n notice of the amendment is first delivered to you, or (B) the effective date of the amendment specified\n by the\n Province, if any; or\n
    2. \n
    3. \n by publishing notice of any such amendment in the PharmaCare Newsletter, in which case the notice will\n specify\n the effective date of the amendment, which date will be at least thirty (30) days after the date that\n the\n PharmaCare Newsletter containing the notice is first published.\n
    4. \n
    \n\n

    \n If you do not agree with any amendment for which notice has been provided by the Province in accordance with\n (i)\n or (ii) above, you must promptly (and in any event before the effective date) cease all access or use of\n PharmaNet.\n

    \n\n

    \n Any written notice to you under (i) above will be in writing and delivered by the Province to you using any\n of the\n contact mechanisms identified by you in PRIME, including by mail to a specified postal address, email to a\n specified email address or text message to a specified cell phone number. You may be required to click a URL\n link\n or log into PRIME to receive the contents of any such notice.\n

    \n\n
  10. \n {$lcPlaceholder}\n
  11. \n\n

    \n Governing Law\n

    \n\n

    \n These terms will be governed by and will be construed and interpreted in accordance with the laws of British\n Columbia and the laws of Canada applicable therein.\n

    \n\n

    \n Unless otherwise specified, a reference to a statute or regulation by name means the statute or regulation\n of\n British Columbia of that name, as amended or replaced from time to time, and includes any enactment made\n under the\n authority of that statute or regulation.\n

    \n\n
  12. \n
\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 6, + AgreementType = 2, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2020, 5, 7, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Text = "

PHARMANET REGULATED USER TERMS OF ACCESS: TEST OF INSERTION OF INDIVIDUAL L&C COPY

\n\n

\n By enrolling for PharmaNet access, you agree to the following terms (the “Agreement”). Please read them carefully.\n

\n\n
    \n
  1. \n\n

    \n BACKGROUND\n

    \n\n

    \n The Province owns and is responsible for the operation of PharmaNet, the province-wide network that links B.C.\n pharmacies to a central data system. Every prescription dispensed in community pharmacies in B.C. is entered into\n PharmaNet.\n

    \n\n

    \n The purpose of providing you, and the On-Behalf-of Users whom you have authorized, with access to PharmaNet is to\n enhance patient care by providing timely and relevant information to persons involved in the provision of direct\n patient care.\n

    \n\n

    \n PharmaNet contains highly sensitive confidential information, including Personal Information and the proprietary\n and confidential information of third-party licensors to the Province, and it is in the public interest to ensure\n that appropriate measures are in place to protect the confidentiality of all such information. All access to and\n use of PharmaNet and PharmaNet Data is subject to the Act and Privacy Laws.\n

    \n\n
  2. \n
  3. \n\n

    \n INTERPRETATION\n

    \n\n
      \n
    1. \n\n

      \n Definitions. Unless otherwise provided in this Agreement, capitalized terms will have the\n meanings given below:\n

      \n\n
        \n
      • \n “Act” means the Pharmaceutical Services Act.\n
      • \n
      • \n “Approved Practice Site” means the physical site at which you provide Direct Patient Care\n and which is approved by the Province for PharmaNet access.\n For greater certainty, “Approved Practice Site” does not include a location from which remote access to PharmaNet takes place;\n
      • \n
      • \n “Approved SSO” means a software support organization approved by the Province that provides\n you with the information technology software and/or services through which you and On-Behalf-of Users access\n PharmaNet.\n
      • \n
      • \n\n

        \n “Conformance Standards” means the following documents published by the Province, as\n amended from time to time:\n

        \n\n
          \n
        1. \n PharmaNet Professional and Software Conformance Standards; and\n
        2. \n
        3. \n Office of the Chief Information Officer: “Submission for Technical Security Standard and High Level\n Architecture for Wireless Local Area Network Connectivity”.\n
        4. \n
        \n\n
      • \n
      • \n “Direct Patient Care” means, for the purposes of this Agreement, the provision of health\n services to an individual to whom you provide direct patient care in the context of your Practice.\n
      • \n
      • \n “Information Management Regulation” means the Information Management Regulation, B.C. Reg.\n 74/2015.\n
      • \n
      • \n “On-Behalf-of User” means a member of your staff who (i) requires access to PharmaNet to\n carry out duties in relation to your Practice; (ii) is authorized by you to access PharmaNet on your behalf;\n and (iii) has been granted access to PharmaNet by the Province.\n
      • \n
      • \n “Personal Information” means all recorded information that is about an identifiable\n individual or is defined as, or deemed to be, “personal information” or “personal health information”\n pursuant to any Privacy Laws.\n
      • \n
      • \n “PharmaCare Newsletter” means the PharmaCare newsletter published by the Province on the\n following website (or such other website as may be specified by the Province from time to time for this\n purpose):\n\n

        \n\n www.gov.bc.ca/pharmacarenewsletter\n
      • \n
      • \n “PharmaNet” means PharmaNet as continued under section 2 of the Information Management\n Regulation.\n
      • \n
      • \n “PharmaNet Data” includes any record or information contained in PharmaNet and any record\n or information in the custody, control or possession of you or an On-Behalf-of User that was obtained\n through your or an On-Behalf-of User’s access to PharmaNet.\n
      • \n
      • \n “Practice” means your practice of the health profession regulated under the Health\n Professions Act, or your practice as an enrolled device provider under the\n Provider Regulation, B.C. Reg.222/2014, as identified by you through PRIME.\n
      • \n
      • \n “PRIME” means the online service provided by the Province that allows users to apply for,\n and manage, their access to PharmaNet, and through which users are granted access by the Province.\n
      • \n
      • \n “Privacy Laws” means the Act, the\n Freedom of Information and Protection of Privacy Act,\n the Personal Information Protection Act, and any other statutory or legal obligations of privacy\n owed by you or the Province, whether arising under statute, by contract or at common law.\n
      • \n
      • \n “Province” means Her Majesty the Queen in Right of British Columbia, as represented by the\n Minister of Health.\n
      • \n
      • \n “Professional College” is the regulatory body governing your Practice.\n
      • \n
      • \n\n

        \n “Unauthorized Person” means any person other than:\n

        \n\n
          \n
        1. \n you,\n
        2. \n
        3. \n an On-Behalf-of User, or\n
        4. \n
        5. \n a representative of an Approved SSO that is accessing PharmaNet for technical support purposes in\n accordance with section 6 of the Information Management Regulation.\n
        6. \n
        \n\n
      • \n
      \n\n
    2. \n
    3. \n Reference to Enactments. Unless otherwise specified, a reference to a statute or regulation by\n name means the statute or regulation of British Columbia of that name, as amended or replaced from time to time,\n and includes any enactment made under the authority of that statute or regulation.\n
    4. \n
    5. \n\n

      \n Conflicting Provisions. In the event of a conflict among provisions of this Agreement:\n

      \n\n
        \n
      1. \n a provision in the body of this Agreement will prevail over any conflicting provision in any further\n limits or conditions communicated to you in writing by the Province, unless the conflicting provision\n expressly states otherwise; and\n
      2. \n
      3. \n a provision referred to in (i) above will prevail over any conflicting provision in the Conformance\n Standards.\n
      4. \n
      \n\n
    6. \n
    \n\n
  4. \n
  5. \n\n

    \n APPLICATION OF LEGISLATION\n

    \n\n

    \n You will strictly comply with, and you will ensure that On-Behalf-of Users strictly comply with, the Act and all\n Privacy Laws applicable to PharmaNet and PharmaNet Data.\n

    \n\n
  6. \n
  7. \n\n

    \n NOTICE THAT SPECIFIC PROVISIONS OF THE ACT APPLY DIRECTLY TO YOU\n

    \n\n

    \n You acknowledge that:\n

    \n\n
      \n
    1. \n PharmaNet Data accessed by you or an On-Behalf-of User pursuant to this Agreement is disclosed to you by the\n Province under the authority of the Act;\n
    2. \n
    3. \n specific provisions of the Act, including the Information Management Regulation and sections 24, 25 and\n 29 of the Act, apply directly to you and to On-Behalf-of Users as a result; and\n
    4. \n
    5. \n this Agreement documents limits and conditions, set by the minister in writing, that the Act requires you to\n comply with.\n
    6. \n
    \n\n
  8. \n
  9. \n\n

    \n ACCESS\n

    \n\n
      \n
    1. \n Grant of Access. The Province will provide you with access to PharmaNet subject to your\n compliance with the limits and conditions set out in section 5(b) below and otherwise in this Agreement. The\n Province may from time to time, at its discretion, amend or change the scope of your access privileges to\n PharmaNet as privacy, security, business and clinical practice requirements change. In such circumstances, the\n Province will use reasonable efforts to notify you of such changes.\n
    2. \n
    3. \n\n

      \n Limits and Conditions of Access. The following limits and conditions apply to your access to\n PharmaNet:\n

      \n\n
        \n
      1. \n you will only access PharmaNet, and you will ensure that On-Behalf-of Users only access PharmaNet, for so\n long as you are a registrant in good standing with the Professional College and your registration permits\n you to deliver Direct Patient Care requiring access to PharmaNet;\n
      2. \n
      3. \n

        you will only access PharmaNet:

        \n\n
          \n
        • \n at the Approved Practice Site, and using only the technologies and applications approved by the\n Province; or\n
        • \n
        • \n using a VPN or similar remote access technology, if you are physically located in British Columbia and\n remotely connected to the Approved Practice Site using a VPN or other remote access technology\n specifically approved by the Province in writing for the Approved Practice Site.\n
        • \n
        \n
      4. \n
      5. \n you must ensure that your On-Behalf-of-Users do not access PharmaNet on your behalf unless the access\n takes place at the Approved Practice Site and the access is in relation to patients for whom you will be\n providing Direct Patient Care at the Approved Practice Site requiring the access to PharmaNet;\n
      6. \n
      7. \n you must ensure that your On-Behalf-of Users do not access PharmaNet using VPN or other remote access\n technology\n
      8. \n
      9. \n you will only access PharmaNet as necessary for your provision of Direct Patient Care, and you will ensure\n that On-Behalf-of Users only access PharmaNet as necessary to support your provision of Direct Patient Care;\n
      10. \n
      11. \n you will not under any circumstances access PharmaNet, or use PharmaNet Data, for the purpose of market\n research, and you will ensure that no On-Behalf-of Users access PharmaNet, or use PharmaNet Data, for the\n purpose of market research;\n
      12. \n
      13. \n subject to section 6(b) of this Agreement, you will not use PharmaNet Data, and you will ensure that\n On-Behalf-of Users do not use PharmaNet Data, for any purpose other than your provision of Direct Patient\n Care, including for the purposes of quality improvement, evaluation, health care planning, surveillance,\n research or other secondary uses;\n
      14. \n
      15. \n you will not permit any Unauthorized Person to access PharmaNet, and you will take all reasonable measures\n to ensure that no Unauthorized Person can access PharmaNet;\n
      16. \n
      17. \n you will complete any training program(s) that your Approved SSO makes available to you in relation to\n PharmaNet, and you will ensure that all On-Behalf-of Users complete such training;\n
      18. \n
      19. \n you will immediately notify the Province when you or an On-Behalf-of User no longer require access to\n PharmaNet, including where the On-Behalf-of User ceases to be one of your staff or takes a leave of absence\n from your staff, or where the On-Behalf-of User’s access-related duties in relation to the Practice have\n changed;\n
      20. \n
      21. \n you will comply with, and you will ensure that On-Behalf-of Users comply with, any additional limits or\n conditions applicable to you, as may be communicated to you by the Province in writing;\n
      22. \n
      23. \n you represent and warrant that all information provided by you in connection with your application for\n PharmaNet access, including through PRIME, is true and correct.\n
      24. \n
      \n\n
    4. \n
    5. \n Responsibility for On-Behalf-of Users. You agree that you are responsible under this Agreement\n for all activities undertaken by On-Behalf-of Users in relation to their access to PharmaNet and use of\n PharmaNet Data.\n
    6. \n
    7. \n\n

      \n Privacy and Security Measures. You are responsible for taking all reasonable measures to\n safeguard Personal Information, including any Personal Information in the PharmaNet Data while it is in the\n custody, control or possession of yourself or an On-Behalf-of User. In particular, you will:\n

      \n\n
        \n
      1. \n take all reasonable steps to ensure the physical security of Personal Information, generally and as\n required by Privacy Laws;\n
      2. \n
      3. \n secure all workstations and printers in a protected area in the Practice to prevent viewing of PharmaNet\n Data by Unauthorized Persons;\n
      4. \n
      5. \n ensure separate access credential (such as user name and password) for each On-Behalf-of User, and prohibit\n sharing or other multiple use of your access credential, or an On-Behalf-of User’s access credential, for\n access to PharmaNet;\n
      6. \n
      7. \n secure any workstations used to access PharmaNet and all devices, codes or passwords that enable access to\n PharmaNet by yourself or any On-Behalf-of User;\n
      8. \n
      9. \n take such other privacy and security measures as the Province may reasonably require from time-to-time.\n
      10. \n
      \n\n
    8. \n
    9. \n Conformance Standards. You will comply with, and will ensure On-Behalf-of\n Users comply with, the rules specified in the Conformance Standards when accessing and recording information in\n PharmaNet.\n
    10. \n
    \n\n
  10. \n
  11. \n\n

    \n DISCLOSURE, STORAGE, AND ACCESS REQUESTS\n

    \n\n
      \n
    1. \n Retention of PharmaNet Data. You will not store or retain PharmaNet Data in any paper files or\n any electronic system, unless such storage or retention is required for record keeping in accordance with\n Professional College requirements and in connection with your provision of Direct Patient Care and otherwise is\n in compliance with the Conformance Standards. You will not modify any records retained in accordance with this\n section other than as may be expressly authorized in the Conformance Standards. For clarity, you may annotate a\n discrete record provided that the discrete record is not itself modified other than as expressly authorized in\n the Conformance Standards.\n
    2. \n
    3. \n Use of Retained Records. You may use any records retained by you in accordance with section\n 6(a) of this Agreement for a purpose authorized under section 24(1) of the Act, including for the purpose of\n monitoring your own Practice.\n
    4. \n
    5. \n Disclosure to Third Parties. You will not, and will ensure that On-Behalf-of Users do not,\n disclose PharmaNet Data to any Unauthorized Person, unless disclosure is required for Direct Patient Care or is\n otherwise authorized under section 24(1) of the Act.\n
    6. \n
    7. \n No Disclosure for Market Research. You will not, and will ensure that On-Behalf-of Users do\n not, disclose PharmaNet Data for the purpose of market research.\n
    8. \n
    9. \n Responding to Patient Access Requests. Aside from any records retained by you in accordance\n with section 6(a) of this Agreement, you will not provide to patients any copies of records containing PharmaNet\n Data or “print outs” produced directly from PharmaNet, and will refer any requests for access to such records or\n “print outs” to the Province.\n
    10. \n
    11. \n Responding to Requests to Correct a Record contained in PharmaNet. If you receive a request for\n correction of any record or information contained in PharmaNet, you will refer the request to the Province.\n
    12. \n
    13. \n Legal Demands for Records Contained in PharmaNet. You will immediately notify the Province if\n you receive any order, demand or request compelling, or threatening to compel, disclosure of records contained\n in PharmaNet. You will cooperate and consult with the Province in responding to any such demands. For greater\n certainty, the foregoing requires that you notify the Province only with respect to any access requests or\n demands for records contained in PharmaNet, and not records retained by you in accordance with section 6(a) of\n this Agreement.\n
    14. \n
    \n\n
  12. \n
  13. \n\n

    \n ACCURACY\n

    \n\n

    \n You will make reasonable efforts to ensure that any Personal Information recorded by you or an On-Behalf-of User\n in PharmaNet is accurate, complete and up to date. In the event that you become aware of a material inaccuracy or\n error in such information, you will take reasonable steps to investigate the inaccuracy or error, correct it if\n necessary, and notify the Province of the inaccuracy or error and any steps taken.\n

    \n\n
  14. \n
  15. \n\n

    \n INVESTIGATIONS, AUDITS, AND REPORTING\n

    \n\n
      \n
    1. \n Audits and Investigations. You will cooperate with any audits or investigations conducted by\n the Province regarding your, or any On-Behalf-of User’s, compliance with the Act, Privacy Laws and this\n Agreement, including providing access upon request to your facilities, data management systems, books, records\n and personnel for the purposes of such audit or investigation.\n
    2. \n
    3. \n Reports to College or Privacy Commissioner. You acknowledge and agree that the Province may\n report any material breach of this Agreement to your Professional College or to the Information and Privacy\n Commissioner of British Columbia.\n
    4. \n
    \n\n
  16. \n
  17. \n\n

    \n NOTICE OF NON COMPLIANCE AND DUTY TO INVESTIGATE\n

    \n\n
      \n
    1. \n Duty to Investigate. You will investigate suspected breaches of the terms of this Agreement,\n and will take all reasonable steps to prevent recurrences of any such breaches, including taking any steps\n necessary to cooperate with the Province in ensuring the suspension or termination of an On-Behalf-of User’s\n access rights.\n
    2. \n
    3. \n\n

      \n Non Compliance. You will promptly notify the Province, and provide particulars, if:\n

      \n\n
        \n
      1. \n you or an On-Behalf-of User do not comply, or you anticipate that you or a On-Behalf-of User will be unable\n to comply with the terms of this Agreement in any respect, or\n
      2. \n
      3. \n you have knowledge of any circumstances, incidents or events which have or may jeopardize the security,\n confidentiality, or integrity of PharmaNet, including any unauthorized attempt, by any person, to access\n PharmaNet.\n
      4. \n
      \n\n
    4. \n
    \n\n
  18. \n
  19. \n\n

    \n TERM OF AGREEMENT, SUSPENSION & TERMINATION\n

    \n\n
      \n
    1. \n Term. The term of this Agreement begins on the date you are granted access to PharmaNet by the\n Province and will continue until the date this Agreement is terminated under paragraph (b), (c), (d) or (e)\n below.\n
    2. \n
    3. \n Termination for Any Reason. You may terminate this Agreement at any time on written notice to\n the Province.\n
    4. \n
    5. \n Suspension or Termination of PharmaNet access. If the Province suspends or terminates your\n right, or an On-Behalf-of User’s right, to access PharmaNet under the\n Information Management Regulation, the Province may also terminate this Agreement at any time\n thereafter upon written notice to you.\n
    6. \n
    7. \n Termination for Breach. Notwithstanding paragraph (c) above, the Province may terminate this\n Agreement, and any or all access to PharmaNet by you or an On-Behalf-of User, immediately upon notice to you if\n you or an On-Behalf-of User fail to comply with any provision of this Agreement.\n
    8. \n
    9. \n Termination by operation of the Information Management Regulation. This Agreement will\n terminate automatically if your access to PharmaNet ends by operation of section 18 of the\n Information Management Regulation.\n
    10. \n
    11. \n Suspension of Account for Inactivity. As a security precaution, the Province may suspend your\n account or an On-Behalf-of User’s account after a period of inactivity, in accordance with the Province’s\n policies. Please contact the Province immediately if your account has been suspended for inactivity but you\n still require access to PharmaNet.\n
    12. \n
    \n\n
  20. \n
  21. \n\n

    \n DISCLAIMER OF WARRANTY, LIMITATION OF LIABILITY AND INDEMNITY\n

    \n\n
      \n
    1. \n Information Provided As Is. You acknowledge and agree that any use of PharmaNet and PharmaNet\n Data is solely at your own risk. All such access and information is provided on an “as is” and “as available”\n basis without warranty or condition of any kind. The Province does not warrant the accuracy, completeness or\n reliability of the PharmaNet Data or the availability of PharmaNet, or that access to or the operation of\n PharmaNet will function without error, failure or interruption.\n
    2. \n
    3. \n You are Responsible. You are responsible for verifying the accuracy of information disclosed to\n you as a result of your access to PharmaNet or otherwise pursuant to this Agreement before relying or acting\n upon such information. The clinical or other information disclosed to you or an On-Behalf-of User pursuant to\n this Agreement is in no way intended to be a substitute for professional judgment.\n
    4. \n
    5. \n The Province Not Liable for Loss. No action may be brought by any person against the Province\n for any loss or damage of any kind caused by any reason or purpose related to reliance on PharmaNet or PharmaNet\n Data.\n
    6. \n
    7. \n You Must Indemnify the Province if You Cause a Loss or Claim. You agree to indemnify and save\n harmless the Province, and the Province’s employees and agents (each an \"Indemnified Person\")\n from any losses, claims, damages, actions, causes of action, costs and expenses that an Indemnified Person may\n sustain, incur, suffer or be put to at any time, either before or after this Agreement ends, which are based\n upon, arise out of or occur directly or indirectly by reason of any act or omission by you, or by any\n On-Behalf-of User, in connection with this Agreement.\n
    8. \n
    \n\n
  22. \n
  23. \n\n

    \n NOTICE\n

    \n\n
      \n
    1. \n\n

      \n Notice to Province. Except where this Agreement expressly provides for another method of\n delivery, any notice to be given by you to the Province that is contemplated by this Agreement, to be\n effective, must be in writing and emailed or mailed to:\n

      \n\n
      \n Director, Information and PharmaNet Development
      \n Ministry of Health
      \n PO Box 9652, STN PROV GOVT
      \n Victoria, BC V8W 9P4
      \n\n
      \n\n PRIMESupport@gov.bc.ca\n
      \n\n
    2. \n
    3. \n Notice to You. Any notice to you to be delivered under the terms of this Agreement will be in\n writing and delivered by the Province to you using any of the contact mechanisms identified by you in PRIME,\n including by mail to a specified postal address, email to a specified email address or text message to the\n specified cell phone number. You may be required to click a URL link or log into PRIME to receive the content of\n any such notice.\n
    4. \n
    5. \n Deemed receipt. Any written communication from a party, if personally delivered or sent\n electronically, will be deemed to have been received 24 hours after the time the notice was sent, or, if sent by\n mail, will be deemed to have been received 3 days (excluding Saturdays, Sundays and statutory holidays) after\n the date the notice was sent.\n
    6. \n
    7. \n Substitute contact information. You may notify the Province of a substitute contact mechanism\n by updating your contact information in PRIME.\n
    8. \n
    \n\n
  24. \n
  25. \n\n

    \n GENERAL\n

    \n\n
      \n
    1. \n\n

      \n Severability. Each provision in this Agreement constitutes a separate covenant and is\n severable from any other covenant, and if any of them are held by a court, or other decision-maker, to be\n invalid, this Agreement will be interpreted as if such provisions were not included.\n

      \n\n
    2. \n
    3. \n\n

      \n Survival. Sections 3, 4, 5(b)(vi) (vii), 5(c), 5(d), 6(a)(b)(c)(d), 8, 9, 11, and any other\n provision of this Agreement that expressly or by its nature continues after termination, shall survive\n termination of this Agreement.\n

      \n\n
    4. \n
    5. \n\n

      \n Governing Law. This Agreement will be governed by and will be construed and interpreted in\n accordance with the laws of British Columbia and the laws of Canada applicable therein.\n

      \n\n
    6. \n
    7. \n\n

      \n Assignment Restricted. Your rights and obligations under this Agreement may not be assigned\n without the prior written approval of the Province.\n

      \n\n
    8. \n
    9. \n\n

      \n Waiver. The failure of the Province at any time to insist on performance of any provision of\n this Agreement by you is not a waiver of its right subsequently to insist on performance of that or any other\n provision of this Agreement.\n

      \n\n
    10. \n
    11. \n\n

      \n Province may modify this Agreement. The Province may amend this Agreement, including this\n section, at any time in its sole discretion:\n

      \n\n
        \n
      1. \n by written notice to you, in which case the amendment will become effective upon the later of (A) the\n date notice of the amendment is first delivered to you, or (B) the effective date of the amendment specified\n by the Province, if any; or\n
      2. \n
      3. \n by publishing notice of any such amendment in the PharmaCare Newsletter, in which case the notice will\n specify the effective date of the amendment, which date will be at least 30 (thirty) days after the date\n that the PharmaCare Newsletter containing the notice is first published.\n
      4. \n
      \n\n

      \n If you or an On-Behalf-of User access or use PharmaNet after the effective date of an amendment described in\n (i) or (ii) above, you will be deemed to have accepted the corresponding amendment, and this Agreement will be\n deemed to have been so amended as of the effective date. If you do not agree with any amendment for which\n notice has been provided by the Province in accordance with (i) or (ii) above, you must promptly (and in any\n event before the effective date) cease all access or use of PharmaNet by yourself and all On-Behalf-of Users,\n and take the steps necessary to terminate this Agreement in accordance with section 10.\n

      \n\n
    12. \n
    \n\n
  26. \n
\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 7, + AgreementType = 3, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2020, 5, 7, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Text = "

\n PHARMANET TERMS OF ACCESS FOR ON-BEHALF-OF USER
\n with individual limits and conditions added\n

\n\n

\n By enrolling for PharmaNet access, you agree to the following terms (the “Agreement”). Please read them carefully.\n

\n\n

\n On Behalf-of-User Access\n

\n\n
    \n
  1. \n

    \n You represent and warrant to the Province that:\n

    \n\n
      \n
    1. \n your employment duties in relation to a Practitioner require you to access PharmaNet (and PharmaNet Data) to\n support the Practitioner’s delivery of Direct Patient Care;\n
    2. \n
    3. \n you are directly supervised by a Practitioner who has been granted access to PharmaNet by the Province; and\n
    4. \n
    5. \n all information provided by you in connection with your application for PharmaNet access, including all\n information submitted through PRIME, is true and correct.\n
    6. \n
    \n\n
  2. \n
\n\n

\n Definitions\n

\n\n
    \n
  1. \n

    \n In these terms, capitalized terms will have the following meanings:\n

    \n\n
      \n
    • \n “Approved Practice Site” means the physical site at which a Practitioner provides Direct\n Patient Care and which is approved by the Province for PharmaNet access. For greater certainty, “Approved\n Practice Site” does not include a location from which remote access to PharmaNet takes place.\n
    • \n
    • \n “Direct Patient Care” means, for the purposes of this Agreement, the provision of health\n services to an individual to whom a Practitioner provides direct patient care in the context of their Practice.\n
    • \n
    • \n “PharmaCare Newsletter” means the PharmaCare newsletter published by the Province on the\n following website (or such other website as may be specified by the Province from time to time for this\n purpose):\n\n

      \n\n www.gov.bc.ca/pharmacarenewsletter\n
    • \n
    • \n “PharmaNet” means PharmaNet as continued under section 2 of the Information Management\n Regulation, B.C. Reg. 74/2015.\n
    • \n
    • \n “PharmaNet Data” includes any record or information contained in PharmaNet and any record or\n information in the custody, control or possession of you or a Practitioner that was obtained through access to\n PharmaNet by anyone.\n
    • \n
    • \n “Practice” means a Practitioner’s practice of their health profession.\n
    • \n
    • \n “Practitioner” means a health professional regulated under the Health Professions Act,\n or an enrolled device provide under the Provider Regulation B.C. Reg. 222/2014, who supervises your\n access to and use of PharmaNet and who has been granted access to PharmaNet by the Province.\n
    • \n
    • \n “PRIME” means the online service provided by the Province that allows users to apply for, and\n manage, their access to PharmaNet, and through which users are granted access by the Province.\n
    • \n
    • \n “Province” means Her Majesty the Queen in Right of British Columbia, as represented by the\n Minister of Health.\n
    • \n
    \n\n
  2. \n
  3. \n Unless otherwise specified, a reference to a statute or regulation by name means the statute or regulation of\n British Columbia of that name, as amended or replaced from time to time, and includes any enactment made under the\n authority of that statute or regulation.\n
  4. \n
\n\n

\n Terms of Access to PharmaNet\n

\n\n
    \n
  1. \n\n

    \n You must:\n

    \n\n
      \n
    1. \n access and use PharmaNet and PharmaNet Data only at the Approved Practice Site of a Practitioner;\n
    2. \n
    3. \n access and use PharmaNet and PharmaNet Data only to support Direct Patient Care delivered by a Practitioner to\n the individuals whose PharmaNet Data you are accessing, and only if the Practitioner is or will be delivering\n Direct Patient Care requiring that access to those individuals at the same Approved Practice Site at which the\n access occurs;\n
    4. \n
    5. \n only access PharmaNet as permitted by law and directed by a Practitioner;\n
    6. \n
    7. \n maintain all PharmaNet Data, whether accessed on PharmaNet or otherwise disclosed to you in any manner, in\n strict confidence;\n
    8. \n
    9. \n maintain the security of PharmaNet, and any applications, connections, or networks used to access PharmaNet;\n
    10. \n
    11. \n complete all training required by the Approved Practice Site’s PharmaNet software vendor and the Province before\n accessing PharmaNet;\n
    12. \n
    13. \n notify the Province if you have any reason to suspect that PharmaNet, or any PharmaNet Data, is or has been\n accessed or used inappropriately by any person.\n
    14. \n
    \n\n
  2. \n
  3. \n\n

    \n You must not:\n

    \n\n
      \n
    1. \n disclose PharmaNet Data for any purpose other than Direct Patient Care, except as permitted by law and\n directed by a Practitioner;\n
    2. \n
    3. \n permit any person to use any user IDs, passwords or credentials provided to you to access PharmaNet;\n
    4. \n
    5. \n reveal, share or compromise any user IDs, passwords or credentials for PharmaNet;\n
    6. \n
    7. \n use, or attempt to use, the user IDs, passwords or credentials of any other person to access PharmaNet;\n
    8. \n
    9. \n take any action that might compromise the integrity of PharmaNet, its information, or the provincial drug plan,\n such as altering information or submitting false information;\n
    10. \n
    11. \n test the security related to PharmaNet;\n
    12. \n
    13. \n attempt to access PharmaNet from any location other than the Approved Practice Site of a Practitioner,\n including by VPN or other remote access technology;\n
    14. \n
    15. \n access PharmaNet unless the access is for the purpose of supporting a Practitioner in providing Direct\n Patient Care to a patient at the same Approved Practice Site at which your access occurs.\n
    16. \n
    \n
  4. \n
\n
    \n
  1. \n Your access to PharmaNet and use of PharmaNet Data are governed by the Pharmaceutical Services Act and you\n must comply with all your duties under that Act.\n
  2. \n
  3. \n The Province may, in writing and from time to time, set further limits and conditions in respect of PharmaNet,\n either for you or for the Practitioner(s), and that you must comply with any such further limits and conditions.\n
  4. \n
\n\n

\n How to Notify the Province\n

\n\n
    \n
  1. \n\n

    \n Notice to the Province may be sent in writing to:\n

    \n\n
    \n Director, Information and PharmaNet Development
    \n Ministry of Health
    \n PO Box 9652, STN PROV GOVT
    \n Victoria, BC V8W 9P4
    \n\n
    \n\n PRIMESupport@gov.bc.ca\n
    \n\n
  2. \n
\n\n

\n Province May Modify These Terms\n

\n\n
    \n
  1. \n

    \n The Province may amend these terms, including this section, at any time in its sole discretion:\n

    \n\n
      \n
    1. \n by written notice to you, in which case the amendment will become effective upon the later of (A) the date\n notice of the amendment is first delivered to you, or (B) the effective date of the amendment specified by the\n Province, if any; or\n
    2. \n
    3. \n by publishing notice of any such amendment in the PharmaCare Newsletter, in which case the notice will specify\n the effective date of the amendment, which date will be at least thirty (30) days after the date that the\n PharmaCare Newsletter containing the notice is first published.\n
    4. \n
    \n\n

    \n If you do not agree with any amendment for which notice has been provided by the Province in accordance with (i)\n or (ii) above, you must promptly (and in any event before the effective date) cease all access or use of\n PharmaNet.\n

    \n\n

    \n Any written notice to you under (i) above will be in writing and delivered by the Province to you using any of the\n contact mechanisms identified by you in PRIME, including by mail to a specified postal address, email to a\n specified email address or text message to a specified cell phone number. You may be required to click a URL link\n or log into PRIME to receive the contents of any such notice.\n

    \n\n
  2. \n
\n\n

\n Governing Law\n

\n\n
    \n
  1. \n\n

    \n These terms will be governed by and will be construed and interpreted in accordance with the laws of British\n Columbia and the laws of Canada applicable therein.\n

    \n\n
  2. \n
\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 8, + AgreementType = 2, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2020, 6, 3, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Text = "

PHARMANET REGULATED USER TERMS OF ACCESS

\n\n

\n By enrolling for PharmaNet access, you agree to the following terms (the “Agreement”). Please read them carefully.\n

\n\n
    \n
  1. \n\n

    \n BACKGROUND\n

    \n\n

    \n The Province owns and is responsible for the operation of PharmaNet, the province-wide network that links B.C.\n pharmacies to a central data system. Every prescription dispensed in community pharmacies in B.C. is entered into\n PharmaNet.\n

    \n\n

    \n The purpose of providing you, and the On-Behalf-of Users whom you have authorized, with access to PharmaNet is to\n enhance patient care by providing timely and relevant information to persons involved in the provision of direct\n patient care.\n

    \n\n

    \n PharmaNet contains highly sensitive confidential information, including Personal Information and the proprietary\n and confidential information of third-party licensors to the Province, and it is in the public interest to ensure\n that appropriate measures are in place to protect the confidentiality of all such information. All access to and\n use of PharmaNet and PharmaNet Data is subject to the Act and Privacy Laws.\n

    \n\n
  2. \n
  3. \n\n

    \n INTERPRETATION\n

    \n\n
      \n
    1. \n\n

      \n Definitions. Unless otherwise provided in this Agreement, capitalized terms will have the\n meanings given below:\n

      \n\n
        \n
      • \n “Act” means the Pharmaceutical Services Act.\n
      • \n
      • \n “Approved Practice Site” means the physical site at which you provide Direct Patient Care\n and which is approved by the Province for PharmaNet access.\n For greater certainty, “Approved Practice Site” does not include a location from which remote access to PharmaNet takes place;\n
      • \n
      • \n “Approved SSO” means a software support organization approved by the Province that provides\n you with the information technology software and/or services through which you and On-Behalf-of Users access\n PharmaNet.\n
      • \n
      • \n\n

        \n “Conformance Standards” means the following documents published by the Province, as\n amended from time to time:\n

        \n\n
          \n
        1. \n PharmaNet Professional and Software Conformance Standards; and\n
        2. \n
        3. \n Office of the Chief Information Officer: “Submission for Technical Security Standard and High Level\n Architecture for Wireless Local Area Network Connectivity”.\n
        4. \n
        \n\n
      • \n
      • \n “Direct Patient Care” means, for the purposes of this Agreement, the provision of health\n services to an individual to whom you provide direct patient care in the context of your Practice.\n
      • \n
      • \n “Information Management Regulation” means the Information Management Regulation, B.C. Reg.\n 74/2015.\n
      • \n
      • \n “On-Behalf-of User” means a member of your staff who (i) requires access to PharmaNet to\n carry out duties in relation to your Practice; (ii) is authorized by you to access PharmaNet on your behalf;\n and (iii) has been granted access to PharmaNet by the Province.\n
      • \n
      • \n “Personal Information” means all recorded information that is about an identifiable\n individual or is defined as, or deemed to be, “personal information” or “personal health information”\n pursuant to any Privacy Laws.\n
      • \n
      • \n “PharmaCare Newsletter” means the PharmaCare newsletter published by the Province on the\n following website (or such other website as may be specified by the Province from time to time for this\n purpose):\n\n

        \n\n www.gov.bc.ca/pharmacarenewsletter\n
      • \n
      • \n “PharmaNet” means PharmaNet as continued under section 2 of the Information Management\n Regulation.\n
      • \n
      • \n “PharmaNet Data” includes any record or information contained in PharmaNet and any record\n or information in the custody, control or possession of you or an On-Behalf-of User that was obtained\n through your or an On-Behalf-of User’s access to PharmaNet.\n
      • \n
      • \n “Practice” means your practice of the health profession regulated under the Health\n Professions Act, or your practice as an enrolled device provider under the\n Provider Regulation, B.C. Reg.222/2014, as identified by you through PRIME.\n
      • \n
      • \n “PRIME” means the online service provided by the Province that allows users to apply for,\n and manage, their access to PharmaNet, and through which users are granted access by the Province.\n
      • \n
      • \n “Privacy Laws” means the Act, the\n Freedom of Information and Protection of Privacy Act,\n the Personal Information Protection Act, and any other statutory or legal obligations of privacy\n owed by you or the Province, whether arising under statute, by contract or at common law.\n
      • \n
      • \n “Province” means Her Majesty the Queen in Right of British Columbia, as represented by the\n Minister of Health.\n
      • \n
      • \n “Professional College” is the regulatory body governing your Practice.\n
      • \n
      • \n\n

        \n “Unauthorized Person” means any person other than:\n

        \n\n
          \n
        1. \n you,\n
        2. \n
        3. \n an On-Behalf-of User, or\n
        4. \n
        5. \n a representative of an Approved SSO that is accessing PharmaNet for technical support purposes in\n accordance with section 6 of the Information Management Regulation.\n
        6. \n
        \n\n
      • \n
      \n\n
    2. \n
    3. \n Reference to Enactments. Unless otherwise specified, a reference to a statute or regulation by\n name means the statute or regulation of British Columbia of that name, as amended or replaced from time to time,\n and includes any enactment made under the authority of that statute or regulation.\n
    4. \n
    5. \n\n

      \n Conflicting Provisions. In the event of a conflict among provisions of this Agreement:\n

      \n\n
        \n
      1. \n a provision in the body of this Agreement will prevail over any conflicting provision in any further\n limits or conditions communicated to you in writing by the Province, unless the conflicting provision\n expressly states otherwise; and\n
      2. \n
      3. \n a provision referred to in (i) above will prevail over any conflicting provision in the Conformance\n Standards.\n
      4. \n
      \n\n
    6. \n
    \n\n
  4. \n
  5. \n\n

    \n APPLICATION OF LEGISLATION\n

    \n\n

    \n You will strictly comply with, and you will ensure that On-Behalf-of Users strictly comply with, the Act and all\n Privacy Laws applicable to PharmaNet and PharmaNet Data.\n

    \n\n
  6. \n
  7. \n\n

    \n NOTICE THAT SPECIFIC PROVISIONS OF THE ACT APPLY DIRECTLY TO YOU\n

    \n\n

    \n You acknowledge that:\n

    \n\n
      \n
    1. \n PharmaNet Data accessed by you or an On-Behalf-of User pursuant to this Agreement is disclosed to you by the\n Province under the authority of the Act;\n
    2. \n
    3. \n specific provisions of the Act, including the Information Management Regulation and sections 24, 25 and\n 29 of the Act, apply directly to you and to On-Behalf-of Users as a result; and\n
    4. \n
    5. \n this Agreement documents limits and conditions, set by the minister in writing, that the Act requires you to\n comply with.\n
    6. \n
    \n\n
  8. \n
  9. \n\n

    \n ACCESS\n

    \n\n
      \n
    1. \n Grant of Access. The Province will provide you with access to PharmaNet subject to your\n compliance with the limits and conditions set out in section 5(b) below and otherwise in this Agreement. The\n Province may from time to time, at its discretion, amend or change the scope of your access privileges to\n PharmaNet as privacy, security, business and clinical practice requirements change. In such circumstances, the\n Province will use reasonable efforts to notify you of such changes.\n
    2. \n
    3. \n\n

      \n Limits and Conditions of Access. The following limits and conditions apply to your access to\n PharmaNet:\n

      \n\n
        \n
      1. \n you will only access PharmaNet, and you will ensure that On-Behalf-of Users only access PharmaNet, for so\n long as you are a registrant in good standing with the Professional College and your registration permits\n you to deliver Direct Patient Care requiring access to PharmaNet;\n
      2. \n
      3. \n

        you will only access PharmaNet:

        \n\n
          \n
        • \n at the Approved Practice Site, and using only the technologies and applications approved by the\n Province; or\n
        • \n
        • \n using a VPN or similar remote access technology, if you are physically located in British Columbia and\n remotely connected to the Approved Practice Site using a VPN or other remote access technology\n specifically approved by the Province in writing for the Approved Practice Site.\n
        • \n
        \n
      4. \n
      5. \n you must ensure that your On-Behalf-of-Users do not access PharmaNet on your behalf unless the access\n takes place at the Approved Practice Site and the access is in relation to patients for whom you will be\n providing Direct Patient Care at the Approved Practice Site requiring the access to PharmaNet;\n
      6. \n
      7. \n you must ensure that your On-Behalf-of Users do not access PharmaNet using VPN or other remote access\n technology\n
      8. \n
      9. \n you will only access PharmaNet as necessary for your provision of Direct Patient Care, and you will ensure\n that On-Behalf-of Users only access PharmaNet as necessary to support your provision of Direct Patient Care;\n
      10. \n
      11. \n you will not under any circumstances access PharmaNet, or use PharmaNet Data, for the purpose of market\n research, and you will ensure that no On-Behalf-of Users access PharmaNet, or use PharmaNet Data, for the\n purpose of market research;\n
      12. \n
      13. \n subject to section 6(b) of this Agreement, you will not use PharmaNet Data, and you will ensure that\n On-Behalf-of Users do not use PharmaNet Data, for any purpose other than your provision of Direct Patient\n Care, including for the purposes of quality improvement, evaluation, health care planning, surveillance,\n research or other secondary uses;\n
      14. \n
      15. \n you will not permit any Unauthorized Person to access PharmaNet, and you will take all reasonable measures\n to ensure that no Unauthorized Person can access PharmaNet;\n
      16. \n
      17. \n you will complete any training program(s) that your Approved SSO makes available to you in relation to\n PharmaNet, and you will ensure that all On-Behalf-of Users complete such training;\n
      18. \n
      19. \n you will immediately notify the Province when you or an On-Behalf-of User no longer require access to\n PharmaNet, including where the On-Behalf-of User ceases to be one of your staff or takes a leave of absence\n from your staff, or where the On-Behalf-of User’s access-related duties in relation to the Practice have\n changed;\n
      20. \n
      21. \n you will comply with, and you will ensure that On-Behalf-of Users comply with, any additional limits or\n conditions applicable to you, as may be communicated to you by the Province in writing;\n
      22. \n
      23. \n you represent and warrant that all information provided by you in connection with your application for\n PharmaNet access, including through PRIME, is true and correct.\n
      24. \n
      \n\n
    4. \n
    5. \n Responsibility for On-Behalf-of Users. You agree that you are responsible under this Agreement\n for all activities undertaken by On-Behalf-of Users in relation to their access to PharmaNet and use of\n PharmaNet Data.\n
    6. \n
    7. \n\n

      \n Privacy and Security Measures. You are responsible for taking all reasonable measures to\n safeguard Personal Information, including any Personal Information in the PharmaNet Data while it is in the\n custody, control or possession of yourself or an On-Behalf-of User. In particular, you will:\n

      \n\n
        \n
      1. \n take all reasonable steps to ensure the physical security of Personal Information, generally and as\n required by Privacy Laws;\n
      2. \n
      3. \n secure all workstations and printers in a protected area in the Practice to prevent viewing of PharmaNet\n Data by Unauthorized Persons;\n
      4. \n
      5. \n ensure separate access credential (such as user name and password) for each On-Behalf-of User, and prohibit\n sharing or other multiple use of your access credential, or an On-Behalf-of User’s access credential, for\n access to PharmaNet;\n
      6. \n
      7. \n secure any workstations used to access PharmaNet and all devices, codes or passwords that enable access to\n PharmaNet by yourself or any On-Behalf-of User;\n
      8. \n
      9. \n take such other privacy and security measures as the Province may reasonably require from time-to-time.\n
      10. \n
      \n\n
    8. \n
    9. \n Conformance Standards. You will comply with, and will ensure On-Behalf-of\n Users comply with, the rules specified in the Conformance Standards when accessing and recording information in\n PharmaNet.\n
    10. \n
    \n\n
  10. \n
  11. \n\n

    \n DISCLOSURE, STORAGE, AND ACCESS REQUESTS\n

    \n\n
      \n
    1. \n Retention of PharmaNet Data. You will not store or retain PharmaNet Data in any paper files or\n any electronic system, unless such storage or retention is required for record keeping in accordance with\n Professional College requirements and in connection with your provision of Direct Patient Care and otherwise is\n in compliance with the Conformance Standards. You will not modify any records retained in accordance with this\n section other than as may be expressly authorized in the Conformance Standards. For clarity, you may annotate a\n discrete record provided that the discrete record is not itself modified other than as expressly authorized in\n the Conformance Standards.\n
    2. \n
    3. \n Use of Retained Records. You may use any records retained by you in accordance with section\n 6(a) of this Agreement for a purpose authorized under section 24(1) of the Act, including for the purpose of\n monitoring your own Practice.\n
    4. \n
    5. \n Disclosure to Third Parties. You will not, and will ensure that On-Behalf-of Users do not,\n disclose PharmaNet Data to any Unauthorized Person, unless disclosure is required for Direct Patient Care or is\n otherwise authorized under section 24(1) of the Act.\n
    6. \n
    7. \n No Disclosure for Market Research. You will not, and will ensure that On-Behalf-of Users do\n not, disclose PharmaNet Data for the purpose of market research.\n
    8. \n
    9. \n Responding to Patient Access Requests. Aside from any records retained by you in accordance\n with section 6(a) of this Agreement, you will not provide to patients any copies of records containing PharmaNet\n Data or “print outs” produced directly from PharmaNet, and will refer any requests for access to such records or\n “print outs” to the Province.\n
    10. \n
    11. \n Responding to Requests to Correct a Record contained in PharmaNet. If you receive a request for\n correction of any record or information contained in PharmaNet, you will refer the request to the Province.\n
    12. \n
    13. \n Legal Demands for Records Contained in PharmaNet. You will immediately notify the Province if\n you receive any order, demand or request compelling, or threatening to compel, disclosure of records contained\n in PharmaNet. You will cooperate and consult with the Province in responding to any such demands. For greater\n certainty, the foregoing requires that you notify the Province only with respect to any access requests or\n demands for records contained in PharmaNet, and not records retained by you in accordance with section 6(a) of\n this Agreement.\n
    14. \n
    \n\n
  12. \n
  13. \n\n

    \n ACCURACY\n

    \n\n

    \n You will make reasonable efforts to ensure that any Personal Information recorded by you or an On-Behalf-of User\n in PharmaNet is accurate, complete and up to date. In the event that you become aware of a material inaccuracy or\n error in such information, you will take reasonable steps to investigate the inaccuracy or error, correct it if\n necessary, and notify the Province of the inaccuracy or error and any steps taken.\n

    \n\n
  14. \n
  15. \n\n

    \n INVESTIGATIONS, AUDITS, AND REPORTING\n

    \n\n
      \n
    1. \n Audits and Investigations. You will cooperate with any audits or investigations conducted by\n the Province regarding your, or any On-Behalf-of User’s, compliance with the Act, Privacy Laws and this\n Agreement, including providing access upon request to your facilities, data management systems, books, records\n and personnel for the purposes of such audit or investigation.\n
    2. \n
    3. \n Reports to College or Privacy Commissioner. You acknowledge and agree that the Province may\n report any material breach of this Agreement to your Professional College or to the Information and Privacy\n Commissioner of British Columbia.\n
    4. \n
    \n\n
  16. \n
  17. \n\n

    \n NOTICE OF NON COMPLIANCE AND DUTY TO INVESTIGATE\n

    \n\n
      \n
    1. \n Duty to Investigate. You will investigate suspected breaches of the terms of this Agreement,\n and will take all reasonable steps to prevent recurrences of any such breaches, including taking any steps\n necessary to cooperate with the Province in ensuring the suspension or termination of an On-Behalf-of User’s\n access rights.\n
    2. \n
    3. \n\n

      \n Non Compliance. You will promptly notify the Province, and provide particulars, if:\n

      \n\n
        \n
      1. \n you or an On-Behalf-of User do not comply, or you anticipate that you or a On-Behalf-of User will be unable\n to comply with the terms of this Agreement in any respect, or\n
      2. \n
      3. \n you have knowledge of any circumstances, incidents or events which have or may jeopardize the security,\n confidentiality, or integrity of PharmaNet, including any unauthorized attempt, by any person, to access\n PharmaNet.\n
      4. \n
      \n\n
    4. \n
    \n\n
  18. \n
  19. \n\n

    \n TERM OF AGREEMENT, SUSPENSION & TERMINATION\n

    \n\n
      \n
    1. \n Term. The term of this Agreement begins on the date you are granted access to PharmaNet by the\n Province and will continue until the date this Agreement is terminated under paragraph (b), (c), (d) or (e)\n below.\n
    2. \n
    3. \n Termination for Any Reason. You may terminate this Agreement at any time on written notice to\n the Province.\n
    4. \n
    5. \n Suspension or Termination of PharmaNet access. If the Province suspends or terminates your\n right, or an On-Behalf-of User’s right, to access PharmaNet under the\n Information Management Regulation, the Province may also terminate this Agreement at any time\n thereafter upon written notice to you.\n
    6. \n
    7. \n Termination for Breach. Notwithstanding paragraph (c) above, the Province may terminate this\n Agreement, and any or all access to PharmaNet by you or an On-Behalf-of User, immediately upon notice to you if\n you or an On-Behalf-of User fail to comply with any provision of this Agreement.\n
    8. \n
    9. \n Termination by operation of the Information Management Regulation. This Agreement will\n terminate automatically if your access to PharmaNet ends by operation of section 18 of the\n Information Management Regulation.\n
    10. \n
    11. \n Suspension of Account for Inactivity. As a security precaution, the Province may suspend your\n account or an On-Behalf-of User’s account after a period of inactivity, in accordance with the Province’s\n policies. Please contact the Province immediately if your account has been suspended for inactivity but you\n still require access to PharmaNet.\n
    12. \n
    \n\n
  20. \n
  21. \n\n

    \n DISCLAIMER OF WARRANTY, LIMITATION OF LIABILITY AND INDEMNITY\n

    \n\n
      \n
    1. \n Information Provided As Is. You acknowledge and agree that any use of PharmaNet and PharmaNet\n Data is solely at your own risk. All such access and information is provided on an “as is” and “as available”\n basis without warranty or condition of any kind. The Province does not warrant the accuracy, completeness or\n reliability of the PharmaNet Data or the availability of PharmaNet, or that access to or the operation of\n PharmaNet will function without error, failure or interruption.\n
    2. \n
    3. \n You are Responsible. You are responsible for verifying the accuracy of information disclosed to\n you as a result of your access to PharmaNet or otherwise pursuant to this Agreement before relying or acting\n upon such information. The clinical or other information disclosed to you or an On-Behalf-of User pursuant to\n this Agreement is in no way intended to be a substitute for professional judgment.\n
    4. \n
    5. \n The Province Not Liable for Loss. No action may be brought by any person against the Province\n for any loss or damage of any kind caused by any reason or purpose related to reliance on PharmaNet or PharmaNet\n Data.\n
    6. \n
    7. \n You Must Indemnify the Province if You Cause a Loss or Claim. You agree to indemnify and save\n harmless the Province, and the Province’s employees and agents (each an \"Indemnified Person\")\n from any losses, claims, damages, actions, causes of action, costs and expenses that an Indemnified Person may\n sustain, incur, suffer or be put to at any time, either before or after this Agreement ends, which are based\n upon, arise out of or occur directly or indirectly by reason of any act or omission by you, or by any\n On-Behalf-of User, in connection with this Agreement.\n
    8. \n
    \n\n
  22. \n
  23. \n\n

    \n NOTICE\n

    \n\n
      \n
    1. \n\n

      \n Notice to Province. Except where this Agreement expressly provides for another method of\n delivery, any notice to be given by you to the Province that is contemplated by this Agreement, to be\n effective, must be in writing and emailed or mailed to:\n

      \n\n
      \n Director, Information and PharmaNet Development
      \n Ministry of Health
      \n PO Box 9652, STN PROV GOVT
      \n Victoria, BC V8W 9P4
      \n\n
      \n\n PRIMESupport@gov.bc.ca\n
      \n\n
    2. \n
    3. \n Notice to You. Any notice to you to be delivered under the terms of this Agreement will be in\n writing and delivered by the Province to you using any of the contact mechanisms identified by you in PRIME,\n including by mail to a specified postal address, email to a specified email address or text message to the\n specified cell phone number. You may be required to click a URL link or log into PRIME to receive the content of\n any such notice.\n
    4. \n
    5. \n Deemed receipt. Any written communication from a party, if personally delivered or sent\n electronically, will be deemed to have been received 24 hours after the time the notice was sent, or, if sent by\n mail, will be deemed to have been received 3 days (excluding Saturdays, Sundays and statutory holidays) after\n the date the notice was sent.\n
    6. \n
    7. \n Substitute contact information. You may notify the Province of a substitute contact mechanism\n by updating your contact information in PRIME.\n
    8. \n
    \n\n
  24. \n
  25. \n\n

    \n GENERAL\n

    \n\n
      \n
    1. \n\n

      \n Severability. Each provision in this Agreement constitutes a separate covenant and is\n severable from any other covenant, and if any of them are held by a court, or other decision-maker, to be\n invalid, this Agreement will be interpreted as if such provisions were not included.\n

      \n\n
    2. \n
    3. \n\n

      \n Survival. Sections 3, 4, 5(b)(vi) (vii), 5(c), 5(d), 6(a)(b)(c)(d), 8, 9, 11, and any other\n provision of this Agreement that expressly or by its nature continues after termination, shall survive\n termination of this Agreement.\n

      \n\n
    4. \n
    5. \n\n

      \n Governing Law. This Agreement will be governed by and will be construed and interpreted in\n accordance with the laws of British Columbia and the laws of Canada applicable therein.\n

      \n\n
    6. \n
    7. \n\n

      \n Assignment Restricted. Your rights and obligations under this Agreement may not be assigned\n without the prior written approval of the Province.\n

      \n\n
    8. \n
    9. \n\n

      \n Waiver. The failure of the Province at any time to insist on performance of any provision of\n this Agreement by you is not a waiver of its right subsequently to insist on performance of that or any other\n provision of this Agreement.\n

      \n\n
    10. \n
    11. \n\n

      \n Province may modify this Agreement. The Province may amend this Agreement, including this\n section, at any time in its sole discretion:\n

      \n\n
        \n
      1. \n by written notice to you, in which case the amendment will become effective upon the later of (A) the\n date notice of the amendment is first delivered to you, or (B) the effective date of the amendment specified\n by the Province, if any; or\n
      2. \n
      3. \n by publishing notice of any such amendment in the PharmaCare Newsletter, in which case the notice will\n specify the effective date of the amendment, which date will be at least 30 (thirty) days after the date\n that the PharmaCare Newsletter containing the notice is first published.\n
      4. \n
      \n\n

      \n If you or an On-Behalf-of User access or use PharmaNet after the effective date of an amendment described in\n (i) or (ii) above, you will be deemed to have accepted the corresponding amendment, and this Agreement will be\n deemed to have been so amended as of the effective date. If you do not agree with any amendment for which\n notice has been provided by the Province in accordance with (i) or (ii) above, you must promptly (and in any\n event before the effective date) cease all access or use of PharmaNet by yourself and all On-Behalf-of Users,\n and take the steps necessary to terminate this Agreement in accordance with section 10.\n

      \n\n
    12. \n
    \n\n
  26. \n
\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 9, + AgreementType = 1, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Text = "

PHARMANET COMMUNITY PHARMACIST TERMS OF ACCESS

\n\n

\n By enrolling for PharmaNet access, you agree to the following terms (the “Agreement”). Please read them carefully.\n

\n\n
    \n
  1. \n\n

    \n BACKGROUND\n

    \n\n

    \n The Province owns and is responsible for the operation of PharmaNet, the province-wide network that links B.C.\n pharmacies to a central data system. Every prescription dispensed in community pharmacies in B.C. is entered into\n PharmaNet.\n

    \n\n

    \n The purpose of providing you, and the On-Behalf-of Users whom you have authorized, with access to PharmaNet is to\n enhance patient care by providing timely and relevant information to persons involved in the provision of direct\n patient care.\n

    \n\n

    \n PharmaNet contains highly sensitive confidential information, including Personal Information and the proprietary\n and confidential information of third-party licensors to the Province, and it is in the public interest to ensure\n that appropriate measures are in place to protect the confidentiality of all such information. All access to and\n use of PharmaNet and PharmaNet Data is subject to the Act and Privacy Laws.\n

    \n\n
  2. \n
  3. \n\n

    \n INTERPRETATION\n

    \n\n
      \n
    1. \n\n

      \n Definitions. Unless otherwise provided in this Agreement, capitalized terms will have the\n meanings given below:\n

      \n\n
        \n
      • \n “Act” means the Pharmaceutical Services Act.\n
      • \n
      • \n “Approved Practice Site” means the physical site at which you provide Direct Patient Care\n and which is approved by the Province for PharmaNet access.\n For greater certainty, “Approved Practice Site” does not include a location from which remote access to PharmaNet takes place;\n
      • \n
      • \n “Approved SSO” means a software support organization approved by the Province that provides\n you with the information technology software and/or services through which you and On-Behalf-of Users access\n PharmaNet.\n
      • \n
      • \n “Claim” means a claim made under the Act for payment in respect of a benefit under the Act.\n
      • \n
      • \n\n

        \n “Conformance Standards” means the following documents published by the Province, as\n amended from time to time:\n

        \n\n
          \n
        1. \n PharmaNet Professional and Software Conformance Standards
          \n \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards\n ;\n
        2. \n
        3. \n Policy for Secure Remote Access to PharmaNet\n \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards\n ; and\n
        4. \n
        5. \n iii. Office of the Chief Information Officer: “Submission for Technical Security Standard and High Level\n Architecture for Wireless Local Area Network Connectivity”.\n
        6. \n
        \n\n
      • \n
      • \n “Device Provider” means a person enrolled under section 11 of the Act in the class of\n provider known as “device provider”.\n
      • \n
      • \n “Direct Patient Care” means, for the purposes of this Agreement, the provision of health\n services to an individual to whom you provide direct patient care in the context of your Practice.\n
      • \n
      • \n “Information Management Regulation” means the Information Management Regulation,\n B.C. Reg.\n 74/2015.\n
      • \n
      • \n “On-Behalf-of User” means a member of your staff who (i) requires access to PharmaNet to\n carry out duties in relation to your Practice; (ii) is authorized by you to access PharmaNet on your behalf;\n and (iii) has been granted access to PharmaNet by the Province.\n
      • \n
      • \n “Personal Information” means all recorded information that is about an identifiable\n individual or is defined as, or deemed to be, “personal information” or “personal health information”\n pursuant to any Privacy Laws.\n
      • \n
      • \n “PharmaCare Newsletter” means the PharmaCare newsletter published by the Province on the\n following website (or such other website as may be specified by the Province from time to time for this\n purpose):\n\n

        \n\n www.gov.bc.ca/pharmacarenewsletter\n
      • \n
      • \n “PharmaNet” means PharmaNet as continued under section 2 of the Information Management\n Regulation.\n
      • \n
      • \n “PharmaNet Data” includes any record or information contained in PharmaNet and any record\n or information in the custody, control or possession of you or an On-Behalf-of User that was obtained\n through your or an On-Behalf-of User’s access to PharmaNet.\n
      • \n
      • \n “Practice” means your practice of the health profession regulated under the Health\n Professions Act, or your practice as a Device Provider, as identified by you through PRIME\n or another mechanism provided by the Province.\n
      • \n
      • \n “PRIME” means the online service provided by the Province that allows users to apply for,\n and manage, their access to PharmaNet, and through which users are granted access by the Province.\n
      • \n
      • \n “Privacy Laws” means the Act, the\n Freedom of Information and Protection of Privacy Act, the Personal Information Protection Act, and\n any other statutory or legal obligations of privacy owed by you or the Province, whether arising under\n statute, by contract or at common law.\n
      • \n
      • \n “Provider” means a person enrolled under section 11 of the Act for the purpose of receiving\n payment for providing benefits.\n
      • \n
      • \n “Provider Regulation” means the Provider Regulation, B.C. Reg. 222/2014.\n
      • \n
      • \n “Province” means Her Majesty the Queen in Right of British Columbia, as represented by the\n Minister of Health.\n
      • \n
      • \n “Professional College” is the regulatory body governing your Practice.\n
      • \n
      • \n

        \n “Unauthorized Person” means any person other than:\n

        \n\n
          \n
        1. \n you,\n
        2. \n
        3. \n an On-Behalf-of User, or\n
        4. \n
        5. \n a representative of an Approved SSO that is accessing PharmaNet for technical support purposes in\n accordance with section 6 of the Information Management Regulation.\n
        6. \n
        \n\n
      • \n
      \n\n
    2. \n
    3. \n Reference to Enactments. Unless otherwise specified, a reference to a statute or regulation by\n name means the statute or regulation of British Columbia of that name, as amended or replaced from time to time,\n and includes any enactment made under the authority of that statute or regulation.\n
    4. \n
    5. \n\n

      \n Conflicting Provisions. In the event of a conflict among provisions of this Agreement:\n

      \n\n
        \n
      1. \n i. a provision in the body of this Agreement will prevail over any conflicting provision in any further\n limits or conditions communicated to you in writing by the Province, unless the conflicting provision\n expressly states otherwise; and a provision referred to in (i) above will prevail over any conflicting\n provision in the Conformance Standards.\n
      2. \n
      \n\n
    6. \n
    \n\n
  4. \n
  5. \n\n

    \n APPLICATION OF LEGISLATION\n

    \n\n

    \n You will strictly comply with, and you will ensure that On-Behalf-of Users strictly comply with, the Act, the\n Information Management Regulation and all Privacy Laws applicable to PharmaNet and PharmaNet Data.\n

    \n\n
  6. \n
  7. \n\n

    \n NOTICE THAT SPECIFIC PROVISIONS OF THE ACT APPLY DIRECTLY TO YOU\n

    \n\n

    \n You acknowledge that:\n

    \n\n
      \n
    1. \n a. PharmaNet Data accessed by you or an On-Behalf-of User pursuant to this Agreement is disclosed to you by the\n Province under the authority of the Act;\n
    2. \n
    3. \n b. specific provisions of the Act (including but not limited to sections 24, 25 and 29) and the Information\n Management Regulation apply directly to you and to On-Behalf-of Users as a result; and\n
    4. \n
    5. \n c. this Agreement documents limits and conditions, set by the minister in writing, that the Act requires you to\n comply with.\n
    6. \n
    \n\n
  8. \n
  9. \n\n

    \n ACCESS\n

    \n\n
      \n
    1. \n Grant of Access. The Province will provide you with access to PharmaNet subject to your\n compliance with the limits and conditions set out in this Agreement. The Province may from time to time, at its\n discretion, amend or change the scope of your access privileges to PharmaNet as privacy, security, business and\n clinical practice requirements change. In such circumstances, the Province will use reasonable efforts to notify\n you of such changes.\n
    2. \n
    3. \n\n

      \n Requirements for Access. The following requirements apply to your access to PharmaNet:\n

      \n\n
        \n
      1. \n you will only access PharmaNet, and you will ensure that On-Behalf-of Users only access PharmaNet, for so\n long as you are a registrant in good standing with the Professional College and your registration permits\n you to deliver Direct Patient Care requiring access to PharmaNet or, in the case of access as a Device\n Provider, for so long as you are enrolled as a Device Provider;\n
      2. \n
      3. \n

        you will only access PharmaNet:

        \n\n
          \n
        • \n at the Approved Practice Site, and using only the technologies and applications approved by the\n Province; or\n
        • \n
        • \n • using a VPN or similar remote access technology, if you are physically located in British Columbia and\n remotely connected to the Approved Practice Site using a VPN or other remote access technology\n specifically approved by the Province in writing for the Approved Practice Site.\n
        • \n
        \n
      4. \n
      5. \n you must ensure that your On-Behalf-of-Users do not access PharmaNet on your behalf unless the access\n takes place at the Approved Practice Site and the access is required in relation to patients for whom you\n will be providing Direct Patient Care at the Approved Practice Site;\n
      6. \n
      7. \n you must ensure that your On-Behalf-of Users do not access PharmaNet using VPN or other remote access\n technology;\n
      8. \n
      9. \n you will only access PharmaNet as necessary for your provision of Direct Patient Care, and you will\n ensure that On-Behalf-of Users only access PharmaNet as necessary to support your provision of Direct\n Patient Care;\n
      10. \n
      11. \n you will not submit Claims on PharmaNet other than from an Approved Practice Site in respect of which a\n person is enrolled as a Provider, and you will ensure that On-Behalf-of Users submit Claims on PharmaNet\n only from an Approved Practice Site in respect of which a person is enrolled as a Provider;\n
      12. \n
      13. \n you will not under any circumstances access PharmaNet, or use PharmaNet Data, for the purpose of market\n research, and you will ensure that no On-Behalf-of Users access PharmaNet, or use PharmaNet Data, for the\n purpose of market research;\n
      14. \n
      15. \n subject to section 6(b) of this Agreement, you will not use PharmaNet Data, and you will ensure that\n On-Behalf-of Users do not use PharmaNet Data, for any purpose other than your provision of Direct Patient\n Care, including for the purposes of quality improvement, evaluation, health care planning, surveillance,\n research or other secondary uses;\n
      16. \n
      17. \n you will not permit any Unauthorized Person to access PharmaNet, and you will take all reasonable\n measures to ensure that no Unauthorized Person can access PharmaNet;\n
      18. \n
      19. \n you will complete any training program(s) that your Approved SSO makes available to you in relation to\n PharmaNet, and you will ensure that all On-Behalf-of Users complete such training;\n
      20. \n
      21. \n you will immediately notify the Province when you or an On-Behalf-of User no longer require access to\n PharmaNet, including where the On-Behalf-of User ceases to be one of your staff or takes a leave of absence\n from your staff, or where the On-Behalf-of User’s access-related duties in relation to the Practice have\n changed;\n
      22. \n
      23. \n you will comply with, and you will ensure that On-Behalf-of Users comply with, any additional limits or\n conditions applicable to you, as may be communicated to you by the Province in writing;\n
      24. \n
      25. \n you represent and warrant that all information provided by you in connection with your application for\n PharmaNet access, including through PRIME, is true and correct.\n
      26. \n
      \n\n
    4. \n
    5. \n Responsibility for On-Behalf-of Users. You agree that you are responsible under this Agreement\n for all activities undertaken by On-Behalf-of Users in relation to their access to PharmaNet and use of\n PharmaNet Data.\n
    6. \n
    7. \n\n

      \n Privacy and Security Measures. You are responsible for taking all reasonable measures to\n safeguard Personal Information, including any Personal Information in PharmaNet Data while it is in the\n custody, control or possession of yourself or an On-Behalf-of User. In particular, you will:\n

      \n\n
        \n
      1. \n take all reasonable steps to ensure the physical security of Personal Information, generally and as\n required by Privacy Laws;\n
      2. \n
      3. \n secure all workstations and printers in a protected area in the Approved Practice Site to prevent\n viewing of PharmaNet Data by Unauthorized Persons;\n
      4. \n
      5. \n ensure separate access credential (such as user name and password) for each On-Behalf-of User, and\n prohibit sharing or other multiple use of your access credential, or an On-Behalf-of User’s access\n credential, for access to PharmaNet;\n
      6. \n
      7. \n secure any workstations used to access PharmaNet and all devices, codes or passwords that enable access\n to PharmaNet by yourself or any On-Behalf-of User;\n
      8. \n
      9. \n take such other privacy and security measures as the Province may reasonably require from time-to-time.\n
      10. \n
      \n\n
    8. \n
    9. \n Conformance Standards. You will comply with, and will ensure On-Behalf-of Users comply with,\n the rules specified in the Conformance Standards when accessing and recording information in PharmaNet.\n
    10. \n
    \n\n
  10. \n
  11. \n\n

    \n DISCLOSURE, STORAGE, AND ACCESS REQUESTS\n

    \n\n
      \n
    1. \n Retention of PharmaNet Data. You will not store or retain PharmaNet Data in any paper files or\n any electronic system, unless such storage or retention is required for record keeping in accordance with the\n Act, the Provider Regulation, and Professional College requirements and in connection with your provision of\n Direct Patient Care and otherwise is in compliance with the Conformance Standards. You will not modify any\n records retained in accordance with this section other than as may be expressly authorized in the Conformance\n Standards. For clarity, you may annotate a discrete record provided that the discrete record is not itself\n modified other than as expressly authorized in the Conformance Standards.\n
    2. \n
    3. \n Use of Retained Records. You may use any records retained by you in accordance with section\n 6(a) of this Agreement for a purpose authorized under section 24(1) of the Act, including for the purpose of\n monitoring your own Practice.\n
    4. \n
    5. \n Disclosure to Third Parties. You will not, and will ensure that On-Behalf-of Users do not,\n disclose PharmaNet Data to any Unauthorized Person, unless disclosure is required for Direct Patient Care or is\n otherwise authorized under section 24(1) of the Act.\n
    6. \n
    7. \n No Disclosure for Market Research. You will not, and will ensure that On-Behalf-of Users do\n not, disclose PharmaNet Data for the purpose of market research.\n
    8. \n
    9. \n Responding to Patient Access Requests. Aside from any records retained by you in accordance\n with section 6(a) of this Agreement, you will not provide to patients any copies of records containing PharmaNet\n Data or “print outs” produced directly from PharmaNet, and will refer any requests for access to such records or\n “print outs” to the Province.\n
    10. \n
    11. \n Responding to Requests to Correct a Record contained in PharmaNet. If you receive a request for\n correction of any record or information contained in PharmaNet, you will refer the request to the Province.\n
    12. \n
    13. \n Legal Demands for Records Contained in PharmaNet. You will immediately notify the Province if\n you receive any order, demand or request compelling, or threatening to compel, disclosure of records contained\n in PharmaNet. You will cooperate and consult with the Province in responding to any such demands. For greater\n certainty, the foregoing requires that you notify the Province only with respect to any access requests or\n demands for records contained in PharmaNet, and not records retained by you in accordance with section 6(a) of\n this Agreement.\n
    14. \n
    \n\n
  12. \n
  13. \n\n

    \n ACCURACY\n

    \n\n

    \n You will make reasonable efforts to ensure that any Personal Information recorded by you or an On-Behalf-of User\n in PharmaNet is accurate, complete and up to date. In the event that you become aware of a material inaccuracy or\n error in such information, you will take reasonable steps to investigate the inaccuracy or error, correct it if\n necessary, and notify the Province of the inaccuracy or error and any steps taken.\n

    \n\n
  14. \n
  15. \n\n

    \n INVESTIGATIONS, AUDITS, AND REPORTING\n

    \n\n
      \n
    1. \n Audits and Investigations. You will cooperate with any audits or investigations conducted by\n the Province regarding your, or any On-Behalf-of User’s, compliance with the Act, Privacy Laws and this\n Agreement, including providing access upon request to your facilities, data management systems, books, records\n and personnel for the purposes of such audit or investigation.\n
    2. \n
    3. \n Reports to College or Privacy Commissioner. You acknowledge and agree that the Province may\n report any material breach of this Agreement to your Professional College or to the Information and Privacy\n Commissioner of British Columbia.\n
    4. \n
    \n\n
  16. \n
  17. \n\n

    \n NOTICE OF NON COMPLIANCE AND DUTY TO INVESTIGATE\n

    \n\n
      \n
    1. \n Duty to Investigate. You will investigate suspected breaches of the terms of this Agreement,\n and will take all reasonable steps to prevent recurrences of any such breaches, including taking any steps\n necessary to cooperate with the Province in ensuring the suspension or termination of an On-Behalf-of User’s\n access rights.\n
    2. \n
    3. \n\n

      \n Non Compliance. You will promptly notify the Province, and provide particulars, if:\n

      \n\n
        \n
      1. \n you or an On-Behalf-of User do not comply, or you anticipate that you or a On-Behalf-of User will be unable\n to comply with the terms of this Agreement in any respect, or\n
      2. \n
      3. \n you have knowledge of any circumstances, incidents or events which have or may jeopardize the security,\n confidentiality, or integrity of PharmaNet, including any unauthorized attempt, by any person, to access\n PharmaNet.\n
      4. \n
      \n\n
    4. \n
    \n\n
  18. \n
  19. \n\n

    \n TERM OF AGREEMENT, SUSPENSION & TERMINATION\n

    \n\n
      \n
    1. \n Term. The term of this Agreement begins on the date you are granted access to PharmaNet by the\n Province and will continue until the date this Agreement is terminated under paragraph (b), (c), (d) or (e)\n below.\n
    2. \n
    3. \n Termination for Any Reason. You may terminate this Agreement at any time on written notice to\n the Province.\n
    4. \n
    5. \n Suspension or Termination of PharmaNet access. If the Province suspends or terminates your\n right, or an On-Behalf-of User’s right, to access PharmaNet under the\n Information Management Regulation, the Province may also terminate this Agreement at any time\n thereafter upon written notice to you.\n
    6. \n
    7. \n Termination for Breach. Notwithstanding paragraph (c) above, the Province may terminate this\n Agreement, and any or all access to PharmaNet by you or an On-Behalf-of User, immediately upon notice to you if\n you or an On-Behalf-of User fail to comply with any provision of this Agreement.\n
    8. \n
    9. \n Termination by operation of the Information Management Regulation. This Agreement will\n terminate automatically if your access to PharmaNet ends by operation of section 18 of the\n Information Management Regulation.\n
    10. \n
    11. \n Suspension of Account for Inactivity. As a security precaution, the Province may suspend your\n account or an On-Behalf-of User’s account after a period of inactivity, in accordance with the Province’s\n policies. Please contact the Province immediately if your account has been suspended for inactivity but you\n still require access to PharmaNet.\n
    12. \n
    \n\n
  20. \n
  21. \n\n

    \n DISCLAIMER OF WARRANTY, LIMITATION OF LIABILITY AND INDEMNITY\n

    \n\n
      \n
    1. \n Information Provided As Is. You acknowledge and agree that any use of PharmaNet and PharmaNet\n Data is solely at your own risk. All such access and information is provided on an “as is” and “as available”\n basis without warranty or condition of any kind. The Province does not warrant the accuracy, completeness or\n reliability of the PharmaNet Data or the availability of PharmaNet, or that access to or the operation of\n PharmaNet will function without error, failure or interruption.\n
    2. \n
    3. \n You are Responsible. You are responsible for verifying the accuracy of information disclosed to\n you as a result of your access to PharmaNet or otherwise pursuant to this Agreement before relying or acting\n upon such information. The clinical or other information disclosed to you or an On-Behalf-of User pursuant to\n this Agreement is in no way intended to be a substitute for professional judgment.\n
    4. \n
    5. \n The Province Not Liable for Loss. No action may be brought by any person against the Province\n for any loss or damage of any kind caused by any reason or purpose related to reliance on PharmaNet or PharmaNet\n Data.\n
    6. \n
    7. \n You Must Indemnify the Province if You Cause a Loss or Claim. You agree to indemnify and save\n harmless the Province, and the Province’s employees and agents (each an \"Indemnified Person\")\n from any losses, claims, damages, actions, causes of action, costs and expenses that an Indemnified Person may\n sustain, incur, suffer or be put to at any time, either before or after this Agreement ends, which are based\n upon, arise out of or occur directly or indirectly by reason of any act or omission by you, or by any\n On-Behalf-of User, in connection with this Agreement or in connection with access to PharmaNet by you or an\n On-Behalf-of User.\n
    8. \n
    \n\n
  22. \n
  23. \n\n

    \n NOTICE\n

    \n\n
      \n
    1. \n\n

      \n Notice to Province. Except where this Agreement expressly provides for another method of\n delivery, any notice to be given by you to the Province that is contemplated by this Agreement, to be\n effective, must be in writing and emailed or mailed to:\n

      \n\n
      \n Director, Information and PharmaNet Innovation
      \n Ministry of Health
      \n PO Box 9652, STN PROV GOVT
      \n Victoria, BC V8W 9P4
      \n\n
      \n\n PRIMESupport@gov.bc.ca\n
      \n\n
    2. \n
    3. \n Notice to You. Any notice to you to be delivered under the terms of this Agreement will be in\n writing and delivered by the Province to you using any of the contact mechanisms identified by you in PRIME,\n including by mail to a specified postal address, email to a specified email address or text message to the\n specified cell phone number. You may be required to click a URL link or log into PRIME to receive the content of\n any such notice.\n
    4. \n
    5. \n Deemed receipt. Any written communication from a party, if personally delivered or sent\n electronically, will be deemed to have been received 24 hours after the time the notice was sent, or, if sent by\n mail, will be deemed to have been received 3 days (excluding Saturdays, Sundays and statutory holidays) after\n the date the notice was sent.\n
    6. \n
    7. \n Substitute contact information. You may notify the Province of a substitute contact mechanism\n by updating your contact information in PRIME.\n
    8. \n
    \n\n
  24. \n
  25. \n\n

    \n GENERAL\n

    \n\n
      \n
    1. \n\n

      \n Severability. Each provision in this Agreement constitutes a separate covenant and is\n severable from any other covenant, and if any of them are held by a court, or other decision-maker, to be\n invalid, this Agreement will be interpreted as if such provisions were not included.\n

      \n\n
    2. \n
    3. \n\n

      \n Survival. Sections 3, 4, 5(b)(vii) (viii), 5(c), 5(d), 6(a)(b)(c)(d), 8, 9, 11, and any other\n provision of this Agreement that expressly or by its nature continues after termination, shall survive\n termination of this Agreement.\n

      \n\n
    4. \n
    5. \n\n

      \n Governing Law. This Agreement will be governed by and will be construed and interpreted in\n accordance with the laws of British Columbia and the laws of Canada applicable therein.\n

      \n\n
    6. \n
    7. \n\n

      \n Assignment Restricted. Your rights and obligations under this Agreement may not be assigned\n without the prior written approval of the Province.\n

      \n\n
    8. \n
    9. \n\n

      \n Waiver. The failure of the Province at any time to insist on performance of any provision of\n this Agreement by you is not a waiver of its right subsequently to insist on performance of that or any other\n provision of this Agreement.\n

      \n\n
    10. \n
    11. \n\n

      \n Province may modify this Agreement. The Province may amend this Agreement, including this\n section, at any time in its sole discretion:\n

      \n\n
        \n
      1. \n by written notice to you, in which case the amendment will become effective upon the later of (A) the\n date notice of the amendment is first delivered to you, or (B) the effective date of the amendment specified\n by the Province, if any; or\n
      2. \n
      3. \n by publishing notice of any such amendment in the PharmaCare Newsletter, in which case the notice will\n specify the effective date of the amendment, which date will be at least 30 (thirty) days after the date\n that the PharmaCare Newsletter containing the notice is first published.\n
      4. \n
      \n\n

      \n If you or an On-Behalf-of User access or use PharmaNet after the effective date of an amendment described in\n (i) or (ii) above, you will be deemed to have accepted the corresponding amendment, and this Agreement will be\n deemed to have been so amended as of the effective date. If you do not agree with any amendment for which\n notice has been provided by the Province in accordance with (i) or (ii) above, you must promptly (and in any\n event before the effective date) cease all access or use of PharmaNet by yourself and all On-Behalf-of Users,\n and take the steps necessary to terminate this Agreement in accordance with section 10.\n

      \n\n
    12. \n
    \n\n
  26. \n
\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 10, + AgreementType = 1, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2020, 8, 28, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Text = "

\n By enrolling for PharmaNet access, you agree to the following terms (the “Agreement”). Please read them carefully.\n

\n\n

PHARMANET USER TERMS OF ACCESS FOR PHARMACISTS

\n\n
    \n
  1. \n\n

    \n BACKGROUND\n

    \n\n

    \n The Province owns and is responsible for the operation of PharmaNet, the province-wide network that links B.C.\n pharmacies to a central data system. Every prescription dispensed in community pharmacies in B.C. is entered into\n PharmaNet.\n

    \n\n

    \n The purpose of providing you, and the On-Behalf-of Users whom you have authorized, with access to PharmaNet is to\n enhance patient care by providing timely and relevant information to persons involved in the provision of direct\n patient care.\n

    \n\n

    \n PharmaNet contains highly sensitive confidential information, including Personal Information and the proprietary\n and confidential information of third-party licensors to the Province, and it is in the public interest to ensure\n that appropriate measures are in place to protect the confidentiality of all such information. All access to and\n use of PharmaNet and PharmaNet Data is subject to the Act and Privacy Laws.\n

    \n\n
  2. \n
  3. \n\n

    \n INTERPRETATION\n

    \n\n
      \n
    1. \n\n

      \n Definitions. Unless otherwise provided in this Agreement, capitalized terms will have the\n meanings given below:\n

      \n\n
        \n
      • \n “Act” means the Pharmaceutical Services Act.\n
      • \n
      • \n “Approved Practice Site” means the physical site at which you provide Direct Patient Care\n and which is approved by the Province for PharmaNet access.\n
      • \n
      • \n “Approved SSO” means a software support organization approved by the Province that provides\n you with the information technology software and/or services through which you and On-Behalf-of Users access\n PharmaNet.\n
      • \n
      • \n “Claim” means a claim made under the Act for payment in respect of a benefit under the Act.\n
      • \n
      • \n\n

        \n “Conformance Standards” means the following documents published by the Province, as\n amended from time to time:\n

        \n\n
          \n
        1. \n PharmaNet Professional and Software Conformance Standards
          \n \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards\n ; and\n
        2. \n
        3. \n Office of the Chief Information Officer: “Submission for Technical Security Standard and High Level\n Architecture for Wireless Local Area Network Connectivity”.\n \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/system-access/requirements-for-wireless-access-to-pharmanet\n \n
        4. \n
        \n\n
      • \n
      • \n “Device Provider” means a person enrolled under section 11 of the Act in the class of\n provider known as “device provider”.\n
      • \n
      • \n “Direct Patient Care” means, for the purposes of this Agreement, the provision of health\n services to an individual to whom you provide direct patient care in the context of your Practice.\n
      • \n
      • \n “Information Management Regulation” means the Information Management Regulation,\n B.C. Reg.\n 74/2015.\n
      • \n
      • \n “On-Behalf-of User” means a member of your staff who (i) requires access to PharmaNet to\n carry out duties in relation to your Practice; (ii) is authorized by you to access PharmaNet on your behalf;\n and (iii) has been granted access to PharmaNet by the Province.\n
      • \n
      • \n “Personal Information” means all recorded information that is about an identifiable\n individual or is defined as, or deemed to be, “personal information” or “personal health information”\n pursuant to any Privacy Laws.\n
      • \n
      • \n “PharmaCare Newsletter” means the PharmaCare newsletter published by the Province on the\n following website (or such other website as may be specified by the Province from time to time for this\n purpose):\n\n

        \n\n www.gov.bc.ca/pharmacarenewsletter\n
      • \n
      • \n “PharmaNet” means PharmaNet as continued under section 2 of the Information Management\n Regulation.\n
      • \n
      • \n “PharmaNet Data” includes any record or information contained in PharmaNet and any record\n or information in the custody, control or possession of you or an On-Behalf-of User that was obtained\n through your or an On-Behalf-of User’s access to PharmaNet.\n
      • \n
      • \n “Practice” means your practice of the health profession regulated under the Health\n Professions Act, or your practice as a Device Provider, as identified by you through PRIME\n or another mechanism provided by the Province.\n
      • \n
      • \n “PRIME” means the online service provided by the Province that allows users to apply for,\n and manage, their access to PharmaNet, and through which users are granted access by the Province.\n
      • \n
      • \n “Privacy Laws” means the Act, the\n Freedom of Information and Protection of Privacy Act, the Personal Information Protection Act, and\n any other statutory or legal obligations of privacy owed by you or the Province, whether arising under\n statute, by contract or at common law.\n
      • \n
      • \n “Provider” means a person enrolled under section 11 of the Act for the purpose of receiving\n payment for providing benefits.\n
      • \n
      • \n “Provider Regulation” means the Provider Regulation, B.C. Reg. 222/2014.\n
      • \n
      • \n “Province” means Her Majesty the Queen in Right of British Columbia, as represented by the\n Minister of Health.\n
      • \n
      • \n “Professional College” is the regulatory body governing your Practice.\n
      • \n
      • \n

        \n “Unauthorized Person” means any person other than:\n

        \n\n
          \n
        1. \n you,\n
        2. \n
        3. \n an On-Behalf-of User, or\n
        4. \n
        5. \n a representative of an Approved SSO that is accessing PharmaNet for technical support purposes in\n accordance with section 6 of the Information Management Regulation.\n
        6. \n
        \n\n
      • \n
      \n\n
    2. \n
    3. \n Reference to Enactments. Unless otherwise specified, a reference to a statute or regulation by\n name means the statute or regulation of British Columbia of that name, as amended or replaced from time to time,\n and includes any enactment made under the authority of that statute or regulation.\n
    4. \n
    5. \n\n

      \n Conflicting Provisions. In the event of a conflict among provisions of this Agreement:\n

      \n\n
        \n
      1. \n a provision in the body of this Agreement will prevail over any conflicting provision in any further limits\n or conditions communicated to you in writing by the Province, unless the conflicting provision expressly\n states otherwise; and\n
      2. \n
      3. \n a provision referred to in (i) above will prevail over any conflicting provision in the Conformance\n Standards.\n
      4. \n
      \n\n
    6. \n
    \n\n
  4. \n
  5. \n\n

    \n APPLICATION OF LEGISLATION\n

    \n\n

    \n You will strictly comply with, and you will ensure that On-Behalf-of Users strictly comply with, the Act, the\n Information Management Regulation and all Privacy Laws applicable to PharmaNet and PharmaNet Data.\n

    \n\n
  6. \n
  7. \n\n

    \n NOTICE THAT SPECIFIC PROVISIONS OF THE ACT APPLY DIRECTLY TO YOU\n

    \n\n

    \n You acknowledge that:\n

    \n\n
      \n
    1. \n a. PharmaNet Data accessed by you or an On-Behalf-of User pursuant to this Agreement is disclosed to you by the\n Province under the authority of the Act;\n
    2. \n
    3. \n b. specific provisions of the Act (including but not limited to sections 24, 25 and 29) and the Information\n Management Regulation apply directly to you and to On-Behalf-of Users as a result; and\n
    4. \n
    5. \n c. this Agreement documents limits and conditions, set by the minister in writing, that the Act requires you to\n comply with.\n
    6. \n
    \n\n
  8. \n
  9. \n\n

    \n ACCESS\n

    \n\n
      \n
    1. \n Grant of Access. The Province will provide you with access to PharmaNet subject to your\n compliance with the limits and conditions set out in this Agreement. The Province may from time to time, at its\n discretion, amend or change the scope of your access privileges to PharmaNet as privacy, security, business and\n clinical practice requirements change. In such circumstances, the Province will use reasonable efforts to notify\n you of such changes.\n
    2. \n
    3. \n\n

      \n Requirements for Access. The following requirements apply to your access to PharmaNet:\n

      \n\n
        \n
      1. \n you will only access PharmaNet, and you will ensure that On-Behalf-of Users only access PharmaNet, for so\n long as you are a registrant in good standing with the Professional College and your registration permits\n you to deliver Direct Patient Care requiring access to PharmaNet or, in the case of access as a Device\n Provider, for so long as you are enrolled as a Device Provider;\n
      2. \n
      3. \n you will only access PharmaNet: at the Approved Practice Site, and using only the technologies and\n applications approved by the Province;\n
      4. \n
      5. \n you must ensure that your On-Behalf-of-Users do not access PharmaNet on your behalf unless the access takes\n place at the Approved Practice Site and the access is required in relation to patients for whom you will be\n providing Direct Patient Care at the Approved Practice Site;\n
      6. \n
      7. \n you will only access PharmaNet as necessary for your provision of Direct Patient Care, and you will ensure\n that On-Behalf-of Users only access PharmaNet as necessary to support your provision of Direct Patient Care;\n
      8. \n
      9. \n you will not submit Claims on PharmaNet other than from an Approved Practice Site in respect of which a\n person is enrolled as a Provider, and you will ensure that On-Behalf-of Users submit Claims on PharmaNet\n only from an Approved Practice Site in respect of which a person is enrolled as a Provider;\n
      10. \n
      11. \n you will not under any circumstances access PharmaNet, or use PharmaNet Data, for the purpose of market\n research, and you will ensure that no On-Behalf-of Users access PharmaNet, or use PharmaNet Data, for the\n purpose of market research;\n
      12. \n
      13. \n subject to section 6(b) of this Agreement, you will not use PharmaNet Data, and you will ensure that\n On-Behalf-of Users do not use PharmaNet Data, for any purpose other than your provision of Direct Patient\n Care, including for the purposes of quality improvement, evaluation, health care planning, surveillance,\n research or other secondary uses;\n
      14. \n
      15. \n you will not permit any Unauthorized Person to access PharmaNet, and you will take all reasonable measures\n to ensure that no Unauthorized Person can access PharmaNet;\n
      16. \n
      17. \n you will complete any training program(s) that your Approved SSO makes available to you in relation to\n PharmaNet, and you will ensure that all On-Behalf-of Users complete such training;\n
      18. \n
      19. \n you will immediately notify the Province when you or an On-Behalf-of User no longer require access to\n PharmaNet, including where the On-Behalf-of User ceases to be one of your staff or takes a leave of absence\n from your staff, or where the On-Behalf-of User’s access-related duties in relation to the Practice have\n changed;\n
      20. \n
      21. \n you will comply with, and you will ensure that On-Behalf-of Users comply with, any additional limits or\n conditions applicable to you, as may be communicated to you by the Province in writing;\n
      22. \n
      23. \n you represent and warrant that all information provided by you in connection with your application for\n PharmaNet access, including through PRIME, is true and correct.\n
      24. \n
      \n\n
    4. \n
    5. \n Responsibility for On-Behalf-of Users. You agree that you are responsible under this Agreement\n for all activities undertaken by On-Behalf-of Users in relation to their access to PharmaNet and use of\n PharmaNet Data.\n
    6. \n
    7. \n\n

      \n Privacy and Security Measures. You are responsible for taking all reasonable measures to\n safeguard Personal Information, including any Personal Information in PharmaNet Data while it is in the\n custody, control or possession of yourself or an On-Behalf-of User. In particular, you will:\n

      \n\n
        \n
      1. \n take all reasonable steps to ensure the physical security of Personal Information, generally and as\n required by Privacy Laws;\n
      2. \n
      3. \n secure all workstations and printers in a protected area in the Approved Practice Site to prevent\n viewing of PharmaNet Data by Unauthorized Persons;\n
      4. \n
      5. \n ensure separate access credential (such as user name and password) for each On-Behalf-of User, and\n prohibit sharing or other multiple use of your access credential, or an On-Behalf-of User’s access\n credential, for access to PharmaNet;\n
      6. \n
      7. \n secure any workstations used to access PharmaNet and all devices, codes or passwords that enable access\n to PharmaNet by yourself or any On-Behalf-of User;\n
      8. \n
      9. \n take such other privacy and security measures as the Province may reasonably require from time-to-time.\n
      10. \n
      \n\n
    8. \n
    9. \n Conformance Standards. You will comply with, and will ensure On-Behalf-of Users comply with,\n the rules specified in the Conformance Standards when accessing and recording information in PharmaNet.\n
    10. \n
    \n\n
  10. \n
  11. \n\n

    \n DISCLOSURE, STORAGE, AND ACCESS REQUESTS\n

    \n\n
      \n
    1. \n Retention of PharmaNet Data. You will not store or retain PharmaNet Data in any paper files or\n any electronic system, unless such storage or retention is required for record keeping in accordance with the\n Act, the Provider Regulation, and Professional College requirements and in connection with your provision of\n Direct Patient Care and otherwise is in compliance with the Conformance Standards. You will not modify any\n records retained in accordance with this section other than as may be expressly authorized in the Conformance\n Standards. For clarity, you may annotate a discrete record provided that the discrete record is not itself\n modified other than as expressly authorized in the Conformance Standards.\n
    2. \n
    3. \n Use of Retained Records. You may use any records retained by you in accordance with section\n 6(a) of this Agreement for a purpose authorized under section 24(1) of the Act, including for the purpose of\n monitoring your own Practice.\n
    4. \n
    5. \n Disclosure to Third Parties. You will not, and will ensure that On-Behalf-of Users do not,\n disclose PharmaNet Data to any Unauthorized Person, unless disclosure is required for Direct Patient Care or is\n otherwise authorized under section 24(1) of the Act.\n
    6. \n
    7. \n No Disclosure for Market Research. You will not, and will ensure that On-Behalf-of Users do\n not, disclose PharmaNet Data for the purpose of market research.\n
    8. \n
    9. \n Responding to Patient Access Requests. Aside from any records retained by you in accordance\n with section 6(a) of this Agreement, you will not provide to patients any copies of records containing PharmaNet\n Data or “print outs” produced directly from PharmaNet, and will refer any requests for access to such records or\n “print outs” to the Province.\n
    10. \n
    11. \n Responding to Requests to Correct a Record Contained in PharmaNet. If you receive a request for\n correction of any record or information contained in PharmaNet, you will refer the request to the Province.\n
    12. \n
    13. \n Legal Demands for Records Contained in PharmaNet. You will immediately notify the Province if\n you receive any order, demand or request compelling, or threatening to compel, disclosure of records contained\n in PharmaNet. You will cooperate and consult with the Province in responding to any such demands. For greater\n certainty, the foregoing requires that you notify the Province only with respect to any access requests or\n demands for records contained in PharmaNet, and not records retained by you in accordance with section 6(a) of\n this Agreement.\n
    14. \n
    \n\n
  12. \n
  13. \n\n

    \n ACCURACY\n

    \n\n

    \n You will make reasonable efforts to ensure that any Personal Information recorded by you or an On-Behalf-of User\n in PharmaNet is accurate, complete and up to date. In the event that you become aware of a material inaccuracy or\n error in such information, you will take reasonable steps to investigate the inaccuracy or error, correct it if\n necessary, and notify the Province of the inaccuracy or error and any steps taken.\n

    \n\n
  14. \n
  15. \n\n

    \n INVESTIGATIONS, AUDITS, AND REPORTING\n

    \n\n
      \n
    1. \n Audits and Investigations. You will cooperate with any audits or investigations conducted by\n the Province regarding your, or any On-Behalf-of User’s, compliance with the Act, Privacy Laws and this\n Agreement, including providing access upon request to your facilities, data management systems, books, records\n and personnel for the purposes of such audit or investigation.\n
    2. \n
    3. \n Reports to College or Privacy Commissioner. You acknowledge and agree that the Province may\n report any material breach of this Agreement to your Professional College or to the Information and Privacy\n Commissioner of British Columbia.\n
    4. \n
    \n\n
  16. \n
  17. \n\n

    \n NOTICE OF NON-COMPLIANCE AND DUTY TO INVESTIGATE\n

    \n\n
      \n
    1. \n Duty to Investigate. You will investigate suspected breaches of the terms of this Agreement,\n and will take all reasonable steps to prevent recurrences of any such breaches, including taking any steps\n necessary to cooperate with the Province in ensuring the suspension or termination of an On-Behalf-of User’s\n access rights.\n
    2. \n
    3. \n\n

      \n Non-Compliance. You will promptly notify the Province, and provide particulars, if:\n

      \n\n
        \n
      1. \n you or an On-Behalf-of User do not comply, or you anticipate that you or a On-Behalf-of User will be unable\n to comply with the terms of this Agreement in any respect, or\n
      2. \n
      3. \n you have knowledge of any circumstances, incidents or events which have or may jeopardize the security,\n confidentiality, or integrity of PharmaNet, including any unauthorized attempt, by any person, to access\n PharmaNet.\n
      4. \n
      \n\n
    4. \n
    \n\n
  18. \n
  19. \n\n

    \n TERM OF AGREEMENT, SUSPENSION & TERMINATION\n

    \n\n
      \n
    1. \n Term. The term of this Agreement begins on the date you are granted access to PharmaNet by the\n Province and will continue until the date this Agreement is terminated under paragraph (b), (c), (d) or (e)\n below.\n
    2. \n
    3. \n Termination for Any Reason. You may terminate this Agreement at any time on written notice to\n the Province.\n
    4. \n
    5. \n Suspension or Termination of PharmaNet Access. If the Province suspends or terminates your\n right, or an On-Behalf-of User’s right, to access PharmaNet under the\n Information Management Regulation, the Province may also terminate this Agreement at any time\n thereafter upon written notice to you.\n
    6. \n
    7. \n Termination for Breach. Notwithstanding paragraph (c) above, the Province may terminate this\n Agreement, and any or all access to PharmaNet by you or an On-Behalf-of User, immediately upon notice to you if\n you or an On-Behalf-of User fail to comply with any provision of this Agreement.\n
    8. \n
    9. \n Termination by Operation of the Information Management Regulation. This Agreement will\n terminate automatically if your access to PharmaNet ends by operation of section 18 of the\n Information Management Regulation.\n
    10. \n
    11. \n Suspension of Account for Inactivity. As a security precaution, the Province may suspend your\n account or an On-Behalf-of User’s account after a period of inactivity, in accordance with the Province’s\n policies. Please contact the Province immediately if your account has been suspended for inactivity but you\n still require access to PharmaNet.\n
    12. \n
    \n\n
  20. \n
  21. \n\n

    \n DISCLAIMER OF WARRANTY, LIMITATION OF LIABILITY AND INDEMNITY\n

    \n\n
      \n
    1. \n Information Provided As Is. You acknowledge and agree that any use of PharmaNet and PharmaNet\n Data is solely at your own risk. All such access and information is provided on an “as is” and “as available”\n basis without warranty or condition of any kind. The Province does not warrant the accuracy, completeness or\n reliability of the PharmaNet Data or the availability of PharmaNet, or that access to or the operation of\n PharmaNet will function without error, failure or interruption.\n
    2. \n
    3. \n You Are Responsible. You are responsible for verifying the accuracy of information disclosed to\n you as a result of your access to PharmaNet or otherwise pursuant to this Agreement before relying or acting\n upon such information. The clinical or other information disclosed to you or an On-Behalf-of User pursuant to\n this Agreement is in no way intended to be a substitute for professional judgment.\n
    4. \n
    5. \n The Province Not Liable for Loss. No action may be brought by any person against the Province\n for any loss or damage of any kind caused by any reason or purpose related to reliance on PharmaNet or PharmaNet\n Data.\n
    6. \n
    7. \n You Must Indemnify the Province If You Cause a Loss or Claim. You agree to indemnify and save\n harmless the Province, and the Province’s employees and agents (each an \"Indemnified Person\")\n from any losses, claims, damages, actions, causes of action, costs and expenses that an Indemnified Person may\n sustain, incur, suffer or be put to at any time, either before or after this Agreement ends, which are based\n upon, arise out of or occur directly or indirectly by reason of any act or omission by you, or by any\n On-Behalf-of User, in connection with this Agreement or in connection with access to PharmaNet by you or an\n On-Behalf-of User.\n
    8. \n
    \n\n
  22. \n
  23. \n\n

    \n NOTICE\n

    \n\n
      \n
    1. \n\n

      \n Notice to Province. Except where this Agreement expressly provides for another method of\n delivery, any notice to be given by you to the Province that is contemplated by this Agreement, to be\n effective, must be in writing and emailed or mailed to:\n

      \n\n
      \n Director, Information and PharmaNet Innovation
      \n Ministry of Health
      \n PO Box 9652, STN PROV GOVT
      \n Victoria, BC V8W 9P4
      \n\n
      \n\n PRIMESupport@gov.bc.ca\n
      \n\n
    2. \n
    3. \n Notice to You. Any notice to you to be delivered under the terms of this Agreement will be in\n writing and delivered by the Province to you using any of the contact mechanisms identified by you in PRIME,\n including by mail to a specified postal address, email to a specified email address or text message to the\n specified cell phone number. You may be required to click a URL link or log into PRIME to receive the content of\n any such notice.\n
    4. \n
    5. \n Deemed Receipt. Any written communication from a party, if personally delivered or sent\n electronically, will be deemed to have been received 24 hours after the time the notice was sent, or, if sent by\n mail, will be deemed to have been received 3 days (excluding Saturdays, Sundays and statutory holidays) after\n the date the notice was sent.\n
    6. \n
    7. \n Substitute Contact Information. You may notify the Province of a substitute contact mechanism\n by updating your contact information in PRIME.\n
    8. \n
    \n\n
  24. \n
  25. \n\n

    \n GENERAL\n

    \n\n
      \n
    1. \n\n

      \n Severability. Each provision in this Agreement constitutes a separate covenant and is\n severable from any other covenant, and if any of them are held by a court, or other decision-maker, to be\n invalid, this Agreement will be interpreted as if such provisions were not included.\n

      \n\n
    2. \n
    3. \n\n

      \n Survival. Sections 3, 4, 5(b)(vi) (vii), 5(c), 5(d), 6(a)(b)(c)(d), 8, 9, 11, and any other\n provision of this Agreement that expressly or by its nature continues after termination, shall survive\n termination of this Agreement.\n

      \n\n
    4. \n
    5. \n\n

      \n Governing Law. This Agreement will be governed by and will be construed and interpreted in\n accordance with the laws of British Columbia and the laws of Canada applicable therein.\n

      \n\n
    6. \n
    7. \n\n

      \n Assignment Restricted. Your rights and obligations under this Agreement may not be assigned\n without the prior written approval of the Province.\n

      \n\n
    8. \n
    9. \n\n

      \n Waiver. The failure of the Province at any time to insist on performance of any provision of\n this Agreement by you is not a waiver of its right subsequently to insist on performance of that or any other\n provision of this Agreement.\n

      \n\n
    10. \n
    11. \n\n

      \n Province May Modify this Agreement. The Province may amend this Agreement, including this\n section, at any time in its sole discretion:\n

      \n\n
        \n
      1. \n by written notice to you, in which case the amendment will become effective upon the later of (A) the\n date notice of the amendment is first delivered to you, or (B) the effective date of the amendment specified\n by the Province, if any; or\n
      2. \n
      3. \n by publishing notice of any such amendment in the PharmaCare Newsletter, in which case the notice will\n specify the effective date of the amendment, which date will be at least 30 (thirty) days after the date\n that the PharmaCare Newsletter containing the notice is first published.\n
      4. \n
      \n\n

      \n If you or an On-Behalf-of User access or use PharmaNet after the effective date of an amendment described in\n (i) or (ii) above, you will be deemed to have accepted the corresponding amendment, and this Agreement will be\n deemed to have been so amended as of the effective date. If you do not agree with any amendment for which\n notice has been provided by the Province in accordance with (i) or (ii) above, you must promptly (and in any\n event before the effective date) cease all access or use of PharmaNet by yourself and all On-Behalf-of Users,\n and take the steps necessary to terminate this Agreement in accordance with section 10.\n

      \n\n
    12. \n
    \n\n
  26. \n
\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 11, + AgreementType = 4, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Text = "

ORGANIZATION AGREEMENT FOR PHARMANET USE

\n\n

\n This Organization Agreement for PharmaNet Use (the "Agreement") is executed by {{organization_name}}\n ("Organization") for the benefit of HER MAJESTY THE QUEEN IN RIGHT OF THE PROVINCE OF BRITISH COLUMBIA, as\n represented by the Minister of Health (the "Province").\n

\n\n

\n WHEREAS:\n

\n\n
    \n
  1. \n The Province owns and is responsible for the operation of PharmaNet, the province-wide network that links\n pharmacies to a central data system. Every prescription dispensed in community pharmacies in British\n Columbia is entered into PharmaNet.\n
  2. \n
  3. \n PharmaNet contains highly sensitive confidential information, including personal information, and it is in\n the public interest to ensure that appropriate measures are in place to protect the confidentiality and\n integrity of such information. All access to and use of PharmaNet and PharmaNet Data is subject to the\n Act and other applicable law.\n
  4. \n
  5. \n The Province permits Authorized Users to access PharmaNet to provide health services to, or to facilitate\n the care of, the individual whose personal information is being accessed.\n
  6. \n
  7. \n This Agreement sets out the terms by which Organization may permit Authorized Users to access PharmaNet\n at the Site(s) operated by Organization.\n
  8. \n
\n\n

\n NOW THEREFORE Organization makes this Agreement knowing that the Province will rely on it\n in permitting access to and use of PharmaNet from Sites operated by Organization. Organization conclusively\n acknowledges that reliance by the Province on this Agreement is in every respect justifiable and that it\n received fair and valuable consideration for this Agreement, the receipt and adequacy of which is hereby\n acknowledged. Organization hereby agrees as follows:\n

\n\n

\n ARTICLE 1 – INTERPRETATION\n

\n\n
    \n
  1. \n
      \n
    1. \n

      \n In this Agreement, unless the context otherwise requires, the following definitions will apply:\n

      \n\n
        \n
      1. \n "Act" means the Pharmaceutical Services Act;\n
      2. \n
      3. \n "Approved SSO" means, in relation to a Site, the software support organization\n identified in section 1 of the Site Request that provides Organization with the SSO-Provided\n Technology used at the Site;\n
      4. \n
      5. \n "Associated Technology" means, in relation to a Site, any information technology\n hardware, software or services used at the Site, other than the SSO-Provided Technology, that is\n in any way used in connection with Site Access or any PharmaNet Data;\n
      6. \n
      7. \n

        \n "Authorized User" means an individual who is granted access to PharmaNet by the\n Province and who is:\n

        \n\n
          \n
        1. \n an employee or independent contractor of Organization, or\n
        2. \n
        3. \n if Organization is an individual, the Organization;\n
        4. \n
        \n
      8. \n
      9. \n "Information Management Regulation" means the\n Information Management Regulation,\n B.C. Reg. 74/2015;\n
      10. \n
      11. \n "On-Behalf-Of User" means an Authorized User described in subsection 4 (5) of the\n Information Management Regulation who acts on behalf of a Regulated User when accessing\n PharmaNet;\n
      12. \n
      13. \n "PharmaNet" means PharmaNet as continued under section 2 of the\n Information Management Regulation;\n
      14. \n
      15. \n "PharmaNet Data" includes any records or information contained in PharmaNet and\n any records\n or information in the custody, control or possession of Organization or any Authorized User as the result of\n any Site Access;\n
      16. \n
      17. \n "Regulated User" means an Authorized User described in subsections 4 (2) to (4)\n of the\n Information Management Regulation;\n
      18. \n
      19. \n "Signing Authority" means the individual identified by Organization as the\n "Signing Authority"\n for a Site, with the associated contact information, as set out in section 2 of the Site Request;\n
      20. \n
      21. \n

        \n "Site" means a premises operated by Organization and located in British Columbia that:\n

        \n\n
          \n
        1. \n is the subject of a Site Request submitted to the Province, and\n
        2. \n
        3. \n has been approved for Site Access by the Province in writing\n
        4. \n
        \n\n

        \n For greater certainty, "Site" does not include a location from which remote access to PharmaNet\n takes place;\n

        \n
      22. \n
      23. \n "Site Access" means any access to or use of PharmaNet at a Site or remotely as\n permitted\n by the Province;\n
      24. \n
      25. \n "Site Request" means, in relation to a Site, the information contained in the\n PharmaNet access\n request form submitted to the Province by the Organization, requesting PharmaNet access at the Site, as such\n information is updated by the Organization from time to time in accordance with section 2.2;\n
      26. \n
      27. \n "SSO-Provided Technology" means any information technology hardware, software or\n services\n provided to Organization by an Approved SSO for the purpose of Site Access;\n
      28. \n
      \n
    2. \n
    3. \n Unless otherwise specified, a reference to a statute or regulation by name means a statute or regulation of\n British\n Columbia of that name, as amended or replaced from time to time, and includes any enactments made under the\n authority\n of that statute or regulation.\n
    4. \n
    5. \n

      \n The following are the Schedules attached to and incorporated into this Agreement:\n

      \n\n
        \n
      • \n Schedule A – Specific Privacy and Security Measures\n
      • \n
      \n
    6. \n
    7. \n The main body of this Agreement, the Schedules, and any documents incorporated by reference into this Agreement\n are to\n be interpreted so that all of the provisions are given as full effect as possible. In the event of a conflict,\n unless\n expressly stated to the contrary the main body of the Agreement will prevail over the Schedules, which will\n prevail\n over any document incorporated by reference.\n
    8. \n
    \n
  2. \n
\n\n

\n ARTICLE 2 – REPRESENTATIONS AND WARRANTIES\n

\n\n
    \n
  1. \n
      \n
    1. \n

      \n Organization represents and warrants to the Province, as of the date of this\n Agreement and throughout its term, that:\n

      \n\n
        \n
      1. \n the information contained in the Site Request for each Site is true and correct;\n
      2. \n
      3. \n

        \n if Organization is not an individual:\n

        \n\n
          \n
        1. \n Organization has the power and capacity to enter into this Agreement and to comply with its terms;\n
        2. \n
        3. \n all necessary corporate or other proceedings have been taken to authorize the execution and delivery\n of this Agreement by, or on behalf of, Organization; and\n
        4. \n
        5. \n this Agreement has been legally and properly executed by, or on behalf of, the Organization and is\n legally binding upon and enforceable against Organization in accordance with its terms.\n
        6. \n
        \n
      4. \n
      \n
    2. \n
    3. \n Organization must immediately notify the Province of any change to the information contained in a Site Request,\n including any change to a Site’s status, location, normal operating hours, Approved SSO, or the name and contact\n information of the Signing Authority or any of the other specific roles set out in the Site Request. Such\n notices\n must be submitted to the Province in the form and manner directed by the Province in its published instructions\n regarding the submission of updated Site Request information, as such instructions may be updated from time to\n time by the Province.\n
    4. \n
    \n
  2. \n
\n\n

\n ARTICLE 3 – SITE ACCESS REQUIREMENTS\n

\n\n
    \n
  1. \n
      \n
    1. \n Organization must comply with the Act and all applicable law.\n
    2. \n
    3. \n Organization must submit a Site Request to the Province for each physical location where it intends to provide\n Site\n Access, and must only provide Site Access from Sites approved in writing by the Province. For greater certainty,\n a\n Site Request is not required for each physical location from which remote access, as permitted under section\n 3.6,\n may occur, but Organization must provide, with the Site Request, a list of the locations from which remote\n access\n may occur, and ensure this list remains current for the term of this agreement.\n
    4. \n
    5. \n Organization must only provide Site Access using SSO-Provided Technology. For the purposes of remote access,\n Organization must ensure that technology used meets the requirements of Schedule A.\n
    6. \n
    7. \n Unless otherwise authorized by the Province in writing, Organization must at all times use the secure network or\n security technology that the Province certifies or makes available to Organization for the purpose of Site\n Access.\n The use of any such network or technology by Organization may be subject to terms and conditions of use,\n including\n acceptable use policies, established by the Province and communicated to Organization from time to time in\n writing.\n
    8. \n
    9. \n

      \n Organization must only make Site Access available to the following individuals:\n

      \n\n
        \n
      1. \n Authorized Users when they are physically located at a Site, and, in the case of an On-Behalf-of-User\n accessing\n personal information of a patient on behalf of a Regulated User, only if the Regulated User will be\n delivering\n care to that patient at the same Site at which the access to personal information occurs;\n
      2. \n
      3. \n Representatives of an Approved SSO for technical support purposes, in accordance with section 6 of the\n Information Management Regulation.\n
      4. \n
      \n
    10. \n
    11. \n Despite section 3.5(a), Organization may make Site Access available to Regulated Users who are physically\n located in\n British Columbia and remotely connected to a Site using a VPN or other remote access technology specifically\n approved\n by the Province in writing for the Site.\n
    12. \n
    13. \n

      \n Organization must ensure that Authorized Users with Site Access:\n

      \n\n
        \n
      1. \n only access PharmaNet to the extent necessary to provide health services to, or facilitate the care of, the\n individual whose personal information is being accessed;\n
      2. \n
      3. \n first complete any mandatory training program(s) that the Site’s Approved SSO or the Province makes\n available\n in relation to PharmaNet;\n
      4. \n
      5. \n access PharmaNet using their own separate login identifications and credentials, and do not share or have\n multiple use of any such login identifications and credentials;\n
      6. \n
      7. \n secure all devices, codes and credentials that enable access to PharmaNet against unauthorized use; and\n
      8. \n
      9. \n in the case of remote access, comply with the policies of the Province relating to remote access to\n PharmaNet.\n
      10. \n
      \n
    14. \n
    15. \n If notified by the Province that an Authorized User’s access to PharmaNet has been suspended or revoked,\n Organization\n will immediately take any local measures necessary to remove the Authorized User’s Site Access. Organization\n will\n only restore Site Access to a previously suspended or revoked Authorized User upon the Province’s specific\n written\n direction.\n
    16. \n
    17. \n

      \n For the purposes of this section:\n

      \n\n
        \n
      1. \n "Responsible Authorized User" means, in relation to any PharmaNet Data, the\n Regulated User by whom,\n or on whose behalf, that data was obtained from PharmaNet; and\n
      2. \n
      3. \n "Use" includes to collect, access, retain, use, de-identify, and disclose.\n
      4. \n
      \n\n

      \n The PharmaNet Data disclosed under this Agreement is disclosed by the Province solely for the Use of the\n Responsible\n User to whom it is disclosed.\n

      \n\n

      \n Organization must not Use any PharmaNet Data, or permit any third party to Use PharmaNet Data, unless the\n Responsible\n User has authorized such Use and it is otherwise permitted under the Act, applicable law, and the limits and\n conditions imposed by the Province on the Responsible User.\n

      \n
    18. \n
    19. \n

      \n Organization must make all reasonable arrangements to protect PharmaNet Data against such risks as\n unauthorized access,\n collection, use, modification, retention, disclosure or disposal, including by:\n

      \n\n
        \n
      1. \n taking all reasonable physical, technical and operational measures necessary to ensure Site Access operates\n in\n accordance with sections 3.1 to 3.9 above, and\n
      2. \n
      3. \n complying with the requirements of Schedule A.\n
      4. \n
      \n
    20. \n
    \n
  2. \n
\n\n

\n ARTICLE 4 – NON-COMPLIANCE AND INVESTIGATIONS\n

\n\n
    \n
  1. \n
      \n
    1. \n Organization must promptly notify the Province, and provide particulars, if Organization does not comply, or\n anticipates\n that it will be unable to comply, with the terms of this Agreement, or if Organization has knowledge of any\n circumstances,\n incidents or events which have or may jeopardize the security, confidentiality or integrity of PharmaNet,\n including any\n attempt by any person to gain unauthorized access to PharmaNet or the networks or equipment used to connect to\n PharmaNet\n or convey PharmaNet Data.\n
    2. \n
    3. \n Organization must immediately investigate any suspected breaches of this Agreement and take all reasonable steps\n to prevent\n recurrences of any such breaches.\n
    4. \n
    5. \n Organization must cooperate with any audits or investigations conducted by the Province (including any\n independent auditor\n appointed by the Province) regarding compliance with this Agreement, including by providing access upon request\n to a Site\n and any associated facilities, networks, equipment, systems, books, records and personnel for the purposes of\n such audit\n or investigation.\n
    6. \n
    \n
  2. \n
\n\n

\n ARTICLE 5 – SITE TERMINATION\n

\n\n
    \n
  1. \n
      \n
    1. \n

      \n The Province may terminate all Site Access at a Site immediately, upon notice to the Signing Authority for the\n Site, if:\n

      \n\n
        \n
      1. \n the Approved SSO for the Site is no longer approved by the Province to provide information technology\n hardware, software,\n or service in connection with PharmaNet, or\n
      2. \n
      3. \n the Province determines that the SSO-Provided Technology or Associated Technology in use at the Site, or any\n component\n thereof, is obsolete, unsupported, or otherwise poses an unacceptable security risk to PharmaNet,\n
      4. \n
      \n\n

      \n and the Organization is unable or unwilling to remedy the problem within a timeframe acceptable to the\n Province.\n

      \n
    2. \n
    3. \n As a security precaution, the Province may suspend Site Access at a Site after a period of inactivity. If Site\n Access at a\n Site remains inactive for a period of 90 days or more, the Province may, immediately upon notice to the Signing\n Authority\n for the Site, terminate all further Site Access at the Site.\n
    4. \n
    5. \n Organization must prevent all further Site Access at a Site immediately upon the Province’s termination, in\n accordance with\n this Article 5, of Site Access at the Site.\n
    6. \n
    \n
  2. \n
\n\n

\n ARTICLE 6 – TERM AND TERMINATION\n

\n\n
    \n
  1. \n
      \n
    1. \n The term of this Agreement begins on the date first noted above and continues until it is terminated\n in accordance with this Article 6.\n
    2. \n
    3. \n Organization may terminate this Agreement at any time on notice to the Province.\n
    4. \n
    5. \n The Province may terminate this Agreement immediately upon notice to Organization if Organization fails to\n comply with any\n provision of this Agreement.\n
    6. \n
    7. \n The Province may terminate this Agreement immediately upon notice to Organization in the event Organization no\n longer operates\n any Sites where Site Access is permitted.\n
    8. \n
    9. \n The Province may terminate this Agreement for any reason upon two (2) months advance notice to Organization.\n
    10. \n
    11. \n Organization must prevent any further Site Access immediately upon termination of this Agreement.\n
    12. \n
    \n
  2. \n
\n\n

\n ARTICLE 7 – DISCLAIMER AND INDEMNITY\n

\n\n
    \n
  1. \n
      \n
    1. \n The PharmaNet access and PharmaNet Data provided under this Agreement are provided "as is" without\n warranty of any kind,\n whether express or implied. All implied warranties, including, without limitation, implied warranties of\n merchantability,\n fitness for a particular purpose, and non-infringement, are hereby expressly disclaimed. The Province does not\n warrant\n the accuracy, completeness or reliability of the PharmaNet Data or the availability of PharmaNet, or that access\n to or\n the operation of PharmaNet will function without error, failure or interruption.\n
    2. \n
    3. \n Under no circumstances will the Province be liable to any person or business entity for any direct, indirect,\n special,\n incidental, consequential, or other damages based on any use of PharmaNet or the PharmaNet Data, including\n without\n limitation any lost profits, business interruption, or loss of programs or information, even if the Province has\n been specifically advised of the possibility of such damages.\n
    4. \n\n
    5. \n Organization must indemnify and save harmless the Province, and the Province’s employees and agents (each an\n \"Indemnified Person\") from any losses, claims, damages, actions, causes of action, costs and\n expenses that an Indemnified Person may sustain, incur, suffer or be put to at any time, either before or after\n this Agreement ends, which are based upon, arise out of or occur directly or indirectly by reason of any act\n or omission by Organization, or by any Authorized User at the Site, in connection with this Agreement.\n
    6. \n
    \n
  2. \n
\n\n

\n ARTICLE 8 – GENERAL\n

\n\n
    \n
  1. \n
      \n
    1. \n

      \n Notice. Except where this Agreement expressly provides for another method\n of delivery, any notice to be given to the Province must be in writing and emailed or mailed to:\n

      \n\n
      \n Director, Information and PharmaNet Innovation
      \n Ministry of Health
      \n PO Box 9652, STN PROV GOVT
      \n Victoria, BC V8W 9P4
      \n\n
      \n\n PRIMESupport@gov.bc.ca\n
      \n\n

      \n Any notice to be given to a Signing Authority or the Organization will be in writing and emailed, mailed,\n faxed\n or text messaged to the Signing Authority (in the case of notice to a Signing Authority) or all Signing\n Authorities (in the case of notice to the Organization). A Signing Authority may be required to click a\n URL link or to log in to the Province’s "PRIME" system to receive the content of any such notice.\n

      \n\n

      \n Any written notice from a party, if sent electronically, will be deemed to have been received 24 hours after\n the\n time the notice was sent, or, if sent by mail, will be deemed to have been received 3 days (excluding\n Saturdays,\n Sundays and statutory holidays) after the date the notice was sent.\n

      \n
    2. \n
    3. \n Waiver. The failure of the Province at any time to insist on performance of\n any\n provision of this Agreement by Organization is not a waiver of its right subsequently to insist on performance\n of\n that or any other provision of this Agreement. A waiver of any provision or breach of this Agreement is\n effective\n only if it is writing and signed by, or on behalf of, the waiving party.\n
    4. \n
    5. \n

      \n Modification. No modification to this Agreement is effective unless it is\n in writing and signed\n by, or on behalf of, the parties.\n

      \n\n

      \n Notwithstanding the foregoing, the Province may amend this Agreement, including the Schedules and this\n section,\n at any time in its sole discretion, by written notice to Organization, in which case the amendment will become\n effective upon the later of: (i) the date notice of the amendment is delivered to Organization; and (ii) the\n effective date of the amendment specified by the Province. The Province will make reasonable efforts to\n provide\n at least thirty (30) days advance notice of any such amendment, subject to any determination by the Province\n that a shorter notice period is necessary due to changes in the Act, applicable law or applicable policies of\n the Province, or is necessary to maintain privacy and security in relation to PharmaNet or PharmaNet Data.\n

      \n\n

      \n If Organization does not agree with any amendment for which notice has been provided by the Province in\n accordance with this section, Organization must promptly (and in any event prior to the effective date)\n cease Site Access at all Sites and take the steps necessary to terminate this Agreement in accordance\n with Article 6.\n

      \n
    6. \n
    7. \n

      \n Governing Law. This Agreement will be governed by and will be construed\n and interpreted in accordance with the laws of British Columbia and the laws of Canada applicable therein.\n

      \n
    8. \n
    \n
  2. \n
\n\n{{signature_block}}\n\n

\n SCHEDULE A – SPECIFIC PRIVACY AND SECURITY MEASURES\n

\n\n

\n Organization must, in relation to each Site and in relation to Remote Access:\n

\n\n
    \n
  1. \n secure all workstations and printers at the Site to prevent any viewing of PharmaNet Data by persons other\n than Authorized Users;\n
  2. \n
  3. \n

    \n implement all privacy and security measures specified in the following documents published by the Province, as\n amended from time to time:\n

    \n\n
      \n
    1. \n

      \n the PharmaNet Professional and Software Conformance Standards\n

      \n\n \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards\n \n
    2. \n
    3. \n

      \n Office of the Chief Information Officer: "Submission for Technical Security Standard and High Level\n Architecture for Wireless Local Area Network Connectivity"\n

      \n\n \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/system-access/requirements-for-wireless-access-to-pharmanet\n \n
    4. \n
    5. \n

      \n Policy for Secure Remote Access to PharmaNet\n

      \n\n \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards\n \n
    6. \n
    \n
  4. \n
  5. \n ensure that a qualified technical support person is engaged to provide security support for the Site. This person\n should be familiar with the Site’s network configurations, hardware and software, including all SSO-Provided\n Technology\n and Associated Technology, and should be capable of understanding and adhering to the standards set forth in this\n Agreement and Schedule. Note that any such qualified technical support person must not be permitted by Organization\n to access or use PharmaNet in any manner, unless otherwise permitted under this Agreement;\n
  6. \n
  7. \n establish and maintain documented privacy policies that detail how Organization will meet its privacy obligations\n in relation to the Site;\n
  8. \n
  9. \n establish breach reporting and response processes in relation to the Site;\n
  10. \n
  11. \n detail expectations for privacy protection in contracts and service agreements as applicable at the Site;\n
  12. \n
  13. \n regularly review the administrative, physical and technological safeguards at the Site;\n
  14. \n
  15. \n establish and maintain a program for monitoring PharmaNet use at the Site, including by making appropriate\n monitoring\n and reporting mechanisms available to Authorized Users for this purpose.\n
  16. \n
\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 12, + AgreementType = 5, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Text = "

ORGANIZATION AGREEMENT FOR PHARMANET USE

\n\n

\n BETWEEN:\n

\n\n

\n HER MAJESTY THE QUEEN IN RIGHT OF THE PROVINCE OF BRITISH COLUMBIA, as represented by the Minister of Health\n (the "Province").\n

\n\n

\n AND:\n

\n\n

\n {{organization_name}} ("Organization")\n

\n\n

\n WHEREAS:\n

\n\n
    \n
  1. \n The Province owns and is responsible for the operation of PharmaNet, the province-wide network that links\n pharmacies to a central data system. Every prescription dispensed in community pharmacies in British\n Columbia is entered into PharmaNet.\n
  2. \n
  3. \n PharmaNet contains highly sensitive confidential information, including personal information, and it is\n in the public interest to ensure that appropriate measures are in place to protect the confidentiality\n and integrity of such information. All access to and use of PharmaNet and PharmaNet Data is subject to\n the Act and other applicable law.\n
  4. \n
  5. \n The Province permits Authorized Users to access PharmaNet to provide health services to, or to facilitate\n the care of, the individual whose personal information is being accessed.\n
  6. \n
  7. \n Organization is a service provider to HealthLink BC, the Province’s self-care program providing health\n information and advice to British Columbia through integrated print, web, and telephony channels to help\n the public make better decisions about their health, and provides Services to the Province in accordance\n with the Service Contract,\n
  8. \n
  9. \n Pharmacists at Organization require access to PharmaNet so Organization can provide the Services in\n accordance with the Service Contract.\n
  10. \n
  11. \n This Agreement sets out the terms by which Organization may permit Authorized Users to access PharmaNet\n at the Site(s) operated by Organization.\n
  12. \n
\n\n

\n NOW THEREFORE in consideration of the promises and the covenants, agreements, representations\n and warranties set out in this Agreement (the receipt and sufficiency of which is hereby acknowledged by each\n party), the parties agree as follows:\n

\n\n

\n ARTICLE 1 – INTERPRETATION\n

\n\n
    \n
  1. \n
      \n
    1. \n

      \n In this Agreement, unless the context otherwise requires, the following definitions will apply:\n

      \n\n
        \n
      1. \n "Act" means the Pharmaceutical Services Act;\n
      2. \n
      3. \n "Approved SSO" means, in relation to a Site, the software support organization\n identified in section 1 of the Site Request that provides Organization with the SSO-Provided Technology\n used at the Site;\n
      4. \n
      5. \n "Associated Technology" means, in relation to a Site, any information technology\n hardware, software or services used at the Site, other than the SSO-Provided Technology, that is in any way\n used in connection with Site Access or any PharmaNet Data;\n
      6. \n
      7. \n

        \n "Authorized User" means an individual who is granted access to PharmaNet by the\n Province and who is:\n

        \n\n
          \n
        1. \n an employee or independent contractor of Organization, or\n
        2. \n
        3. \n if Organization is an individual, the Organization;\n
        4. \n
        \n
      8. \n
      9. \n "Information Management Regulation" means the\n Information Management Regulation, B.C. Reg. 74/2015;\n
      10. \n
      11. \n "PharmaNet" means PharmaNet as continued under section 2 of the\n Information Management Regulation;\n
      12. \n
      13. \n "PharmaNet Data" includes any records or information contained in PharmaNet\n and any records or information in the custody, control or possession of Organization or any Authorized User\n as the result of any Site Access;\n
      14. \n
      15. \n "Regulated User" means an Authorized User described in subsections 4 (2) to (4)\n of the Information Management Regulation;\n
      16. \n
      17. \n "Service Contract" means the contract for services between the Province and\n Organization, contract file number 2021-075, dated November 1, 2020, as amended from time to time by the\n parties in accordance with its terms;\n
      18. \n
      19. \n "Signing Authority" means the individual identified by Organization as the\n "Signing Authority" for a Site, with the associated contact information, as set out in section 2\n of the Site Request;\n
      20. \n
      21. \n

        \n "Site" means a licensed community pharmacy premises operated by Organization\n and located in British Columbia that:\n

        \n\n
          \n
        1. \n is the subject of a Site Request submitted to the Province, and\n
        2. \n
        3. \n has been approved for Site Access by the Province in writing\n
        4. \n
        \n
      22. \n
      23. \n "Site Access" means any access to or use of PharmaNet at a Site as permitted by\n the Province;\n
      24. \n
      25. \n "Site Request" means, in relation to a Site, the information contained in the\n PharmaNet access request form submitted to the Province by the Organization, requesting PharmaNet access at\n the Site, as such information is updated by the Organization from time to time in accordance with\n section 2.2;\n
      26. \n
      27. \n "SSO-Provided Technology" means any information technology hardware, software or\n services provided to Organization by an Approved SSO for the purpose of Site Access;\n
      28. \n
      \n
    2. \n
    3. \n Unless otherwise specified, a reference to a statute or regulation by name means a statute or regulation of\n British Columbia of that name, as amended or replaced from time to time, and includes any enactments made\n under the authority of that statute or regulation.\n
    4. \n
    5. \n

      \n The following are the Schedules attached to and incorporated into this Agreement:\n

      \n\n
        \n
      • \n Schedule A – Specific Privacy and Security Measures\n
      • \n
      \n
    6. \n
    7. \n The main body of this Agreement, the Schedules, and any documents incorporated by reference into this Agreement\n are to be interpreted so that all of the provisions are given as full effect as possible. In the event of a\n conflict, unless expressly stated to the contrary, the main body of the Agreement will prevail over the\n Schedules, which will prevail over any document incorporated by reference.\n
    8. \n
    9. \n For greater certainty, nothing in this Agreement is intended to modify or otherwise limit the applicability of\n the privacy, security or confidentiality obligations agreed to by the Organization in the Service Contract.\n
    10. \n
    \n
  2. \n
\n\n

\n ARTICLE 2 – REPRESENTATIONS AND WARRANTIES\n

\n\n
    \n
  1. \n
      \n
    1. \n

      \n Organization represents and warrants to the Province, as of the date of this Agreement and throughout its\n term, that:\n

      \n\n
        \n
      1. \n the information contained in the Site Request for each Site is true and correct;\n
      2. \n
      3. \n

        \n if Organization is not an individual:\n

        \n\n
          \n
        1. \n Organization has the power and capacity to enter into this Agreement and to comply with its terms;\n
        2. \n
        3. \n all necessary corporate or other proceedings have been taken to authorize the execution and delivery of\n this Agreement by, or on behalf of, Organization; and\n
        4. \n
        5. \n this Agreement has been legally and properly executed by, or on behalf of, the Organization and is\n legally binding upon and enforceable against Organization in accordance with its terms.\n
        6. \n
        \n
      4. \n
      \n
    2. \n
    3. \n Organization must notify the Province at least seven (7) days in advance of any change to the information\n contained in a Site Request, including any change to a Site’s status, location, normal operating hours,\n Approved SSO, or the name and contact information of the Signing Authority or any of the other specific\n roles set out in the Site Request. Such notices must be submitted to the Province in the form and manner\n directed by the Province in its published instructions regarding the submission of updated Site Request\n information, as such instructions may be updated from time to time by the Province.\n
    4. \n
    \n
  2. \n
\n\n

\n ARTICLE 3 – SITE ACCESS REQUIREMENTS\n

\n\n
    \n
  1. \n
      \n
    1. \n Organization must comply with the Act and all applicable law.\n
    2. \n
    3. \n Organization must submit a Site Request to the Province for each physical location where it intends to provide\n Site Access, and must only provide Site Access from Sites approved in writing by the Province and only as\n authorized by the Province.\n
    4. \n
    5. \n Organization must only provide Site Access using SSO-Provided Technology.\n
    6. \n
    7. \n Unless otherwise authorized by the Province in writing, Organization must at all times use the secure network\n or security technology that the Province certifies or makes available to Organization for the purpose of Site\n Access. The use of any such network or technology by Organization may be subject to terms and conditions of\n use, including acceptable use policies, established by the Province and communicated to Organization from time\n to time in writing (including through this Agreement), and Organization must comply with all such terms and\n conditions of use.\n
    8. \n
    9. \n

      \n Organization must only make Site Access available to the following individuals:\n

      \n\n
        \n
      1. \n Authorized Users when they are physically located at a Site;\n
      2. \n
      3. \n Representatives of an Approved SSO for technical support purposes, in accordance with section 6 of the\n Information Management Regulation.\n
      4. \n
      \n
    10. \n
    11. \n

      \n Organization must ensure that Authorized Users with Site Access:\n

      \n
        \n
      1. \n only access PharmaNet to the extent necessary to provide Services in accordance with the Service Contract;\n
      2. \n
      3. \n first complete any mandatory training program(s) that the Site’s Approved SSO or the Province makes\n available in relation to PharmaNet;\n
      4. \n
      5. \n access PharmaNet using their own separate login identifications and credentials, and do not share or have\n multiple use of any such login identifications and credentials;\n
      6. \n
      7. \n secure all devices, codes and credentials that enable access to PharmaNet against unauthorized use;\n
      8. \n
      \n
    12. \n
    13. \n If notified by the Province that an Authorized User’s access to PharmaNet has been suspended or revoked,\n Organization will immediately take any local measures necessary to remove the Authorized User’s Site Access.\n Organization will only restore Site Access to a previously suspended or revoked Authorized User upon the\n Province’s specific written direction.\n
    14. \n
    15. \n

      \n For the purposes of this section:\n

      \n\n
        \n
      1. \n "Responsible Authorized User" means, in relation to any PharmaNet Data, the\n Regulated User by whom that data was obtained from PharmaNet; and\n
      2. \n
      3. \n "Use" includes to collect, access, retain, use, de-identify, and disclose.\n
      4. \n
      \n\n

      \n The PharmaNet Data disclosed under this Agreement is disclosed by the Province solely for the Use of the\n Responsible Authorized User to whom it is disclosed.\n

      \n\n

      \n Organization must not Use any PharmaNet Data, or permit any third party to Use PharmaNet Data, unless the\n Responsible Authorized User has authorized such Use and it is otherwise permitted under the Act, applicable\n law, and the limits and conditions imposed by the Province on the Responsible Authorized User.\n

      \n\n

      \n Organization explicitly acknowledges that sections 24 and 25 of the Act apply to all PharmaNet Data.\n

      \n\n

      \n This Agreement documents limits and conditions, set by the Minister in writing, that the Act requires\n Organization and Authorized Users to comply with.\n

      \n
    16. \n
    17. \n

      \n Organization must make all reasonable arrangements to protect PharmaNet Data against such risks as\n unauthorized access, collection, use, modification, retention, disclosure or disposal, including by:\n

      \n\n
        \n
      1. \n taking all reasonable physical, technical and operational measures necessary to ensure Site Access operates\n in accordance with sections 3.1 to 3.9 above, and\n
      2. \n
      3. \n complying with the requirements of Schedule A.\n
      4. \n
      \n
    18. \n
    19. \n Organization must ensure that no Authorized User submits Claims on PharmaNet other than from a Site in respect\n of which\n a person is enrolled as a Provider.\n
    20. \n
    \n
  2. \n
\n\n

\n ARTICLE 4 – NON-COMPLIANCE AND INVESTIGATIONS\n

\n\n
    \n
  1. \n
      \n
    1. \n Organization must promptly notify the Province, and provide particulars, if Organization does not comply, or\n anticipates that it will be unable to comply, with the terms of this Agreement, or if Organization has knowledge\n of any circumstances, incidents or events which have or may jeopardize the security, confidentiality or\n integrity of PharmaNet, including any attempt by any person to gain unauthorized access to PharmaNet or the\n networks or equipment used to connect to PharmaNet or convey PharmaNet Data.\n
    2. \n
    3. \n Organization must immediately investigate any suspected breaches of this Agreement and take all reasonable steps\n to prevent recurrences of any such breaches.\n
    4. \n
    5. \n Organization must cooperate with any audits or investigations conducted by the Province (including any\n independent auditor appointed by the Province) regarding compliance with this Agreement, including by providing\n access upon request to a Site and any associated facilities, networks, equipment, systems, books, records and\n personnel for the purposes of such audit or investigation.\n
    6. \n
    \n
  2. \n
\n\n

\n ARTICLE 5 – SITE TERMINATION\n

\n\n
    \n
  1. \n
      \n
    1. \n

      \n The Province may terminate all Site Access at a Site immediately, upon notice to the Signing Authority for\n the Site, if:\n

      \n\n
        \n
      1. \n the Approved SSO for the Site is no longer approved by the Province to provide information technology\n hardware, software, or service in connection with PharmaNet, or\n
      2. \n
      3. \n the Province determines that the SSO-Provided Technology or Associated Technology in use at the Site, or\n any component thereof, is obsolete, unsupported, or otherwise poses an unacceptable security risk to\n PharmaNet and Organization is unable or unwilling to remedy the problem within a time frame acceptable to\n the Province.\n
      4. \n
      \n
    2. \n
    3. \n As a security precaution, the Province may suspend Site Access at a Site after a period of inactivity. If Site\n Access at a Site remains inactive for a period of 90 days or more, the Province may, immediately upon notice to\n the Signing Authority for the Site, terminate all further Site Access at the Site.\n
    4. \n
    5. \n Organization must prevent all further Site Access at a Site immediately upon the Province’s termination, in\n accordance with this Article 5 of Site Access at the Site.\n
    6. \n
    \n
  2. \n
\n\n

\n ARTICLE 6 – TERM AND TERMINATION\n

\n\n
    \n
  1. \n
      \n
    1. \n

      \n The term of this Agreement begins on the date first noted above and continues until the earliest of:\n

      \n\n
        \n
      1. \n the expiration or earlier termination of the term of the Service Contract; or\n
      2. \n
      3. \n the date this Agreement is terminated in accordance with this Article 6.\n
      4. \n
      \n
    2. \n
    3. \n Organization may terminate this Agreement at any time on notice to the Province.\n
    4. \n
    5. \n The Province may terminate this Agreement immediately upon notice to Organization if Organization fails to\n comply with any provision of this Agreement.\n
    6. \n
    7. \n The Province may terminate this Agreement immediately upon notice to Organization in the event Organization no\n longer operates any Sites where Site Access is permitted.\n
    8. \n
    9. \n The Province may terminate this Agreement for any reason upon two (2) months advance notice to Organization.\n
    10. \n
    11. \n Organization must prevent any further Site Access immediately upon expiration or termination of the term of\n this Agreement.\n
    12. \n
    \n
  2. \n
\n\n

\n ARTICLE 7 – DISCLAIMER AND INDEMNITY\n

\n\n
    \n
  1. \n
      \n
    1. \n The PharmaNet access and PharmaNet Data provided under this Agreement are provided \"as is\" without warranty of\n any kind, whether express or implied. All implied warranties, including, without limitation, implied warranties\n of merchantability, fitness for a particular purpose, and non-infringement, are hereby expressly disclaimed.\n The Province does not warrant the accuracy, completeness or reliability of the PharmaNet Data or the\n availability of PharmaNet, or that access to or the operation of PharmaNet will function without error,\n failure or interruption.\n
    2. \n
    3. \n Under no circumstances will the Province be liable to any person or business entity for any direct, indirect,\n special, incidental, consequential, or other damages based on any use of PharmaNet or the PharmaNet Data,\n including without limitation any lost profits, business interruption, or loss of programs or information, even\n if the Province has been specifically advised of the possibility of such damages.\n
    4. \n
    \n
  2. \n
\n\n

\n ARTICLE 8 – GENERAL\n

\n\n
    \n
  1. \n
      \n
    1. \n

      \n Notice. Except where this Agreement expressly provides for another method\n of delivery, any notice to be given to the Province must be in writing and mailed or emailed to:\n

      \n\n
      \n Director, Information and PharmaNet Innovation
      \n Ministry of Health
      \n PO Box 9652, STN PROV GOVT
      \n Victoria, BC V8W 9P4
      \n\n
      \n\n PRIMESupport@gov.bc.ca\n
      \n\n

      \n Any notice to be given to a Signing Authority or the Organization will be in writing and emailed, mailed,\n faxed or text-messaged to the Signing Authority (in the case of notice to a Signing Authority) or all Signing\n Authorities (in the case of notice to the Organization). A Signing Authority may be required to click a URL\n link or to log in to the Province’s \"PRIME\" system to receive the content of any such notice.\n

      \n\n

      \n Any written notice from a party, if sent electronically, will be deemed to have been received 24 hours after\n the time the notice was sent, or, if sent by mail, will be deemed to have been received 3 days (excluding\n Saturdays, Sundays and statutory holidays) after the date the notice was sent.\n

      \n
    2. \n
    3. \n Waiver. The failure of the Province at any time to insist on performance of\n any provision of this Agreement by Organization is not a waiver of its right subsequently to insist on\n performance of that or any other provision of this Agreement. A waiver of any provision or breach of this\n Agreement is effective only if it is writing and signed by, or on behalf of, the waiving party.\n
    4. \n
    5. \n Modification. No modification to this Agreement is effective unless it is\n in writing and signed by, or on behalf of, the parties.\n
    6. \n
    7. \n

      \n Governing Law. This Agreement will be governed by and will be construed\n and interpreted in accordance with the laws of British Columbia and the laws of Canada applicable therein.\n

      \n
    8. \n
    9. \n

      \n Survival. Sections 3.1, 3.8, 3.9, 4, 7 and any other provision of this\n Agreement that expressly or by its nature continues after termination, shall survive termination of this\n Agreement.\n

      \n
    10. \n
    \n
  2. \n
\n\n{{signature_block}}\n\n

\n SCHEDULE A – SPECIFIC PRIVACY AND SECURITY MEASURES\n

\n\n

\n Organization must, in relation to each Site\n

\n\n
    \n
  1. \n secure all workstations and printers at the Site to prevent any viewing of PharmaNet Data by persons other than\n Authorized Users;\n
  2. \n
  3. \n

    \n implement all privacy and security measures specified in the following documents published by the Province, as\n amended from time to time:\n

    \n\n
      \n
    1. \n

      \n the PharmaNet Professional and Software Conformance Standards\n

      \n\n \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards\n \n
    2. \n
    3. \n

      \n Office of the Chief Information Officer: \"Submission for Technical Security Standard and High Level\n Architecture for Wireless Local Area Network Connectivity\"\n

      \n\n \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/system-access/requirements-for-wireless-access-to-pharmanet\n \n
    4. \n
    \n
  4. \n
  5. \n ensure that a qualified technical support person is engaged to provide security support for the Site. This person\n should be familiar with the Site’s network configurations, hardware and software, including all SSO-Provided\n Technology and Associated Technology, and should be capable of understanding and adhering to the standards set\n forth in this Agreement and Schedule. Note that any such qualified technical support person must not be permitted\n by Organization to access or use PharmaNet in any manner, unless otherwise permitted under this Agreement;\n
  6. \n
  7. \n establish and maintain documented privacy policies that detail how Organization will meet its privacy obligations\n in relation to the Site;\n
  8. \n
  9. \n establish breach reporting and response processes in relation to the Site;\n
  10. \n
  11. \n detail expectations for privacy protection in contracts and service agreements as applicable at the Site;\n
  12. \n
  13. \n regularly review the administrative, physical and technological safeguards at the Site;\n
  14. \n
  15. \n establish and maintain a program for monitoring PharmaNet use at the Site, including by making appropriate\n monitoring and reporting mechanisms available to Authorized Users for this purpose.\n
  16. \n
\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 13, + AgreementType = 1, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2020, 10, 22, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Text = "

\n By enrolling for PharmaNet access, you agree to the following terms (the “Agreement”). Please read them carefully.\n

\n\n

PHARMANET USER TERMS OF ACCESS FOR PHARMACISTS

\n\n
    \n
  1. \n\n

    \n BACKGROUND\n

    \n\n

    \n The Province owns and is responsible for the operation of PharmaNet, the province-wide network that links B.C.\n pharmacies to a central data system. Every prescription dispensed in community pharmacies in B.C. is entered into\n PharmaNet.\n

    \n\n

    \n The purpose of providing you, and the On-Behalf-of Users whom you have authorized, with access to PharmaNet is to\n enhance patient care by providing timely and relevant information to persons involved in the provision of direct\n patient care.\n

    \n\n

    \n PharmaNet contains highly sensitive confidential information, including Personal Information and the proprietary\n and confidential information of third-party licensors to the Province, and it is in the public interest to ensure\n that appropriate measures are in place to protect the confidentiality of all such information. All access to and\n use of PharmaNet and PharmaNet Data is subject to the Act and Privacy Laws.\n

    \n\n
  2. \n
  3. \n\n

    \n INTERPRETATION\n

    \n\n
      \n
    1. \n\n

      \n Definitions. Unless otherwise provided in this Agreement, capitalized terms will have the\n meanings given below:\n

      \n\n
        \n
      • \n “Act” means the Pharmaceutical Services Act.\n
      • \n
      • \n “Approved Practice Site” means the physical site at which you provide Direct Patient Care\n and which is approved by the Province for PharmaNet access.\n
      • \n
      • \n “Approved SSO” means a software support organization approved by the Province that provides\n you with the information technology software and/or services through which you and On-Behalf-of Users access\n PharmaNet.\n
      • \n
      • \n “Claim” means a claim made under the Act for payment in respect of a benefit under the Act.\n
      • \n
      • \n\n

        \n “Conformance Standards” means the following documents published by the Province, as\n amended from time to time:\n

        \n\n
          \n
        1. \n PharmaNet Professional and Software Conformance Standards
          \n \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards\n ; and\n
        2. \n
        3. \n Office of the Chief Information Officer: “Submission for Technical Security Standard and High Level\n Architecture for Wireless Local Area Network Connectivity”.\n \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/system-access/requirements-for-wireless-access-to-pharmanet\n \n
        4. \n
        \n\n
      • \n
      • \n “Device Provider” means a person enrolled under section 11 of the Act in the class of\n provider known as “device provider”.\n
      • \n
      • \n “Direct Patient Care” means, for the purposes of this Agreement, the provision of health\n services to an individual to whom you provide direct patient care in the context of your Practice.\n
      • \n
      • \n “Information Management Regulation” means the Information Management Regulation,\n B.C. Reg.\n 74/2015.\n
      • \n
      • \n “On-Behalf-of User” means a member of your staff who (i) requires access to PharmaNet to\n carry out duties in relation to your Practice; (ii) is authorized by you to access PharmaNet on your behalf;\n and (iii) has been granted access to PharmaNet by the Province.\n
      • \n
      • \n “Personal Information” means all recorded information that is about an identifiable\n individual or is defined as, or deemed to be, “personal information” or “personal health information”\n pursuant to any Privacy Laws.\n
      • \n
      • \n “PharmaCare Newsletter” means the PharmaCare newsletter published by the Province on the\n following website (or such other website as may be specified by the Province from time to time for this\n purpose):\n\n

        \n\n www.gov.bc.ca/pharmacarenewsletter\n
      • \n
      • \n “PharmaNet” means PharmaNet as continued under section 2 of the Information Management\n Regulation.\n
      • \n
      • \n “PharmaNet Data” includes any record or information contained in PharmaNet and any record\n or information in the custody, control or possession of you or an On-Behalf-of User that was obtained\n through your or an On-Behalf-of User’s access to PharmaNet.\n
      • \n
      • \n “Practice” means your practice of the health profession regulated under the Health\n Professions Act, or your practice as a Device Provider, as identified by you through PRIME\n or another mechanism provided by the Province.\n
      • \n
      • \n “PRIME” means the online service provided by the Province that allows users to apply for,\n and manage, their access to PharmaNet, and through which users are granted access by the Province.\n
      • \n
      • \n “Privacy Laws” means the Act, the\n Freedom of Information and Protection of Privacy Act, the Personal Information Protection Act, and\n any other statutory or legal obligations of privacy owed by you or the Province, whether arising under\n statute, by contract or at common law.\n
      • \n
      • \n “Provider” means a person enrolled under section 11 of the Act for the purpose of receiving\n payment for providing benefits.\n
      • \n
      • \n “Provider Regulation” means the Provider Regulation, B.C. Reg. 222/2014.\n
      • \n
      • \n “Province” means Her Majesty the Queen in Right of British Columbia, as represented by the\n Minister of Health.\n
      • \n
      • \n “Professional College” is the regulatory body governing your Practice.\n
      • \n
      • \n

        \n “Unauthorized Person” means any person other than:\n

        \n\n
          \n
        1. \n you,\n
        2. \n
        3. \n an On-Behalf-of User, or\n
        4. \n
        5. \n a representative of an Approved SSO that is accessing PharmaNet for technical support purposes in\n accordance with section 6 of the Information Management Regulation.\n
        6. \n
        \n\n
      • \n
      \n\n
    2. \n
    3. \n Reference to Enactments. Unless otherwise specified, a reference to a statute or regulation by\n name means the statute or regulation of British Columbia of that name, as amended or replaced from time to time,\n and includes any enactment made under the authority of that statute or regulation.\n
    4. \n
    5. \n\n

      \n Conflicting Provisions. In the event of a conflict among provisions of this Agreement:\n

      \n\n
        \n
      1. \n a provision in the body of this Agreement will prevail over any conflicting provision in any further limits\n or conditions communicated to you in writing by the Province, unless the conflicting provision expressly\n states otherwise; and\n
      2. \n
      3. \n a provision referred to in (i) above will prevail over any conflicting provision in the Conformance\n Standards.\n
      4. \n
      \n\n
    6. \n
    \n\n
  4. \n
  5. \n\n

    \n APPLICATION OF LEGISLATION\n

    \n\n

    \n You will strictly comply with, and you will ensure that On-Behalf-of Users strictly comply with, the Act, the\n Information Management Regulation and all Privacy Laws applicable to PharmaNet and PharmaNet Data.\n

    \n\n
  6. \n
  7. \n\n

    \n NOTICE THAT SPECIFIC PROVISIONS OF THE ACT APPLY DIRECTLY TO YOU\n

    \n\n

    \n You acknowledge that:\n

    \n\n
      \n
    1. \n PharmaNet Data accessed by you or an On-Behalf-of User pursuant to this Agreement is disclosed to you by the\n Province under the authority of the Act;\n
    2. \n
    3. \n specific provisions of the Act (including but not limited to sections 24, 25 and 29) and the Information\n Management Regulation apply directly to you and to On-Behalf-of Users as a result; and\n
    4. \n
    5. \n this Agreement documents limits and conditions, set by the minister in writing, that the Act requires you to\n comply with.\n
    6. \n
    \n\n
  8. \n
  9. \n\n

    \n ACCESS\n

    \n\n
      \n
    1. \n Grant of Access. The Province will provide you with access to PharmaNet subject to your\n compliance with the limits and conditions set out in this Agreement. The Province may from time to time, at its\n discretion, amend or change the scope of your access privileges to PharmaNet as privacy, security, business and\n clinical practice requirements change. In such circumstances, the Province will use reasonable efforts to notify\n you of such changes.\n
    2. \n
    3. \n\n

      \n Requirements for Access. The following requirements apply to your access to PharmaNet:\n

      \n\n
        \n
      1. \n you will only access PharmaNet, and you will ensure that On-Behalf-of Users only access PharmaNet, for so\n long as you are a registrant in good standing with the Professional College and your registration permits\n you to deliver Direct Patient Care requiring access to PharmaNet or, in the case of access as a Device\n Provider, for so long as you are enrolled as a Device Provider;\n
      2. \n
      3. \n you will only access PharmaNet: at the Approved Practice Site, and using only the technologies and\n applications approved by the Province;\n
      4. \n
      5. \n you must ensure that your On-Behalf-of-Users do not access PharmaNet on your behalf unless the access takes\n place at the Approved Practice Site and the access is required in relation to patients for whom you will be\n providing Direct Patient Care at the Approved Practice Site;\n
      6. \n
      7. \n you will only access PharmaNet as necessary for your provision of Direct Patient Care, and you will ensure\n that On-Behalf-of Users only access PharmaNet as necessary to support your provision of Direct Patient Care;\n
      8. \n
      9. \n you will not submit Claims on PharmaNet other than from an Approved Practice Site in respect of which a\n person is enrolled as a Provider, and you will ensure that On-Behalf-of Users submit Claims on PharmaNet\n only from an Approved Practice Site in respect of which a person is enrolled as a Provider;\n
      10. \n
      11. \n you will not under any circumstances access PharmaNet, or use PharmaNet Data, for the purpose of market\n research, and you will ensure that no On-Behalf-of Users access PharmaNet, or use PharmaNet Data, for the\n purpose of market research;\n
      12. \n
      13. \n subject to section 6(b) of this Agreement, you will not use PharmaNet Data, and you will ensure that\n On-Behalf-of Users do not use PharmaNet Data, for any purpose other than your provision of Direct Patient\n Care, including for the purposes of quality improvement, evaluation, health care planning, surveillance,\n research or other secondary uses;\n
      14. \n
      15. \n you will not permit any Unauthorized Person to access PharmaNet, and you will take all reasonable measures\n to ensure that no Unauthorized Person can access PharmaNet;\n
      16. \n
      17. \n you will complete any training program(s) that your Approved SSO makes available to you in relation to\n PharmaNet, and you will ensure that all On-Behalf-of Users complete such training;\n
      18. \n
      19. \n you will immediately notify the Province when you or an On-Behalf-of User no longer require access to\n PharmaNet, including where the On-Behalf-of User ceases to be one of your staff or takes a leave of absence\n from your staff, or where the On-Behalf-of User’s access-related duties in relation to the Practice have\n changed;\n
      20. \n
      21. \n you will comply with, and you will ensure that On-Behalf-of Users comply with, any additional limits or\n conditions applicable to you, as may be communicated to you by the Province in writing;\n
      22. \n
      23. \n you represent and warrant that all information provided by you in connection with your application for\n PharmaNet access, including through PRIME, is true and correct.\n
      24. \n
      \n\n
    4. \n
    5. \n Responsibility for On-Behalf-of Users. You agree that you are responsible under this Agreement\n for all activities undertaken by On-Behalf-of Users in relation to their access to PharmaNet and use of\n PharmaNet Data.\n
    6. \n
    7. \n\n

      \n Privacy and Security Measures. You are responsible for taking all reasonable measures to\n safeguard Personal Information, including any Personal Information in PharmaNet Data while it is in the\n custody, control or possession of yourself or an On-Behalf-of User. In particular, you will:\n

      \n\n
        \n
      1. \n take all reasonable steps to ensure the physical security of Personal Information, generally and as\n required by Privacy Laws;\n
      2. \n
      3. \n secure all workstations and printers in a protected area in the Approved Practice Site to prevent\n viewing of PharmaNet Data by Unauthorized Persons;\n
      4. \n
      5. \n ensure separate access credential (such as user name and password) for each On-Behalf-of User, and\n prohibit sharing or other multiple use of your access credential, or an On-Behalf-of User’s access\n credential, for access to PharmaNet;\n
      6. \n
      7. \n secure any workstations used to access PharmaNet and all devices, codes or passwords that enable access\n to PharmaNet by yourself or any On-Behalf-of User;\n
      8. \n
      9. \n take such other privacy and security measures as the Province may reasonably require from time-to-time.\n
      10. \n
      \n\n
    8. \n
    9. \n Conformance Standards. You will comply with, and will ensure On-Behalf-of Users comply with,\n the rules specified in the Conformance Standards when accessing and recording information in PharmaNet.\n
    10. \n
    \n\n
  10. \n
  11. \n\n

    \n DISCLOSURE, STORAGE, AND ACCESS REQUESTS\n

    \n\n
      \n
    1. \n Retention of PharmaNet Data. You will not store or retain PharmaNet Data in any paper files or\n any electronic system, unless such storage or retention is required for record keeping in accordance with the\n Act, the Provider Regulation, and Professional College requirements and in connection with your provision of\n Direct Patient Care and otherwise is in compliance with the Conformance Standards. You will not modify any\n records retained in accordance with this section other than as may be expressly authorized in the Conformance\n Standards. For clarity, you may annotate a discrete record provided that the discrete record is not itself\n modified other than as expressly authorized in the Conformance Standards.\n
    2. \n
    3. \n Use of Retained Records. You may use any records retained by you in accordance with section\n 6(a) of this Agreement for a purpose authorized under section 24(1) of the Act, including for the purpose of\n monitoring your own Practice.\n
    4. \n
    5. \n Disclosure to Third Parties. You will not, and will ensure that On-Behalf-of Users do not,\n disclose PharmaNet Data to any Unauthorized Person, unless disclosure is required for Direct Patient Care or is\n otherwise authorized under section 24(1) of the Act.\n
    6. \n
    7. \n No Disclosure for Market Research. You will not, and will ensure that On-Behalf-of Users do\n not, disclose PharmaNet Data for the purpose of market research.\n
    8. \n
    9. \n Responding to Patient Access Requests. Aside from any records retained by you in accordance\n with section 6(a) of this Agreement, you will not provide to patients any copies of records containing PharmaNet\n Data or “print outs” produced directly from PharmaNet, and will refer any requests for access to such records or\n “print outs” to the Province.\n
    10. \n
    11. \n Responding to Requests to Correct a Record Contained in PharmaNet. If you receive a request for\n correction of any record or information contained in PharmaNet, you will refer the request to the Province.\n
    12. \n
    13. \n Legal Demands for Records Contained in PharmaNet. You will immediately notify the Province if\n you receive any order, demand or request compelling, or threatening to compel, disclosure of records contained\n in PharmaNet. You will cooperate and consult with the Province in responding to any such demands. For greater\n certainty, the foregoing requires that you notify the Province only with respect to any access requests or\n demands for records contained in PharmaNet, and not records retained by you in accordance with section 6(a) of\n this Agreement.\n
    14. \n
    \n\n
  12. \n
  13. \n\n

    \n ACCURACY\n

    \n\n

    \n You will make reasonable efforts to ensure that any Personal Information recorded by you or an On-Behalf-of User\n in PharmaNet is accurate, complete and up to date. In the event that you become aware of a material inaccuracy or\n error in such information, you will take reasonable steps to investigate the inaccuracy or error, correct it if\n necessary, and notify the Province of the inaccuracy or error and any steps taken.\n

    \n\n
  14. \n
  15. \n\n

    \n INVESTIGATIONS, AUDITS, AND REPORTING\n

    \n\n
      \n
    1. \n Audits and Investigations. You will cooperate with any audits or investigations conducted by\n the Province regarding your, or any On-Behalf-of User’s, compliance with the Act, Privacy Laws and this\n Agreement, including providing access upon request to your facilities, data management systems, books, records\n and personnel for the purposes of such audit or investigation.\n
    2. \n
    3. \n Reports to College or Privacy Commissioner. You acknowledge and agree that the Province may\n report any material breach of this Agreement to your Professional College or to the Information and Privacy\n Commissioner of British Columbia.\n
    4. \n
    \n\n
  16. \n
  17. \n\n

    \n NOTICE OF NON-COMPLIANCE AND DUTY TO INVESTIGATE\n

    \n\n
      \n
    1. \n Duty to Investigate. You will investigate suspected breaches of the terms of this Agreement,\n and will take all reasonable steps to prevent recurrences of any such breaches, including taking any steps\n necessary to cooperate with the Province in ensuring the suspension or termination of an On-Behalf-of User’s\n access rights.\n
    2. \n
    3. \n\n

      \n Non-Compliance. You will promptly notify the Province, and provide particulars, if:\n

      \n\n
        \n
      1. \n you or an On-Behalf-of User do not comply, or you anticipate that you or a On-Behalf-of User will be unable\n to comply with the terms of this Agreement in any respect, or\n
      2. \n
      3. \n you have knowledge of any circumstances, incidents or events which have or may jeopardize the security,\n confidentiality, or integrity of PharmaNet, including any unauthorized attempt, by any person, to access\n PharmaNet.\n
      4. \n
      \n\n
    4. \n
    \n\n
  18. \n
  19. \n\n

    \n TERM OF AGREEMENT, SUSPENSION & TERMINATION\n

    \n\n
      \n
    1. \n Term. The term of this Agreement begins on the date you are granted access to PharmaNet by the\n Province and will continue until the date this Agreement is terminated under paragraph (b), (c), (d) or (e)\n below.\n
    2. \n
    3. \n Termination for Any Reason. You may terminate this Agreement at any time on written notice to\n the Province.\n
    4. \n
    5. \n Suspension or Termination of PharmaNet Access. If the Province suspends or terminates your\n right, or an On-Behalf-of User’s right, to access PharmaNet under the\n Information Management Regulation, the Province may also terminate this Agreement at any time\n thereafter upon written notice to you.\n
    6. \n
    7. \n Termination for Breach. Notwithstanding paragraph (c) above, the Province may terminate this\n Agreement, and any or all access to PharmaNet by you or an On-Behalf-of User, immediately upon notice to you if\n you or an On-Behalf-of User fail to comply with any provision of this Agreement.\n
    8. \n
    9. \n Termination by Operation of the Information Management Regulation. This Agreement will\n terminate automatically if your access to PharmaNet ends by operation of section 18 of the\n Information Management Regulation.\n
    10. \n
    11. \n Suspension of Account for Inactivity. As a security precaution, the Province may suspend your\n account or an On-Behalf-of User’s account after a period of inactivity, in accordance with the Province’s\n policies. Please contact the Province immediately if your account has been suspended for inactivity but you\n still require access to PharmaNet.\n
    12. \n
    \n\n
  20. \n
  21. \n\n

    \n DISCLAIMER OF WARRANTY, LIMITATION OF LIABILITY AND INDEMNITY\n

    \n\n
      \n
    1. \n Information Provided As Is. You acknowledge and agree that any use of PharmaNet and PharmaNet\n Data is solely at your own risk. All such access and information is provided on an “as is” and “as available”\n basis without warranty or condition of any kind. The Province does not warrant the accuracy, completeness or\n reliability of the PharmaNet Data or the availability of PharmaNet, or that access to or the operation of\n PharmaNet will function without error, failure or interruption.\n
    2. \n
    3. \n You Are Responsible. You are responsible for verifying the accuracy of information disclosed to\n you as a result of your access to PharmaNet or otherwise pursuant to this Agreement before relying or acting\n upon such information. The clinical or other information disclosed to you or an On-Behalf-of User pursuant to\n this Agreement is in no way intended to be a substitute for professional judgment.\n
    4. \n
    5. \n The Province Not Liable for Loss. No action may be brought by any person against the Province\n for any loss or damage of any kind caused by any reason or purpose related to reliance on PharmaNet or PharmaNet\n Data.\n
    6. \n
    7. \n You Must Indemnify the Province If You Cause a Loss or Claim. You agree to indemnify and save\n harmless the Province, and the Province’s employees and agents (each an \"Indemnified Person\")\n from any losses, claims, damages, actions, causes of action, costs and expenses that an Indemnified Person may\n sustain, incur, suffer or be put to at any time, either before or after this Agreement ends, which are based\n upon, arise out of or occur directly or indirectly by reason of any act or omission by you, or by any\n On-Behalf-of User, in connection with this Agreement or in connection with access to PharmaNet by you or an\n On-Behalf-of User.\n
    8. \n
    \n\n
  22. \n
  23. \n\n

    \n NOTICE\n

    \n\n
      \n
    1. \n\n

      \n Notice to Province. Except where this Agreement expressly provides for another method of\n delivery, any notice to be given by you to the Province that is contemplated by this Agreement, to be\n effective, must be in writing and emailed or mailed to:\n

      \n\n
      \n Director, Information and PharmaNet Innovation
      \n Ministry of Health
      \n PO Box 9652, STN PROV GOVT
      \n Victoria, BC V8W 9P4
      \n\n
      \n\n PRIMESupport@gov.bc.ca\n
      \n\n
    2. \n
    3. \n Notice to You. Any notice to you to be delivered under the terms of this Agreement will be in\n writing and delivered by the Province to you using any of the contact mechanisms identified by you in PRIME,\n including by mail to a specified postal address, email to a specified email address or text message to the\n specified cell phone number. You may be required to click a URL link or log into PRIME to receive the content of\n any such notice.\n
    4. \n
    5. \n Deemed Receipt. Any written communication from a party, if personally delivered or sent\n electronically, will be deemed to have been received 24 hours after the time the notice was sent, or, if sent by\n mail, will be deemed to have been received 3 days (excluding Saturdays, Sundays and statutory holidays) after\n the date the notice was sent.\n
    6. \n
    7. \n Substitute Contact Information. You may notify the Province of a substitute contact mechanism\n by updating your contact information in PRIME.\n
    8. \n
    \n\n
  24. \n
  25. \n\n

    \n GENERAL\n

    \n\n
      \n
    1. \n\n

      \n Severability. Each provision in this Agreement constitutes a separate covenant and is\n severable from any other covenant, and if any of them are held by a court, or other decision-maker, to be\n invalid, this Agreement will be interpreted as if such provisions were not included.\n

      \n\n
    2. \n
    3. \n\n

      \n Survival. Sections 3, 4, 5(b)(vi) (vii), 5(c), 5(d), 6(a)(b)(c)(d), 8, 9, 11, and any other\n provision of this Agreement that expressly or by its nature continues after termination, shall survive\n termination of this Agreement.\n

      \n\n
    4. \n
    5. \n\n

      \n Governing Law. This Agreement will be governed by and will be construed and interpreted in\n accordance with the laws of British Columbia and the laws of Canada applicable therein.\n

      \n\n
    6. \n
    7. \n\n

      \n Assignment Restricted. Your rights and obligations under this Agreement may not be assigned\n without the prior written approval of the Province.\n

      \n\n
    8. \n
    9. \n\n

      \n Waiver. The failure of the Province at any time to insist on performance of any provision of\n this Agreement by you is not a waiver of its right subsequently to insist on performance of that or any other\n provision of this Agreement.\n

      \n\n
    10. \n
    11. \n\n

      \n Province May Modify this Agreement. The Province may amend this Agreement, including this\n section, at any time in its sole discretion:\n

      \n\n
        \n
      1. \n by written notice to you, in which case the amendment will become effective upon the later of (A) the\n date notice of the amendment is first delivered to you, or (B) the effective date of the amendment specified\n by the Province, if any; or\n
      2. \n
      3. \n by publishing notice of any such amendment in the PharmaCare Newsletter, in which case the notice will\n specify the effective date of the amendment, which date will be at least 30 (thirty) days after the date\n that the PharmaCare Newsletter containing the notice is first published.\n
      4. \n
      \n\n

      \n If you or an On-Behalf-of User access or use PharmaNet after the effective date of an amendment described in\n (i) or (ii) above, you will be deemed to have accepted the corresponding amendment, and this Agreement will be\n deemed to have been so amended as of the effective date. If you do not agree with any amendment for which\n notice has been provided by the Province in accordance with (i) or (ii) above, you must promptly (and in any\n event before the effective date) cease all access or use of PharmaNet by yourself and all On-Behalf-of Users,\n and take the steps necessary to terminate this Agreement in accordance with section 10.\n

      \n\n
    12. \n
    \n\n
  26. \n
\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 14, + AgreementType = 6, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Text = "

\n PHARMANET TERMS OF ACCESS FOR PHARMACY OR DEVICE PROVIDER ON-BEHALF-OF USER\n

\n\n

\n By enrolling for PharmaNet access, you agree to the following terms (the “Agreement”). Please read them carefully.\n

\n\n

\n On-Behalf-of User Access\n

\n\n
    \n
  1. \n

    \n You represent and warrant to the Province that:\n

    \n\n
      \n
    1. \n your employment duties in relation to a Practitioner require you to access PharmaNet (and PharmaNet Data) to\n support the Practitioner’s delivery of Direct Patient Care;\n
    2. \n
    3. \n you are directly supervised by a Practitioner, who has been granted access to PharmaNet by the Province; and\n
    4. \n
    5. \n all information provided by you in connection with your application for PharmaNet access, including all\n information submitted through PRIME, is true and correct.\n
    6. \n
    \n\n
  2. \n
\n\n

\n Definitions\n

\n\n
    \n
  1. \n\n

    \n In these terms, capitalized terms will have the following meanings:\n

    \n\n
      \n
    • \n “Approved Practice Site” means the physical site at which a Practitioner provides Direct\n Patient Care and which is approved by the Province for PharmaNet access. For greater certainty, “Approved\n Practice Site” does not include a location from which remote access to PharmaNet takes place.\n
    • \n
    • \n “Direct Patient Care” means, for the purposes of this Agreement, the provision of health\n services to an individual to whom a Practitioner provides direct patient care in the context of their Practice.\n
    • \n
    • \n “PharmaCare Newsletter” means the PharmaCare newsletter published by the Province on the\n following website (or such other website as may be specified by the Province from time to time for this\n purpose):\n\n

      \n\n http://www.gov.bc.ca/pharmacarenewsletter\n
    • \n
    • \n “PharmaNet” means PharmaNet as continued under section 2 of the Information Management\n Regulation, B.C. Reg. 74/2015.\n
    • \n
    • \n “PharmaNet Data” includes any record or information contained in PharmaNet and any record or\n information in the custody, control or possession of you or a Practitioner that was obtained through access to\n PharmaNet by anyone.\n
    • \n
    • \n “Practice” means a Practitioner’s practice of their health profession.\n
    • \n
    • \n “Practitioner” means a health professional regulated under the Health Professions Act,\n or an\n enrolled device provider under the Provider Regulation, B.C. Reg. 222/2014,who supervises your access\n to and use of PharmaNet and who has been granted access to PharmaNet by the Province.\n
    • \n
    • \n “PRIME” means the online service provided by the Province that allows users to apply for, and\n manage, their access to PharmaNet, and through which users are granted access by the Province.\n
    • \n
    • \n “Province” means Her Majesty the Queen in Right of British Columbia, as represented by the\n Minister of Health.\n
    • \n
    \n\n
  2. \n
  3. \n Unless otherwise specified, a reference to a statute or regulation by name means the statute or regulation of\n British Columbia of that name, as amended or replaced from time to time, and includes any enactment made under the\n authority of that statute or regulation.\n
  4. \n
\n\n

\n Terms of Access to PharmaNet\n

\n\n
    \n
  1. \n\n

    \n You must:\n

    \n\n
      \n
    1. \n access and use PharmaNet and PharmaNet Data only at the Approved Practice Site of a Practitioner;\n
    2. \n
    3. \n access and use PharmaNet and PharmaNet Data only to support Direct Patient Care delivered by a Practitioner to\n the individuals whose PharmaNet Data you are accessing, and only if the Practitioner is or will be delivering\n Direct Patient Care requiring that access to those individuals at the same Approved Practice Site at which the\n access occurs;\n
    4. \n
    5. \n only access PharmaNet as permitted by law and directed by a Practitioner;\n
    6. \n
    7. \n maintain all PharmaNet Data, whether accessed on PharmaNet or otherwise disclosed to you in any manner, in\n strict confidence;\n
    8. \n
    9. \n maintain the security of PharmaNet, and any applications, connections, or networks used to access PharmaNet;\n
    10. \n
    11. \n complete all training required by the Approved Practice Site’s PharmaNet software vendor and the Province before\n accessing PharmaNet;\n
    12. \n
    13. \n notify the Province if you have any reason to suspect that PharmaNet, or any PharmaNet Data, is or has been\n accessed or used inappropriately by any person.\n
    14. \n
    \n\n
  2. \n
  3. \n\n

    \n You must not:\n

    \n\n
      \n
    1. \n disclose PharmaNet Data for any purpose other than Direct Patient Care, except as permitted by law and directed\n by a Practitioner;\n
    2. \n
    3. \n permit any person to use any user IDs, passwords or credentials provided to you to access PharmaNet;\n
    4. \n
    5. \n reveal, share or compromise any user IDs, passwords or credentials for PharmaNet;\n
    6. \n
    7. \n use, or attempt to use, the user IDs, passwords or credentials of any other person to access PharmaNet;\n
    8. \n
    9. \n take any action that might compromise the integrity of PharmaNet, its information, or the provincial drug plan,\n such as altering information or submitting false information;\n
    10. \n
    11. \n test the security related to PharmaNet;\n
    12. \n
    13. \n attempt to access PharmaNet from any location other than the Approved Practice Site of a Practitioner, including\n by VPN or other remote access technology;\n
    14. \n
    15. \n access PharmaNet unless the access is for the purpose of supporting a Practitioner in providing Direct Patient\n Care to a patient at the same Approved Practice Site at which your access occurs;\n
    16. \n
    17. \n use PharmaNet to submit claims to PharmaCare or a third-party insurer unless directed to do so by a Practitioner\n at an Approved Practice Site that is enrolled as a provider or device provider under the\n Provider Regulation, B.C. Reg. 222/2014.\n
    18. \n
    \n
  4. \n
\n
    \n
  1. \n Your access to PharmaNet and use of PharmaNet Data are governed by the Pharmaceutical Services Act and you must\n comply with all your duties under that Act.\n
  2. \n
  3. \n The Province may, in writing and from time to time, set further limits and conditions in respect of PharmaNet,\n either for you or for the Practitioner(s), and that you must comply with any such further limits and conditions.\n
  4. \n
\n\n

\n How to Notify the Province\n

\n\n
    \n
  1. \n\n

    \n Notice to the Province may be sent in writing to:\n

    \n\n
    \n Director, Information and PharmaNet Innovation
    \n Ministry of Health
    \n PO Box 9652, STN PROV GOVT
    \n Victoria, BC V8W 9P4
    \n\n
    \n\n PRIMESupport@gov.bc.ca\n
    \n
  2. \n
\n\n

\n Province May Modify These Terms\n

\n\n
    \n
  1. \n\n

    \n The Province may amend these terms, including this section, at any time in its sole discretion:\n

    \n\n
      \n
    1. \n by written notice to you, in which case the amendment will become effective upon the later of (A) the date\n notice of the amendment is first delivered to you, or (B) the effective date of the amendment specified by the\n Province, if any; or\n
    2. \n
    3. \n by publishing notice of any such amendment in the PharmaCare Newsletter, in which case the notice will specify\n the effective date of the amendment, which date will be at least thirty (30) days after the date that the\n PharmaCare Newsletter containing the notice is first published.\n
    4. \n
    \n\n

    \n If you do not agree with any amendment for which notice has been provided by the Province in accordance with (i)\n or (ii) above, you must promptly (and in any event before the effective date) cease all access or use of\n PharmaNet.\n

    \n\n

    \n If you do not agree with any amendment for which notice has been provided by the Province in accordance with (i)\n or (ii) above, you must promptly (and in any event before the effective date) cease all access or use of\n PharmaNet.\n

    \n
  2. \n
\n\n

\n Governing Law\n

\n\n
    \n
  1. \n\n

    \n These terms will be governed by and will be construed and interpreted in accordance with the laws of British\n Columbia and the laws of Canada applicable therein.\n

    \n\n
  2. \n
\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 15, + AgreementType = 3, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2020, 11, 12, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -8, 0, 0, 0)), + Text = "

\n PHARMANET TERMS OF ACCESS FOR ON-BEHALF-OF USER
\n

\n\n

\n By enrolling for PharmaNet access, you agree to the following terms (the “Agreement”). Please read them carefully.\n

\n\n

\n On Behalf-of-User Access\n

\n\n
    \n
  1. \n

    \n You represent and warrant to the Province that:\n

    \n\n
      \n
    1. \n your employment duties in relation to a Practitioner require you to access PharmaNet (and PharmaNet Data) to\n support the Practitioner’s delivery of Direct Patient Care;\n
    2. \n
    3. \n you are directly supervised by a Practitioner who has been granted access to PharmaNet by the Province; and\n
    4. \n
    5. \n all information provided by you in connection with your application for PharmaNet access, including all\n information submitted through PRIME, is true and correct.\n
    6. \n
    \n\n
  2. \n
\n\n

\n Definitions\n

\n\n
    \n
  1. \n

    \n In these terms, capitalized terms will have the following meanings:\n

    \n\n
      \n
    • \n “Approved Practice Site” means the physical site at which a Practitioner provides Direct\n Patient Care and which is approved by the Province for PharmaNet access. For greater certainty, “Approved\n Practice Site” does not include a location from which remote access to PharmaNet takes place.\n
    • \n
    • \n “Direct Patient Care” means, for the purposes of this Agreement, the provision of health\n services to an individual to whom a Practitioner provides direct patient care in the context of their Practice.\n
    • \n
    • \n “PharmaCare Newsletter” means the PharmaCare newsletter published by the Province on the\n following website (or such other website as may be specified by the Province from time to time for this\n purpose):\n\n

      \n\n www.gov.bc.ca/pharmacarenewsletter\n
    • \n
    • \n “PharmaNet” means PharmaNet as continued under section 2 of the Information Management\n Regulation, B.C. Reg. 74/2015.\n
    • \n
    • \n “PharmaNet Data” includes any record or information contained in PharmaNet and any record or\n information in the custody, control or possession of you or a Practitioner that was obtained through access to\n PharmaNet by anyone.\n
    • \n
    • \n “Practice” means a Practitioner’s practice of their health profession.\n
    • \n
    • \n “Practitioner” means a health professional regulated under the Health Professions Act,\n or an enrolled device provide under the Provider Regulation B.C. Reg. 222/2014, who supervises your\n access to and use of PharmaNet and who has been granted access to PharmaNet by the Province.\n
    • \n
    • \n “PRIME” means the online service provided by the Province that allows users to apply for, and\n manage, their access to PharmaNet, and through which users are granted access by the Province.\n
    • \n
    • \n “Province” means Her Majesty the Queen in Right of British Columbia, as represented by the\n Minister of Health.\n
    • \n
    \n\n
  2. \n
  3. \n Unless otherwise specified, a reference to a statute or regulation by name means the statute or regulation of\n British Columbia of that name, as amended or replaced from time to time, and includes any enactment made under the\n authority of that statute or regulation.\n
  4. \n
\n\n

\n Terms of Access to PharmaNet\n

\n\n
    \n
  1. \n\n

    \n You must:\n

    \n\n
      \n
    1. \n access and use PharmaNet and PharmaNet Data only at the Approved Practice Site of a Practitioner;\n
    2. \n
    3. \n access and use PharmaNet and PharmaNet Data only to support Direct Patient Care delivered by a Practitioner to\n the individuals whose PharmaNet Data you are accessing, and only if the Practitioner is or will be delivering\n Direct Patient Care requiring that access to those individuals at the same Approved Practice Site at which the\n access occurs;\n
    4. \n
    5. \n only access PharmaNet as permitted by law and directed by a Practitioner;\n
    6. \n
    7. \n maintain all PharmaNet Data, whether accessed on PharmaNet or otherwise disclosed to you in any manner, in\n strict confidence;\n
    8. \n
    9. \n maintain the security of PharmaNet, and any applications, connections, or networks used to access PharmaNet;\n
    10. \n
    11. \n complete all training required by the Approved Practice Site’s PharmaNet software vendor and the Province before\n accessing PharmaNet;\n
    12. \n
    13. \n notify the Province if you have any reason to suspect that PharmaNet, or any PharmaNet Data, is or has been\n accessed or used inappropriately by any person.\n
    14. \n
    \n\n
  2. \n
  3. \n\n

    \n You must not:\n

    \n\n
      \n
    1. \n disclose PharmaNet Data for any purpose other than Direct Patient Care, except as permitted by law and\n directed by a Practitioner;\n
    2. \n
    3. \n permit any person to use any user IDs, passwords or credentials provided to you to access PharmaNet;\n
    4. \n
    5. \n reveal, share or compromise any user IDs, passwords or credentials for PharmaNet;\n
    6. \n
    7. \n use, or attempt to use, the user IDs, passwords or credentials of any other person to access PharmaNet;\n
    8. \n
    9. \n take any action that might compromise the integrity of PharmaNet, its information, or the provincial drug plan,\n such as altering information or submitting false information;\n
    10. \n
    11. \n test the security related to PharmaNet;\n
    12. \n
    13. \n attempt to access PharmaNet from any location other than the Approved Practice Site of a Practitioner,\n including by VPN or other remote access technology;\n
    14. \n
    15. \n access PharmaNet unless the access is for the purpose of supporting a Practitioner in providing Direct\n Patient Care to a patient at the same Approved Practice Site at which your access occurs.\n
    16. \n
    \n
  4. \n
\n
    \n
  1. \n Your access to PharmaNet and use of PharmaNet Data are governed by the Pharmaceutical Services Act and you\n must comply with all your duties under that Act.\n
  2. \n
  3. \n The Province may, in writing and from time to time, set further limits and conditions in respect of PharmaNet,\n either for you or for the Practitioner(s), and that you must comply with any such further limits and conditions.\n
  4. \n
\n\n

\n How to Notify the Province\n

\n\n
    \n
  1. \n\n

    \n Notice to the Province may be sent in writing to:\n

    \n\n
    \n Director, Information and PharmaNet Development
    \n Ministry of Health
    \n PO Box 9652, STN PROV GOVT
    \n Victoria, BC V8W 9P4
    \n\n
    \n\n PRIMESupport@gov.bc.ca\n
    \n\n
  2. \n
\n\n

\n Province May Modify These Terms\n

\n\n
    \n
  1. \n

    \n The Province may amend these terms, including this section, at any time in its sole discretion:\n

    \n\n
      \n
    1. \n by written notice to you, in which case the amendment will become effective upon the later of (A) the date\n notice of the amendment is first delivered to you, or (B) the effective date of the amendment specified by the\n Province, if any; or\n
    2. \n
    3. \n by publishing notice of any such amendment in the PharmaCare Newsletter, in which case the notice will specify\n the effective date of the amendment, which date will be at least thirty (30) days after the date that the\n PharmaCare Newsletter containing the notice is first published.\n
    4. \n
    \n\n

    \n If you do not agree with any amendment for which notice has been provided by the Province in accordance with (i)\n or (ii) above, you must promptly (and in any event before the effective date) cease all access or use of\n PharmaNet.\n

    \n\n

    \n Any written notice to you under (i) above will be in writing and delivered by the Province to you using any of the\n contact mechanisms identified by you in PRIME, including by mail to a specified postal address, email to a\n specified email address or text message to a specified cell phone number. You may be required to click a URL link\n or log into PRIME to receive the contents of any such notice.\n

    \n\n
  2. \n
\n\n

\n Governing Law\n

\n\n
    \n
  1. \n\n

    \n These terms will be governed by and will be construed and interpreted in accordance with the laws of British\n Columbia and the laws of Canada applicable therein.\n

    \n\n
  2. \n
\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 16, + AgreementType = 2, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2020, 11, 27, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -8, 0, 0, 0)), + Text = "

PHARMANET REGULATED USER TERMS OF ACCESS

\n\n

\n By enrolling for PharmaNet access, you agree to the following terms (the "Agreement"). Please read them carefully.\n

\n\n
    \n
  1. \n\n

    \n BACKGROUND\n

    \n\n

    \n The Province owns and is responsible for the operation of PharmaNet, the province-wide network that links B.C.\n pharmacies to a central data system. Every prescription dispensed in community pharmacies in B.C. is entered into\n PharmaNet.\n

    \n\n

    \n The purpose of providing you, and the On-Behalf-of Users whom you have authorized, with access to PharmaNet is to\n enhance patient care by providing timely and relevant information to persons involved in the provision of direct\n patient care.\n

    \n\n

    \n PharmaNet contains highly sensitive confidential information, including Personal Information and the proprietary\n and confidential information of third-party licensors to the Province, and it is in the public interest to ensure\n that appropriate measures are in place to protect the confidentiality of all such information. All access to and\n use of PharmaNet and PharmaNet Data is subject to the Act and Privacy Laws.\n

    \n\n
  2. \n
  3. \n\n

    \n INTERPRETATION\n

    \n\n
      \n
    1. \n\n

      \n Definitions. Unless otherwise provided in this Agreement, capitalized terms will have the\n meanings given below:\n

      \n\n
        \n
      • \n "Act" means the Pharmaceutical Services Act.\n
      • \n
      • \n "Approved Practice Site" means the physical site at which you provide Direct\n Patient Care and which is approved by the Province for PharmaNet access. For greater certainty,\n "Approved Practice Site" does not include a location from which remote access to PharmaNet takes\n place;\n
      • \n
      • \n "Approved SSO" means a software support organization approved by the Province\n that provides you with the information technology software and/or services through which you and\n On-Behalf-of Users access PharmaNet.\n
      • \n
      • \n\n

        \n "Conformance Standards" means the following documents published by the\n Province, as amended from time to time:\n

        \n\n
          \n
        1. \n PharmaNet Professional and Software Conformance Standards; and\n
        2. \n
        3. \n Office of the Chief Information Officer: "Submission for Technical Security Standard and High Level\n Architecture for Wireless Local Area Network Connectivity".\n
        4. \n
        \n\n
      • \n
      • \n "Direct Patient Care" means, for the purposes of this Agreement, the provision of\n health services to an individual to whom you provide direct patient care in the context of your Practice.\n
      • \n
      • \n "Information Management Regulation" means the Information Management Regulation,\n B.C. Reg. 74/2015.\n
      • \n
      • \n "On-Behalf-of User" means a member of your staff who (i) requires access to\n PharmaNet to carry out duties in relation to your Practice; (ii) is authorized by you to access PharmaNet\n on your behalf; and (iii) has been granted access to PharmaNet by the Province.\n
      • \n
      • \n "Personal Information" means all recorded information that is about an\n identifiable individual or is defined as, or deemed to be, "personal information" or\n "personal health information" pursuant to any Privacy Laws.\n
      • \n
      • \n "PharmaCare Newsletter" means the PharmaCare newsletter published by the Province\n on the following website (or such other website as may be specified by the Province from time to time for\n this purpose):\n\n \n www.gov.bc.ca/pharmacarenewsletter\n \n
      • \n
      • \n "PharmaNet" means PharmaNet as continued under section 2 of the Information\n Management Regulation.\n
      • \n
      • \n "PharmaNet Data" includes any record or information contained in PharmaNet and\n any record or information in the custody, control or possession of you or an On-Behalf-of User that was\n obtained through your or an On-Behalf-of User’s access to PharmaNet.\n
      • \n
      • \n "Practice" means your practice of the health profession regulated under the\n Health Professions Act, or your practice as an enrolled device provider under the Provider\n Regulation, B.C. Reg. 222/2014, as identified by you through PRIME.\n
      • \n
      • \n "PRIME" means the online service provided by the Province that allows users to\n apply for, and manage, their access to PharmaNet, and through which users are granted access by the\n Province.\n
      • \n
      • \n "Privacy Laws" means the Act, the Freedom of Information and Protection of\n Privacy Act, the Personal Information Protection Act, and any other statutory or legal\n obligations of privacy owed by you or the Province, whether arising under statute, by contract or at common\n law.\n
      • \n
      • \n "Province" means Her Majesty the Queen in Right of British Columbia, as\n represented by the Minister of Health.\n
      • \n
      • \n "Professional College" is the regulatory body governing your Practice.\n
      • \n
      • \n\n

        \n "Unauthorized Person" means any person other than:\n

        \n\n
          \n
        1. \n you,\n
        2. \n
        3. \n an On-Behalf-of User, or\n
        4. \n
        5. \n a representative of an Approved SSO that is accessing PharmaNet for technical support purposes in\n accordance with section 6 of the Information Management Regulation.\n
        6. \n
        \n\n
      • \n
      \n\n
    2. \n
    3. \n Reference to Enactments. Unless otherwise specified, a reference to a statute or regulation by\n name means the statute or regulation of British Columbia of that name, as amended or replaced from time to time,\n and includes any enactment made under the authority of that statute or regulation.\n
    4. \n
    5. \n\n

      \n Conflicting Provisions. In the event of a conflict among provisions of this Agreement:\n

      \n\n
        \n
      1. \n a provision in the body of this Agreement will prevail over any conflicting provision in any further\n limits or conditions communicated to you in writing by the Province, unless the conflicting provision\n expressly states otherwise; and\n
      2. \n
      3. \n a provision referred to in (i) above will prevail over any conflicting provision in the Conformance\n Standards.\n
      4. \n
      \n\n
    6. \n
    \n\n
  4. \n
  5. \n\n

    \n APPLICATION OF LEGISLATION\n

    \n\n

    \n You will strictly comply with, and you will ensure that On-Behalf-of Users strictly comply with, the Act and all\n Privacy Laws applicable to PharmaNet and PharmaNet Data.\n

    \n\n
  6. \n
  7. \n\n

    \n NOTICE THAT SPECIFIC PROVISIONS OF THE ACT APPLY DIRECTLY TO YOU\n

    \n\n

    \n You acknowledge that:\n

    \n\n
      \n
    1. \n PharmaNet Data accessed by you or an On-Behalf-of User pursuant to this Agreement is disclosed to you by the\n Province under the authority of the Act;\n
    2. \n
    3. \n specific provisions of the Act, including the Information Management Regulation and sections 24, 25 and\n 29 of the Act, apply directly to you and to On-Behalf-of Users as a result; and\n
    4. \n
    5. \n this Agreement documents limits and conditions, set by the minister in writing, that the Act requires you to\n comply with.\n
    6. \n
    \n\n
  8. \n
  9. \n\n

    \n ACCESS\n

    \n\n
      \n
    1. \n Grant of Access. The Province will provide you with access to PharmaNet subject to your\n compliance with the limits and conditions set out in section 5(b) below and otherwise in this Agreement. The\n Province may from time to time, at its discretion, amend or change the scope of your access privileges to\n PharmaNet as privacy, security, business and clinical practice requirements change. In such circumstances, the\n Province will use reasonable efforts to notify you of such changes.\n
    2. \n
    3. \n\n

      \n Limits and Conditions of Access. The following limits and conditions apply to your access to\n PharmaNet:\n

      \n\n
        \n
      1. \n you will only access PharmaNet, and you will ensure that On-Behalf-of Users only access PharmaNet, for so\n long as you are a registrant in good standing with the Professional College and your registration permits\n you to deliver Direct Patient Care requiring access to PharmaNet;\n
      2. \n
      3. \n unless (iii) below applies, you will only access PharmaNet at the Approved Practice Site, and using only the\n technologies and applications approved by the Province.\n
      4. \n
      5. \n

        \n you may only access PharmaNet using remote access technology if all of the following conditions are met:\n

        \n\n
          \n
        1. \n the remote access technology used at the Approved Practice Site has been specifically approved in\n writing by the Province,\n
        2. \n
        3. \n the requirements of the Province’s Policy for Remote Access to PharmaNet\n (https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards) are met,\n
        4. \n
        5. \n your Approved Practice Site has registered you with the Province for remote access at the Approved\n Practice Site,\n
        6. \n
        7. \n you have applied to the Province for remote access at the Approved Practice Site and the Province has\n approved that application in writing, and\n
        8. \n
        9. \n you are physically located in British Columbia at the time of any such remote access.\n
        10. \n
        \n
      6. \n
      7. \n you must ensure that your On-Behalf-of-Users do not access PharmaNet on your behalf unless the access takes\n place at the Approved Practice Site and the access is in relation to patients for whom you will be providing\n Direct Patient Care at the Approved Practice Site requiring the access to PharmaNet;\n
      8. \n
      9. \n you must ensure that your On-Behalf-of Users do not access PharmaNet using VPN or other remote access\n technology\n
      10. \n
      11. \n you will only access PharmaNet as necessary for your provision of Direct Patient Care, and you will ensure\n that On-Behalf-of Users only access PharmaNet as necessary to support your provision of Direct Patient Care;\n
      12. \n
      13. \n you will not under any circumstances access PharmaNet, or use PharmaNet Data, for the purpose of market\n research, and you will ensure that no On-Behalf-of Users access PharmaNet, or use PharmaNet Data, for the\n purpose of market research;\n
      14. \n
      15. \n subject to section 6(b) of this Agreement, you will not use PharmaNet Data, and you will ensure that\n On-Behalf-of Users do not use PharmaNet Data, for any purpose other than your provision of Direct Patient\n Care, including for the purposes of deidentification or aggregation, quality improvement, evaluation, health\n care planning, surveillance, research or other secondary uses;\n
      16. \n
      17. \n you will not permit any Unauthorized Person to access PharmaNet, and you will take all reasonable measures\n to ensure that no Unauthorized Person can access PharmaNet;\n
      18. \n
      19. \n you will complete any training program(s) that your Approved SSO makes available to you in relation to\n PharmaNet, and you will ensure that all On-Behalf-of Users complete such training;\n
      20. \n
      21. \n you will immediately notify the Province when you or an On-Behalf-of User no longer require access to\n PharmaNet, including where the On-Behalf-of User ceases to be one of your staff or takes a leave of absence\n from your staff, or where the On-Behalf-of User’s access-related duties in relation to the Practice have\n changed;\n
      22. \n
      23. \n you will comply with, and you will ensure that On-Behalf-of Users comply with, any additional limits or\n conditions applicable to you, as may be communicated to you by the Province in writing;\n
      24. \n
      25. \n you represent and warrant that all information provided by you in connection with your application for\n PharmaNet access, including through PRIME, is true and correct.\n
      26. \n
      \n\n
    4. \n
    5. \n Responsibility for On-Behalf-of Users. You agree that you are responsible under this Agreement\n for all activities undertaken by On-Behalf-of Users in relation to their access to PharmaNet and use of\n PharmaNet Data.\n
    6. \n
    7. \n\n

      \n Privacy and Security Measures. You are responsible for taking all reasonable measures to\n safeguard Personal Information, including any Personal Information in the PharmaNet Data while it is in the\n custody, control or possession of yourself or an On-Behalf-of User. In particular, you will:\n

      \n\n
        \n
      1. \n take all reasonable steps to ensure the physical security of Personal Information, generally and as required\n by Privacy Laws;\n
      2. \n
      3. \n secure all workstations and printers in a protected area in the Practice to prevent viewing of PharmaNet\n Data by Unauthorized Persons;\n
      4. \n
      5. \n ensure separate access credential (such as user name and password) for each On-Behalf-of User, and prohibit\n sharing or other multiple use of your access credential, or an On-Behalf-of User’s access credential, for\n access to PharmaNet;\n
      6. \n
      7. \n secure any workstations used to access PharmaNet and all devices, codes or passwords that enable access to\n PharmaNet by yourself or any On-Behalf-of User;\n
      8. \n
      9. \n take such other privacy and security measures as the Province may reasonably require from time-to-time.\n
      10. \n
      \n\n
    8. \n
    9. \n Conformance Standards. You will comply with, and will ensure On-Behalf-of Users comply with,\n the rules specified in the Conformance Standards when accessing and recording information in PharmaNet.\n
    10. \n
    \n\n
  10. \n
  11. \n\n

    \n DISCLOSURE, STORAGE, AND ACCESS REQUESTS\n

    \n\n
      \n
    1. \n Retention of PharmaNet Data. You will not store or retain PharmaNet Data in any paper files or\n any electronic system, unless such storage or retention is required for record keeping in accordance with\n Professional College requirements and in connection with your provision of Direct Patient Care and otherwise\n is in compliance with the Conformance Standards. You will not modify any records retained in accordance with\n this section other than as may be expressly authorized in the Conformance Standards. For clarity, you may\n annotate a discrete record provided that the discrete record is not itself modified other than as expressly\n authorized in the Conformance Standards.\n
    2. \n
    3. \n Use of Retained Records. You may use any records retained by you in accordance with section\n 6(a) of this Agreement for a purpose authorized under section 24(1) of the Act, including for the purpose of\n monitoring your own Practice.\n
    4. \n
    5. \n Disclosure to Third Parties. You will not, and will ensure that On-Behalf-of Users do not,\n disclose PharmaNet Data to any Unauthorized Person, unless disclosure is required for Direct Patient Care or is\n otherwise authorized under section 24(1) of the Act.\n
    6. \n
    7. \n No Disclosure for Market Research. You will not, and will ensure that On-Behalf-of Users do\n not, disclose PharmaNet Data for the purpose of market research.\n
    8. \n
    9. \n Responding to Patient Access Requests. Aside from any records retained by you in accordance\n with section 6(a) of this Agreement, you will not provide to patients any copies of records containing PharmaNet\n Data or "print outs" produced directly from PharmaNet, and will refer any requests for access to such\n records or "print outs" to the Province.\n
    10. \n
    11. \n Responding to Requests to Correct a Record contained in PharmaNet. If you receive a request for\n correction of any record or information contained in PharmaNet, you will refer the request to the Province.\n
    12. \n
    13. \n Legal Demands for Records Contained in PharmaNet. You will immediately notify the Province if\n you receive any order, demand or request compelling, or threatening to compel, disclosure of records contained\n in PharmaNet. You will cooperate and consult with the Province in responding to any such demands. For greater\n certainty, the foregoing requires that you notify the Province only with respect to any access requests or\n demands for records contained in PharmaNet, and not records retained by you in accordance with section 6(a) of\n this Agreement.\n
    14. \n
    \n\n
  12. \n
  13. \n\n

    \n ACCURACY\n

    \n\n

    \n You will make reasonable efforts to ensure that any Personal Information recorded by you or an On-Behalf-of User\n in PharmaNet is accurate, complete and up to date. In the event that you become aware of a material inaccuracy or\n error in such information, you will take reasonable steps to investigate the inaccuracy or error, correct it if\n necessary, and notify the Province of the inaccuracy or error and any steps taken.\n

    \n\n
  14. \n
  15. \n\n

    \n INVESTIGATIONS, AUDITS, AND REPORTING\n

    \n\n
      \n
    1. \n Audits and Investigations. You will cooperate with any audits or investigations conducted by\n the Province regarding your, or any On-Behalf-of User’s, compliance with the Act, Privacy Laws and this\n Agreement, including providing access upon request to your facilities, data management systems, books, records\n and personnel for the purposes of such audit or investigation.\n
    2. \n
    3. \n Reports to College or Privacy Commissioner. You acknowledge and agree that the Province may\n report any material breach of this Agreement to your Professional College or to the Information and Privacy\n Commissioner of British Columbia.\n
    4. \n
    \n\n
  16. \n
  17. \n\n

    \n NOTICE OF NON COMPLIANCE AND DUTY TO INVESTIGATE\n

    \n\n
      \n
    1. \n Duty to Investigate. You will investigate suspected breaches of the terms of this Agreement,\n and will take all reasonable steps to prevent recurrences of any such breaches, including taking any steps\n necessary to cooperate with the Province in ensuring the suspension or termination of an On-Behalf-of User’s\n access rights.\n
    2. \n
    3. \n\n

      \n Non Compliance. You will promptly notify the Province, and provide particulars, if:\n

      \n\n
        \n
      1. \n you or an On-Behalf-of User do not comply, or you anticipate that you or a On-Behalf-of User will be unable\n to comply with the terms of this Agreement in any respect, or\n
      2. \n
      3. \n you have knowledge of any circumstances, incidents or events which have or may jeopardize the security,\n confidentiality, or integrity of PharmaNet, including any unauthorized attempt, by any person, to access\n PharmaNet.\n
      4. \n
      \n\n
    4. \n
    \n\n
  18. \n
  19. \n\n

    \n TERM OF AGREEMENT, SUSPENSION & TERMINATION\n

    \n\n
      \n
    1. \n Term. The term of this Agreement begins on the date you are granted access to PharmaNet by the\n Province and will continue until the date this Agreement is terminated under paragraph (b), (c), (d) or (e)\n below.\n
    2. \n
    3. \n Termination for Any Reason. You may terminate this Agreement at any time on written notice to\n the Province.\n
    4. \n
    5. \n Suspension or Termination of PharmaNet access. If the Province suspends or terminates your\n right to access PharmaNet under the Information Management Regulation, this Agreement will\n automatically terminate as of the date of such suspension or termination.\n
    6. \n
    7. \n Termination for Breach. Notwithstanding paragraph (c) above, the Province may terminate this\n Agreement, and any or all access to PharmaNet by you or an On-Behalf-of User, immediately upon notice to you if\n you or an On-Behalf-of User fail to comply with any provision of this Agreement.\n
    8. \n
    9. \n Termination by operation of the Information Management Regulation. This Agreement will\n terminate automatically if your access to PharmaNet ends by operation of section 18 of the\n Information Management Regulation.\n
    10. \n
    11. \n Suspension of Account for Inactivity. As a security precaution, the Province may suspend your\n account or an On-Behalf-of User’s account after a period of inactivity, in accordance with the Province’s\n policies. Please contact the Province immediately if your account has been suspended for inactivity but you\n still require access to PharmaNet.\n
    12. \n
    \n\n
  20. \n
  21. \n\n

    \n DISCLAIMER OF WARRANTY, LIMITATION OF LIABILITY AND INDEMNITY\n

    \n\n
      \n
    1. \n Information Provided As Is. You acknowledge and agree that any use of PharmaNet and PharmaNet\n Data is solely at your own risk. All such access and information is provided on an "as is" and\n "as available" basis without warranty or condition of any kind. The Province does not warrant the\n accuracy, completeness or reliability of the PharmaNet Data or the availability of PharmaNet, or that access\n to or the operation of PharmaNet will function without error, failure or interruption.\n
    2. \n
    3. \n You are Responsible. You are responsible for verifying the accuracy of information disclosed to\n you as a result of your access to PharmaNet or otherwise pursuant to this Agreement before relying or acting\n upon such information. The clinical or other information disclosed to you or an On-Behalf-of User pursuant to\n this Agreement is in no way intended to be a substitute for professional judgment.\n
    4. \n
    5. \n The Province Not Liable for Loss. No action may be brought by any person against the Province\n for any loss or damage of any kind caused by any reason or purpose related to reliance on PharmaNet or PharmaNet\n Data.\n
    6. \n
    7. \n You Must Indemnify the Province if You Cause a Loss or Claim. You agree to indemnify and save\n harmless the Province, and the Province’s employees and agents (each an \"Indemnified Person\")\n from any losses, claims, damages, actions, causes of action, costs and expenses that an Indemnified Person may\n sustain, incur, suffer or be put to at any time, either before or after this Agreement ends, which are based\n upon, arise out of or occur directly or indirectly by reason of any act or omission by you, or by any\n On-Behalf-of User, in connection with this Agreement.\n
    8. \n
    \n\n
  22. \n
  23. \n\n

    \n NOTICE\n

    \n\n
      \n
    1. \n\n

      \n Notice to Province. Except where this Agreement expressly provides for another method of\n delivery, any notice to be given by you to the Province that is contemplated by this Agreement, to be\n effective, must be in writing and emailed or mailed to:\n

      \n\n
      \n Director, Information and PharmaNet Development
      \n Ministry of Health
      \n PO Box 9652, STN PROV GOVT
      \n Victoria, BC V8W 9P4
      \n\n
      \n\n PRIMESupport@gov.bc.ca\n
      \n\n
    2. \n
    3. \n Notice to You. Any notice to you to be delivered under the terms of this Agreement will be in\n writing and delivered by the Province to you using any of the contact mechanisms identified by you in PRIME,\n including by mail to a specified postal address, email to a specified email address or text message to the\n specified cell phone number. You may be required to click a URL link or log into PRIME to receive the content\n of any such notice.\n
    4. \n
    5. \n Deemed receipt. Any written communication from a party, if personally delivered or sent\n electronically, will be deemed to have been received 24 hours after the time the notice was sent, or, if sent\n by mail, will be deemed to have been received 3 days (excluding Saturdays, Sundays and statutory holidays)\n after the date the notice was sent.\n
    6. \n
    7. \n Substitute contact information. You may notify the Province of a substitute contact mechanism\n by updating your contact information in PRIME.\n
    8. \n
    \n\n
  24. \n
  25. \n\n

    \n GENERAL\n

    \n\n
      \n
    1. \n\n

      \n Severability. Each provision in this Agreement constitutes a separate covenant and is\n severable from any other covenant, and if any of them are held by a court, or other decision-maker, to be\n invalid, this Agreement will be interpreted as if such provisions were not included.\n

      \n\n
    2. \n
    3. \n\n

      \n Survival. Sections 3, 4, 5(b)(vii) (viii), 5(c), 5(d), 6(a)(b)(c)(d), 8, 9, 11, and any other\n provision of this Agreement that expressly or by its nature continues after termination, shall survive\n termination of this Agreement.\n

      \n\n
    4. \n
    5. \n\n

      \n Governing Law. This Agreement will be governed by and will be construed and interpreted in\n accordance with the laws of British Columbia and the laws of Canada applicable therein.\n

      \n\n
    6. \n
    7. \n\n

      \n Assignment Restricted. Your rights and obligations under this Agreement may not be assigned\n without the prior written approval of the Province.\n

      \n\n
    8. \n
    9. \n\n

      \n Waiver. The failure of the Province at any time to insist on performance of any provision of\n this Agreement by you is not a waiver of its right subsequently to insist on performance of that or any other\n provision of this Agreement.\n

      \n\n
    10. \n
    11. \n\n

      \n Province may modify this Agreement. The Province may amend this Agreement, including this\n section, at any time in its sole discretion:\n

      \n\n
        \n
      1. \n by written notice to you, in which case the amendment will become effective upon the later of (A) the\n date notice of the amendment is first delivered to you, or (B) the effective date of the amendment specified\n by the Province, if any; or\n
      2. \n
      3. \n by publishing notice of any such amendment in the PharmaCare Newsletter, in which case the notice will\n specify the effective date of the amendment, which date will be at least 30 (thirty) days after the date\n that the PharmaCare Newsletter containing the notice is first published.\n
      4. \n
      \n\n

      \n If you or an On-Behalf-of User access or use PharmaNet after the effective date of an amendment described in\n (i) or (ii) above, you will be deemed to have accepted the corresponding amendment, and this Agreement will be\n deemed to have been so amended as of the effective date. If you do not agree with any amendment for which\n notice has been provided by the Province in accordance with (i) or (ii) above, you must promptly (and in any\n event before the effective date) cease all access or use of PharmaNet by yourself and all On-Behalf-of Users,\n and take the steps necessary to terminate this Agreement in accordance with section 10.\n

      \n\n
    12. \n
    \n\n
  26. \n
\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 17, + AgreementType = 7, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Text = "

ORGANIZATION AGREEMENT FOR PHARMANET USE

\n\n

\n This Organization Agreement for PharmaNet Use (the "Agreement") is executed by {{organization_name}}\n ("Organization") for the benefit of HER MAJESTY THE QUEEN IN RIGHT OF THE PROVINCE OF BRITISH COLUMBIA, as\n represented by the Minister of Health (the "Province").\n

\n\n

\n WHEREAS:\n

\n\n
    \n
  1. \n The Province owns and is responsible for the operation of PharmaNet, the province-wide network that links\n pharmacies to a central data system. Every prescription dispensed in community pharmacies in British\n Columbia is entered into PharmaNet.\n
  2. \n
  3. \n PharmaNet contains highly sensitive confidential information, including personal information, and it is in\n the public interest to ensure that appropriate measures are in place to protect the confidentiality and\n integrity of such information. All access to and use of PharmaNet and PharmaNet Data is subject to the\n Act and other applicable law.\n
  4. \n
  5. \n The Province permits Authorized Users to access PharmaNet to provide health services to, or to facilitate\n the care of, the individual whose personal information is being accessed.\n
  6. \n
  7. \n This Agreement sets out the terms by which Organization may permit Authorized Users to access PharmaNet\n at the Site(s) operated by Organization.\n
  8. \n
\n\n

\n NOW THEREFORE Organization makes this Agreement knowing that the Province will rely on it\n in permitting access to and use of PharmaNet from Sites operated by Organization. Organization conclusively\n acknowledges that reliance by the Province on this Agreement is in every respect justifiable and that it\n received fair and valuable consideration for this Agreement, the receipt and adequacy of which is hereby\n acknowledged. Organization hereby agrees as follows:\n

\n\n

\n ARTICLE 1 – INTERPRETATION\n

\n\n
    \n
  1. \n
      \n
    1. \n

      \n In this Agreement, unless the context otherwise requires, the following definitions will apply:\n

      \n\n
        \n
      1. \n "Act" means the Pharmaceutical Services Act;\n
      2. \n
      3. \n "Approved SSO" means, in relation to a Site, the software support organization\n identified in section 1 of the Site Request that provides Organization with the SSO-Provided\n Technology used at the Site;\n
      4. \n
      5. \n "Associated Technology" means, in relation to a Site, any information technology\n hardware, software or services used at the Site, other than the SSO-Provided Technology, that is\n in any way used in connection with Site Access or any PharmaNet Data;\n
      6. \n
      7. \n

        \n "Authorized User" means an individual who is granted access to PharmaNet by the\n Province and who is:\n

        \n\n
          \n
        1. \n an employee or independent contractor of Organization, or\n
        2. \n
        3. \n if Organization is an individual, the Organization;\n
        4. \n
        \n
      8. \n
      9. \n "Information Management Regulation" means the\n Information Management Regulation,\n B.C. Reg. 74/2015;\n
      10. \n
      11. \n "On-Behalf-Of User" means an Authorized User described in subsection 4 (5) of the\n Information Management Regulation who acts on behalf of a Regulated User when accessing\n PharmaNet;\n
      12. \n
      13. \n "PharmaNet" means PharmaNet as continued under section 2 of the\n Information Management Regulation;\n
      14. \n
      15. \n "PharmaNet Data" includes any records or information contained in PharmaNet and\n any records\n or information in the custody, control or possession of Organization or any Authorized User as the result of\n any Site Access;\n
      16. \n
      17. \n "Regulated User" means an Authorized User described in subsections 4 (2) to (4)\n of the\n Information Management Regulation;\n
      18. \n
      19. \n "Signing Authority" means the individual identified by Organization as the\n "Signing Authority"\n for a Site, with the associated contact information, as set out in section 2 of the Site Request;\n
      20. \n
      21. \n

        \n "Site" means a premises operated by Organization and located in British\n Columbia that:\n

        \n\n
          \n
        1. \n is the subject of a Site Request submitted to the Province, and\n
        2. \n
        3. \n has been approved for Site Access by the Province in writing\n
        4. \n
        \n\n

        \n For greater certainty, "Site" does not include a location from which remote access to PharmaNet\n takes place;\n

        \n
      22. \n
      23. \n "Site Access" means any access to or use of PharmaNet at a Site or remotely as\n permitted\n by the Province;\n
      24. \n
      25. \n "Site Request" means, in relation to a Site, the information contained in the\n PharmaNet access\n request form submitted to the Province by the Organization, requesting PharmaNet access at the Site, as such\n information is updated by the Organization from time to time in accordance with section 2.2;\n
      26. \n
      27. \n "SSO-Provided Technology" means any information technology hardware, software or\n services\n provided to Organization by an Approved SSO for the purpose of Site Access;\n
      28. \n
      \n
    2. \n
    3. \n Unless otherwise specified, a reference to a statute or regulation by name means a statute or regulation of\n British\n Columbia of that name, as amended or replaced from time to time, and includes any enactments made under the\n authority\n of that statute or regulation.\n
    4. \n
    5. \n

      \n The following are the Schedules attached to and incorporated into this Agreement:\n

      \n\n
        \n
      • \n Schedule A – Specific Privacy and Security Measures\n
      • \n
      \n
    6. \n
    7. \n The main body of this Agreement, the Schedules, and any documents incorporated by reference into this Agreement\n are to\n be interpreted so that all of the provisions are given as full effect as possible. In the event of a conflict,\n unless\n expressly stated to the contrary the main body of the Agreement will prevail over the Schedules, which will\n prevail\n over any document incorporated by reference.\n
    8. \n
    \n
  2. \n
\n\n

\n ARTICLE 2 – REPRESENTATIONS AND WARRANTIES\n

\n\n
    \n
  1. \n
      \n
    1. \n

      \n Organization represents and warrants to the Province, as of the date of this\n Agreement and throughout its term, that:\n

      \n\n
        \n
      1. \n the information contained in the Site Request for each Site is true and correct;\n
      2. \n
      3. \n

        \n if Organization is not an individual:\n

        \n\n
          \n
        1. \n Organization has the power and capacity to enter into this Agreement and to comply with its terms;\n
        2. \n
        3. \n all necessary corporate or other proceedings have been taken to authorize the execution and delivery\n of this Agreement by, or on behalf of, Organization; and\n
        4. \n
        5. \n this Agreement has been legally and properly executed by, or on behalf of, the Organization and is\n legally binding upon and enforceable against Organization in accordance with its terms.\n
        6. \n
        \n
      4. \n
      \n
    2. \n
    3. \n Organization must immediately notify the Province of any change to the information contained in a Site Request,\n including any change to a Site’s status, location, normal operating hours, Approved SSO, or the name and contact\n information of the Signing Authority or any of the other specific roles set out in the Site Request. Such\n notices\n must be submitted to the Province in the form and manner directed by the Province in its published instructions\n regarding the submission of updated Site Request information, as such instructions may be updated from time to\n time by the Province.\n
    4. \n
    \n
  2. \n
\n\n

\n ARTICLE 3 – SITE ACCESS REQUIREMENTS\n

\n\n
    \n
  1. \n
      \n
    1. \n Organization must comply with the Act and all applicable law.\n
    2. \n
    3. \n Organization must submit a Site Request to the Province for each physical location where it intends to provide\n Site\n Access, and must only provide Site Access from Sites approved in writing by the Province. For greater certainty,\n a\n Site Request is not required for each physical location from which remote access, as permitted under section\n 3.6,\n may occur, but Organization must provide, with the Site Request, a list of the locations from which remote\n access\n may occur, and ensure this list remains current for the term of this agreement.\n
    4. \n
    5. \n Organization must only provide Site Access using SSO-Provided Technology. For the purposes of remote access,\n Organization must ensure that technology used meets the requirements of Schedule A.\n
    6. \n
    7. \n Unless otherwise authorized by the Province in writing, Organization must at all times use the secure network or\n security technology that the Province certifies or makes available to Organization for the purpose of Site\n Access.\n The use of any such network or technology by Organization may be subject to terms and conditions of use,\n including\n acceptable use policies, established by the Province and communicated to Organization from time to time in\n writing.\n
    8. \n
    9. \n

      \n Organization must only make Site Access available to the following individuals:\n

      \n\n
        \n
      1. \n Authorized Users when they are physically located at a Site, and, in the case of an On-Behalf-of-User\n accessing\n personal information of a patient on behalf of a Regulated User, only if the Regulated User will be\n delivering\n care to that patient at the same Site at which the access to personal information occurs;\n
      2. \n
      3. \n Representatives of an Approved SSO for technical support purposes, in accordance with section 6 of the\n Information Management Regulation.\n
      4. \n
      \n
    10. \n
    11. \n Despite section 3.5(a), Organization may make Site Access available to Regulated Users who are physically\n located in\n British Columbia and remotely connected to a Site using a VPN or other remote access technology specifically\n approved\n by the Province in writing for the Site.\n
    12. \n
    13. \n

      \n Organization must ensure that Authorized Users with Site Access:\n

      \n\n
        \n
      1. \n only access PharmaNet to the extent necessary to provide health services to, or facilitate the care of, the\n individual whose personal information is being accessed;\n
      2. \n
      3. \n first complete any mandatory training program(s) that the Site’s Approved SSO or the Province makes\n available\n in relation to PharmaNet;\n
      4. \n
      5. \n access PharmaNet using their own separate login identifications and credentials, and do not share or have\n multiple use of any such login identifications and credentials;\n
      6. \n
      7. \n secure all devices, codes and credentials that enable access to PharmaNet against unauthorized use; and\n
      8. \n
      9. \n in the case of remote access, comply with the policies of the Province relating to remote access to\n PharmaNet.\n
      10. \n
      \n
    14. \n
    15. \n If notified by the Province that an Authorized User’s access to PharmaNet has been suspended or revoked,\n Organization\n will immediately take any local measures necessary to remove the Authorized User’s Site Access. Organization\n will\n only restore Site Access to a previously suspended or revoked Authorized User upon the Province’s specific\n written\n direction.\n
    16. \n
    17. \n

      \n For the purposes of this section:\n

      \n\n
        \n
      1. \n "Responsible Authorized User" means, in relation to any PharmaNet Data, the\n Regulated User by whom,\n or on whose behalf, that data was obtained from PharmaNet; and\n
      2. \n
      3. \n "Use" includes to collect, access, retain, use, de-identify, and disclose.\n
      4. \n
      \n\n

      \n The PharmaNet Data disclosed under this Agreement is disclosed by the Province solely for the Use of the\n Responsible\n User to whom it is disclosed.\n

      \n\n

      \n Organization must not Use any PharmaNet Data, or permit any third party to Use PharmaNet Data, unless the\n Responsible\n User has authorized such Use and it is otherwise permitted under the Act, applicable law, and the limits and\n conditions imposed by the Province on the Responsible User.\n

      \n
    18. \n
    19. \n

      \n Organization must make all reasonable arrangements to protect PharmaNet Data against such risks as\n unauthorized access,\n collection, use, modification, retention, disclosure or disposal, including by:\n

      \n\n
        \n
      1. \n taking all reasonable physical, technical and operational measures necessary to ensure Site Access operates\n in\n accordance with sections 3.1 to 3.9 above, and\n
      2. \n
      3. \n complying with the requirements of Schedule A.\n
      4. \n
      \n
    20. \n
    \n
  2. \n
\n\n

\n ARTICLE 4 – NON-COMPLIANCE AND INVESTIGATIONS\n

\n\n
    \n
  1. \n
      \n
    1. \n Organization must promptly notify the Province, and provide particulars, if Organization does not comply, or\n anticipates\n that it will be unable to comply, with the terms of this Agreement, or if Organization has knowledge of any\n circumstances,\n incidents or events which have or may jeopardize the security, confidentiality or integrity of PharmaNet,\n including any\n attempt by any person to gain unauthorized access to PharmaNet or the networks or equipment used to connect to\n PharmaNet\n or convey PharmaNet Data.\n
    2. \n
    3. \n Organization must immediately investigate any suspected breaches of this Agreement and take all reasonable steps\n to prevent\n recurrences of any such breaches.\n
    4. \n
    5. \n Organization must cooperate with any audits or investigations conducted by the Province (including any\n independent auditor\n appointed by the Province) regarding compliance with this Agreement, including by providing access upon request\n to a Site\n and any associated facilities, networks, equipment, systems, books, records and personnel for the purposes of\n such audit\n or investigation.\n
    6. \n
    \n
  2. \n
\n\n

\n ARTICLE 5 – SITE TERMINATION\n

\n\n
    \n
  1. \n
      \n
    1. \n

      \n The Province may terminate all Site Access at a Site immediately, upon notice to the Signing Authority for the\n Site, if:\n

      \n\n
        \n
      1. \n the Approved SSO for the Site is no longer approved by the Province to provide information technology\n hardware, software,\n or service in connection with PharmaNet, or\n
      2. \n
      3. \n the Province determines that the SSO-Provided Technology or Associated Technology in use at the Site, or any\n component\n thereof, is obsolete, unsupported, or otherwise poses an unacceptable security risk to PharmaNet,\n
      4. \n
      \n\n

      \n and the Organization is unable or unwilling to remedy the problem within a timeframe acceptable to the\n Province.\n

      \n
    2. \n
    3. \n As a security precaution, the Province may suspend Site Access at a Site after a period of inactivity. If Site\n Access at a\n Site remains inactive for a period of 90 days or more, the Province may, immediately upon notice to the Signing\n Authority\n for the Site, terminate all further Site Access at the Site.\n
    4. \n
    5. \n Organization must prevent all further Site Access at a Site immediately upon the Province’s termination, in\n accordance with\n this Article 5, of Site Access at the Site.\n
    6. \n
    \n
  2. \n
\n\n

\n ARTICLE 6 – TERM AND TERMINATION\n

\n\n
    \n
  1. \n
      \n
    1. \n The term of this Agreement begins on the date first noted above and continues until it is terminated\n in accordance with this Article 6.\n
    2. \n
    3. \n Organization may terminate this Agreement at any time on notice to the Province.\n
    4. \n
    5. \n The Province may terminate this Agreement immediately upon notice to Organization if Organization fails to\n comply with any\n provision of this Agreement.\n
    6. \n
    7. \n The Province may terminate this Agreement immediately upon notice to Organization in the event Organization no\n longer operates\n any Sites where Site Access is permitted.\n
    8. \n
    9. \n The Province may terminate this Agreement for any reason upon two (2) months advance notice to Organization.\n
    10. \n
    11. \n Organization must prevent any further Site Access immediately upon termination of this Agreement.\n
    12. \n
    \n
  2. \n
\n\n

\n ARTICLE 7 – DISCLAIMER AND INDEMNITY\n

\n\n
    \n
  1. \n
      \n
    1. \n The PharmaNet access and PharmaNet Data provided under this Agreement are provided "as is" without\n warranty of any kind,\n whether express or implied. All implied warranties, including, without limitation, implied warranties of\n merchantability,\n fitness for a particular purpose, and non-infringement, are hereby expressly disclaimed. The Province does not\n warrant\n the accuracy, completeness or reliability of the PharmaNet Data or the availability of PharmaNet, or that access\n to or\n the operation of PharmaNet will function without error, failure or interruption.\n
    2. \n
    3. \n Under no circumstances will the Province be liable to any person or business entity for any direct, indirect,\n special,\n incidental, consequential, or other damages based on any use of PharmaNet or the PharmaNet Data, including\n without\n limitation any lost profits, business interruption, or loss of programs or information, even if the Province has\n been specifically advised of the possibility of such damages.\n
    4. \n\n
    5. \n Organization must indemnify and save harmless the Province, and the Province’s employees and agents (each an\n \"Indemnified Person\") from any losses, claims, damages, actions, causes of action, costs and\n expenses that an Indemnified Person may sustain, incur, suffer or be put to at any time, either before or after\n this Agreement ends, which are based upon, arise out of or occur directly or indirectly by reason of any act\n or omission by Organization, or by any Authorized User at the Site, in connection with this Agreement.\n
    6. \n
    \n
  2. \n
\n\n

\n ARTICLE 8 – GENERAL\n

\n\n
    \n
  1. \n
      \n
    1. \n

      \n Notice. Except where this Agreement expressly provides for another method\n of delivery, any notice to be given to the Province must be in writing and emailed or mailed to:\n

      \n\n
      \n Director, Information and PharmaNet Innovation
      \n Ministry of Health
      \n PO Box 9652, STN PROV GOVT
      \n Victoria, BC V8W 9P4
      \n\n
      \n\n PRIMESupport@gov.bc.ca\n
      \n\n

      \n Any notice to be given to a Signing Authority or the Organization will be in writing and emailed, mailed,\n faxed\n or text messaged to the Signing Authority (in the case of notice to a Signing Authority) or all Signing\n Authorities (in the case of notice to the Organization). A Signing Authority may be required to click a\n URL link or to log in to the Province’s "PRIME" system to receive the content of any such notice.\n

      \n\n

      \n Any written notice from a party, if sent electronically, will be deemed to have been received 24 hours after\n the\n time the notice was sent, or, if sent by mail, will be deemed to have been received 3 days (excluding\n Saturdays,\n Sundays and statutory holidays) after the date the notice was sent.\n

      \n
    2. \n
    3. \n Waiver. The failure of the Province at any time to insist on performance of\n any\n provision of this Agreement by Organization is not a waiver of its right subsequently to insist on performance\n of\n that or any other provision of this Agreement. A waiver of any provision or breach of this Agreement is\n effective\n only if it is writing and signed by, or on behalf of, the waiving party.\n
    4. \n
    5. \n

      \n Modification. No modification to this Agreement is effective unless it is\n in writing and signed\n by, or on behalf of, the parties.\n

      \n\n

      \n Notwithstanding the foregoing, the Province may amend this Agreement, including the Schedules and this\n section,\n at any time in its sole discretion, by written notice to Organization, in which case the amendment will become\n effective upon the later of: (i) the date notice of the amendment is delivered to Organization; and (ii) the\n effective date of the amendment specified by the Province. The Province will make reasonable efforts to\n provide\n at least thirty (30) days advance notice of any such amendment, subject to any determination by the Province\n that a shorter notice period is necessary due to changes in the Act, applicable law or applicable policies of\n the Province, or is necessary to maintain privacy and security in relation to PharmaNet or PharmaNet Data.\n

      \n\n

      \n If Organization does not agree with any amendment for which notice has been provided by the Province in\n accordance with this section, Organization must promptly (and in any event prior to the effective date)\n cease Site Access at all Sites and take the steps necessary to terminate this Agreement in accordance\n with Article 6.\n

      \n
    6. \n
    7. \n

      \n Governing Law. This Agreement will be governed by and will be construed\n and interpreted in accordance with the laws of British Columbia and the laws of Canada applicable therein.\n

      \n
    8. \n
    \n
  2. \n
\n\n{{signature_block}}\n\n

\n SCHEDULE A – SPECIFIC PRIVACY AND SECURITY MEASURES\n

\n\n

\n Organization must, in relation to each Site and in relation to Remote Access:\n

\n\n
    \n
  1. \n secure all workstations and printers at the Site to prevent any viewing of PharmaNet Data by persons other\n than Authorized Users;\n
  2. \n
  3. \n

    \n implement all privacy and security measures specified in the following documents published by the Province, as\n amended from time to time:\n

    \n\n
      \n
    1. \n

      \n the PharmaNet Professional and Software Conformance Standards\n

      \n\n \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards\n \n
    2. \n
    3. \n

      \n Office of the Chief Information Officer: "Submission for Technical Security Standard and High Level\n Architecture for Wireless Local Area Network Connectivity"\n

      \n\n \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/system-access/requirements-for-wireless-access-to-pharmanet\n \n
    4. \n
    5. \n

      \n Policy for Secure Remote Access to PharmaNet\n

      \n\n \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards\n \n
    6. \n
    \n
  4. \n
  5. \n ensure that a qualified technical support person is engaged to provide security support for the Site. This person\n should be familiar with the Site’s network configurations, hardware and software, including all SSO-Provided\n Technology\n and Associated Technology, and should be capable of understanding and adhering to the standards set forth in this\n Agreement and Schedule. Note that any such qualified technical support person must not be permitted by Organization\n to access or use PharmaNet in any manner, unless otherwise permitted under this Agreement;\n
  6. \n
  7. \n establish and maintain documented privacy policies that detail how Organization will meet its privacy obligations\n in relation to the Site;\n
  8. \n
  9. \n establish breach reporting and response processes in relation to the Site;\n
  10. \n
  11. \n detail expectations for privacy protection in contracts and service agreements as applicable at the Site;\n
  12. \n
  13. \n regularly review the administrative, physical and technological safeguards at the Site;\n
  14. \n
  15. \n establish and maintain a program for monitoring PharmaNet use at the Site, including by making appropriate\n monitoring\n and reporting mechanisms available to Authorized Users for this purpose.\n
  16. \n
\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 18, + AgreementType = 8, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Text = "

PHARMANET TERMS OF ACCESS FOR PHARMACY TECHNICIANS

\n\n

\n By enrolling for access to PharmaNet, you agree to the following terms (the “Agreement”). Please read them carefully.\n

\n\n
    \n
  1. \n\n

    \n BACKGROUND\n

    \n\n

    \n The Province owns and is responsible for the operation of PharmaNet, the province-wide\n network that links B.C. pharmacies to a central data system. Every prescription dispensed\n in community pharmacies in B.C. is entered into PharmaNet.\n

    \n\n

    \n The purpose of providing you with access to PharmaNet is to enhance patient care by\n providing timely and relevant information to persons involved in the provision of direct\n patient care.\n

    \n\n

    \n PharmaNet contains highly sensitive confidential information, including Personal\n Information and the proprietary and confidential information of third-party licensors to\n the Province, and it is in the public interest to ensure that appropriate measures are in\n place to protect the confidentiality of all such information. All access to and use of\n PharmaNet and PharmaNet Data is subject to the Act and Privacy Laws.\n

    \n\n
  2. \n
  3. \n\n

    \n INTERPRETATION\n

    \n\n
      \n
    1. \n\n

      \n Definitions. Unless otherwise provided in this Agreement, capitalized terms will\n have the meanings given below:\n

      \n\n
        \n
      • \n “Act” means the Pharmaceutical Services Act.\n
      • \n
      • \n “Approved Practice Site” means a location within which you are directly\n providing Health Services, devices or related services to the person in\n respect of whom PharmaNet is being accessed and which is approved by\n the Province for PharmaNet access.\n
      • \n
      • \n “Approved SSO” means a software support organization approved by the\n Province that provides you with the information technology software\n and/or services through which you access PharmaNet.\n
      • \n
      • \n “Authorized Technician” means an “authorized technician” as defined in\n the Information Management Regulation.\n
      • \n
      • \n “Claim” means a claim made under the Act for payment in respect of a\n benefit under the Act.\n
      • \n
      • \n\n

        \n “Conformance Standards” means the following documents published by\n the Province, as amended from time to time:\n

        \n\n
          \n
        1. \n PharmaNet Professional and Software Conformance Standards\n
          \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards\n ; and\n
        2. \n
        3. \n Office of the Chief Information Officer: “Submission for Technical\n Security Standard and High Level Architecture for Wireless Local\n Area Network Connectivity”.\n
          \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/system-access/requirements-for-wireless-access-to-pharmanet\n
        4. \n
        \n\n
      • \n
      • \n “Device Provider Agent” means a person enrolled under section 11 of\n the Act in the class of provider known as “device provider”.\n
      • \n
      • \n “Grant Holder” means a person permitted access to PharmaNet who has\n been issued a “grant” as defined in the Information Management\n Regulation.\n
      • \n
      • \n “Health Services” means “health services” as defined in the Information\n Management Regulation.\n
      • \n
      • \n “Information Management Regulation” means the Information\n Management Regulation, B.C. Reg. 328/2021.\n
      • \n
      • \n “Personal Information” means all recorded information that is about an\n identifiable individual or is defined as, or deemed to be, “personal\n information” or “personal health information” pursuant to any Privacy\n Laws.\n
      • \n
      • \n “PharmaCare Newsletter” means the PharmaCare newsletter published\n by the Province on the following website (or such other website as may be\n specified by the Province from time to time for this purpose):\n\n
        \n\n www.gov.bc.ca/pharmacarenewsletter\n
      • \n
      • \n “PharmaNet” means “PharmaNet” as defined in the Information\n Management Regulation.\n
      • \n
      • \n “PharmaNet Data” includes any record or information contained in\n PharmaNet and any record or information in your custody, control or\n possession obtained through your access to PharmaNet.\n
      • \n
      • \n “PRIME” means the online service provided by the Province that allows\n users to apply for, and manage, their access to PharmaNet, and through\n which users are granted access by the Province.\n
      • \n
      • \n “Privacy Laws” means the Act, the Freedom of Information and\n Protection of Privacy Act, the Personal Information Protection Act, and\n any other statutory or legal obligations of privacy owed by you or the\n Province, whether arising under statute, by contract or at common law.\n
      • \n
      • \n “Provider” means a person enrolled under section 11 of the Act for the\n purpose of receiving payment for providing benefits.\n
      • \n
      • \n “Provider Regulation” means the Provider Regulation, B.C. Reg.\n 222/2014.\n
      • \n
      • \n “Province” means Her Majesty the Queen in Right of British Columbia, as represented by the\n Minister of Health.\n
      • \n
      • \n “Professional College” is the regulatory body governing your provision\n of Health Services.\n
      • \n
      • \n “Unauthorized Person” means any person other than a Grant Holder or\n an Authorized Technician.\n
      • \n
      \n\n
    2. \n
    3. \n Reference to Enactments. Unless otherwise specified, a reference to a statute or\n regulation by name means the statute or regulation of British Columbia of that name, as amended or replaced from\n time to time, and includes any enactment\n made under the authority of that statute or regulation.\n
    4. \n
    5. \n\n

      \n Conflicting Provisions. In the event of a conflict among provisions of this\n Agreement:\n

      \n\n
        \n
      1. \n a provision in the body of this Agreement will prevail over any conflicting\n provision in any further limits or conditions communicated to you in\n writing by the Province, unless the conflicting provision expressly states\n otherwise; and\n
      2. \n
      3. \n a provision referred to in (i) above will prevail over any conflicting\n provision in the Conformance Standards.\n
      4. \n
      \n\n
    6. \n
    \n\n
  4. \n
  5. \n\n

    \n APPLICATION OF LEGISLATION\n

    \n\n

    \n You will strictly comply with the Act, the Information Management Regulation and all\n Privacy Laws applicable to PharmaNet and PharmaNet Data.\n

    \n\n
  6. \n
  7. \n\n

    \n NOTICE THAT SPECIFIC PROVISIONS OF THE ACT APPLY DIRECTLY TO YOU\n

    \n\n

    \n You acknowledge that:\n

    \n\n
      \n
    1. \n PharmaNet Data accessed by you is disclosed to you by the Province under the\n authority of the Act;\n
    2. \n
    3. \n specific provisions of the Act (including but not limited to sections 24, 25 and 29)\n and the Information Management Regulation apply directly to you as a result; and\n
    4. \n
    5. \n this Agreement documents limits and conditions, set by the minister in writing,\n that the Act requires you to comply with.\n
    6. \n
    \n\n
  8. \n
  9. \n\n

    \n ACCESS\n

    \n\n
      \n
    1. \n Grant of Access. The Province will provide you with access to PharmaNet\n subject to your compliance with the limits and conditions set out in this\n Agreement. The Province may from time to time, at its discretion, amend or\n change the scope of your access privileges to PharmaNet as privacy, security,\n business and clinical practice requirements change. In such circumstances, the\n Province will use reasonable efforts to notify you of such changes.\n
    2. \n
    3. \n\n

      \n Requirements for Access. The following requirements apply to your access to\n PharmaNet:\n

      \n\n
        \n
      1. \n you will only access PharmaNet: at an Approved Practice Site, and using\n only the technologies and applications approved by the Province;\n
      2. \n
      3. \n you will not submit Claims on PharmaNet other than from an Approved\n Practice Site in respect of which a person is enrolled as a Provider;\n
      4. \n
      5. \n subject to section 6(b) of this Agreement, you will not use PharmaNet\n Data for the purposes of quality improvement, evaluation, health care\n planning, surveillance, research or other secondary uses, and will only use\n PharmaNet Data for your provision of Health Services;\n
      6. \n
      7. \n you will not permit any Unauthorized Person to access PharmaNet, and\n you will take all reasonable measures to ensure that no Unauthorized\n Person can access PharmaNet;\n
      8. \n
      9. \n you will complete any training program(s) that your Approved SSO makes\n available to you in relation to PharmaNet;\n
      10. \n
      11. \n you will comply with any additional limits or conditions applicable to you,\n as may be communicated to you by the Province in writing.\n
      12. \n
      \n
    4. \n
    5. \n\n

      \n Privacy and Security Measures. You will take all reasonable measures to\n safeguard Personal Information, including any Personal Information in\n PharmaNet Data that is in your custody, control or possession.. In particular, you\n will:\n

      \n\n
        \n
      1. \n take all reasonable steps to ensure the physical security of Personal\n Information, generally and as required by Privacy Laws;\n
      2. \n
      3. \n secure any workstations used to access PharmaNet and all devices, codes\n or passwords that enable access to PharmaNet;\n
      4. \n
      5. \n take such other privacy and security measures as the Province may\n reasonably require from time-to-time.\n
      6. \n
      \n\n
    6. \n
    7. \n Conformance Standards. You will comply with the rules specified in the\n Conformance Standards when accessing and recording information in PharmaNet.\n
    8. \n
    \n\n
  10. \n
  11. \n\n

    \n DISCLOSURE, STORAGE, AND ACCESS REQUESTS\n

    \n\n
      \n
    1. \n Retention of PharmaNet Data. You will not store or retain PharmaNet Data in\n any paper files or any electronic system, unless such storage or retention is\n required for record keeping in accordance with the Act, the Provider Regulation,\n and Professional College requirements and in connection with your provision of\n Health Services and otherwise is in compliance with the Conformance Standards.\n You will not modify any records retained in accordance with this section other\n than as may be expressly authorized in the Conformance Standards. For clarity,\n you may annotate a discrete record provided that the discrete record is not itself\n modified other than as expressly authorized in the Conformance Standards.\n
    2. \n
    3. \n Disclosure to Third Parties. You will not disclose PharmaNet Data to any\n Unauthorized Person, unless disclosure is required for Health Services or is\n otherwise authorized under section 24(1) of the Act.\n
    4. \n
    5. \n Responding to Patient Access Requests. Aside from any records retained by you\n in accordance with section 6(a) of this Agreement, you will not provide to patients\n any copies of records containing PharmaNet Data or “print outs” produced\n directly from PharmaNet, and will refer any requests for access to such records or\n “print outs” to the Province.\n
    6. \n
    7. \n Responding to Requests to Correct a Record Contained in PharmaNet. If you\n receive a request for correction of any record or information contained in\n PharmaNet that can not be completed at the pharmacy, you will refer the request\n to the Province.\n
    8. \n
    9. \n Legal Demands for Records Contained in PharmaNet. You will immediately\n notify the Province if you receive any order, demand or request compelling, or\n threatening to compel, disclosure of records contained in PharmaNet. You will\n cooperate and consult with the Province in responding to any such demands. For greater certainty, the foregoing\n requires that you notify the Province only with\n respect to any access requests or demands for records contained in PharmaNet,\n and not records retained by you in accordance with section 6(a) of this\n Agreement.\n
    10. \n
    \n\n
  12. \n
  13. \n\n

    \n ACCURACY\n

    \n\n

    \n You will make reasonable efforts to ensure that any Personal Information recorded by\n you in PharmaNet is accurate, complete and up to date. In the event that you become\n aware of a material inaccuracy or error in such information, you will take reasonable\n steps to investigate the inaccuracy or error, correct it if necessary, and notify the Province\n of the inaccuracy or error and any steps taken.\n

    \n\n
  14. \n\n
  15. \n\n

    \n NOTICE OF NON COMPLIANCE AND DUTY TO INVESTIGATE\n

    \n\n
      \n
    1. \n\n

      \n Non-Compliance. You will promptly notify the Province, and provide\n particulars, if:\n

      \n\n
        \n
      1. \n you do not comply, or you anticipate that you will be unable to comply\n with the terms of this Agreement in any respect, or\n
      2. \n
      3. \n you have knowledge of any circumstances, incidents or events which have\n or may jeopardize the security, confidentiality, or integrity of PharmaNet,\n the provincial drug program, or any government network or electronic\n system including any unauthorized attempt, by any person, to access\n PharmaNet.\n
      4. \n
      \n\n
    2. \n
    3. \n

      \n Reports to College or Privacy Commissioner. You acknowledge that the\n Province may report any material breach of the Act, the Information Management\n Regulation, or these terms to your Professional College or to the Information and\n Privacy Commissioner of British Columbia.\n

      \n
    4. \n
    \n\n
  16. \n
  17. \n\n

    \n TERM OF AGREEMENT, SUSPENSION & TERMINATION\n

    \n\n
      \n
    1. \n Term. The term of this Agreement begins on the date you are granted access to\n PharmaNet by the Province and will continue until the date this Agreement is\n terminated under paragraph (b), (c), (d) or (e) below.\n
    2. \n
    3. \n Termination for Any Reason. You may terminate this Agreement at any time on\n written notice to the Province.\n
    4. \n
    5. \n Suspension or Termination of PharmaNet Access. If the Province suspends or\n terminates your right to access PharmaNet under the Information Management\n Regulation, the Province may also terminate this Agreement at any time thereafter\n upon written notice to you.\n
    6. \n
    7. \n Termination for Breach. Notwithstanding paragraph (c) above, the Province\n may terminate this Agreement immediately upon notice to you if you fail to\n comply with any provision of this Agreement.\n
    8. \n
    9. \n Termination by Operation of the Information Management Regulation. This\n Agreement will terminate automatically if your access to PharmaNet ends by\n operation of section 39 or 40 of the Information Management Regulation.\n
    10. \n
    11. \n Suspension of Account for Inactivity. As a security precaution, the Province\n may suspend your account after a period of inactivity, in accordance with the\n Province’s policies. Please contact the Province immediately if your account has\n been suspended for inactivity but you still require access to PharmaNet.\n
    12. \n
    \n\n
  18. \n
  19. \n\n

    \n DISCLAIMER OF WARRANTY, LIMITATION OF LIABILITY AND INDEMNITY\n

    \n\n
      \n
    1. \n Information Provided As Is. You acknowledge and agree that any use of\n PharmaNet and PharmaNet Data is solely at your own risk. All such access and\n information is provided on an “as is” and “as available” basis without warranty or\n condition of any kind. The Province does not warrant the accuracy, completeness\n or reliability of the PharmaNet Data or the availability of PharmaNet, or that\n access to or the operation of PharmaNet will function without error, failure or\n interruption.\n
    2. \n
    3. \n You Are Responsible. You are responsible for verifying the accuracy of\n information disclosed to you as a result of your access to PharmaNet or otherwise\n pursuant to this Agreement before relying or acting upon such information. The\n clinical or other information disclosed to you pursuant to this Agreement is in no\n way intended to be a substitute for professional judgment.\n
    4. \n
    5. \n The Province Not Liable for Loss. No action may be brought by any person\n against the Province for any loss or damage of any kind caused by any reason or\n purpose related to reliance on PharmaNet or PharmaNet Data.\n
    6. \n
    7. \n You Must Indemnify the Province If You Cause a Loss or Claim. You agree\n to indemnify and save harmless the Province, and the Province’s employees and\n agents (each an “Indemnified Person\") from any losses, claims, damages,\n actions, causes of action, costs and expenses that an Indemnified Person may\n sustain, incur, suffer or be put to at any time, either before or after this Agreement\n ends, which are based upon, arise out of or occur directly or indirectly by reason\n of any act or omission by you in connection with this Agreement or in connection\n with access to PharmaNet by you.\n
    8. \n
    \n\n
  20. \n
  21. \n\n

    \n NOTICE\n

    \n\n
      \n
    1. \n\n

      \n Notice to Province. Except where this Agreement expressly provides for another\n method of delivery, any notice to be given by you to the Province that is\n contemplated by this Agreement, to be effective, must be in writing and emailed\n or mailed to:\n

      \n\n
      \n Director, Information and PharmaNet Development
      \n Ministry of Health
      \n PO Box 9652, STN PROV GOVT
      \n Victoria, BC V8W 9P4
      \n\n
      \n\n PRIMESupport@gov.bc.ca\n
      \n\n
    2. \n
    3. \n Notice to You. Any notice to you to be delivered under the terms of this\n Agreement will be in writing and delivered by the Province to you using any of\n the contact mechanisms identified by you in PRIME, including by mail to a\n specified postal address, email to a specified email address or text message to the\n specified cell phone number. You may be required to click a URL link or log into\n PRIME to receive the content of any such notice.\n
    4. \n
    5. \n Deemed Receipt. Any written communication from a party, if personally\n delivered or sent electronically, will be deemed to have been received 24 hours\n after the time the notice was sent, or, if sent by mail, will be deemed to have been\n received 3 days (excluding Saturdays, Sundays and statutory holidays) after the\n date the notice was sent.\n
    6. \n
    7. \n Substitute Contact Information. You may notify the Province of a substitute\n contact mechanism by updating your contact information in PRIME.\n
    8. \n
    \n\n
  22. \n
  23. \n\n

    \n GENERAL\n

    \n\n
      \n
    1. \n\n

      \n Severability. Each provision in this Agreement constitutes a separate covenant\n and is severable from any other covenant, and if any of them are held by a court,\n or other decision-maker, to be invalid, this Agreement will be interpreted as if\n such provisions were not included.\n

      \n\n
    2. \n
    3. \n\n

      \n Survival. Any provision of this Agreement that expressly or by its nature\n continues after termination, shall survive termination of this Agreement.\n

      \n\n
    4. \n
    5. \n\n

      \n Governing Law. This Agreement will be governed by and will be construed and\n interpreted in accordance with the laws of British Columbia and the laws of\n Canada applicable therein.\n

      \n\n
    6. \n
    7. \n\n

      \n Assignment Restricted. Your rights and obligations under this Agreement may\n not be assigned without the prior written approval of the Province.\n

      \n\n
    8. \n
    9. \n\n

      \n Waiver. The failure of the Province at any time to insist on performance of any\n provision of this Agreement by you is not a waiver of its right subsequently to\n insist on performance of that or any other provision of this Agreement.\n

      \n\n
    10. \n
    11. \n\n

      \n Province May Modify this Agreement. The Province may amend this\n Agreement, including this section, at any time in its sole discretion:\n

      \n\n
        \n
      1. \n by written notice to you, in which case the amendment will become\n effective upon the later of (A) the date notice of the amendment is first\n delivered to you, or (B) the effective date of the amendment specified by\n the Province, if any; or\n
      2. \n
      3. \n by publishing notice of any such amendment in the PharmaCare\n Newsletter, in which case the notice will specify the effective date of the\n amendment, which date will be at least 30 (thirty) days after the date that\n the PharmaCare Newsletter containing the notice is first published.\n
      4. \n
      \n\n

      \n If you use PharmaNet after the effective date of an amendment described in (i) or\n (ii) above, you will be deemed to have accepted the corresponding amendment,\n and this Agreement will be deemed to have been so amended as of the effective\n date. If you do not agree with any amendment for which notice has been provided\n by the Province in accordance with (i) or (ii) above, you must promptly (and in\n any event before the effective date) cease all access or use of PharmaNet by yourself and take the steps\n necessary to terminate this Agreement in accordance\n with section 10.\n

      \n\n
    12. \n
    \n\n
  24. \n
\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 19, + AgreementType = 8, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2022, 3, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Text = "

PHARMANET TERMS OF ACCESS FOR PHARMACY TECHNICIANS

\n\n

\n By enrolling for access to PharmaNet, you agree to the following terms (the “Agreement”). Please read them carefully.\n

\n\n
    \n
  1. \n\n

    \n BACKGROUND\n

    \n\n

    \n The Province owns and is responsible for the operation of PharmaNet, the province-wide\n network that links B.C. pharmacies to a central data system. Every prescription dispensed\n in community pharmacies in B.C. is entered into PharmaNet.\n

    \n\n

    \n The purpose of providing you with access to PharmaNet is to enhance patient care by\n providing timely and relevant information to persons involved in the provision of direct\n patient care.\n

    \n\n

    \n PharmaNet contains highly sensitive confidential information, including Personal\n Information and the proprietary and confidential information of third-party licensors to\n the Province, and it is in the public interest to ensure that appropriate measures are in\n place to protect the confidentiality of all such information. All access to and use of\n PharmaNet and PharmaNet Data is subject to the Act and Privacy Laws.\n

    \n\n
  2. \n
  3. \n\n

    \n INTERPRETATION\n

    \n\n
      \n
    1. \n\n

      \n Definitions. Unless otherwise provided in this Agreement, capitalized terms will\n have the meanings given below:\n

      \n\n
        \n
      • \n “Act” means the Pharmaceutical Services Act.\n
      • \n
      • \n “Approved Practice Site” means a location within which you are directly\n providing Health Services, devices or related services to the person in\n respect of whom PharmaNet is being accessed and which is approved by\n the Province for PharmaNet access.\n
      • \n
      • \n “Approved SSO” means a software support organization approved by the\n Province that provides you with the information technology software\n and/or services through which you access PharmaNet.\n
      • \n
      • \n “Authorized Technician” means an “authorized technician” as defined in\n the Information Management Regulation.\n
      • \n
      • \n “Claim” means a claim made under the Act for payment in respect of a\n benefit under the Act.\n
      • \n
      • \n\n

        \n “Conformance Standards” means the following documents published by\n the Province, as amended from time to time:\n

        \n\n
          \n
        1. \n PharmaNet Professional and Software Conformance Standards\n
          \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards\n ; and\n
        2. \n
        3. \n Office of the Chief Information Officer: “Submission for Technical\n Security Standard and High Level Architecture for Wireless Local\n Area Network Connectivity”.\n
          \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/system-access/requirements-for-wireless-access-to-pharmanet\n
        4. \n
        \n\n
      • \n
      • \n “Device Provider Agent” means a person enrolled under section 11 of\n the Act in the class of provider known as “device provider”.\n
      • \n
      • \n “Grant Holder” means a person permitted access to PharmaNet who has\n been issued a “grant” as defined in the Information Management\n Regulation.\n
      • \n
      • \n “Health Services” means “health services” as defined in the Information\n Management Regulation.\n
      • \n
      • \n “Information Management Regulation” means the Information\n Management Regulation, B.C. Reg. 328/2021.\n
      • \n
      • \n “Personal Information” means all recorded information that is about an\n identifiable individual or is defined as, or deemed to be, “personal\n information” or “personal health information” pursuant to any Privacy\n Laws.\n
      • \n
      • \n “PharmaCare Newsletter” means the PharmaCare newsletter published\n by the Province on the following website (or such other website as may be\n specified by the Province from time to time for this purpose):\n\n
        \n\n www.gov.bc.ca/pharmacarenewsletter\n
      • \n
      • \n “PharmaNet” means “PharmaNet” as defined in the Information\n Management Regulation.\n
      • \n
      • \n “PharmaNet Data” includes any record or information contained in\n PharmaNet and any record or information in your custody, control or\n possession obtained through your access to PharmaNet.\n
      • \n
      • \n “PRIME” means the online service provided by the Province that allows\n users to apply for, and manage, their access to PharmaNet, and through\n which users are granted access by the Province.\n
      • \n
      • \n “Privacy Laws” means the Act, the Freedom of Information and\n Protection of Privacy Act, the Personal Information Protection Act, and\n any other statutory or legal obligations of privacy owed by you or the\n Province, whether arising under statute, by contract or at common law.\n
      • \n
      • \n “Provider” means a person enrolled under section 11 of the Act for the\n purpose of receiving payment for providing benefits.\n
      • \n
      • \n “Provider Regulation” means the Provider Regulation, B.C. Reg.\n 222/2014.\n
      • \n
      • \n “Province” means Her Majesty the Queen in Right of British Columbia, as represented by the\n Minister of Health.\n
      • \n
      • \n “Professional College” is the regulatory body governing your provision\n of Health Services.\n
      • \n
      • \n “Unauthorized Person” means any person other than a Grant Holder or\n an Authorized Technician.\n
      • \n
      \n\n
    2. \n
    3. \n Reference to Enactments. Unless otherwise specified, a reference to a statute or\n regulation by name means the statute or regulation of British Columbia of that name, as amended or replaced from\n time to time, and includes any enactment\n made under the authority of that statute or regulation.\n
    4. \n
    5. \n\n

      \n Conflicting Provisions. In the event of a conflict among provisions of this\n Agreement:\n

      \n\n
        \n
      1. \n a provision in the body of this Agreement will prevail over any conflicting\n provision in any further limits or conditions communicated to you in\n writing by the Province, unless the conflicting provision expressly states\n otherwise; and\n
      2. \n
      3. \n a provision referred to in (i) above will prevail over any conflicting\n provision in the Conformance Standards.\n
      4. \n
      \n\n
    6. \n
    \n\n
  4. \n
  5. \n\n

    \n APPLICATION OF LEGISLATION\n

    \n\n

    \n You will strictly comply with the Act, the Information Management Regulation and all\n Privacy Laws applicable to PharmaNet and PharmaNet Data.\n

    \n\n
  6. \n
  7. \n\n

    \n NOTICE THAT SPECIFIC PROVISIONS OF THE ACT APPLY DIRECTLY TO YOU\n

    \n\n

    \n You acknowledge that:\n

    \n\n
      \n
    1. \n PharmaNet Data accessed by you is disclosed to you by the Province under the\n authority of the Act;\n
    2. \n
    3. \n specific provisions of the Act (including but not limited to sections 24, 25 and 29)\n and the Information Management Regulation apply directly to you as a result; and\n
    4. \n
    5. \n this Agreement documents limits and conditions, set by the minister in writing,\n that the Act requires you to comply with.\n
    6. \n
    \n\n
  8. \n
  9. \n\n

    \n ACCESS\n

    \n\n
      \n
    1. \n Grant of Access. The Province will provide you with access to PharmaNet\n subject to your compliance with the limits and conditions set out in this\n Agreement. The Province may from time to time, at its discretion, amend or\n change the scope of your access privileges to PharmaNet as privacy, security,\n business and clinical practice requirements change. In such circumstances, the\n Province will use reasonable efforts to notify you of such changes.\n
    2. \n
    3. \n\n

      \n Requirements for Access. The following requirements apply to your access to\n PharmaNet:\n

      \n\n
        \n
      1. \n you will only access PharmaNet: at an Approved Practice Site, and using\n only the technologies and applications approved by the Province;\n
      2. \n
      3. \n you will not submit Claims on PharmaNet other than from an Approved\n Practice Site in respect of which a person is enrolled as a Provider;\n
      4. \n
      5. \n subject to section 6(b) of this Agreement, you will not use PharmaNet\n Data for the purposes of quality improvement, evaluation, health care\n planning, surveillance, research or other secondary uses, and will only use\n PharmaNet Data for your provision of Health Services;\n
      6. \n
      7. \n you will not permit any Unauthorized Person to access PharmaNet, and\n you will take all reasonable measures to ensure that no Unauthorized\n Person can access PharmaNet;\n
      8. \n
      9. \n you will complete any training program(s) that your Approved SSO makes\n available to you in relation to PharmaNet;\n
      10. \n
      11. \n you will comply with any additional limits or conditions applicable to you,\n as may be communicated to you by the Province in writing.\n
      12. \n
      \n
    4. \n
    5. \n\n

      \n Privacy and Security Measures. You will take all reasonable measures to\n safeguard Personal Information, including any Personal Information in\n PharmaNet Data that is in your custody, control or possession.. In particular, you\n will:\n

      \n\n
        \n
      1. \n take all reasonable steps to ensure the physical security of Personal\n Information, generally and as required by Privacy Laws;\n
      2. \n
      3. \n secure any workstations used to access PharmaNet and all devices, codes\n or passwords that enable access to PharmaNet;\n
      4. \n
      5. \n take such other privacy and security measures as the Province may\n reasonably require from time-to-time.\n
      6. \n
      \n\n
    6. \n
    7. \n Conformance Standards. You will comply with the rules specified in the\n Conformance Standards when accessing and recording information in PharmaNet.\n
    8. \n
    \n\n
  10. \n
  11. \n\n

    \n DISCLOSURE, STORAGE, AND ACCESS REQUESTS\n

    \n\n
      \n
    1. \n Retention of PharmaNet Data. You will not store or retain PharmaNet Data in\n any paper files or any electronic system, unless such storage or retention is\n required for record keeping in accordance with the Act, the Provider Regulation,\n and Professional College requirements and in connection with your provision of\n Health Services and otherwise is in compliance with the Conformance Standards.\n You will not modify any records retained in accordance with this section other\n than as may be expressly authorized in the Conformance Standards. For clarity,\n you may annotate a discrete record provided that the discrete record is not itself\n modified other than as expressly authorized in the Conformance Standards.\n
    2. \n
    3. \n Disclosure to Third Parties. You will not disclose PharmaNet Data to any\n Unauthorized Person, unless disclosure is required for Health Services or is\n otherwise authorized under section 24(1) of the Act.\n
    4. \n
    5. \n Responding to Patient Access Requests. Aside from any records retained by you\n in accordance with section 6(a) of this Agreement, you will not provide to patients\n any copies of records containing PharmaNet Data or “print outs” produced\n directly from PharmaNet, and will refer any requests for access to such records or\n “print outs” to the Province.\n
    6. \n
    7. \n Responding to Requests to Correct a Record Contained in PharmaNet. If you\n receive a request for correction of any record or information contained in\n PharmaNet that can not be completed at the pharmacy, you will refer the request\n to the Province.\n
    8. \n
    9. \n Legal Demands for Records Contained in PharmaNet. You will immediately\n notify the Province if you receive any order, demand or request compelling, or\n threatening to compel, disclosure of records contained in PharmaNet. You will\n cooperate and consult with the Province in responding to any such demands. For greater certainty, the foregoing\n requires that you notify the Province only with\n respect to any access requests or demands for records contained in PharmaNet,\n and not records retained by you in accordance with section 6(a) of this\n Agreement.\n
    10. \n
    \n\n
  12. \n
  13. \n\n

    \n ACCURACY\n

    \n\n

    \n You will make reasonable efforts to ensure that any Personal Information recorded by\n you in PharmaNet is accurate, complete and up to date. In the event that you become\n aware of a material inaccuracy or error in such information, you will take reasonable\n steps to investigate the inaccuracy or error, correct it if necessary, and notify the Province\n of the inaccuracy or error and any steps taken.\n

    \n\n
  14. \n\n
  15. \n\n

    \n NOTICE OF NON-COMPLIANCE\n

    \n\n
      \n
    1. \n\n

      \n Non-Compliance. You will promptly notify the Province, and provide\n particulars, if:\n

      \n\n
        \n
      1. \n you do not comply, or you anticipate that you will be unable to comply\n with the terms of this Agreement in any respect, or\n
      2. \n
      3. \n you have knowledge of any circumstances, incidents or events which have\n or may jeopardize the security, confidentiality, or integrity of PharmaNet,\n the provincial drug program, or any government network or electronic\n system including any unauthorized attempt, by any person, to access\n PharmaNet.\n
      4. \n
      \n\n
    2. \n
    3. \n

      \n Reports to College or Privacy Commissioner. You acknowledge that the\n Province may report any material breach of the Act, the Information Management\n Regulation, or these terms to your Professional College or to the Information and\n Privacy Commissioner of British Columbia.\n

      \n
    4. \n
    \n\n
  16. \n
  17. \n\n

    \n TERM OF AGREEMENT, SUSPENSION & TERMINATION\n

    \n\n
      \n
    1. \n Term. The term of this Agreement begins on the date you are granted access to\n PharmaNet by the Province and will continue until the date this Agreement is\n terminated under paragraph (b), (c), (d) or (e) below.\n
    2. \n
    3. \n Termination for Any Reason. You may terminate this Agreement at any time on\n written notice to the Province.\n
    4. \n
    5. \n Suspension or Termination of PharmaNet Access. If the Province suspends or\n terminates your right to access PharmaNet under the Information Management\n Regulation, the Province may also terminate this Agreement at any time thereafter\n upon written notice to you.\n
    6. \n
    7. \n Termination for Breach. Notwithstanding paragraph (c) above, the Province\n may terminate this Agreement immediately upon notice to you if you fail to\n comply with any provision of this Agreement.\n
    8. \n
    9. \n Termination by Operation of the Information Management Regulation. This\n Agreement will terminate automatically if your access to PharmaNet ends by\n operation of section 39 or 40 of the Information Management Regulation.\n
    10. \n
    11. \n Suspension of Account for Inactivity. As a security precaution, the Province\n may suspend your account after a period of inactivity, in accordance with the\n Province’s policies. Please contact the Province immediately if your account has\n been suspended for inactivity but you still require access to PharmaNet.\n
    12. \n
    \n\n
  18. \n
  19. \n\n

    \n DISCLAIMER OF WARRANTY, LIMITATION OF LIABILITY AND INDEMNITY\n

    \n\n
      \n
    1. \n Information Provided As Is. You acknowledge and agree that any use of\n PharmaNet and PharmaNet Data is solely at your own risk. All such access and\n information is provided on an “as is” and “as available” basis without warranty or\n condition of any kind. The Province does not warrant the accuracy, completeness\n or reliability of the PharmaNet Data or the availability of PharmaNet, or that\n access to or the operation of PharmaNet will function without error, failure or\n interruption.\n
    2. \n
    3. \n You Are Responsible. You are responsible for verifying the accuracy of\n information disclosed to you as a result of your access to PharmaNet or otherwise\n pursuant to this Agreement before relying or acting upon such information. The\n clinical or other information disclosed to you pursuant to this Agreement is in no\n way intended to be a substitute for professional judgment.\n
    4. \n
    5. \n The Province Not Liable for Loss. No action may be brought by any person\n against the Province for any loss or damage of any kind caused by any reason or\n purpose related to reliance on PharmaNet or PharmaNet Data.\n
    6. \n
    7. \n You Must Indemnify the Province If You Cause a Loss or Claim. You agree\n to indemnify and save harmless the Province, and the Province’s employees and\n agents (each an \"Indemnified Person\") from any losses, claims, damages,\n actions, causes of action, costs and expenses that an Indemnified Person may\n sustain, incur, suffer or be put to at any time, either before or after this Agreement\n ends, which are based upon, arise out of or occur directly or indirectly by reason\n of any act or omission by you in connection with this Agreement or in connection\n with access to PharmaNet by you.\n
    8. \n
    \n\n
  20. \n
  21. \n\n

    \n NOTICE\n

    \n\n
      \n
    1. \n\n

      \n Notice to Province. Except where this Agreement expressly provides for another\n method of delivery, any notice to be given by you to the Province that is\n contemplated by this Agreement, to be effective, must be in writing and emailed\n or mailed to:\n

      \n\n
      \n Director, Information and PharmaNet Innovation
      \n Ministry of Health
      \n PO Box 9652, STN PROV GOVT
      \n Victoria, BC V8W 9P4
      \n\n
      \n\n Email:PRIMESupport@gov.bc.ca\n
      \n\n
    2. \n
    3. \n Notice to You. Any notice to you to be delivered under the terms of this\n Agreement will be in writing and delivered by the Province to you using any of\n the contact mechanisms identified by you in PRIME, including by mail to a\n specified postal address, email to a specified email address or text message to the\n specified cell phone number. You may be required to click a URL link or log into\n PRIME to receive the content of any such notice.\n
    4. \n
    5. \n Deemed Receipt. Any written communication from a party, if personally\n delivered or sent electronically, will be deemed to have been received 24 hours\n after the time the notice was sent, or, if sent by mail, will be deemed to have been\n received 3 days (excluding Saturdays, Sundays and statutory holidays) after the\n date the notice was sent.\n
    6. \n
    7. \n Substitute Contact Information. You may notify the Province of a substitute\n contact mechanism by updating your contact information in PRIME.\n
    8. \n
    \n\n
  22. \n
  23. \n\n

    \n GENERAL\n

    \n\n
      \n
    1. \n\n

      \n Severability. Each provision in this Agreement constitutes a separate covenant\n and is severable from any other covenant, and if any of them are held by a court,\n or other decision-maker, to be invalid, this Agreement will be interpreted as if\n such provisions were not included.\n

      \n\n
    2. \n
    3. \n\n

      \n Survival. Any provision of this Agreement that expressly or by its nature\n continues after termination, shall survive termination of this Agreement.\n

      \n\n
    4. \n
    5. \n\n

      \n Governing Law. This Agreement will be governed by and will be construed and\n interpreted in accordance with the laws of British Columbia and the laws of\n Canada applicable therein.\n

      \n\n
    6. \n
    7. \n\n

      \n Assignment Restricted. Your rights and obligations under this Agreement may\n not be assigned without the prior written approval of the Province.\n

      \n\n
    8. \n
    9. \n\n

      \n Waiver. The failure of the Province at any time to insist on performance of any\n provision of this Agreement by you is not a waiver of its right subsequently to\n insist on performance of that or any other provision of this Agreement.\n

      \n\n
    10. \n
    11. \n\n

      \n Province May Modify this Agreement. The Province may amend this\n Agreement, including this section, at any time in its sole discretion:\n

      \n\n
        \n
      1. \n by written notice to you, in which case the amendment will become\n effective upon the later of (A) the date notice of the amendment is first\n delivered to you, or (B) the effective date of the amendment specified by\n the Province, if any; or\n
      2. \n
      3. \n by publishing notice of any such amendment in the PharmaCare\n Newsletter, in which case the notice will specify the effective date of the\n amendment, which date will be at least 30 (thirty) days after the date that\n the PharmaCare Newsletter containing the notice is first published.\n
      4. \n
      \n\n

      \n If you use PharmaNet after the effective date of an amendment described in (i) or\n (ii) above, you will be deemed to have accepted the corresponding amendment,\n and this Agreement will be deemed to have been so amended as of the effective\n date. If you do not agree with any amendment for which notice has been provided\n by the Province in accordance with (i) or (ii) above, you must promptly (and in\n any event before the effective date) cease all access or use of PharmaNet by yourself and take the steps\n necessary to terminate this Agreement in accordance\n with section 10.\n

      \n\n
    12. \n
    \n
  24. \n
", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 20, + AgreementType = 1, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2022, 11, 17, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + Text = "

\n By enrolling for PharmaNet access, you agree to the following terms (the “Agreement”). Please read them carefully.\n

\n\n

PHARMANET USER TERMS OF ACCESS FOR PHARMACISTS

\n\n
    \n
  1. \n\n

    \n BACKGROUND\n

    \n\n

    \n The Province owns and is responsible for the operation of PharmaNet, the province-wide network that links B.C.\n pharmacies to a central data system. Every prescription dispensed in community pharmacies in B.C. is entered into\n PharmaNet.\n

    \n\n

    \n The purpose of providing you, and the On-Behalf-of Users whom you have authorized, with access to PharmaNet is to\n enhance patient care by providing timely and relevant information to persons involved in the provision of direct\n patient care.\n

    \n\n

    \n PharmaNet contains highly sensitive confidential information, including Personal Information and the proprietary\n and confidential information of third-party licensors to the Province, and it is in the public interest to ensure\n that appropriate measures are in place to protect the confidentiality of all such information. All access to and\n use of PharmaNet and PharmaNet Data is subject to the Act and Privacy Laws.\n

    \n\n
  2. \n
  3. \n\n

    \n INTERPRETATION\n

    \n\n
      \n
    1. \n\n

      \n Definitions. Unless otherwise provided in this Agreement, capitalized terms will have the\n meanings given below:\n

      \n\n
        \n
      • \n “Act” means the Pharmaceutical Services Act.\n
      • \n
      • \n “Approved Practice Site” means the physical site at which you provide Direct Patient Care\n and which is approved by the Province for PharmaNet access.\n
      • \n
      • \n “Approved SSO” means a software support organization approved by the Province that provides\n you with the information technology software and/or services through which you and On-Behalf-of Users access\n PharmaNet.\n
      • \n
      • \n “Claim” means a claim made under the Act for payment in respect of a benefit under the Act.\n
      • \n
      • \n\n

        \n “Conformance Standards” means the following documents published by the Province, as\n amended from time to time:\n

        \n\n
          \n
        1. \n PharmaNet Professional and Software Conformance Standards
          \n \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards\n ; and\n
        2. \n
        3. \n Office of the Chief Information Officer: “Submission for Technical Security Standard and High Level\n Architecture for Wireless Local Area Network Connectivity”.\n \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/system-access/requirements-for-wireless-access-to-pharmanet\n \n
        4. \n
        \n\n
      • \n
      • \n “Device Provider” means a person enrolled under section 11 of the Act in the class of\n provider known as “device provider”.\n
      • \n
      • \n “Direct Patient Care” means, for the purposes of this Agreement, the provision of health\n services to an individual to whom you provide direct patient care in the context of your Practice.\n
      • \n
      • \n “Information Management Regulation” means the Information Management Regulation,\n B.C. Reg.\n 74/2015.\n
      • \n
      • \n “On-Behalf-of User” means a member of your staff who (i) requires access to PharmaNet to\n carry out duties in relation to your Practice; (ii) is authorized by you to access PharmaNet on your behalf;\n and (iii) has been granted access to PharmaNet by the Province.\n
      • \n
      • \n “Personal Information” means all recorded information that is about an identifiable\n individual or is defined as, or deemed to be, “personal information” or “personal health information”\n pursuant to any Privacy Laws.\n
      • \n
      • \n “PharmaCare Newsletter” means the PharmaCare newsletter published by the Province on the\n following website (or such other website as may be specified by the Province from time to time for this\n purpose):\n\n

        \n\n www.gov.bc.ca/pharmacarenewsletter\n
      • \n
      • \n “PharmaNet” means PharmaNet as continued under section 2 of the Information Management\n Regulation.\n
      • \n
      • \n “PharmaNet Data” includes any record or information contained in PharmaNet and any record\n or information in the custody, control or possession of you or an On-Behalf-of User that was obtained\n through your or an On-Behalf-of User’s access to PharmaNet.\n
      • \n
      • \n “Practice” means your practice of the health profession regulated under the Health\n Professions Act, or your practice as a Device Provider, as identified by you through PRIME\n or another mechanism provided by the Province.\n
      • \n
      • \n “PRIME” means the online service provided by the Province that allows users to apply for,\n and manage, their access to PharmaNet, and through which users are granted access by the Province.\n
      • \n
      • \n “Privacy Laws” means the Act, the\n Freedom of Information and Protection of Privacy Act, the Personal Information Protection Act, and\n any other statutory or legal obligations of privacy owed by you or the Province, whether arising under\n statute, by contract or at common law.\n
      • \n
      • \n “Provider” means a person enrolled under section 11 of the Act for the purpose of receiving\n payment for providing benefits.\n
      • \n
      • \n “Provider Regulation” means the Provider Regulation, B.C. Reg. 222/2014.\n
      • \n
      • \n “Province” means His Majesty the King in Right of British Columbia, as represented by the\n Minister of Health.\n
      • \n
      • \n “Professional College” is the regulatory body governing your Practice.\n
      • \n
      • \n

        \n “Unauthorized Person” means any person other than:\n

        \n\n
          \n
        1. \n you,\n
        2. \n
        3. \n an On-Behalf-of User, or\n
        4. \n
        5. \n a representative of an Approved SSO that is accessing PharmaNet for technical support purposes in\n accordance with section 6 of the Information Management Regulation.\n
        6. \n
        \n\n
      • \n
      \n\n
    2. \n
    3. \n Reference to Enactments. Unless otherwise specified, a reference to a statute or regulation by\n name means the statute or regulation of British Columbia of that name, as amended or replaced from time to time,\n and includes any enactment made under the authority of that statute or regulation.\n
    4. \n
    5. \n\n

      \n Conflicting Provisions. In the event of a conflict among provisions of this Agreement:\n

      \n\n
        \n
      1. \n a provision in the body of this Agreement will prevail over any conflicting provision in any further limits\n or conditions communicated to you in writing by the Province, unless the conflicting provision expressly\n states otherwise; and\n
      2. \n
      3. \n a provision referred to in (i) above will prevail over any conflicting provision in the Conformance\n Standards.\n
      4. \n
      \n\n
    6. \n
    \n\n
  4. \n
  5. \n\n

    \n APPLICATION OF LEGISLATION\n

    \n\n

    \n You will strictly comply with, and you will ensure that On-Behalf-of Users strictly comply with, the Act, the\n Information Management Regulation and all Privacy Laws applicable to PharmaNet and PharmaNet Data.\n

    \n\n
  6. \n
  7. \n\n

    \n NOTICE THAT SPECIFIC PROVISIONS OF THE ACT APPLY DIRECTLY TO YOU\n

    \n\n

    \n You acknowledge that:\n

    \n\n
      \n
    1. \n PharmaNet Data accessed by you or an On-Behalf-of User pursuant to this Agreement is disclosed to you by the\n Province under the authority of the Act;\n
    2. \n
    3. \n specific provisions of the Act (including but not limited to sections 24, 25 and 29) and the Information\n Management Regulation apply directly to you and to On-Behalf-of Users as a result; and\n
    4. \n
    5. \n this Agreement documents limits and conditions, set by the minister in writing, that the Act requires you to\n comply with.\n
    6. \n
    \n\n
  8. \n
  9. \n\n

    \n ACCESS\n

    \n\n
      \n
    1. \n Grant of Access. The Province will provide you with access to PharmaNet subject to your\n compliance with the limits and conditions set out in this Agreement. The Province may from time to time, at its\n discretion, amend or change the scope of your access privileges to PharmaNet as privacy, security, business and\n clinical practice requirements change. In such circumstances, the Province will use reasonable efforts to notify\n you of such changes.\n
    2. \n
    3. \n\n

      \n Requirements for Access. The following requirements apply to your access to PharmaNet:\n

      \n\n
        \n
      1. \n you will only access PharmaNet, and you will ensure that On-Behalf-of Users only access PharmaNet, for so\n long as you are a registrant in good standing with the Professional College and your registration permits\n you to deliver Direct Patient Care requiring access to PharmaNet or, in the case of access as a Device\n Provider, for so long as you are enrolled as a Device Provider;\n
      2. \n
      3. \n you will only access PharmaNet: at the Approved Practice Site, and using only the technologies and\n applications approved by the Province;\n
      4. \n
      5. \n you must ensure that your On-Behalf-of-Users do not access PharmaNet on your behalf unless the access takes\n place at the Approved Practice Site and the access is required in relation to patients for whom you will be\n providing Direct Patient Care at the Approved Practice Site;\n
      6. \n
      7. \n you will only access PharmaNet as necessary for your provision of Direct Patient Care, and you will ensure\n that On-Behalf-of Users only access PharmaNet as necessary to support your provision of Direct Patient Care;\n
      8. \n
      9. \n you will not submit Claims on PharmaNet other than from an Approved Practice Site in respect of which a\n person is enrolled as a Provider, and you will ensure that On-Behalf-of Users submit Claims on PharmaNet\n only from an Approved Practice Site in respect of which a person is enrolled as a Provider;\n
      10. \n
      11. \n you will not under any circumstances access PharmaNet, or use PharmaNet Data, for the purpose of market\n research, and you will ensure that no On-Behalf-of Users access PharmaNet, or use PharmaNet Data, for the\n purpose of market research;\n
      12. \n
      13. \n subject to section 6(b) of this Agreement, you will not use PharmaNet Data, and you will ensure that\n On-Behalf-of Users do not use PharmaNet Data, for any purpose other than your provision of Direct Patient\n Care, including for the purposes of quality improvement, evaluation, health care planning, surveillance,\n research or other secondary uses;\n
      14. \n
      15. \n you will not permit any Unauthorized Person to access PharmaNet, and you will take all reasonable measures\n to ensure that no Unauthorized Person can access PharmaNet;\n
      16. \n
      17. \n you will complete any training program(s) that your Approved SSO makes available to you in relation to\n PharmaNet, and you will ensure that all On-Behalf-of Users complete such training;\n
      18. \n
      19. \n you will immediately notify the Province when you or an On-Behalf-of User no longer require access to\n PharmaNet, including where the On-Behalf-of User ceases to be one of your staff or takes a leave of absence\n from your staff, or where the On-Behalf-of User’s access-related duties in relation to the Practice have\n changed;\n
      20. \n
      21. \n you will comply with, and you will ensure that On-Behalf-of Users comply with, any additional limits or\n conditions applicable to you, as may be communicated to you by the Province in writing;\n
      22. \n
      23. \n you represent and warrant that all information provided by you in connection with your application for\n PharmaNet access, including through PRIME, is true and correct.\n
      24. \n
      \n\n
    4. \n
    5. \n Responsibility for On-Behalf-of Users. You agree that you are responsible under this Agreement\n for all activities undertaken by On-Behalf-of Users in relation to their access to PharmaNet and use of\n PharmaNet Data.\n
    6. \n
    7. \n\n

      \n Privacy and Security Measures. You are responsible for taking all reasonable measures to\n safeguard Personal Information, including any Personal Information in PharmaNet Data while it is in the\n custody, control or possession of yourself or an On-Behalf-of User. In particular, you will:\n

      \n\n
        \n
      1. \n take all reasonable steps to ensure the physical security of Personal Information, generally and as\n required by Privacy Laws;\n
      2. \n
      3. \n secure all workstations and printers in a protected area in the Approved Practice Site to prevent\n viewing of PharmaNet Data by Unauthorized Persons;\n
      4. \n
      5. \n ensure separate access credential (such as user name and password) for each On-Behalf-of User, and\n prohibit sharing or other multiple use of your access credential, or an On-Behalf-of User’s access\n credential, for access to PharmaNet;\n
      6. \n
      7. \n secure any workstations used to access PharmaNet and all devices, codes or passwords that enable access\n to PharmaNet by yourself or any On-Behalf-of User;\n
      8. \n
      9. \n take such other privacy and security measures as the Province may reasonably require from time-to-time.\n
      10. \n
      \n\n
    8. \n
    9. \n Conformance Standards. You will comply with, and will ensure On-Behalf-of Users comply with,\n the rules specified in the Conformance Standards when accessing and recording information in PharmaNet.\n
    10. \n
    \n\n
  10. \n
  11. \n\n

    \n DISCLOSURE, STORAGE, AND ACCESS REQUESTS\n

    \n\n
      \n
    1. \n Retention of PharmaNet Data. You will not store or retain PharmaNet Data in any paper files or\n any electronic system, unless such storage or retention is required for record keeping in accordance with the\n Act, the Provider Regulation, and Professional College requirements and in connection with your provision of\n Direct Patient Care and otherwise is in compliance with the Conformance Standards. You will not modify any\n records retained in accordance with this section other than as may be expressly authorized in the Conformance\n Standards. For clarity, you may annotate a discrete record provided that the discrete record is not itself\n modified other than as expressly authorized in the Conformance Standards.\n
    2. \n
    3. \n Use of Retained Records. You may use any records retained by you in accordance with section\n 6(a) of this Agreement for a purpose authorized under section 24(1) of the Act, including for the purpose of\n monitoring your own Practice.\n
    4. \n
    5. \n Disclosure to Third Parties. You will not, and will ensure that On-Behalf-of Users do not,\n disclose PharmaNet Data to any Unauthorized Person, unless disclosure is required for Direct Patient Care or is\n otherwise authorized under section 24(1) of the Act.\n
    6. \n
    7. \n No Disclosure for Market Research. You will not, and will ensure that On-Behalf-of Users do\n not, disclose PharmaNet Data for the purpose of market research.\n
    8. \n
    9. \n Responding to Patient Access Requests. Aside from any records retained by you in accordance\n with section 6(a) of this Agreement, you will not provide to patients any copies of records containing PharmaNet\n Data or “print outs” produced directly from PharmaNet, and will refer any requests for access to such records or\n “print outs” to the Province.\n
    10. \n
    11. \n Responding to Requests to Correct a Record Contained in PharmaNet. If you receive a request for\n correction of any record or information contained in PharmaNet, you will refer the request to the Province.\n
    12. \n
    13. \n Legal Demands for Records Contained in PharmaNet. You will immediately notify the Province if\n you receive any order, demand or request compelling, or threatening to compel, disclosure of records contained\n in PharmaNet. You will cooperate and consult with the Province in responding to any such demands. For greater\n certainty, the foregoing requires that you notify the Province only with respect to any access requests or\n demands for records contained in PharmaNet, and not records retained by you in accordance with section 6(a) of\n this Agreement.\n
    14. \n
    \n\n
  12. \n
  13. \n\n

    \n ACCURACY\n

    \n\n

    \n You will make reasonable efforts to ensure that any Personal Information recorded by you or an On-Behalf-of User\n in PharmaNet is accurate, complete and up to date. In the event that you become aware of a material inaccuracy or\n error in such information, you will take reasonable steps to investigate the inaccuracy or error, correct it if\n necessary, and notify the Province of the inaccuracy or error and any steps taken.\n

    \n\n
  14. \n
  15. \n\n

    \n INVESTIGATIONS, AUDITS, AND REPORTING\n

    \n\n
      \n
    1. \n Audits and Investigations. You will cooperate with any audits or investigations conducted by\n the Province regarding your, or any On-Behalf-of User’s, compliance with the Act, Privacy Laws and this\n Agreement, including providing access upon request to your facilities, data management systems, books, records\n and personnel for the purposes of such audit or investigation.\n
    2. \n
    3. \n Reports to College or Privacy Commissioner. You acknowledge and agree that the Province may\n report any material breach of this Agreement to your Professional College or to the Information and Privacy\n Commissioner of British Columbia.\n
    4. \n
    \n\n
  16. \n
  17. \n\n

    \n NOTICE OF NON-COMPLIANCE AND DUTY TO INVESTIGATE\n

    \n\n
      \n
    1. \n Duty to Investigate. You will investigate suspected breaches of the terms of this Agreement,\n and will take all reasonable steps to prevent recurrences of any such breaches, including taking any steps\n necessary to cooperate with the Province in ensuring the suspension or termination of an On-Behalf-of User’s\n access rights.\n
    2. \n
    3. \n\n

      \n Non-Compliance. You will promptly notify the Province, and provide particulars, if:\n

      \n\n
        \n
      1. \n you or an On-Behalf-of User do not comply, or you anticipate that you or a On-Behalf-of User will be unable\n to comply with the terms of this Agreement in any respect, or\n
      2. \n
      3. \n you have knowledge of any circumstances, incidents or events which have or may jeopardize the security,\n confidentiality, or integrity of PharmaNet, including any unauthorized attempt, by any person, to access\n PharmaNet.\n
      4. \n
      \n\n
    4. \n
    \n\n
  18. \n
  19. \n\n

    \n TERM OF AGREEMENT, SUSPENSION & TERMINATION\n

    \n\n
      \n
    1. \n Term. The term of this Agreement begins on the date you are granted access to PharmaNet by the\n Province and will continue until the date this Agreement is terminated under paragraph (b), (c), (d) or (e)\n below.\n
    2. \n
    3. \n Termination for Any Reason. You may terminate this Agreement at any time on written notice to\n the Province.\n
    4. \n
    5. \n Suspension or Termination of PharmaNet Access. If the Province suspends or terminates your\n right, or an On-Behalf-of User’s right, to access PharmaNet under the\n Information Management Regulation, the Province may also terminate this Agreement at any time\n thereafter upon written notice to you.\n
    6. \n
    7. \n Termination for Breach. Notwithstanding paragraph (c) above, the Province may terminate this\n Agreement, and any or all access to PharmaNet by you or an On-Behalf-of User, immediately upon notice to you if\n you or an On-Behalf-of User fail to comply with any provision of this Agreement.\n
    8. \n
    9. \n Termination by Operation of the Information Management Regulation. This Agreement will\n terminate automatically if your access to PharmaNet ends by operation of section 18 of the\n Information Management Regulation.\n
    10. \n
    11. \n Suspension of Account for Inactivity. As a security precaution, the Province may suspend your\n account or an On-Behalf-of User’s account after a period of inactivity, in accordance with the Province’s\n policies. Please contact the Province immediately if your account has been suspended for inactivity but you\n still require access to PharmaNet.\n
    12. \n
    \n\n
  20. \n
  21. \n\n

    \n DISCLAIMER OF WARRANTY, LIMITATION OF LIABILITY AND INDEMNITY\n

    \n\n
      \n
    1. \n Information Provided As Is. You acknowledge and agree that any use of PharmaNet and PharmaNet\n Data is solely at your own risk. All such access and information is provided on an “as is” and “as available”\n basis without warranty or condition of any kind. The Province does not warrant the accuracy, completeness or\n reliability of the PharmaNet Data or the availability of PharmaNet, or that access to or the operation of\n PharmaNet will function without error, failure or interruption.\n
    2. \n
    3. \n You Are Responsible. You are responsible for verifying the accuracy of information disclosed to\n you as a result of your access to PharmaNet or otherwise pursuant to this Agreement before relying or acting\n upon such information. The clinical or other information disclosed to you or an On-Behalf-of User pursuant to\n this Agreement is in no way intended to be a substitute for professional judgment.\n
    4. \n
    5. \n The Province Not Liable for Loss. No action may be brought by any person against the Province\n for any loss or damage of any kind caused by any reason or purpose related to reliance on PharmaNet or PharmaNet\n Data.\n
    6. \n
    7. \n You Must Indemnify the Province If You Cause a Loss or Claim. You agree to indemnify and save\n harmless the Province, and the Province’s employees and agents (each an \"Indemnified Person\")\n from any losses, claims, damages, actions, causes of action, costs and expenses that an Indemnified Person may\n sustain, incur, suffer or be put to at any time, either before or after this Agreement ends, which are based\n upon, arise out of or occur directly or indirectly by reason of any act or omission by you, or by any\n On-Behalf-of User, in connection with this Agreement or in connection with access to PharmaNet by you or an\n On-Behalf-of User.\n
    8. \n
    \n\n
  22. \n
  23. \n\n

    \n NOTICE\n

    \n\n
      \n
    1. \n\n

      \n Notice to Province. Except where this Agreement expressly provides for another method of\n delivery, any notice to be given by you to the Province that is contemplated by this Agreement, to be\n effective, must be in writing and emailed or mailed to:\n

      \n\n
      \n Director, Information and PharmaNet Innovation
      \n Ministry of Health
      \n PO Box 9652, STN PROV GOVT
      \n Victoria, BC V8W 9P4
      \n\n
      \n\n PRIMESupport@gov.bc.ca\n
      \n\n
    2. \n
    3. \n Notice to You. Any notice to you to be delivered under the terms of this Agreement will be in\n writing and delivered by the Province to you using any of the contact mechanisms identified by you in PRIME,\n including by mail to a specified postal address, email to a specified email address or text message to the\n specified cell phone number. You may be required to click a URL link or log into PRIME to receive the content of\n any such notice.\n
    4. \n
    5. \n Deemed Receipt. Any written communication from a party, if personally delivered or sent\n electronically, will be deemed to have been received 24 hours after the time the notice was sent, or, if sent by\n mail, will be deemed to have been received 3 days (excluding Saturdays, Sundays and statutory holidays) after\n the date the notice was sent.\n
    6. \n
    7. \n Substitute Contact Information. You may notify the Province of a substitute contact mechanism\n by updating your contact information in PRIME.\n
    8. \n
    \n\n
  24. \n
  25. \n\n

    \n GENERAL\n

    \n\n
      \n
    1. \n\n

      \n Severability. Each provision in this Agreement constitutes a separate covenant and is\n severable from any other covenant, and if any of them are held by a court, or other decision-maker, to be\n invalid, this Agreement will be interpreted as if such provisions were not included.\n

      \n\n
    2. \n
    3. \n\n

      \n Survival. Sections 3, 4, 5(b)(vi) (vii), 5(c), 5(d), 6(a)(b)(c)(d), 8, 9, 11, and any other\n provision of this Agreement that expressly or by its nature continues after termination, shall survive\n termination of this Agreement.\n

      \n\n
    4. \n
    5. \n\n

      \n Governing Law. This Agreement will be governed by and will be construed and interpreted in\n accordance with the laws of British Columbia and the laws of Canada applicable therein.\n

      \n\n
    6. \n
    7. \n\n

      \n Assignment Restricted. Your rights and obligations under this Agreement may not be assigned\n without the prior written approval of the Province.\n

      \n\n
    8. \n
    9. \n\n

      \n Waiver. The failure of the Province at any time to insist on performance of any provision of\n this Agreement by you is not a waiver of its right subsequently to insist on performance of that or any other\n provision of this Agreement.\n

      \n\n
    10. \n
    11. \n\n

      \n Province May Modify this Agreement. The Province may amend this Agreement, including this\n section, at any time in its sole discretion:\n

      \n\n
        \n
      1. \n by written notice to you, in which case the amendment will become effective upon the later of (A) the\n date notice of the amendment is first delivered to you, or (B) the effective date of the amendment specified\n by the Province, if any; or\n
      2. \n
      3. \n by publishing notice of any such amendment in the PharmaCare Newsletter, in which case the notice will\n specify the effective date of the amendment, which date will be at least 30 (thirty) days after the date\n that the PharmaCare Newsletter containing the notice is first published.\n
      4. \n
      \n\n

      \n If you or an On-Behalf-of User access or use PharmaNet after the effective date of an amendment described in\n (i) or (ii) above, you will be deemed to have accepted the corresponding amendment, and this Agreement will be\n deemed to have been so amended as of the effective date. If you do not agree with any amendment for which\n notice has been provided by the Province in accordance with (i) or (ii) above, you must promptly (and in any\n event before the effective date) cease all access or use of PharmaNet by yourself and all On-Behalf-of Users,\n and take the steps necessary to terminate this Agreement in accordance with section 10.\n

      \n\n
    12. \n
    \n\n
  26. \n
\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 21, + AgreementType = 3, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2022, 11, 17, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + Text = "

\n PHARMANET TERMS OF ACCESS FOR ON-BEHALF-OF USER
\n

\n\n

\n By enrolling for PharmaNet access, you agree to the following terms (the “Agreement”). Please read them carefully.\n

\n\n

\n On Behalf-of-User Access\n

\n\n
    \n
  1. \n

    \n You represent and warrant to the Province that:\n

    \n\n
      \n
    1. \n your employment duties in relation to a Practitioner require you to access PharmaNet (and PharmaNet Data) to\n support the Practitioner’s delivery of Direct Patient Care;\n
    2. \n
    3. \n you are directly supervised by a Practitioner who has been granted access to PharmaNet by the Province; and\n
    4. \n
    5. \n all information provided by you in connection with your application for PharmaNet access, including all\n information submitted through PRIME, is true and correct.\n
    6. \n
    \n\n
  2. \n
\n\n

\n Definitions\n

\n\n
    \n
  1. \n

    \n In these terms, capitalized terms will have the following meanings:\n

    \n\n
      \n
    • \n “Approved Practice Site” means the physical site at which a Practitioner provides Direct\n Patient Care and which is approved by the Province for PharmaNet access. For greater certainty, “Approved\n Practice Site” does not include a location from which remote access to PharmaNet takes place.\n
    • \n
    • \n “Direct Patient Care” means, for the purposes of this Agreement, the provision of health\n services to an individual to whom a Practitioner provides direct patient care in the context of their Practice.\n
    • \n
    • \n “PharmaCare Newsletter” means the PharmaCare newsletter published by the Province on the\n following website (or such other website as may be specified by the Province from time to time for this\n purpose):\n\n

      \n\n www.gov.bc.ca/pharmacarenewsletter\n
    • \n
    • \n “PharmaNet” means PharmaNet as continued under section 2 of the Information Management\n Regulation, B.C. Reg. 74/2015.\n
    • \n
    • \n “PharmaNet Data” includes any record or information contained in PharmaNet and any record or\n information in the custody, control or possession of you or a Practitioner that was obtained through access to\n PharmaNet by anyone.\n
    • \n
    • \n “Practice” means a Practitioner’s practice of their health profession.\n
    • \n
    • \n “Practitioner” means a health professional regulated under the Health Professions Act,\n or an enrolled device provide under the Provider Regulation B.C. Reg. 222/2014, who supervises your\n access to and use of PharmaNet and who has been granted access to PharmaNet by the Province.\n
    • \n
    • \n “PRIME” means the online service provided by the Province that allows users to apply for, and\n manage, their access to PharmaNet, and through which users are granted access by the Province.\n
    • \n
    • \n “Province” means His Majesty the King in Right of British Columbia, as represented by the\n Minister of Health.\n
    • \n
    \n\n
  2. \n
  3. \n Unless otherwise specified, a reference to a statute or regulation by name means the statute or regulation of\n British Columbia of that name, as amended or replaced from time to time, and includes any enactment made under the\n authority of that statute or regulation.\n
  4. \n
\n\n

\n Terms of Access to PharmaNet\n

\n\n
    \n
  1. \n\n

    \n You must:\n

    \n\n
      \n
    1. \n access and use PharmaNet and PharmaNet Data only at the Approved Practice Site of a Practitioner;\n
    2. \n
    3. \n access and use PharmaNet and PharmaNet Data only to support Direct Patient Care delivered by a Practitioner to\n the individuals whose PharmaNet Data you are accessing, and only if the Practitioner is or will be delivering\n Direct Patient Care requiring that access to those individuals at the same Approved Practice Site at which the\n access occurs;\n
    4. \n
    5. \n only access PharmaNet as permitted by law and directed by a Practitioner;\n
    6. \n
    7. \n maintain all PharmaNet Data, whether accessed on PharmaNet or otherwise disclosed to you in any manner, in\n strict confidence;\n
    8. \n
    9. \n maintain the security of PharmaNet, and any applications, connections, or networks used to access PharmaNet;\n
    10. \n
    11. \n complete all training required by the Approved Practice Site’s PharmaNet software vendor and the Province before\n accessing PharmaNet;\n
    12. \n
    13. \n notify the Province if you have any reason to suspect that PharmaNet, or any PharmaNet Data, is or has been\n accessed or used inappropriately by any person.\n
    14. \n
    \n\n
  2. \n
  3. \n\n

    \n You must not:\n

    \n\n
      \n
    1. \n disclose PharmaNet Data for any purpose other than Direct Patient Care, except as permitted by law and\n directed by a Practitioner;\n
    2. \n
    3. \n permit any person to use any user IDs, passwords or credentials provided to you to access PharmaNet;\n
    4. \n
    5. \n reveal, share or compromise any user IDs, passwords or credentials for PharmaNet;\n
    6. \n
    7. \n use, or attempt to use, the user IDs, passwords or credentials of any other person to access PharmaNet;\n
    8. \n
    9. \n take any action that might compromise the integrity of PharmaNet, its information, or the provincial drug plan,\n such as altering information or submitting false information;\n
    10. \n
    11. \n test the security related to PharmaNet;\n
    12. \n
    13. \n attempt to access PharmaNet from any location other than the Approved Practice Site of a Practitioner,\n including by VPN or other remote access technology;\n
    14. \n
    15. \n access PharmaNet unless the access is for the purpose of supporting a Practitioner in providing Direct\n Patient Care to a patient at the same Approved Practice Site at which your access occurs.\n
    16. \n
    \n
  4. \n
\n
    \n
  1. \n Your access to PharmaNet and use of PharmaNet Data are governed by the Pharmaceutical Services Act and you\n must comply with all your duties under that Act.\n
  2. \n
  3. \n The Province may, in writing and from time to time, set further limits and conditions in respect of PharmaNet,\n either for you or for the Practitioner(s), and that you must comply with any such further limits and conditions.\n
  4. \n
\n\n

\n How to Notify the Province\n

\n\n
    \n
  1. \n\n

    \n Notice to the Province may be sent in writing to:\n

    \n\n
    \n Director, Information and PharmaNet Development
    \n Ministry of Health
    \n PO Box 9652, STN PROV GOVT
    \n Victoria, BC V8W 9P4
    \n\n
    \n\n PRIMESupport@gov.bc.ca\n
    \n\n
  2. \n
\n\n

\n Province May Modify These Terms\n

\n\n
    \n
  1. \n

    \n The Province may amend these terms, including this section, at any time in its sole discretion:\n

    \n\n
      \n
    1. \n by written notice to you, in which case the amendment will become effective upon the later of (A) the date\n notice of the amendment is first delivered to you, or (B) the effective date of the amendment specified by the\n Province, if any; or\n
    2. \n
    3. \n by publishing notice of any such amendment in the PharmaCare Newsletter, in which case the notice will specify\n the effective date of the amendment, which date will be at least thirty (30) days after the date that the\n PharmaCare Newsletter containing the notice is first published.\n
    4. \n
    \n\n

    \n If you do not agree with any amendment for which notice has been provided by the Province in accordance with (i)\n or (ii) above, you must promptly (and in any event before the effective date) cease all access or use of\n PharmaNet.\n

    \n\n

    \n Any written notice to you under (i) above will be in writing and delivered by the Province to you using any of the\n contact mechanisms identified by you in PRIME, including by mail to a specified postal address, email to a\n specified email address or text message to a specified cell phone number. You may be required to click a URL link\n or log into PRIME to receive the contents of any such notice.\n

    \n\n
  2. \n
\n\n

\n Governing Law\n

\n\n
    \n
  1. \n\n

    \n These terms will be governed by and will be construed and interpreted in accordance with the laws of British\n Columbia and the laws of Canada applicable therein.\n

    \n\n
  2. \n
\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 22, + AgreementType = 6, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2022, 11, 17, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + Text = "

\n PHARMANET TERMS OF ACCESS FOR PHARMACY OR DEVICE PROVIDER ON-BEHALF-OF USER\n

\n\n

\n By enrolling for PharmaNet access, you agree to the following terms (the “Agreement”). Please read them carefully.\n

\n\n

\n On-Behalf-of User Access\n

\n\n
    \n
  1. \n

    \n You represent and warrant to the Province that:\n

    \n\n
      \n
    1. \n your employment duties in relation to a Practitioner require you to access PharmaNet (and PharmaNet Data) to\n support the Practitioner’s delivery of Direct Patient Care;\n
    2. \n
    3. \n you are directly supervised by a Practitioner, who has been granted access to PharmaNet by the Province; and\n
    4. \n
    5. \n all information provided by you in connection with your application for PharmaNet access, including all\n information submitted through PRIME, is true and correct.\n
    6. \n
    \n\n
  2. \n
\n\n

\n Definitions\n

\n\n
    \n
  1. \n\n

    \n In these terms, capitalized terms will have the following meanings:\n

    \n\n
      \n
    • \n “Approved Practice Site” means the physical site at which a Practitioner provides Direct\n Patient Care and which is approved by the Province for PharmaNet access. For greater certainty, “Approved\n Practice Site” does not include a location from which remote access to PharmaNet takes place.\n
    • \n
    • \n “Direct Patient Care” means, for the purposes of this Agreement, the provision of health\n services to an individual to whom a Practitioner provides direct patient care in the context of their Practice.\n
    • \n
    • \n “PharmaCare Newsletter” means the PharmaCare newsletter published by the Province on the\n following website (or such other website as may be specified by the Province from time to time for this\n purpose):\n\n

      \n\n http://www.gov.bc.ca/pharmacarenewsletter\n
    • \n
    • \n “PharmaNet” means PharmaNet as continued under section 2 of the Information Management\n Regulation, B.C. Reg. 74/2015.\n
    • \n
    • \n “PharmaNet Data” includes any record or information contained in PharmaNet and any record or\n information in the custody, control or possession of you or a Practitioner that was obtained through access to\n PharmaNet by anyone.\n
    • \n
    • \n “Practice” means a Practitioner’s practice of their health profession.\n
    • \n
    • \n “Practitioner” means a health professional regulated under the Health Professions Act,\n or an\n enrolled device provider under the Provider Regulation, B.C. Reg. 222/2014,who supervises your access\n to and use of PharmaNet and who has been granted access to PharmaNet by the Province.\n
    • \n
    • \n “PRIME” means the online service provided by the Province that allows users to apply for, and\n manage, their access to PharmaNet, and through which users are granted access by the Province.\n
    • \n
    • \n “Province” means His Majesty the King in Right of British Columbia, as represented by the\n Minister of Health.\n
    • \n
    \n\n
  2. \n
  3. \n Unless otherwise specified, a reference to a statute or regulation by name means the statute or regulation of\n British Columbia of that name, as amended or replaced from time to time, and includes any enactment made under the\n authority of that statute or regulation.\n
  4. \n
\n\n

\n Terms of Access to PharmaNet\n

\n\n
    \n
  1. \n\n

    \n You must:\n

    \n\n
      \n
    1. \n access and use PharmaNet and PharmaNet Data only at the Approved Practice Site of a Practitioner;\n
    2. \n
    3. \n access and use PharmaNet and PharmaNet Data only to support Direct Patient Care delivered by a Practitioner to\n the individuals whose PharmaNet Data you are accessing, and only if the Practitioner is or will be delivering\n Direct Patient Care requiring that access to those individuals at the same Approved Practice Site at which the\n access occurs;\n
    4. \n
    5. \n only access PharmaNet as permitted by law and directed by a Practitioner;\n
    6. \n
    7. \n maintain all PharmaNet Data, whether accessed on PharmaNet or otherwise disclosed to you in any manner, in\n strict confidence;\n
    8. \n
    9. \n maintain the security of PharmaNet, and any applications, connections, or networks used to access PharmaNet;\n
    10. \n
    11. \n complete all training required by the Approved Practice Site’s PharmaNet software vendor and the Province before\n accessing PharmaNet;\n
    12. \n
    13. \n notify the Province if you have any reason to suspect that PharmaNet, or any PharmaNet Data, is or has been\n accessed or used inappropriately by any person.\n
    14. \n
    \n\n
  2. \n
  3. \n\n

    \n You must not:\n

    \n\n
      \n
    1. \n disclose PharmaNet Data for any purpose other than Direct Patient Care, except as permitted by law and directed\n by a Practitioner;\n
    2. \n
    3. \n permit any person to use any user IDs, passwords or credentials provided to you to access PharmaNet;\n
    4. \n
    5. \n reveal, share or compromise any user IDs, passwords or credentials for PharmaNet;\n
    6. \n
    7. \n use, or attempt to use, the user IDs, passwords or credentials of any other person to access PharmaNet;\n
    8. \n
    9. \n take any action that might compromise the integrity of PharmaNet, its information, or the provincial drug plan,\n such as altering information or submitting false information;\n
    10. \n
    11. \n test the security related to PharmaNet;\n
    12. \n
    13. \n attempt to access PharmaNet from any location other than the Approved Practice Site of a Practitioner, including\n by VPN or other remote access technology;\n
    14. \n
    15. \n access PharmaNet unless the access is for the purpose of supporting a Practitioner in providing Direct Patient\n Care to a patient at the same Approved Practice Site at which your access occurs;\n
    16. \n
    17. \n use PharmaNet to submit claims to PharmaCare or a third-party insurer unless directed to do so by a Practitioner\n at an Approved Practice Site that is enrolled as a provider or device provider under the\n Provider Regulation, B.C. Reg. 222/2014.\n
    18. \n
    \n
  4. \n
\n
    \n
  1. \n Your access to PharmaNet and use of PharmaNet Data are governed by the Pharmaceutical Services Act and you must\n comply with all your duties under that Act.\n
  2. \n
  3. \n The Province may, in writing and from time to time, set further limits and conditions in respect of PharmaNet,\n either for you or for the Practitioner(s), and that you must comply with any such further limits and conditions.\n
  4. \n
\n\n

\n How to Notify the Province\n

\n\n
    \n
  1. \n\n

    \n Notice to the Province may be sent in writing to:\n

    \n\n
    \n Director, Information and PharmaNet Innovation
    \n Ministry of Health
    \n PO Box 9652, STN PROV GOVT
    \n Victoria, BC V8W 9P4
    \n\n
    \n\n PRIMESupport@gov.bc.ca\n
    \n
  2. \n
\n\n

\n Province May Modify These Terms\n

\n\n
    \n
  1. \n\n

    \n The Province may amend these terms, including this section, at any time in its sole discretion:\n

    \n\n
      \n
    1. \n by written notice to you, in which case the amendment will become effective upon the later of (A) the date\n notice of the amendment is first delivered to you, or (B) the effective date of the amendment specified by the\n Province, if any; or\n
    2. \n
    3. \n by publishing notice of any such amendment in the PharmaCare Newsletter, in which case the notice will specify\n the effective date of the amendment, which date will be at least thirty (30) days after the date that the\n PharmaCare Newsletter containing the notice is first published.\n
    4. \n
    \n\n

    \n If you do not agree with any amendment for which notice has been provided by the Province in accordance with (i)\n or (ii) above, you must promptly (and in any event before the effective date) cease all access or use of\n PharmaNet.\n

    \n\n

    \n If you do not agree with any amendment for which notice has been provided by the Province in accordance with (i)\n or (ii) above, you must promptly (and in any event before the effective date) cease all access or use of\n PharmaNet.\n

    \n
  2. \n
\n\n

\n Governing Law\n

\n\n
    \n
  1. \n\n

    \n These terms will be governed by and will be construed and interpreted in accordance with the laws of British\n Columbia and the laws of Canada applicable therein.\n

    \n\n
  2. \n
\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 23, + AgreementType = 8, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2022, 11, 17, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + Text = "

PHARMANET TERMS OF ACCESS FOR PHARMACY TECHNICIANS

\n\n

\n By enrolling for access to PharmaNet, you agree to the following terms (the “Agreement”). Please read them carefully.\n

\n\n
    \n
  1. \n\n

    \n BACKGROUND\n

    \n\n

    \n The Province owns and is responsible for the operation of PharmaNet, the province-wide\n network that links B.C. pharmacies to a central data system. Every prescription dispensed\n in community pharmacies in B.C. is entered into PharmaNet.\n

    \n\n

    \n The purpose of providing you with access to PharmaNet is to enhance patient care by\n providing timely and relevant information to persons involved in the provision of direct\n patient care.\n

    \n\n

    \n PharmaNet contains highly sensitive confidential information, including Personal\n Information and the proprietary and confidential information of third-party licensors to\n the Province, and it is in the public interest to ensure that appropriate measures are in\n place to protect the confidentiality of all such information. All access to and use of\n PharmaNet and PharmaNet Data is subject to the Act and Privacy Laws.\n

    \n\n
  2. \n
  3. \n\n

    \n INTERPRETATION\n

    \n\n
      \n
    1. \n\n

      \n Definitions. Unless otherwise provided in this Agreement, capitalized terms will\n have the meanings given below:\n

      \n\n
        \n
      • \n “Act” means the Pharmaceutical Services Act.\n
      • \n
      • \n “Approved Practice Site” means a location within which you are directly\n providing Health Services, devices or related services to the person in\n respect of whom PharmaNet is being accessed and which is approved by\n the Province for PharmaNet access.\n
      • \n
      • \n “Approved SSO” means a software support organization approved by the\n Province that provides you with the information technology software\n and/or services through which you access PharmaNet.\n
      • \n
      • \n “Authorized Technician” means an “authorized technician” as defined in\n the Information Management Regulation.\n
      • \n
      • \n “Claim” means a claim made under the Act for payment in respect of a\n benefit under the Act.\n
      • \n
      • \n\n

        \n “Conformance Standards” means the following documents published by\n the Province, as amended from time to time:\n

        \n\n
          \n
        1. \n PharmaNet Professional and Software Conformance Standards\n
          \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards\n ; and\n
        2. \n
        3. \n Office of the Chief Information Officer: “Submission for Technical\n Security Standard and High Level Architecture for Wireless Local\n Area Network Connectivity”.\n
          \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/system-access/requirements-for-wireless-access-to-pharmanet\n
        4. \n
        \n\n
      • \n
      • \n “Device Provider Agent” means a person enrolled under section 11 of\n the Act in the class of provider known as “device provider”.\n
      • \n
      • \n “Grant Holder” means a person permitted access to PharmaNet who has\n been issued a “grant” as defined in the Information Management\n Regulation.\n
      • \n
      • \n “Health Services” means “health services” as defined in the Information\n Management Regulation.\n
      • \n
      • \n “Information Management Regulation” means the Information\n Management Regulation, B.C. Reg. 328/2021.\n
      • \n
      • \n “Personal Information” means all recorded information that is about an\n identifiable individual or is defined as, or deemed to be, “personal\n information” or “personal health information” pursuant to any Privacy\n Laws.\n
      • \n
      • \n “PharmaCare Newsletter” means the PharmaCare newsletter published\n by the Province on the following website (or such other website as may be\n specified by the Province from time to time for this purpose):\n\n
        \n\n www.gov.bc.ca/pharmacarenewsletter\n
      • \n
      • \n “PharmaNet” means “PharmaNet” as defined in the Information\n Management Regulation.\n
      • \n
      • \n “PharmaNet Data” includes any record or information contained in\n PharmaNet and any record or information in your custody, control or\n possession obtained through your access to PharmaNet.\n
      • \n
      • \n “PRIME” means the online service provided by the Province that allows\n users to apply for, and manage, their access to PharmaNet, and through\n which users are granted access by the Province.\n
      • \n
      • \n “Privacy Laws” means the Act, the Freedom of Information and\n Protection of Privacy Act, the Personal Information Protection Act, and\n any other statutory or legal obligations of privacy owed by you or the\n Province, whether arising under statute, by contract or at common law.\n
      • \n
      • \n “Provider” means a person enrolled under section 11 of the Act for the\n purpose of receiving payment for providing benefits.\n
      • \n
      • \n “Provider Regulation” means the Provider Regulation, B.C. Reg.\n 222/2014.\n
      • \n
      • \n “Province” means His Majesty the King in Right of British Columbia, as represented by the\n Minister of Health.\n
      • \n
      • \n “Professional College” is the regulatory body governing your provision\n of Health Services.\n
      • \n
      • \n “Unauthorized Person” means any person other than a Grant Holder or\n an Authorized Technician.\n
      • \n
      \n\n
    2. \n
    3. \n Reference to Enactments. Unless otherwise specified, a reference to a statute or\n regulation by name means the statute or regulation of British Columbia of that name, as amended or replaced from\n time to time, and includes any enactment\n made under the authority of that statute or regulation.\n
    4. \n
    5. \n\n

      \n Conflicting Provisions. In the event of a conflict among provisions of this\n Agreement:\n

      \n\n
        \n
      1. \n a provision in the body of this Agreement will prevail over any conflicting\n provision in any further limits or conditions communicated to you in\n writing by the Province, unless the conflicting provision expressly states\n otherwise; and\n
      2. \n
      3. \n a provision referred to in (i) above will prevail over any conflicting\n provision in the Conformance Standards.\n
      4. \n
      \n\n
    6. \n
    \n\n
  4. \n
  5. \n\n

    \n APPLICATION OF LEGISLATION\n

    \n\n

    \n You will strictly comply with the Act, the Information Management Regulation and all\n Privacy Laws applicable to PharmaNet and PharmaNet Data.\n

    \n\n
  6. \n
  7. \n\n

    \n NOTICE THAT SPECIFIC PROVISIONS OF THE ACT APPLY DIRECTLY TO YOU\n

    \n\n

    \n You acknowledge that:\n

    \n\n
      \n
    1. \n PharmaNet Data accessed by you is disclosed to you by the Province under the\n authority of the Act;\n
    2. \n
    3. \n specific provisions of the Act (including but not limited to sections 24, 25 and 29)\n and the Information Management Regulation apply directly to you as a result; and\n
    4. \n
    5. \n this Agreement documents limits and conditions, set by the minister in writing,\n that the Act requires you to comply with.\n
    6. \n
    \n\n
  8. \n
  9. \n\n

    \n ACCESS\n

    \n\n
      \n
    1. \n Grant of Access. The Province will provide you with access to PharmaNet\n subject to your compliance with the limits and conditions set out in this\n Agreement. The Province may from time to time, at its discretion, amend or\n change the scope of your access privileges to PharmaNet as privacy, security,\n business and clinical practice requirements change. In such circumstances, the\n Province will use reasonable efforts to notify you of such changes.\n
    2. \n
    3. \n\n

      \n Requirements for Access. The following requirements apply to your access to\n PharmaNet:\n

      \n\n
        \n
      1. \n you will only access PharmaNet: at an Approved Practice Site, and using\n only the technologies and applications approved by the Province;\n
      2. \n
      3. \n you will not submit Claims on PharmaNet other than from an Approved\n Practice Site in respect of which a person is enrolled as a Provider;\n
      4. \n
      5. \n subject to section 6(b) of this Agreement, you will not use PharmaNet\n Data for the purposes of quality improvement, evaluation, health care\n planning, surveillance, research or other secondary uses, and will only use\n PharmaNet Data for your provision of Health Services;\n
      6. \n
      7. \n you will not permit any Unauthorized Person to access PharmaNet, and\n you will take all reasonable measures to ensure that no Unauthorized\n Person can access PharmaNet;\n
      8. \n
      9. \n you will complete any training program(s) that your Approved SSO makes\n available to you in relation to PharmaNet;\n
      10. \n
      11. \n you will comply with any additional limits or conditions applicable to you,\n as may be communicated to you by the Province in writing.\n
      12. \n
      \n
    4. \n
    5. \n\n

      \n Privacy and Security Measures. You will take all reasonable measures to\n safeguard Personal Information, including any Personal Information in\n PharmaNet Data that is in your custody, control or possession.. In particular, you\n will:\n

      \n\n
        \n
      1. \n take all reasonable steps to ensure the physical security of Personal\n Information, generally and as required by Privacy Laws;\n
      2. \n
      3. \n secure any workstations used to access PharmaNet and all devices, codes\n or passwords that enable access to PharmaNet;\n
      4. \n
      5. \n take such other privacy and security measures as the Province may\n reasonably require from time-to-time.\n
      6. \n
      \n\n
    6. \n
    7. \n Conformance Standards. You will comply with the rules specified in the\n Conformance Standards when accessing and recording information in PharmaNet.\n
    8. \n
    \n\n
  10. \n
  11. \n\n

    \n DISCLOSURE, STORAGE, AND ACCESS REQUESTS\n

    \n\n
      \n
    1. \n Retention of PharmaNet Data. You will not store or retain PharmaNet Data in\n any paper files or any electronic system, unless such storage or retention is\n required for record keeping in accordance with the Act, the Provider Regulation,\n and Professional College requirements and in connection with your provision of\n Health Services and otherwise is in compliance with the Conformance Standards.\n You will not modify any records retained in accordance with this section other\n than as may be expressly authorized in the Conformance Standards. For clarity,\n you may annotate a discrete record provided that the discrete record is not itself\n modified other than as expressly authorized in the Conformance Standards.\n
    2. \n
    3. \n Disclosure to Third Parties. You will not disclose PharmaNet Data to any\n Unauthorized Person, unless disclosure is required for Health Services or is\n otherwise authorized under section 24(1) of the Act.\n
    4. \n
    5. \n Responding to Patient Access Requests. Aside from any records retained by you\n in accordance with section 6(a) of this Agreement, you will not provide to patients\n any copies of records containing PharmaNet Data or “print outs” produced\n directly from PharmaNet, and will refer any requests for access to such records or\n “print outs” to the Province.\n
    6. \n
    7. \n Responding to Requests to Correct a Record Contained in PharmaNet. If you\n receive a request for correction of any record or information contained in\n PharmaNet that can not be completed at the pharmacy, you will refer the request\n to the Province.\n
    8. \n
    9. \n Legal Demands for Records Contained in PharmaNet. You will immediately\n notify the Province if you receive any order, demand or request compelling, or\n threatening to compel, disclosure of records contained in PharmaNet. You will\n cooperate and consult with the Province in responding to any such demands. For greater certainty, the foregoing\n requires that you notify the Province only with\n respect to any access requests or demands for records contained in PharmaNet,\n and not records retained by you in accordance with section 6(a) of this\n Agreement.\n
    10. \n
    \n\n
  12. \n
  13. \n\n

    \n ACCURACY\n

    \n\n

    \n You will make reasonable efforts to ensure that any Personal Information recorded by\n you in PharmaNet is accurate, complete and up to date. In the event that you become\n aware of a material inaccuracy or error in such information, you will take reasonable\n steps to investigate the inaccuracy or error, correct it if necessary, and notify the Province\n of the inaccuracy or error and any steps taken.\n

    \n\n
  14. \n\n
  15. \n\n

    \n NOTICE OF NON-COMPLIANCE\n

    \n\n
      \n
    1. \n\n

      \n Non-Compliance. You will promptly notify the Province, and provide\n particulars, if:\n

      \n\n
        \n
      1. \n you do not comply, or you anticipate that you will be unable to comply\n with the terms of this Agreement in any respect, or\n
      2. \n
      3. \n you have knowledge of any circumstances, incidents or events which have\n or may jeopardize the security, confidentiality, or integrity of PharmaNet,\n the provincial drug program, or any government network or electronic\n system including any unauthorized attempt, by any person, to access\n PharmaNet.\n
      4. \n
      \n\n
    2. \n
    3. \n

      \n Reports to College or Privacy Commissioner. You acknowledge that the\n Province may report any material breach of the Act, the Information Management\n Regulation, or these terms to your Professional College or to the Information and\n Privacy Commissioner of British Columbia.\n

      \n
    4. \n
    \n\n
  16. \n
  17. \n\n

    \n TERM OF AGREEMENT, SUSPENSION & TERMINATION\n

    \n\n
      \n
    1. \n Term. The term of this Agreement begins on the date you are granted access to\n PharmaNet by the Province and will continue until the date this Agreement is\n terminated under paragraph (b), (c), (d) or (e) below.\n
    2. \n
    3. \n Termination for Any Reason. You may terminate this Agreement at any time on\n written notice to the Province.\n
    4. \n
    5. \n Suspension or Termination of PharmaNet Access. If the Province suspends or\n terminates your right to access PharmaNet under the Information Management\n Regulation, the Province may also terminate this Agreement at any time thereafter\n upon written notice to you.\n
    6. \n
    7. \n Termination for Breach. Notwithstanding paragraph (c) above, the Province\n may terminate this Agreement immediately upon notice to you if you fail to\n comply with any provision of this Agreement.\n
    8. \n
    9. \n Termination by Operation of the Information Management Regulation. This\n Agreement will terminate automatically if your access to PharmaNet ends by\n operation of section 39 or 40 of the Information Management Regulation.\n
    10. \n
    11. \n Suspension of Account for Inactivity. As a security precaution, the Province\n may suspend your account after a period of inactivity, in accordance with the\n Province’s policies. Please contact the Province immediately if your account has\n been suspended for inactivity but you still require access to PharmaNet.\n
    12. \n
    \n\n
  18. \n
  19. \n\n

    \n DISCLAIMER OF WARRANTY, LIMITATION OF LIABILITY AND INDEMNITY\n

    \n\n
      \n
    1. \n Information Provided As Is. You acknowledge and agree that any use of\n PharmaNet and PharmaNet Data is solely at your own risk. All such access and\n information is provided on an “as is” and “as available” basis without warranty or\n condition of any kind. The Province does not warrant the accuracy, completeness\n or reliability of the PharmaNet Data or the availability of PharmaNet, or that\n access to or the operation of PharmaNet will function without error, failure or\n interruption.\n
    2. \n
    3. \n You Are Responsible. You are responsible for verifying the accuracy of\n information disclosed to you as a result of your access to PharmaNet or otherwise\n pursuant to this Agreement before relying or acting upon such information. The\n clinical or other information disclosed to you pursuant to this Agreement is in no\n way intended to be a substitute for professional judgment.\n
    4. \n
    5. \n The Province Not Liable for Loss. No action may be brought by any person\n against the Province for any loss or damage of any kind caused by any reason or\n purpose related to reliance on PharmaNet or PharmaNet Data.\n
    6. \n
    7. \n You Must Indemnify the Province If You Cause a Loss or Claim. You agree\n to indemnify and save harmless the Province, and the Province’s employees and\n agents (each an \"Indemnified Person\") from any losses, claims, damages,\n actions, causes of action, costs and expenses that an Indemnified Person may\n sustain, incur, suffer or be put to at any time, either before or after this Agreement\n ends, which are based upon, arise out of or occur directly or indirectly by reason\n of any act or omission by you in connection with this Agreement or in connection\n with access to PharmaNet by you.\n
    8. \n
    \n\n
  20. \n
  21. \n\n

    \n NOTICE\n

    \n\n
      \n
    1. \n\n

      \n Notice to Province. Except where this Agreement expressly provides for another\n method of delivery, any notice to be given by you to the Province that is\n contemplated by this Agreement, to be effective, must be in writing and emailed\n or mailed to:\n

      \n\n
      \n Director, Information and PharmaNet Innovation
      \n Ministry of Health
      \n PO Box 9652, STN PROV GOVT
      \n Victoria, BC V8W 9P4
      \n\n
      \n\n Email:PRIMESupport@gov.bc.ca\n
      \n\n
    2. \n
    3. \n Notice to You. Any notice to you to be delivered under the terms of this\n Agreement will be in writing and delivered by the Province to you using any of\n the contact mechanisms identified by you in PRIME, including by mail to a\n specified postal address, email to a specified email address or text message to the\n specified cell phone number. You may be required to click a URL link or log into\n PRIME to receive the content of any such notice.\n
    4. \n
    5. \n Deemed Receipt. Any written communication from a party, if personally\n delivered or sent electronically, will be deemed to have been received 24 hours\n after the time the notice was sent, or, if sent by mail, will be deemed to have been\n received 3 days (excluding Saturdays, Sundays and statutory holidays) after the\n date the notice was sent.\n
    6. \n
    7. \n Substitute Contact Information. You may notify the Province of a substitute\n contact mechanism by updating your contact information in PRIME.\n
    8. \n
    \n\n
  22. \n
  23. \n\n

    \n GENERAL\n

    \n\n
      \n
    1. \n\n

      \n Severability. Each provision in this Agreement constitutes a separate covenant\n and is severable from any other covenant, and if any of them are held by a court,\n or other decision-maker, to be invalid, this Agreement will be interpreted as if\n such provisions were not included.\n

      \n\n
    2. \n
    3. \n\n

      \n Survival. Any provision of this Agreement that expressly or by its nature\n continues after termination, shall survive termination of this Agreement.\n

      \n\n
    4. \n
    5. \n\n

      \n Governing Law. This Agreement will be governed by and will be construed and\n interpreted in accordance with the laws of British Columbia and the laws of\n Canada applicable therein.\n

      \n\n
    6. \n
    7. \n\n

      \n Assignment Restricted. Your rights and obligations under this Agreement may\n not be assigned without the prior written approval of the Province.\n

      \n\n
    8. \n
    9. \n\n

      \n Waiver. The failure of the Province at any time to insist on performance of any\n provision of this Agreement by you is not a waiver of its right subsequently to\n insist on performance of that or any other provision of this Agreement.\n

      \n\n
    10. \n
    11. \n\n

      \n Province May Modify this Agreement. The Province may amend this\n Agreement, including this section, at any time in its sole discretion:\n

      \n\n
        \n
      1. \n by written notice to you, in which case the amendment will become\n effective upon the later of (A) the date notice of the amendment is first\n delivered to you, or (B) the effective date of the amendment specified by\n the Province, if any; or\n
      2. \n
      3. \n by publishing notice of any such amendment in the PharmaCare\n Newsletter, in which case the notice will specify the effective date of the\n amendment, which date will be at least 30 (thirty) days after the date that\n the PharmaCare Newsletter containing the notice is first published.\n
      4. \n
      \n\n

      \n If you use PharmaNet after the effective date of an amendment described in (i) or\n (ii) above, you will be deemed to have accepted the corresponding amendment,\n and this Agreement will be deemed to have been so amended as of the effective\n date. If you do not agree with any amendment for which notice has been provided\n by the Province in accordance with (i) or (ii) above, you must promptly (and in\n any event before the effective date) cease all access or use of PharmaNet by yourself and take the steps\n necessary to terminate this Agreement in accordance\n with section 10.\n

      \n\n
    12. \n
    \n
  24. \n
\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 24, + AgreementType = 2, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2022, 11, 17, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + Text = "

PHARMANET REGULATED USER TERMS OF ACCESS

\n\n

\n By enrolling for PharmaNet access, you agree to the following terms (the "Agreement"). Please read them\n carefully.\n

\n\n
    \n
  1. \n\n

    \n BACKGROUND\n

    \n\n

    \n The Province owns and is responsible for the operation of PharmaNet, the province-wide network that links B.C.\n pharmacies to a central data system. Every prescription dispensed in community pharmacies in B.C. is entered into\n PharmaNet.\n

    \n\n

    \n The purpose of providing you, and the On-Behalf-of Users whom you have authorized, with access to PharmaNet is to\n enhance patient care by providing timely and relevant information to persons involved in the provision of direct\n patient care.\n

    \n\n

    \n PharmaNet contains highly sensitive confidential information, including Personal Information and the proprietary\n and confidential information of third-party licensors to the Province, and it is in the public interest to ensure\n that appropriate measures are in place to protect the confidentiality of all such information. All access to and\n use of PharmaNet and PharmaNet Data is subject to the Act and Privacy Laws.\n

    \n\n
  2. \n
  3. \n\n

    \n INTERPRETATION\n

    \n\n
      \n
    1. \n\n

      \n Definitions. Unless otherwise provided in this Agreement, capitalized terms will have the\n meanings given below:\n

      \n\n
        \n
      • \n "Act" means the Pharmaceutical Services Act.\n
      • \n
      • \n "Approved Practice Site" means the physical site at which you provide Direct\n Patient Care and which is approved by the Province for PharmaNet access. For greater certainty,\n "Approved Practice Site" does not include a location from which remote access to PharmaNet takes\n place;\n
      • \n
      • \n "Approved SSO" means a software support organization approved by the Province\n that provides you with the information technology software and/or services through which you and\n On-Behalf-of Users access PharmaNet.\n
      • \n
      • \n\n

        \n "Conformance Standards" means the following documents published by the\n Province, as amended from time to time:\n

        \n\n
          \n
        1. \n PharmaNet Professional and Software Conformance Standards; and\n
        2. \n
        3. \n Office of the Chief Information Officer: "Submission for Technical Security Standard and High Level\n Architecture for Wireless Local Area Network Connectivity".\n
        4. \n
        \n\n
      • \n
      • \n "Direct Patient Care" means, for the purposes of this Agreement, the provision of\n health services to an individual to whom you provide direct patient care in the context of your Practice.\n
      • \n
      • \n "Information Management Regulation" means the Information Management Regulation,\n B.C. Reg. 74/2015.\n
      • \n
      • \n "On-Behalf-of User" means a member of your staff who (i) requires access to\n PharmaNet to carry out duties in relation to your Practice; (ii) is authorized by you to access PharmaNet\n on your behalf; and (iii) has been granted access to PharmaNet by the Province.\n
      • \n
      • \n "Personal Information" means all recorded information that is about an\n identifiable individual or is defined as, or deemed to be, "personal information" or\n "personal health information" pursuant to any Privacy Laws.\n
      • \n
      • \n "PharmaCare Newsletter" means the PharmaCare newsletter published by the Province\n on the following website (or such other website as may be specified by the Province from time to time for\n this purpose):\n\n \n www.gov.bc.ca/pharmacarenewsletter\n \n
      • \n
      • \n "PharmaNet" means PharmaNet as continued under section 2 of the Information\n Management Regulation.\n
      • \n
      • \n "PharmaNet Data" includes any record or information contained in PharmaNet and\n any record or information in the custody, control or possession of you or an On-Behalf-of User that was\n obtained through your or an On-Behalf-of User’s access to PharmaNet.\n
      • \n
      • \n "Practice" means your practice of the health profession regulated under the\n Health Professions Act, or your practice as an enrolled device provider under the Provider\n Regulation, B.C. Reg. 222/2014, as identified by you through PRIME.\n
      • \n
      • \n "PRIME" means the online service provided by the Province that allows users to\n apply for, and manage, their access to PharmaNet, and through which users are granted access by the\n Province.\n
      • \n
      • \n "Privacy Laws" means the Act, the Freedom of Information and Protection of\n Privacy Act, the Personal Information Protection Act, and any other statutory or legal\n obligations of privacy owed by you or the Province, whether arising under statute, by contract or at common\n law.\n
      • \n
      • \n "Province" means His Majesty the King in Right of British Columbia, as\n represented by the Minister of Health.\n
      • \n
      • \n "Professional College" is the regulatory body governing your Practice.\n
      • \n
      • \n\n

        \n "Unauthorized Person" means any person other than:\n

        \n\n
          \n
        1. \n you,\n
        2. \n
        3. \n an On-Behalf-of User, or\n
        4. \n
        5. \n a representative of an Approved SSO that is accessing PharmaNet for technical support purposes in\n accordance with section 6 of the Information Management Regulation.\n
        6. \n
        \n\n
      • \n
      \n\n
    2. \n
    3. \n Reference to Enactments. Unless otherwise specified, a reference to a statute or regulation by\n name means the statute or regulation of British Columbia of that name, as amended or replaced from time to time,\n and includes any enactment made under the authority of that statute or regulation.\n
    4. \n
    5. \n\n

      \n Conflicting Provisions. In the event of a conflict among provisions of this Agreement:\n

      \n\n
        \n
      1. \n a provision in the body of this Agreement will prevail over any conflicting provision in any further\n limits or conditions communicated to you in writing by the Province, unless the conflicting provision\n expressly states otherwise; and\n
      2. \n
      3. \n a provision referred to in (i) above will prevail over any conflicting provision in the Conformance\n Standards.\n
      4. \n
      \n\n
    6. \n
    \n\n
  4. \n
  5. \n\n

    \n APPLICATION OF LEGISLATION\n

    \n\n

    \n You will strictly comply with, and you will ensure that On-Behalf-of Users strictly comply with, the Act and all\n Privacy Laws applicable to PharmaNet and PharmaNet Data.\n

    \n\n
  6. \n
  7. \n\n

    \n NOTICE THAT SPECIFIC PROVISIONS OF THE ACT APPLY DIRECTLY TO YOU\n

    \n\n

    \n You acknowledge that:\n

    \n\n
      \n
    1. \n PharmaNet Data accessed by you or an On-Behalf-of User pursuant to this Agreement is disclosed to you by the\n Province under the authority of the Act;\n
    2. \n
    3. \n specific provisions of the Act, including the Information Management Regulation and sections 24, 25 and\n 29 of the Act, apply directly to you and to On-Behalf-of Users as a result; and\n
    4. \n
    5. \n this Agreement documents limits and conditions, set by the minister in writing, that the Act requires you to\n comply with.\n
    6. \n
    \n\n
  8. \n
  9. \n\n

    \n ACCESS\n

    \n\n
      \n
    1. \n Grant of Access. The Province will provide you with access to PharmaNet subject to your\n compliance with the limits and conditions set out in section 5(b) below and otherwise in this Agreement. The\n Province may from time to time, at its discretion, amend or change the scope of your access privileges to\n PharmaNet as privacy, security, business and clinical practice requirements change. In such circumstances, the\n Province will use reasonable efforts to notify you of such changes.\n
    2. \n
    3. \n\n

      \n Limits and Conditions of Access. The following limits and conditions apply to your access to\n PharmaNet:\n

      \n\n
        \n
      1. \n you will only access PharmaNet, and you will ensure that On-Behalf-of Users only access PharmaNet, for so\n long as you are a registrant in good standing with the Professional College and your registration permits\n you to deliver Direct Patient Care requiring access to PharmaNet;\n
      2. \n
      3. \n unless (iii) below applies, you will only access PharmaNet at the Approved Practice Site, and using only the\n technologies and applications approved by the Province.\n
      4. \n
      5. \n

        \n you may only access PharmaNet using remote access technology if all of the following conditions are met:\n

        \n\n
          \n
        1. \n the remote access technology used at the Approved Practice Site has been specifically approved in\n writing by the Province,\n
        2. \n
        3. \n the requirements of the Province’s Policy for Remote Access to PharmaNet\n (https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards)\n are met,\n
        4. \n
        5. \n your Approved Practice Site has registered you with the Province for remote access at the Approved\n Practice Site,\n
        6. \n
        7. \n you have applied to the Province for remote access at the Approved Practice Site and the Province has\n approved that application in writing, and\n
        8. \n
        9. \n you are physically located in British Columbia at the time of any such remote access.\n
        10. \n
        \n
      6. \n
      7. \n you must ensure that your On-Behalf-of-Users do not access PharmaNet on your behalf unless the access takes\n place at the Approved Practice Site and the access is in relation to patients for whom you will be providing\n Direct Patient Care at the Approved Practice Site requiring the access to PharmaNet;\n
      8. \n
      9. \n you must ensure that your On-Behalf-of Users do not access PharmaNet using VPN or other remote access\n technology\n
      10. \n
      11. \n you will only access PharmaNet as necessary for your provision of Direct Patient Care, and you will ensure\n that On-Behalf-of Users only access PharmaNet as necessary to support your provision of Direct Patient Care;\n
      12. \n
      13. \n you will not under any circumstances access PharmaNet, or use PharmaNet Data, for the purpose of market\n research, and you will ensure that no On-Behalf-of Users access PharmaNet, or use PharmaNet Data, for the\n purpose of market research;\n
      14. \n
      15. \n subject to section 6(b) of this Agreement, you will not use PharmaNet Data, and you will ensure that\n On-Behalf-of Users do not use PharmaNet Data, for any purpose other than your provision of Direct Patient\n Care, including for the purposes of deidentification or aggregation, quality improvement, evaluation, health\n care planning, surveillance, research or other secondary uses;\n
      16. \n
      17. \n you will not permit any Unauthorized Person to access PharmaNet, and you will take all reasonable measures\n to ensure that no Unauthorized Person can access PharmaNet;\n
      18. \n
      19. \n you will complete any training program(s) that your Approved SSO makes available to you in relation to\n PharmaNet, and you will ensure that all On-Behalf-of Users complete such training;\n
      20. \n
      21. \n you will immediately notify the Province when you or an On-Behalf-of User no longer require access to\n PharmaNet, including where the On-Behalf-of User ceases to be one of your staff or takes a leave of absence\n from your staff, or where the On-Behalf-of User’s access-related duties in relation to the Practice have\n changed;\n
      22. \n
      23. \n you will comply with, and you will ensure that On-Behalf-of Users comply with, any additional limits or\n conditions applicable to you, as may be communicated to you by the Province in writing;\n
      24. \n
      25. \n you represent and warrant that all information provided by you in connection with your application for\n PharmaNet access, including through PRIME, is true and correct.\n
      26. \n
      \n\n
    4. \n
    5. \n Responsibility for On-Behalf-of Users. You agree that you are responsible under this Agreement\n for all activities undertaken by On-Behalf-of Users in relation to their access to PharmaNet and use of\n PharmaNet Data.\n
    6. \n
    7. \n\n

      \n Privacy and Security Measures. You are responsible for taking all reasonable measures to\n safeguard Personal Information, including any Personal Information in the PharmaNet Data while it is in the\n custody, control or possession of yourself or an On-Behalf-of User. In particular, you will:\n

      \n\n
        \n
      1. \n take all reasonable steps to ensure the physical security of Personal Information, generally and as required\n by Privacy Laws;\n
      2. \n
      3. \n secure all workstations and printers in a protected area in the Practice to prevent viewing of PharmaNet\n Data by Unauthorized Persons;\n
      4. \n
      5. \n ensure separate access credential (such as user name and password) for each On-Behalf-of User, and prohibit\n sharing or other multiple use of your access credential, or an On-Behalf-of User’s access credential, for\n access to PharmaNet;\n
      6. \n
      7. \n secure any workstations used to access PharmaNet and all devices, codes or passwords that enable access to\n PharmaNet by yourself or any On-Behalf-of User;\n
      8. \n
      9. \n take such other privacy and security measures as the Province may reasonably require from time-to-time.\n
      10. \n
      \n\n
    8. \n
    9. \n Conformance Standards. You will comply with, and will ensure On-Behalf-of Users comply with,\n the rules specified in the Conformance Standards when accessing and recording information in PharmaNet.\n
    10. \n
    \n\n
  10. \n
  11. \n\n

    \n DISCLOSURE, STORAGE, AND ACCESS REQUESTS\n

    \n\n
      \n
    1. \n Retention of PharmaNet Data. You will not store or retain PharmaNet Data in any paper files or\n any electronic system, unless such storage or retention is required for record keeping in accordance with\n Professional College requirements and in connection with your provision of Direct Patient Care and otherwise\n is in compliance with the Conformance Standards. You will not modify any records retained in accordance with\n this section other than as may be expressly authorized in the Conformance Standards. For clarity, you may\n annotate a discrete record provided that the discrete record is not itself modified other than as expressly\n authorized in the Conformance Standards.\n
    2. \n
    3. \n Use of Retained Records. You may use any records retained by you in accordance with section\n 6(a) of this Agreement for a purpose authorized under section 24(1) of the Act, including for the purpose of\n monitoring your own Practice.\n
    4. \n
    5. \n Disclosure to Third Parties. You will not, and will ensure that On-Behalf-of Users do not,\n disclose PharmaNet Data to any Unauthorized Person, unless disclosure is required for Direct Patient Care or is\n otherwise authorized under section 24(1) of the Act.\n
    6. \n
    7. \n No Disclosure for Market Research. You will not, and will ensure that On-Behalf-of Users do\n not, disclose PharmaNet Data for the purpose of market research.\n
    8. \n
    9. \n Responding to Patient Access Requests. Aside from any records retained by you in accordance\n with section 6(a) of this Agreement, you will not provide to patients any copies of records containing PharmaNet\n Data or "print outs" produced directly from PharmaNet, and will refer any requests for access to such\n records or "print outs" to the Province.\n
    10. \n
    11. \n Responding to Requests to Correct a Record contained in PharmaNet. If you receive a request for\n correction of any record or information contained in PharmaNet, you will refer the request to the Province.\n
    12. \n
    13. \n Legal Demands for Records Contained in PharmaNet. You will immediately notify the Province if\n you receive any order, demand or request compelling, or threatening to compel, disclosure of records contained\n in PharmaNet. You will cooperate and consult with the Province in responding to any such demands. For greater\n certainty, the foregoing requires that you notify the Province only with respect to any access requests or\n demands for records contained in PharmaNet, and not records retained by you in accordance with section 6(a) of\n this Agreement.\n
    14. \n
    \n\n
  12. \n
  13. \n\n

    \n ACCURACY\n

    \n\n

    \n You will make reasonable efforts to ensure that any Personal Information recorded by you or an On-Behalf-of User\n in PharmaNet is accurate, complete and up to date. In the event that you become aware of a material inaccuracy or\n error in such information, you will take reasonable steps to investigate the inaccuracy or error, correct it if\n necessary, and notify the Province of the inaccuracy or error and any steps taken.\n

    \n\n
  14. \n
  15. \n\n

    \n INVESTIGATIONS, AUDITS, AND REPORTING\n

    \n\n
      \n
    1. \n Audits and Investigations. You will cooperate with any audits or investigations conducted by\n the Province regarding your, or any On-Behalf-of User’s, compliance with the Act, Privacy Laws and this\n Agreement, including providing access upon request to your facilities, data management systems, books, records\n and personnel for the purposes of such audit or investigation.\n
    2. \n
    3. \n Reports to College or Privacy Commissioner. You acknowledge and agree that the Province may\n report any material breach of this Agreement to your Professional College or to the Information and Privacy\n Commissioner of British Columbia.\n
    4. \n
    \n\n
  16. \n
  17. \n\n

    \n NOTICE OF NON COMPLIANCE AND DUTY TO INVESTIGATE\n

    \n\n
      \n
    1. \n Duty to Investigate. You will investigate suspected breaches of the terms of this Agreement,\n and will take all reasonable steps to prevent recurrences of any such breaches, including taking any steps\n necessary to cooperate with the Province in ensuring the suspension or termination of an On-Behalf-of User’s\n access rights.\n
    2. \n
    3. \n\n

      \n Non Compliance. You will promptly notify the Province, and provide particulars, if:\n

      \n\n
        \n
      1. \n you or an On-Behalf-of User do not comply, or you anticipate that you or a On-Behalf-of User will be unable\n to comply with the terms of this Agreement in any respect, or\n
      2. \n
      3. \n you have knowledge of any circumstances, incidents or events which have or may jeopardize the security,\n confidentiality, or integrity of PharmaNet, including any unauthorized attempt, by any person, to access\n PharmaNet.\n
      4. \n
      \n\n
    4. \n
    \n\n
  18. \n
  19. \n\n

    \n TERM OF AGREEMENT, SUSPENSION & TERMINATION\n

    \n\n
      \n
    1. \n Term. The term of this Agreement begins on the date you are granted access to PharmaNet by the\n Province and will continue until the date this Agreement is terminated under paragraph (b), (c), (d) or (e)\n below.\n
    2. \n
    3. \n Termination for Any Reason. You may terminate this Agreement at any time on written notice to\n the Province.\n
    4. \n
    5. \n Suspension or Termination of PharmaNet access. If the Province suspends or terminates your\n right to access PharmaNet under the Information Management Regulation, this Agreement will\n automatically terminate as of the date of such suspension or termination.\n
    6. \n
    7. \n Termination for Breach. Notwithstanding paragraph (c) above, the Province may terminate this\n Agreement, and any or all access to PharmaNet by you or an On-Behalf-of User, immediately upon notice to you if\n you or an On-Behalf-of User fail to comply with any provision of this Agreement.\n
    8. \n
    9. \n Termination by operation of the Information Management Regulation. This Agreement will\n terminate automatically if your access to PharmaNet ends by operation of section 18 of the\n Information Management Regulation.\n
    10. \n
    11. \n Suspension of Account for Inactivity. As a security precaution, the Province may suspend your\n account or an On-Behalf-of User’s account after a period of inactivity, in accordance with the Province’s\n policies. Please contact the Province immediately if your account has been suspended for inactivity but you\n still require access to PharmaNet.\n
    12. \n
    \n\n
  20. \n
  21. \n\n

    \n DISCLAIMER OF WARRANTY, LIMITATION OF LIABILITY AND INDEMNITY\n

    \n\n
      \n
    1. \n Information Provided As Is. You acknowledge and agree that any use of PharmaNet and PharmaNet\n Data is solely at your own risk. All such access and information is provided on an "as is" and\n "as available" basis without warranty or condition of any kind. The Province does not warrant the\n accuracy, completeness or reliability of the PharmaNet Data or the availability of PharmaNet, or that access\n to or the operation of PharmaNet will function without error, failure or interruption.\n
    2. \n
    3. \n You are Responsible. You are responsible for verifying the accuracy of information disclosed to\n you as a result of your access to PharmaNet or otherwise pursuant to this Agreement before relying or acting\n upon such information. The clinical or other information disclosed to you or an On-Behalf-of User pursuant to\n this Agreement is in no way intended to be a substitute for professional judgment.\n
    4. \n
    5. \n The Province Not Liable for Loss. No action may be brought by any person against the Province\n for any loss or damage of any kind caused by any reason or purpose related to reliance on PharmaNet or PharmaNet\n Data.\n
    6. \n
    7. \n You Must Indemnify the Province if You Cause a Loss or Claim. You agree to indemnify and save\n harmless the Province, and the Province’s employees and agents (each an \"Indemnified Person\")\n from any losses, claims, damages, actions, causes of action, costs and expenses that an Indemnified Person may\n sustain, incur, suffer or be put to at any time, either before or after this Agreement ends, which are based\n upon, arise out of or occur directly or indirectly by reason of any act or omission by you, or by any\n On-Behalf-of User, in connection with this Agreement.\n
    8. \n
    \n\n
  22. \n
  23. \n\n

    \n NOTICE\n

    \n\n
      \n
    1. \n\n

      \n Notice to Province. Except where this Agreement expressly provides for another method of\n delivery, any notice to be given by you to the Province that is contemplated by this Agreement, to be\n effective, must be in writing and emailed or mailed to:\n

      \n\n
      \n Director, Information and PharmaNet Development
      \n Ministry of Health
      \n PO Box 9652, STN PROV GOVT
      \n Victoria, BC V8W 9P4
      \n\n
      \n\n PRIMESupport@gov.bc.ca\n
      \n\n
    2. \n
    3. \n Notice to You. Any notice to you to be delivered under the terms of this Agreement will be in\n writing and delivered by the Province to you using any of the contact mechanisms identified by you in PRIME,\n including by mail to a specified postal address, email to a specified email address or text message to the\n specified cell phone number. You may be required to click a URL link or log into PRIME to receive the content\n of any such notice.\n
    4. \n
    5. \n Deemed receipt. Any written communication from a party, if personally delivered or sent\n electronically, will be deemed to have been received 24 hours after the time the notice was sent, or, if sent\n by mail, will be deemed to have been received 3 days (excluding Saturdays, Sundays and statutory holidays)\n after the date the notice was sent.\n
    6. \n
    7. \n Substitute contact information. You may notify the Province of a substitute contact mechanism\n by updating your contact information in PRIME.\n
    8. \n
    \n\n
  24. \n
  25. \n\n

    \n GENERAL\n

    \n\n
      \n
    1. \n\n

      \n Severability. Each provision in this Agreement constitutes a separate covenant and is\n severable from any other covenant, and if any of them are held by a court, or other decision-maker, to be\n invalid, this Agreement will be interpreted as if such provisions were not included.\n

      \n\n
    2. \n
    3. \n\n

      \n Survival. Sections 3, 4, 5(b)(vii) (viii), 5(c), 5(d), 6(a)(b)(c)(d), 8, 9, 11, and any other\n provision of this Agreement that expressly or by its nature continues after termination, shall survive\n termination of this Agreement.\n

      \n\n
    4. \n
    5. \n\n

      \n Governing Law. This Agreement will be governed by and will be construed and interpreted in\n accordance with the laws of British Columbia and the laws of Canada applicable therein.\n

      \n\n
    6. \n
    7. \n\n

      \n Assignment Restricted. Your rights and obligations under this Agreement may not be assigned\n without the prior written approval of the Province.\n

      \n\n
    8. \n
    9. \n\n

      \n Waiver. The failure of the Province at any time to insist on performance of any provision of\n this Agreement by you is not a waiver of its right subsequently to insist on performance of that or any other\n provision of this Agreement.\n

      \n\n
    10. \n
    11. \n\n

      \n Province may modify this Agreement. The Province may amend this Agreement, including this\n section, at any time in its sole discretion:\n

      \n\n
        \n
      1. \n by written notice to you, in which case the amendment will become effective upon the later of (A) the\n date notice of the amendment is first delivered to you, or (B) the effective date of the amendment specified\n by the Province, if any; or\n
      2. \n
      3. \n by publishing notice of any such amendment in the PharmaCare Newsletter, in which case the notice will\n specify the effective date of the amendment, which date will be at least 30 (thirty) days after the date\n that the PharmaCare Newsletter containing the notice is first published.\n
      4. \n
      \n\n

      \n If you or an On-Behalf-of User access or use PharmaNet after the effective date of an amendment described in\n (i) or (ii) above, you will be deemed to have accepted the corresponding amendment, and this Agreement will be\n deemed to have been so amended as of the effective date. If you do not agree with any amendment for which\n notice has been provided by the Province in accordance with (i) or (ii) above, you must promptly (and in any\n event before the effective date) cease all access or use of PharmaNet by yourself and all On-Behalf-of Users,\n and take the steps necessary to terminate this Agreement in accordance with section 10.\n

      \n\n
    12. \n
    \n\n
  26. \n
\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 25, + AgreementType = 4, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2022, 11, 17, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + Text = "

ORGANIZATION AGREEMENT FOR PHARMANET USE

\n\n

\n This Organization Agreement for PharmaNet Use (the "Agreement") is executed by {{organization_name}}\n ("Organization") for the benefit of HIS MAJESTY THE KING IN RIGHT OF THE PROVINCE OF BRITISH COLUMBIA, as\n represented by the Minister of Health (the "Province").\n

\n\n

\n WHEREAS:\n

\n\n
    \n
  1. \n The Province owns and is responsible for the operation of PharmaNet, the province-wide network that links\n pharmacies to a central data system. Every prescription dispensed in community pharmacies in British\n Columbia is entered into PharmaNet.\n
  2. \n
  3. \n PharmaNet contains highly sensitive confidential information, including personal information, and it is in\n the public interest to ensure that appropriate measures are in place to protect the confidentiality and\n integrity of such information. All access to and use of PharmaNet and PharmaNet Data is subject to the\n Act and other applicable law.\n
  4. \n
  5. \n The Province permits Authorized Users to access PharmaNet to provide health services to, or to facilitate\n the care of, the individual whose personal information is being accessed.\n
  6. \n
  7. \n This Agreement sets out the terms by which Organization may permit Authorized Users to access PharmaNet\n at the Site(s) operated by Organization.\n
  8. \n
\n\n

\n NOW THEREFORE Organization makes this Agreement knowing that the Province will rely on it\n in permitting access to and use of PharmaNet from Sites operated by Organization. Organization conclusively\n acknowledges that reliance by the Province on this Agreement is in every respect justifiable and that it\n received fair and valuable consideration for this Agreement, the receipt and adequacy of which is hereby\n acknowledged. Organization hereby agrees as follows:\n

\n\n

\n ARTICLE 1 – INTERPRETATION\n

\n\n
    \n
  1. \n
      \n
    1. \n

      \n In this Agreement, unless the context otherwise requires, the following definitions will apply:\n

      \n\n
        \n
      1. \n "Act" means the Pharmaceutical Services Act;\n
      2. \n
      3. \n "Approved SSO" means, in relation to a Site, the software support organization\n identified in section 1 of the Site Request that provides Organization with the SSO-Provided\n Technology used at the Site;\n
      4. \n
      5. \n "Associated Technology" means, in relation to a Site, any information technology\n hardware, software or services used at the Site, other than the SSO-Provided Technology, that is\n in any way used in connection with Site Access or any PharmaNet Data;\n
      6. \n
      7. \n

        \n "Authorized User" means an individual who is granted access to PharmaNet by the\n Province and who is:\n

        \n\n
          \n
        1. \n an employee or independent contractor of Organization, or\n
        2. \n
        3. \n if Organization is an individual, the Organization;\n
        4. \n
        \n
      8. \n
      9. \n "Information Management Regulation" means the\n Information Management Regulation,\n B.C. Reg. 74/2015;\n
      10. \n
      11. \n "On-Behalf-Of User" means an Authorized User described in subsection 4 (5) of the\n Information Management Regulation who acts on behalf of a Regulated User when accessing\n PharmaNet;\n
      12. \n
      13. \n "PharmaNet" means PharmaNet as continued under section 2 of the\n Information Management Regulation;\n
      14. \n
      15. \n "PharmaNet Data" includes any records or information contained in PharmaNet and\n any records\n or information in the custody, control or possession of Organization or any Authorized User as the result of\n any Site Access;\n
      16. \n
      17. \n "Regulated User" means an Authorized User described in subsections 4 (2) to (4)\n of the\n Information Management Regulation;\n
      18. \n
      19. \n "Signing Authority" means the individual identified by Organization as the\n "Signing Authority"\n for a Site, with the associated contact information, as set out in section 2 of the Site Request;\n
      20. \n
      21. \n

        \n "Site" means a premises operated by Organization and located in British Columbia that:\n

        \n\n
          \n
        1. \n is the subject of a Site Request submitted to the Province, and\n
        2. \n
        3. \n has been approved for Site Access by the Province in writing\n
        4. \n
        \n\n

        \n For greater certainty, "Site" does not include a location from which remote access to PharmaNet\n takes place;\n

        \n
      22. \n
      23. \n "Site Access" means any access to or use of PharmaNet at a Site or remotely as\n permitted\n by the Province;\n
      24. \n
      25. \n "Site Request" means, in relation to a Site, the information contained in the\n PharmaNet access\n request form submitted to the Province by the Organization, requesting PharmaNet access at the Site, as such\n information is updated by the Organization from time to time in accordance with section 2.2;\n
      26. \n
      27. \n "SSO-Provided Technology" means any information technology hardware, software or\n services\n provided to Organization by an Approved SSO for the purpose of Site Access;\n
      28. \n
      \n
    2. \n
    3. \n Unless otherwise specified, a reference to a statute or regulation by name means a statute or regulation of\n British\n Columbia of that name, as amended or replaced from time to time, and includes any enactments made under the\n authority\n of that statute or regulation.\n
    4. \n
    5. \n

      \n The following are the Schedules attached to and incorporated into this Agreement:\n

      \n\n
        \n
      • \n Schedule A – Specific Privacy and Security Measures\n
      • \n
      \n
    6. \n
    7. \n The main body of this Agreement, the Schedules, and any documents incorporated by reference into this Agreement\n are to\n be interpreted so that all of the provisions are given as full effect as possible. In the event of a conflict,\n unless\n expressly stated to the contrary the main body of the Agreement will prevail over the Schedules, which will\n prevail\n over any document incorporated by reference.\n
    8. \n
    \n
  2. \n
\n\n

\n ARTICLE 2 – REPRESENTATIONS AND WARRANTIES\n

\n\n
    \n
  1. \n
      \n
    1. \n

      \n Organization represents and warrants to the Province, as of the date of this\n Agreement and throughout its term, that:\n

      \n\n
        \n
      1. \n the information contained in the Site Request for each Site is true and correct;\n
      2. \n
      3. \n

        \n if Organization is not an individual:\n

        \n\n
          \n
        1. \n Organization has the power and capacity to enter into this Agreement and to comply with its terms;\n
        2. \n
        3. \n all necessary corporate or other proceedings have been taken to authorize the execution and delivery\n of this Agreement by, or on behalf of, Organization; and\n
        4. \n
        5. \n this Agreement has been legally and properly executed by, or on behalf of, the Organization and is\n legally binding upon and enforceable against Organization in accordance with its terms.\n
        6. \n
        \n
      4. \n
      \n
    2. \n
    3. \n Organization must immediately notify the Province of any change to the information contained in a Site Request,\n including any change to a Site’s status, location, normal operating hours, Approved SSO, or the name and contact\n information of the Signing Authority or any of the other specific roles set out in the Site Request. Such\n notices\n must be submitted to the Province in the form and manner directed by the Province in its published instructions\n regarding the submission of updated Site Request information, as such instructions may be updated from time to\n time by the Province.\n
    4. \n
    \n
  2. \n
\n\n

\n ARTICLE 3 – SITE ACCESS REQUIREMENTS\n

\n\n
    \n
  1. \n
      \n
    1. \n Organization must comply with the Act and all applicable law.\n
    2. \n
    3. \n Organization must submit a Site Request to the Province for each physical location where it intends to provide\n Site\n Access, and must only provide Site Access from Sites approved in writing by the Province. For greater certainty,\n a\n Site Request is not required for each physical location from which remote access, as permitted under section\n 3.6,\n may occur, but Organization must provide, with the Site Request, a list of the locations from which remote\n access\n may occur, and ensure this list remains current for the term of this agreement.\n
    4. \n
    5. \n Organization must only provide Site Access using SSO-Provided Technology. For the purposes of remote access,\n Organization must ensure that technology used meets the requirements of Schedule A.\n
    6. \n
    7. \n Unless otherwise authorized by the Province in writing, Organization must at all times use the secure network or\n security technology that the Province certifies or makes available to Organization for the purpose of Site\n Access.\n The use of any such network or technology by Organization may be subject to terms and conditions of use,\n including\n acceptable use policies, established by the Province and communicated to Organization from time to time in\n writing.\n
    8. \n
    9. \n

      \n Organization must only make Site Access available to the following individuals:\n

      \n\n
        \n
      1. \n Authorized Users when they are physically located at a Site, and, in the case of an On-Behalf-of-User\n accessing\n personal information of a patient on behalf of a Regulated User, only if the Regulated User will be\n delivering\n care to that patient at the same Site at which the access to personal information occurs;\n
      2. \n
      3. \n Representatives of an Approved SSO for technical support purposes, in accordance with section 6 of the\n Information Management Regulation.\n
      4. \n
      \n
    10. \n
    11. \n Despite section 3.5(a), Organization may make Site Access available to Regulated Users who are physically\n located in\n British Columbia and remotely connected to a Site using a VPN or other remote access technology specifically\n approved\n by the Province in writing for the Site.\n
    12. \n
    13. \n

      \n Organization must ensure that Authorized Users with Site Access:\n

      \n\n
        \n
      1. \n only access PharmaNet to the extent necessary to provide health services to, or facilitate the care of, the\n individual whose personal information is being accessed;\n
      2. \n
      3. \n first complete any mandatory training program(s) that the Site’s Approved SSO or the Province makes\n available\n in relation to PharmaNet;\n
      4. \n
      5. \n access PharmaNet using their own separate login identifications and credentials, and do not share or have\n multiple use of any such login identifications and credentials;\n
      6. \n
      7. \n secure all devices, codes and credentials that enable access to PharmaNet against unauthorized use; and\n
      8. \n
      9. \n in the case of remote access, comply with the policies of the Province relating to remote access to\n PharmaNet.\n
      10. \n
      \n
    14. \n
    15. \n If notified by the Province that an Authorized User’s access to PharmaNet has been suspended or revoked,\n Organization\n will immediately take any local measures necessary to remove the Authorized User’s Site Access. Organization\n will\n only restore Site Access to a previously suspended or revoked Authorized User upon the Province’s specific\n written\n direction.\n
    16. \n
    17. \n

      \n For the purposes of this section:\n

      \n\n
        \n
      1. \n "Responsible Authorized User" means, in relation to any PharmaNet Data, the\n Regulated User by whom,\n or on whose behalf, that data was obtained from PharmaNet; and\n
      2. \n
      3. \n "Use" includes to collect, access, retain, use, de-identify, and disclose.\n
      4. \n
      \n\n

      \n The PharmaNet Data disclosed under this Agreement is disclosed by the Province solely for the Use of the\n Responsible\n User to whom it is disclosed.\n

      \n\n

      \n Organization must not Use any PharmaNet Data, or permit any third party to Use PharmaNet Data, unless the\n Responsible\n User has authorized such Use and it is otherwise permitted under the Act, applicable law, and the limits and\n conditions imposed by the Province on the Responsible User.\n

      \n
    18. \n
    19. \n

      \n Organization must make all reasonable arrangements to protect PharmaNet Data against such risks as\n unauthorized access,\n collection, use, modification, retention, disclosure or disposal, including by:\n

      \n\n
        \n
      1. \n taking all reasonable physical, technical and operational measures necessary to ensure Site Access operates\n in\n accordance with sections 3.1 to 3.9 above, and\n
      2. \n
      3. \n complying with the requirements of Schedule A.\n
      4. \n
      \n
    20. \n
    \n
  2. \n
\n\n

\n ARTICLE 4 – NON-COMPLIANCE AND INVESTIGATIONS\n

\n\n
    \n
  1. \n
      \n
    1. \n Organization must promptly notify the Province, and provide particulars, if Organization does not comply, or\n anticipates\n that it will be unable to comply, with the terms of this Agreement, or if Organization has knowledge of any\n circumstances,\n incidents or events which have or may jeopardize the security, confidentiality or integrity of PharmaNet,\n including any\n attempt by any person to gain unauthorized access to PharmaNet or the networks or equipment used to connect to\n PharmaNet\n or convey PharmaNet Data.\n
    2. \n
    3. \n Organization must immediately investigate any suspected breaches of this Agreement and take all reasonable steps\n to prevent\n recurrences of any such breaches.\n
    4. \n
    5. \n Organization must cooperate with any audits or investigations conducted by the Province (including any\n independent auditor\n appointed by the Province) regarding compliance with this Agreement, including by providing access upon request\n to a Site\n and any associated facilities, networks, equipment, systems, books, records and personnel for the purposes of\n such audit\n or investigation.\n
    6. \n
    \n
  2. \n
\n\n

\n ARTICLE 5 – SITE TERMINATION\n

\n\n
    \n
  1. \n
      \n
    1. \n

      \n The Province may terminate all Site Access at a Site immediately, upon notice to the Signing Authority for the\n Site, if:\n

      \n\n
        \n
      1. \n the Approved SSO for the Site is no longer approved by the Province to provide information technology\n hardware, software,\n or service in connection with PharmaNet, or\n
      2. \n
      3. \n the Province determines that the SSO-Provided Technology or Associated Technology in use at the Site, or any\n component\n thereof, is obsolete, unsupported, or otherwise poses an unacceptable security risk to PharmaNet,\n
      4. \n
      \n\n

      \n and the Organization is unable or unwilling to remedy the problem within a timeframe acceptable to the\n Province.\n

      \n
    2. \n
    3. \n As a security precaution, the Province may suspend Site Access at a Site after a period of inactivity. If Site\n Access at a\n Site remains inactive for a period of 90 days or more, the Province may, immediately upon notice to the Signing\n Authority\n for the Site, terminate all further Site Access at the Site.\n
    4. \n
    5. \n Organization must prevent all further Site Access at a Site immediately upon the Province’s termination, in\n accordance with\n this Article 5, of Site Access at the Site.\n
    6. \n
    \n
  2. \n
\n\n

\n ARTICLE 6 – TERM AND TERMINATION\n

\n\n
    \n
  1. \n
      \n
    1. \n The term of this Agreement begins on the date first noted above and continues until it is terminated\n in accordance with this Article 6.\n
    2. \n
    3. \n Organization may terminate this Agreement at any time on notice to the Province.\n
    4. \n
    5. \n The Province may terminate this Agreement immediately upon notice to Organization if Organization fails to\n comply with any\n provision of this Agreement.\n
    6. \n
    7. \n The Province may terminate this Agreement immediately upon notice to Organization in the event Organization no\n longer operates\n any Sites where Site Access is permitted.\n
    8. \n
    9. \n The Province may terminate this Agreement for any reason upon two (2) months advance notice to Organization.\n
    10. \n
    11. \n Organization must prevent any further Site Access immediately upon termination of this Agreement.\n
    12. \n
    \n
  2. \n
\n\n

\n ARTICLE 7 – DISCLAIMER AND INDEMNITY\n

\n\n
    \n
  1. \n
      \n
    1. \n The PharmaNet access and PharmaNet Data provided under this Agreement are provided "as is" without\n warranty of any kind,\n whether express or implied. All implied warranties, including, without limitation, implied warranties of\n merchantability,\n fitness for a particular purpose, and non-infringement, are hereby expressly disclaimed. The Province does not\n warrant\n the accuracy, completeness or reliability of the PharmaNet Data or the availability of PharmaNet, or that access\n to or\n the operation of PharmaNet will function without error, failure or interruption.\n
    2. \n
    3. \n Under no circumstances will the Province be liable to any person or business entity for any direct, indirect,\n special,\n incidental, consequential, or other damages based on any use of PharmaNet or the PharmaNet Data, including\n without\n limitation any lost profits, business interruption, or loss of programs or information, even if the Province has\n been specifically advised of the possibility of such damages.\n
    4. \n\n
    5. \n Organization must indemnify and save harmless the Province, and the Province’s employees and agents (each an\n \"Indemnified Person\") from any losses, claims, damages, actions, causes of action, costs and\n expenses that an Indemnified Person may sustain, incur, suffer or be put to at any time, either before or after\n this Agreement ends, which are based upon, arise out of or occur directly or indirectly by reason of any act\n or omission by Organization, or by any Authorized User at the Site, in connection with this Agreement.\n
    6. \n
    \n
  2. \n
\n\n

\n ARTICLE 8 – GENERAL\n

\n\n
    \n
  1. \n
      \n
    1. \n

      \n Notice. Except where this Agreement expressly provides for another method\n of delivery, any notice to be given to the Province must be in writing and emailed or mailed to:\n

      \n\n
      \n Director, Information and PharmaNet Innovation
      \n Ministry of Health
      \n PO Box 9652, STN PROV GOVT
      \n Victoria, BC V8W 9P4
      \n\n
      \n\n PRIMESupport@gov.bc.ca\n
      \n\n

      \n Any notice to be given to a Signing Authority or the Organization will be in writing and emailed, mailed,\n faxed\n or text messaged to the Signing Authority (in the case of notice to a Signing Authority) or all Signing\n Authorities (in the case of notice to the Organization). A Signing Authority may be required to click a\n URL link or to log in to the Province’s "PRIME" system to receive the content of any such notice.\n

      \n\n

      \n Any written notice from a party, if sent electronically, will be deemed to have been received 24 hours after\n the\n time the notice was sent, or, if sent by mail, will be deemed to have been received 3 days (excluding\n Saturdays,\n Sundays and statutory holidays) after the date the notice was sent.\n

      \n
    2. \n
    3. \n Waiver. The failure of the Province at any time to insist on performance of\n any\n provision of this Agreement by Organization is not a waiver of its right subsequently to insist on performance\n of\n that or any other provision of this Agreement. A waiver of any provision or breach of this Agreement is\n effective\n only if it is writing and signed by, or on behalf of, the waiving party.\n
    4. \n
    5. \n

      \n Modification. No modification to this Agreement is effective unless it is\n in writing and signed\n by, or on behalf of, the parties.\n

      \n\n

      \n Notwithstanding the foregoing, the Province may amend this Agreement, including the Schedules and this\n section,\n at any time in its sole discretion, by written notice to Organization, in which case the amendment will become\n effective upon the later of: (i) the date notice of the amendment is delivered to Organization; and (ii) the\n effective date of the amendment specified by the Province. The Province will make reasonable efforts to\n provide\n at least thirty (30) days advance notice of any such amendment, subject to any determination by the Province\n that a shorter notice period is necessary due to changes in the Act, applicable law or applicable policies of\n the Province, or is necessary to maintain privacy and security in relation to PharmaNet or PharmaNet Data.\n

      \n\n

      \n If Organization does not agree with any amendment for which notice has been provided by the Province in\n accordance with this section, Organization must promptly (and in any event prior to the effective date)\n cease Site Access at all Sites and take the steps necessary to terminate this Agreement in accordance\n with Article 6.\n

      \n
    6. \n
    7. \n

      \n Governing Law. This Agreement will be governed by and will be construed\n and interpreted in accordance with the laws of British Columbia and the laws of Canada applicable therein.\n

      \n
    8. \n
    \n
  2. \n
\n\n{{signature_block}}\n\n

\n SCHEDULE A – SPECIFIC PRIVACY AND SECURITY MEASURES\n

\n\n

\n Organization must, in relation to each Site and in relation to Remote Access:\n

\n\n
    \n
  1. \n secure all workstations and printers at the Site to prevent any viewing of PharmaNet Data by persons other\n than Authorized Users;\n
  2. \n
  3. \n

    \n implement all privacy and security measures specified in the following documents published by the Province, as\n amended from time to time:\n

    \n\n
      \n
    1. \n

      \n the PharmaNet Professional and Software Conformance Standards\n

      \n\n \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards\n \n
    2. \n
    3. \n

      \n Office of the Chief Information Officer: "Submission for Technical Security Standard and High Level\n Architecture for Wireless Local Area Network Connectivity"\n

      \n\n \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/system-access/requirements-for-wireless-access-to-pharmanet\n \n
    4. \n
    5. \n

      \n Policy for Secure Remote Access to PharmaNet\n

      \n\n \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards\n \n
    6. \n
    \n
  4. \n
  5. \n ensure that a qualified technical support person is engaged to provide security support for the Site. This person\n should be familiar with the Site’s network configurations, hardware and software, including all SSO-Provided\n Technology\n and Associated Technology, and should be capable of understanding and adhering to the standards set forth in this\n Agreement and Schedule. Note that any such qualified technical support person must not be permitted by Organization\n to access or use PharmaNet in any manner, unless otherwise permitted under this Agreement;\n
  6. \n
  7. \n establish and maintain documented privacy policies that detail how Organization will meet its privacy obligations\n in relation to the Site;\n
  8. \n
  9. \n establish breach reporting and response processes in relation to the Site;\n
  10. \n
  11. \n detail expectations for privacy protection in contracts and service agreements as applicable at the Site;\n
  12. \n
  13. \n regularly review the administrative, physical and technological safeguards at the Site;\n
  14. \n
  15. \n establish and maintain a program for monitoring PharmaNet use at the Site, including by making appropriate\n monitoring\n and reporting mechanisms available to Authorized Users for this purpose.\n
  16. \n
\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 26, + AgreementType = 5, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2022, 11, 17, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + Text = "

ORGANIZATION AGREEMENT FOR PHARMANET USE

\r\n\r\n

\r\n BETWEEN:\r\n

\r\n\r\n

\r\n HIS MAJESTY THE KING IN RIGHT OF THE PROVINCE OF BRITISH COLUMBIA, as represented by the Minister of Health\r\n (the "Province").\r\n

\r\n\r\n

\r\n AND:\r\n

\r\n\r\n

\r\n {{organization_name}} ("Organization")\r\n

\r\n\r\n

\r\n WHEREAS:\r\n

\r\n\r\n
    \r\n
  1. \r\n The Province owns and is responsible for the operation of PharmaNet, the province-wide network that links\r\n pharmacies to a central data system. Every prescription dispensed in community pharmacies in British\r\n Columbia is entered into PharmaNet.\r\n
  2. \r\n
  3. \r\n PharmaNet contains highly sensitive confidential information, including personal information, and it is\r\n in the public interest to ensure that appropriate measures are in place to protect the confidentiality\r\n and integrity of such information. All access to and use of PharmaNet and PharmaNet Data is subject to\r\n the Act and other applicable law.\r\n
  4. \r\n
  5. \r\n The Province permits Authorized Users to access PharmaNet to provide health services to, or to facilitate\r\n the care of, the individual whose personal information is being accessed.\r\n
  6. \r\n
  7. \r\n Organization is a service provider to HealthLink BC, the Province’s self-care program providing health\r\n information and advice to British Columbia through integrated print, web, and telephony channels to help\r\n the public make better decisions about their health, and provides Services to the Province in accordance\r\n with the Service Contract,\r\n
  8. \r\n
  9. \r\n Pharmacists at Organization require access to PharmaNet so Organization can provide the Services in\r\n accordance with the Service Contract.\r\n
  10. \r\n
  11. \r\n This Agreement sets out the terms by which Organization may permit Authorized Users to access PharmaNet\r\n at the Site(s) operated by Organization.\r\n
  12. \r\n
\r\n\r\n

\r\n NOW THEREFORE in consideration of the promises and the covenants, agreements, representations\r\n and warranties set out in this Agreement (the receipt and sufficiency of which is hereby acknowledged by each\r\n party), the parties agree as follows:\r\n

\r\n\r\n

\r\n ARTICLE 1 – INTERPRETATION\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n

      \r\n In this Agreement, unless the context otherwise requires, the following definitions will apply:\r\n

      \r\n\r\n
        \r\n
      1. \r\n "Act" means the Pharmaceutical Services Act;\r\n
      2. \r\n
      3. \r\n "Approved SSO" means, in relation to a Site, the software support organization\r\n identified in section 1 of the Site Request that provides Organization with the SSO-Provided Technology\r\n used at the Site;\r\n
      4. \r\n
      5. \r\n "Associated Technology" means, in relation to a Site, any information technology\r\n hardware, software or services used at the Site, other than the SSO-Provided Technology, that is in any way\r\n used in connection with Site Access or any PharmaNet Data;\r\n
      6. \r\n
      7. \r\n

        \r\n "Authorized User" means an individual who is granted access to PharmaNet by the\r\n Province and who is:\r\n

        \r\n\r\n
          \r\n
        1. \r\n an employee or independent contractor of Organization, or\r\n
        2. \r\n
        3. \r\n if Organization is an individual, the Organization;\r\n
        4. \r\n
        \r\n
      8. \r\n
      9. \r\n "Information Management Regulation" means the\r\n Information Management Regulation, B.C. Reg. 74/2015;\r\n
      10. \r\n
      11. \r\n "PharmaNet" means PharmaNet as continued under section 2 of the\r\n Information Management Regulation;\r\n
      12. \r\n
      13. \r\n "PharmaNet Data" includes any records or information contained in PharmaNet\r\n and any records or information in the custody, control or possession of Organization or any Authorized User\r\n as the result of any Site Access;\r\n
      14. \r\n
      15. \r\n "Regulated User" means an Authorized User described in subsections 4 (2) to (4)\r\n of the Information Management Regulation;\r\n
      16. \r\n
      17. \r\n "Service Contract" means the contract for services between the Province and\r\n Organization, contract file number 2021-075, dated November 1, 2020, as amended from time to time by the\r\n parties in accordance with its terms;\r\n
      18. \r\n
      19. \r\n "Signing Authority" means the individual identified by Organization as the\r\n "Signing Authority" for a Site, with the associated contact information, as set out in section 2\r\n of the Site Request;\r\n
      20. \r\n
      21. \r\n

        \r\n "Site" means a licensed community pharmacy premises operated by Organization\r\n and located in British Columbia that:\r\n

        \r\n\r\n
          \r\n
        1. \r\n is the subject of a Site Request submitted to the Province, and\r\n
        2. \r\n
        3. \r\n has been approved for Site Access by the Province in writing\r\n
        4. \r\n
        \r\n
      22. \r\n
      23. \r\n "Site Access" means any access to or use of PharmaNet at a Site as permitted by\r\n the Province;\r\n
      24. \r\n
      25. \r\n "Site Request" means, in relation to a Site, the information contained in the\r\n PharmaNet access request form submitted to the Province by the Organization, requesting PharmaNet access at\r\n the Site, as such information is updated by the Organization from time to time in accordance with\r\n section 2.2;\r\n
      26. \r\n
      27. \r\n "SSO-Provided Technology" means any information technology hardware, software or\r\n services provided to Organization by an Approved SSO for the purpose of Site Access;\r\n
      28. \r\n
      \r\n
    2. \r\n
    3. \r\n Unless otherwise specified, a reference to a statute or regulation by name means a statute or regulation of\r\n British Columbia of that name, as amended or replaced from time to time, and includes any enactments made\r\n under the authority of that statute or regulation.\r\n
    4. \r\n
    5. \r\n

      \r\n The following are the Schedules attached to and incorporated into this Agreement:\r\n

      \r\n\r\n
        \r\n
      • \r\n Schedule A – Specific Privacy and Security Measures\r\n
      • \r\n
      \r\n
    6. \r\n
    7. \r\n The main body of this Agreement, the Schedules, and any documents incorporated by reference into this Agreement\r\n are to be interpreted so that all of the provisions are given as full effect as possible. In the event of a\r\n conflict, unless expressly stated to the contrary, the main body of the Agreement will prevail over the\r\n Schedules, which will prevail over any document incorporated by reference.\r\n
    8. \r\n
    9. \r\n For greater certainty, nothing in this Agreement is intended to modify or otherwise limit the applicability of\r\n the privacy, security or confidentiality obligations agreed to by the Organization in the Service Contract.\r\n
    10. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 2 – REPRESENTATIONS AND WARRANTIES\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n

      \r\n Organization represents and warrants to the Province, as of the date of this Agreement and throughout its\r\n term, that:\r\n

      \r\n\r\n
        \r\n
      1. \r\n the information contained in the Site Request for each Site is true and correct;\r\n
      2. \r\n
      3. \r\n

        \r\n if Organization is not an individual:\r\n

        \r\n\r\n
          \r\n
        1. \r\n Organization has the power and capacity to enter into this Agreement and to comply with its terms;\r\n
        2. \r\n
        3. \r\n all necessary corporate or other proceedings have been taken to authorize the execution and delivery of\r\n this Agreement by, or on behalf of, Organization; and\r\n
        4. \r\n
        5. \r\n this Agreement has been legally and properly executed by, or on behalf of, the Organization and is\r\n legally binding upon and enforceable against Organization in accordance with its terms.\r\n
        6. \r\n
        \r\n
      4. \r\n
      \r\n
    2. \r\n
    3. \r\n Organization must notify the Province at least seven (7) days in advance of any change to the information\r\n contained in a Site Request, including any change to a Site’s status, location, normal operating hours,\r\n Approved SSO, or the name and contact information of the Signing Authority or any of the other specific\r\n roles set out in the Site Request. Such notices must be submitted to the Province in the form and manner\r\n directed by the Province in its published instructions regarding the submission of updated Site Request\r\n information, as such instructions may be updated from time to time by the Province.\r\n
    4. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 3 – SITE ACCESS REQUIREMENTS\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n Organization must comply with the Act and all applicable law.\r\n
    2. \r\n
    3. \r\n Organization must submit a Site Request to the Province for each physical location where it intends to provide\r\n Site Access, and must only provide Site Access from Sites approved in writing by the Province and only as\r\n authorized by the Province.\r\n
    4. \r\n
    5. \r\n Organization must only provide Site Access using SSO-Provided Technology.\r\n
    6. \r\n
    7. \r\n Unless otherwise authorized by the Province in writing, Organization must at all times use the secure network\r\n or security technology that the Province certifies or makes available to Organization for the purpose of Site\r\n Access. The use of any such network or technology by Organization may be subject to terms and conditions of\r\n use, including acceptable use policies, established by the Province and communicated to Organization from time\r\n to time in writing (including through this Agreement), and Organization must comply with all such terms and\r\n conditions of use.\r\n
    8. \r\n
    9. \r\n

      \r\n Organization must only make Site Access available to the following individuals:\r\n

      \r\n\r\n
        \r\n
      1. \r\n Authorized Users when they are physically located at a Site;\r\n
      2. \r\n
      3. \r\n Representatives of an Approved SSO for technical support purposes, in accordance with section 6 of the\r\n Information Management Regulation.\r\n
      4. \r\n
      \r\n
    10. \r\n
    11. \r\n

      \r\n Organization must ensure that Authorized Users with Site Access:\r\n

      \r\n
        \r\n
      1. \r\n only access PharmaNet to the extent necessary to provide Services in accordance with the Service Contract;\r\n
      2. \r\n
      3. \r\n first complete any mandatory training program(s) that the Site’s Approved SSO or the Province makes\r\n available in relation to PharmaNet;\r\n
      4. \r\n
      5. \r\n access PharmaNet using their own separate login identifications and credentials, and do not share or have\r\n multiple use of any such login identifications and credentials;\r\n
      6. \r\n
      7. \r\n secure all devices, codes and credentials that enable access to PharmaNet against unauthorized use;\r\n
      8. \r\n
      \r\n
    12. \r\n
    13. \r\n If notified by the Province that an Authorized User’s access to PharmaNet has been suspended or revoked,\r\n Organization will immediately take any local measures necessary to remove the Authorized User’s Site Access.\r\n Organization will only restore Site Access to a previously suspended or revoked Authorized User upon the\r\n Province’s specific written direction.\r\n
    14. \r\n
    15. \r\n

      \r\n For the purposes of this section:\r\n

      \r\n\r\n
        \r\n
      1. \r\n "Responsible Authorized User" means, in relation to any PharmaNet Data, the\r\n Regulated User by whom that data was obtained from PharmaNet; and\r\n
      2. \r\n
      3. \r\n "Use" includes to collect, access, retain, use, de-identify, and disclose.\r\n
      4. \r\n
      \r\n\r\n

      \r\n The PharmaNet Data disclosed under this Agreement is disclosed by the Province solely for the Use of the\r\n Responsible Authorized User to whom it is disclosed.\r\n

      \r\n\r\n

      \r\n Organization must not Use any PharmaNet Data, or permit any third party to Use PharmaNet Data, unless the\r\n Responsible Authorized User has authorized such Use and it is otherwise permitted under the Act, applicable\r\n law, and the limits and conditions imposed by the Province on the Responsible Authorized User.\r\n

      \r\n\r\n

      \r\n Organization explicitly acknowledges that sections 24 and 25 of the Act apply to all PharmaNet Data.\r\n

      \r\n\r\n

      \r\n This Agreement documents limits and conditions, set by the Minister in writing, that the Act requires\r\n Organization and Authorized Users to comply with.\r\n

      \r\n
    16. \r\n
    17. \r\n

      \r\n Organization must make all reasonable arrangements to protect PharmaNet Data against such risks as\r\n unauthorized access, collection, use, modification, retention, disclosure or disposal, including by:\r\n

      \r\n\r\n
        \r\n
      1. \r\n taking all reasonable physical, technical and operational measures necessary to ensure Site Access operates\r\n in accordance with sections 3.1 to 3.9 above, and\r\n
      2. \r\n
      3. \r\n complying with the requirements of Schedule A.\r\n
      4. \r\n
      \r\n
    18. \r\n
    19. \r\n Organization must ensure that no Authorized User submits Claims on PharmaNet other than from a Site in respect\r\n of which\r\n a person is enrolled as a Provider.\r\n
    20. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 4 – NON-COMPLIANCE AND INVESTIGATIONS\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n Organization must promptly notify the Province, and provide particulars, if Organization does not comply, or\r\n anticipates that it will be unable to comply, with the terms of this Agreement, or if Organization has knowledge\r\n of any circumstances, incidents or events which have or may jeopardize the security, confidentiality or\r\n integrity of PharmaNet, including any attempt by any person to gain unauthorized access to PharmaNet or the\r\n networks or equipment used to connect to PharmaNet or convey PharmaNet Data.\r\n
    2. \r\n
    3. \r\n Organization must immediately investigate any suspected breaches of this Agreement and take all reasonable steps\r\n to prevent recurrences of any such breaches.\r\n
    4. \r\n
    5. \r\n Organization must cooperate with any audits or investigations conducted by the Province (including any\r\n independent auditor appointed by the Province) regarding compliance with this Agreement, including by providing\r\n access upon request to a Site and any associated facilities, networks, equipment, systems, books, records and\r\n personnel for the purposes of such audit or investigation.\r\n
    6. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 5 – SITE TERMINATION\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n

      \r\n The Province may terminate all Site Access at a Site immediately, upon notice to the Signing Authority for\r\n the Site, if:\r\n

      \r\n\r\n
        \r\n
      1. \r\n the Approved SSO for the Site is no longer approved by the Province to provide information technology\r\n hardware, software, or service in connection with PharmaNet, or\r\n
      2. \r\n
      3. \r\n the Province determines that the SSO-Provided Technology or Associated Technology in use at the Site, or\r\n any component thereof, is obsolete, unsupported, or otherwise poses an unacceptable security risk to\r\n PharmaNet and Organization is unable or unwilling to remedy the problem within a time frame acceptable to\r\n the Province.\r\n
      4. \r\n
      \r\n
    2. \r\n
    3. \r\n As a security precaution, the Province may suspend Site Access at a Site after a period of inactivity. If Site\r\n Access at a Site remains inactive for a period of 90 days or more, the Province may, immediately upon notice to\r\n the Signing Authority for the Site, terminate all further Site Access at the Site.\r\n
    4. \r\n
    5. \r\n Organization must prevent all further Site Access at a Site immediately upon the Province’s termination, in\r\n accordance with this Article 5 of Site Access at the Site.\r\n
    6. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 6 – TERM AND TERMINATION\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n

      \r\n The term of this Agreement begins on the date first noted above and continues until the earliest of:\r\n

      \r\n\r\n
        \r\n
      1. \r\n the expiration or earlier termination of the term of the Service Contract; or\r\n
      2. \r\n
      3. \r\n the date this Agreement is terminated in accordance with this Article 6.\r\n
      4. \r\n
      \r\n
    2. \r\n
    3. \r\n Organization may terminate this Agreement at any time on notice to the Province.\r\n
    4. \r\n
    5. \r\n The Province may terminate this Agreement immediately upon notice to Organization if Organization fails to\r\n comply with any provision of this Agreement.\r\n
    6. \r\n
    7. \r\n The Province may terminate this Agreement immediately upon notice to Organization in the event Organization no\r\n longer operates any Sites where Site Access is permitted.\r\n
    8. \r\n
    9. \r\n The Province may terminate this Agreement for any reason upon two (2) months advance notice to Organization.\r\n
    10. \r\n
    11. \r\n Organization must prevent any further Site Access immediately upon expiration or termination of the term of\r\n this Agreement.\r\n
    12. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 7 – DISCLAIMER AND INDEMNITY\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n The PharmaNet access and PharmaNet Data provided under this Agreement are provided \"as is\" without warranty of\r\n any kind, whether express or implied. All implied warranties, including, without limitation, implied warranties\r\n of merchantability, fitness for a particular purpose, and non-infringement, are hereby expressly disclaimed.\r\n The Province does not warrant the accuracy, completeness or reliability of the PharmaNet Data or the\r\n availability of PharmaNet, or that access to or the operation of PharmaNet will function without error,\r\n failure or interruption.\r\n
    2. \r\n
    3. \r\n Under no circumstances will the Province be liable to any person or business entity for any direct, indirect,\r\n special, incidental, consequential, or other damages based on any use of PharmaNet or the PharmaNet Data,\r\n including without limitation any lost profits, business interruption, or loss of programs or information, even\r\n if the Province has been specifically advised of the possibility of such damages.\r\n
    4. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 8 – GENERAL\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n

      \r\n Notice. Except where this Agreement expressly provides for another method\r\n of delivery, any notice to be given to the Province must be in writing and mailed or emailed to:\r\n

      \r\n\r\n
      \r\n Director, Information and PharmaNet Innovation
      \r\n Ministry of Health
      \r\n PO Box 9652, STN PROV GOVT
      \r\n Victoria, BC V8W 9P4
      \r\n\r\n
      \r\n\r\n PRIMESupport@gov.bc.ca\r\n
      \r\n\r\n

      \r\n Any notice to be given to a Signing Authority or the Organization will be in writing and emailed, mailed,\r\n faxed or text-messaged to the Signing Authority (in the case of notice to a Signing Authority) or all Signing\r\n Authorities (in the case of notice to the Organization). A Signing Authority may be required to click a URL\r\n link or to log in to the Province’s \"PRIME\" system to receive the content of any such notice.\r\n

      \r\n\r\n

      \r\n Any written notice from a party, if sent electronically, will be deemed to have been received 24 hours after\r\n the time the notice was sent, or, if sent by mail, will be deemed to have been received 3 days (excluding\r\n Saturdays, Sundays and statutory holidays) after the date the notice was sent.\r\n

      \r\n
    2. \r\n
    3. \r\n Waiver. The failure of the Province at any time to insist on performance of\r\n any provision of this Agreement by Organization is not a waiver of its right subsequently to insist on\r\n performance of that or any other provision of this Agreement. A waiver of any provision or breach of this\r\n Agreement is effective only if it is writing and signed by, or on behalf of, the waiving party.\r\n
    4. \r\n
    5. \r\n Modification. No modification to this Agreement is effective unless it is\r\n in writing and signed by, or on behalf of, the parties.\r\n
    6. \r\n
    7. \r\n

      \r\n Governing Law. This Agreement will be governed by and will be construed\r\n and interpreted in accordance with the laws of British Columbia and the laws of Canada applicable therein.\r\n

      \r\n
    8. \r\n
    9. \r\n

      \r\n Survival. Sections 3.1, 3.8, 3.9, 4, 7 and any other provision of this\r\n Agreement that expressly or by its nature continues after termination, shall survive termination of this\r\n Agreement.\r\n

      \r\n
    10. \r\n
    \r\n
  2. \r\n
\r\n\r\n{{signature_block}}\r\n\r\n

\r\n SCHEDULE A – SPECIFIC PRIVACY AND SECURITY MEASURES\r\n

\r\n\r\n

\r\n Organization must, in relation to each Site\r\n

\r\n\r\n
    \r\n
  1. \r\n secure all workstations and printers at the Site to prevent any viewing of PharmaNet Data by persons other than\r\n Authorized Users;\r\n
  2. \r\n
  3. \r\n

    \r\n implement all privacy and security measures specified in the following documents published by the Province, as\r\n amended from time to time:\r\n

    \r\n\r\n
      \r\n
    1. \r\n

      \r\n the PharmaNet Professional and Software Conformance Standards\r\n

      \r\n\r\n \r\n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards\r\n \r\n
    2. \r\n
    3. \r\n

      \r\n Office of the Chief Information Officer: \"Submission for Technical Security Standard and High Level\r\n Architecture for Wireless Local Area Network Connectivity\"\r\n

      \r\n\r\n \r\n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/system-access/requirements-for-wireless-access-to-pharmanet\r\n \r\n
    4. \r\n
    \r\n
  4. \r\n
  5. \r\n ensure that a qualified technical support person is engaged to provide security support for the Site. This person\r\n should be familiar with the Site’s network configurations, hardware and software, including all SSO-Provided\r\n Technology and Associated Technology, and should be capable of understanding and adhering to the standards set\r\n forth in this Agreement and Schedule. Note that any such qualified technical support person must not be permitted\r\n by Organization to access or use PharmaNet in any manner, unless otherwise permitted under this Agreement;\r\n
  6. \r\n
  7. \r\n establish and maintain documented privacy policies that detail how Organization will meet its privacy obligations\r\n in relation to the Site;\r\n
  8. \r\n
  9. \r\n establish breach reporting and response processes in relation to the Site;\r\n
  10. \r\n
  11. \r\n detail expectations for privacy protection in contracts and service agreements as applicable at the Site;\r\n
  12. \r\n
  13. \r\n regularly review the administrative, physical and technological safeguards at the Site;\r\n
  14. \r\n
  15. \r\n establish and maintain a program for monitoring PharmaNet use at the Site, including by making appropriate\r\n monitoring and reporting mechanisms available to Authorized Users for this purpose.\r\n
  16. \r\n
\r\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 27, + AgreementType = 7, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2022, 11, 17, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + Text = "

ORGANIZATION AGREEMENT FOR PHARMANET USE

\n\n

\n This Organization Agreement for PharmaNet Use (the "Agreement") is executed by {{organization_name}}\n ("Organization") for the benefit of HIS MAJESTY THE KING IN RIGHT OF THE PROVINCE OF BRITISH COLUMBIA, as\n represented by the Minister of Health (the "Province").\n

\n\n

\n WHEREAS:\n

\n\n
    \n
  1. \n The Province owns and is responsible for the operation of PharmaNet, the province-wide network that links\n pharmacies to a central data system. Every prescription dispensed in community pharmacies in British\n Columbia is entered into PharmaNet.\n
  2. \n
  3. \n PharmaNet contains highly sensitive confidential information, including personal information, and it is in\n the public interest to ensure that appropriate measures are in place to protect the confidentiality and\n integrity of such information. All access to and use of PharmaNet and PharmaNet Data is subject to the\n Act and other applicable law.\n
  4. \n
  5. \n The Province permits Authorized Users to access PharmaNet to provide health services to, or to facilitate\n the care of, the individual whose personal information is being accessed.\n
  6. \n
  7. \n This Agreement sets out the terms by which Organization may permit Authorized Users to access PharmaNet\n at the Site(s) operated by Organization.\n
  8. \n
\n\n

\n NOW THEREFORE Organization makes this Agreement knowing that the Province will rely on it\n in permitting access to and use of PharmaNet from Sites operated by Organization. Organization conclusively\n acknowledges that reliance by the Province on this Agreement is in every respect justifiable and that it\n received fair and valuable consideration for this Agreement, the receipt and adequacy of which is hereby\n acknowledged. Organization hereby agrees as follows:\n

\n\n

\n ARTICLE 1 – INTERPRETATION\n

\n\n
    \n
  1. \n
      \n
    1. \n

      \n In this Agreement, unless the context otherwise requires, the following definitions will apply:\n

      \n\n
        \n
      1. \n "Act" means the Pharmaceutical Services Act;\n
      2. \n
      3. \n "Approved SSO" means, in relation to a Site, the software support organization\n identified in section 1 of the Site Request that provides Organization with the SSO-Provided\n Technology used at the Site;\n
      4. \n
      5. \n "Associated Technology" means, in relation to a Site, any information technology\n hardware, software or services used at the Site, other than the SSO-Provided Technology, that is\n in any way used in connection with Site Access or any PharmaNet Data;\n
      6. \n
      7. \n

        \n "Authorized User" means an individual who is granted access to PharmaNet by the\n Province and who is:\n

        \n\n
          \n
        1. \n an employee or independent contractor of Organization, or\n
        2. \n
        3. \n if Organization is an individual, the Organization;\n
        4. \n
        \n
      8. \n
      9. \n "Information Management Regulation" means the\n Information Management Regulation,\n B.C. Reg. 74/2015;\n
      10. \n
      11. \n "On-Behalf-Of User" means an Authorized User described in subsection 4 (5) of the\n Information Management Regulation who acts on behalf of a Regulated User when accessing\n PharmaNet;\n
      12. \n
      13. \n "PharmaNet" means PharmaNet as continued under section 2 of the\n Information Management Regulation;\n
      14. \n
      15. \n "PharmaNet Data" includes any records or information contained in PharmaNet and\n any records\n or information in the custody, control or possession of Organization or any Authorized User as the result of\n any Site Access;\n
      16. \n
      17. \n "Regulated User" means an Authorized User described in subsections 4 (2) to (4)\n of the\n Information Management Regulation;\n
      18. \n
      19. \n "Signing Authority" means the individual identified by Organization as the\n "Signing Authority"\n for a Site, with the associated contact information, as set out in section 2 of the Site Request;\n
      20. \n
      21. \n

        \n "Site" means a premises operated by Organization and located in British\n Columbia that:\n

        \n\n
          \n
        1. \n is the subject of a Site Request submitted to the Province, and\n
        2. \n
        3. \n has been approved for Site Access by the Province in writing\n
        4. \n
        \n\n

        \n For greater certainty, "Site" does not include a location from which remote access to PharmaNet\n takes place;\n

        \n
      22. \n
      23. \n "Site Access" means any access to or use of PharmaNet at a Site or remotely as\n permitted\n by the Province;\n
      24. \n
      25. \n "Site Request" means, in relation to a Site, the information contained in the\n PharmaNet access\n request form submitted to the Province by the Organization, requesting PharmaNet access at the Site, as such\n information is updated by the Organization from time to time in accordance with section 2.2;\n
      26. \n
      27. \n "SSO-Provided Technology" means any information technology hardware, software or\n services\n provided to Organization by an Approved SSO for the purpose of Site Access;\n
      28. \n
      \n
    2. \n
    3. \n Unless otherwise specified, a reference to a statute or regulation by name means a statute or regulation of\n British\n Columbia of that name, as amended or replaced from time to time, and includes any enactments made under the\n authority\n of that statute or regulation.\n
    4. \n
    5. \n

      \n The following are the Schedules attached to and incorporated into this Agreement:\n

      \n\n
        \n
      • \n Schedule A – Specific Privacy and Security Measures\n
      • \n
      \n
    6. \n
    7. \n The main body of this Agreement, the Schedules, and any documents incorporated by reference into this Agreement\n are to\n be interpreted so that all of the provisions are given as full effect as possible. In the event of a conflict,\n unless\n expressly stated to the contrary the main body of the Agreement will prevail over the Schedules, which will\n prevail\n over any document incorporated by reference.\n
    8. \n
    \n
  2. \n
\n\n

\n ARTICLE 2 – REPRESENTATIONS AND WARRANTIES\n

\n\n
    \n
  1. \n
      \n
    1. \n

      \n Organization represents and warrants to the Province, as of the date of this\n Agreement and throughout its term, that:\n

      \n\n
        \n
      1. \n the information contained in the Site Request for each Site is true and correct;\n
      2. \n
      3. \n

        \n if Organization is not an individual:\n

        \n\n
          \n
        1. \n Organization has the power and capacity to enter into this Agreement and to comply with its terms;\n
        2. \n
        3. \n all necessary corporate or other proceedings have been taken to authorize the execution and delivery\n of this Agreement by, or on behalf of, Organization; and\n
        4. \n
        5. \n this Agreement has been legally and properly executed by, or on behalf of, the Organization and is\n legally binding upon and enforceable against Organization in accordance with its terms.\n
        6. \n
        \n
      4. \n
      \n
    2. \n
    3. \n Organization must immediately notify the Province of any change to the information contained in a Site Request,\n including any change to a Site’s status, location, normal operating hours, Approved SSO, or the name and contact\n information of the Signing Authority or any of the other specific roles set out in the Site Request. Such\n notices\n must be submitted to the Province in the form and manner directed by the Province in its published instructions\n regarding the submission of updated Site Request information, as such instructions may be updated from time to\n time by the Province.\n
    4. \n
    \n
  2. \n
\n\n

\n ARTICLE 3 – SITE ACCESS REQUIREMENTS\n

\n\n
    \n
  1. \n
      \n
    1. \n Organization must comply with the Act and all applicable law.\n
    2. \n
    3. \n Organization must submit a Site Request to the Province for each physical location where it intends to provide\n Site\n Access, and must only provide Site Access from Sites approved in writing by the Province. For greater certainty,\n a\n Site Request is not required for each physical location from which remote access, as permitted under section\n 3.6,\n may occur, but Organization must provide, with the Site Request, a list of the locations from which remote\n access\n may occur, and ensure this list remains current for the term of this agreement.\n
    4. \n
    5. \n Organization must only provide Site Access using SSO-Provided Technology. For the purposes of remote access,\n Organization must ensure that technology used meets the requirements of Schedule A.\n
    6. \n
    7. \n Unless otherwise authorized by the Province in writing, Organization must at all times use the secure network or\n security technology that the Province certifies or makes available to Organization for the purpose of Site\n Access.\n The use of any such network or technology by Organization may be subject to terms and conditions of use,\n including\n acceptable use policies, established by the Province and communicated to Organization from time to time in\n writing.\n
    8. \n
    9. \n

      \n Organization must only make Site Access available to the following individuals:\n

      \n\n
        \n
      1. \n Authorized Users when they are physically located at a Site, and, in the case of an On-Behalf-of-User\n accessing\n personal information of a patient on behalf of a Regulated User, only if the Regulated User will be\n delivering\n care to that patient at the same Site at which the access to personal information occurs;\n
      2. \n
      3. \n Representatives of an Approved SSO for technical support purposes, in accordance with section 6 of the\n Information Management Regulation.\n
      4. \n
      \n
    10. \n
    11. \n Despite section 3.5(a), Organization may make Site Access available to Regulated Users who are physically\n located in\n British Columbia and remotely connected to a Site using a VPN or other remote access technology specifically\n approved\n by the Province in writing for the Site.\n
    12. \n
    13. \n

      \n Organization must ensure that Authorized Users with Site Access:\n

      \n\n
        \n
      1. \n only access PharmaNet to the extent necessary to provide health services to, or facilitate the care of, the\n individual whose personal information is being accessed;\n
      2. \n
      3. \n first complete any mandatory training program(s) that the Site’s Approved SSO or the Province makes\n available\n in relation to PharmaNet;\n
      4. \n
      5. \n access PharmaNet using their own separate login identifications and credentials, and do not share or have\n multiple use of any such login identifications and credentials;\n
      6. \n
      7. \n secure all devices, codes and credentials that enable access to PharmaNet against unauthorized use; and\n
      8. \n
      9. \n in the case of remote access, comply with the policies of the Province relating to remote access to\n PharmaNet.\n
      10. \n
      \n
    14. \n
    15. \n If notified by the Province that an Authorized User’s access to PharmaNet has been suspended or revoked,\n Organization\n will immediately take any local measures necessary to remove the Authorized User’s Site Access. Organization\n will\n only restore Site Access to a previously suspended or revoked Authorized User upon the Province’s specific\n written\n direction.\n
    16. \n
    17. \n

      \n For the purposes of this section:\n

      \n\n
        \n
      1. \n "Responsible Authorized User" means, in relation to any PharmaNet Data, the\n Regulated User by whom,\n or on whose behalf, that data was obtained from PharmaNet; and\n
      2. \n
      3. \n "Use" includes to collect, access, retain, use, de-identify, and disclose.\n
      4. \n
      \n\n

      \n The PharmaNet Data disclosed under this Agreement is disclosed by the Province solely for the Use of the\n Responsible\n User to whom it is disclosed.\n

      \n\n

      \n Organization must not Use any PharmaNet Data, or permit any third party to Use PharmaNet Data, unless the\n Responsible\n User has authorized such Use and it is otherwise permitted under the Act, applicable law, and the limits and\n conditions imposed by the Province on the Responsible User.\n

      \n
    18. \n
    19. \n

      \n Organization must make all reasonable arrangements to protect PharmaNet Data against such risks as\n unauthorized access,\n collection, use, modification, retention, disclosure or disposal, including by:\n

      \n\n
        \n
      1. \n taking all reasonable physical, technical and operational measures necessary to ensure Site Access operates\n in\n accordance with sections 3.1 to 3.9 above, and\n
      2. \n
      3. \n complying with the requirements of Schedule A.\n
      4. \n
      \n
    20. \n
    \n
  2. \n
\n\n

\n ARTICLE 4 – NON-COMPLIANCE AND INVESTIGATIONS\n

\n\n
    \n
  1. \n
      \n
    1. \n Organization must promptly notify the Province, and provide particulars, if Organization does not comply, or\n anticipates\n that it will be unable to comply, with the terms of this Agreement, or if Organization has knowledge of any\n circumstances,\n incidents or events which have or may jeopardize the security, confidentiality or integrity of PharmaNet,\n including any\n attempt by any person to gain unauthorized access to PharmaNet or the networks or equipment used to connect to\n PharmaNet\n or convey PharmaNet Data.\n
    2. \n
    3. \n Organization must immediately investigate any suspected breaches of this Agreement and take all reasonable steps\n to prevent\n recurrences of any such breaches.\n
    4. \n
    5. \n Organization must cooperate with any audits or investigations conducted by the Province (including any\n independent auditor\n appointed by the Province) regarding compliance with this Agreement, including by providing access upon request\n to a Site\n and any associated facilities, networks, equipment, systems, books, records and personnel for the purposes of\n such audit\n or investigation.\n
    6. \n
    \n
  2. \n
\n\n

\n ARTICLE 5 – SITE TERMINATION\n

\n\n
    \n
  1. \n
      \n
    1. \n

      \n The Province may terminate all Site Access at a Site immediately, upon notice to the Signing Authority for the\n Site, if:\n

      \n\n
        \n
      1. \n the Approved SSO for the Site is no longer approved by the Province to provide information technology\n hardware, software,\n or service in connection with PharmaNet, or\n
      2. \n
      3. \n the Province determines that the SSO-Provided Technology or Associated Technology in use at the Site, or any\n component\n thereof, is obsolete, unsupported, or otherwise poses an unacceptable security risk to PharmaNet,\n
      4. \n
      \n\n

      \n and the Organization is unable or unwilling to remedy the problem within a timeframe acceptable to the\n Province.\n

      \n
    2. \n
    3. \n As a security precaution, the Province may suspend Site Access at a Site after a period of inactivity. If Site\n Access at a\n Site remains inactive for a period of 90 days or more, the Province may, immediately upon notice to the Signing\n Authority\n for the Site, terminate all further Site Access at the Site.\n
    4. \n
    5. \n Organization must prevent all further Site Access at a Site immediately upon the Province’s termination, in\n accordance with\n this Article 5, of Site Access at the Site.\n
    6. \n
    \n
  2. \n
\n\n

\n ARTICLE 6 – TERM AND TERMINATION\n

\n\n
    \n
  1. \n
      \n
    1. \n The term of this Agreement begins on the date first noted above and continues until it is terminated\n in accordance with this Article 6.\n
    2. \n
    3. \n Organization may terminate this Agreement at any time on notice to the Province.\n
    4. \n
    5. \n The Province may terminate this Agreement immediately upon notice to Organization if Organization fails to\n comply with any\n provision of this Agreement.\n
    6. \n
    7. \n The Province may terminate this Agreement immediately upon notice to Organization in the event Organization no\n longer operates\n any Sites where Site Access is permitted.\n
    8. \n
    9. \n The Province may terminate this Agreement for any reason upon two (2) months advance notice to Organization.\n
    10. \n
    11. \n Organization must prevent any further Site Access immediately upon termination of this Agreement.\n
    12. \n
    \n
  2. \n
\n\n

\n ARTICLE 7 – DISCLAIMER AND INDEMNITY\n

\n\n
    \n
  1. \n
      \n
    1. \n The PharmaNet access and PharmaNet Data provided under this Agreement are provided "as is" without\n warranty of any kind,\n whether express or implied. All implied warranties, including, without limitation, implied warranties of\n merchantability,\n fitness for a particular purpose, and non-infringement, are hereby expressly disclaimed. The Province does not\n warrant\n the accuracy, completeness or reliability of the PharmaNet Data or the availability of PharmaNet, or that access\n to or\n the operation of PharmaNet will function without error, failure or interruption.\n
    2. \n
    3. \n Under no circumstances will the Province be liable to any person or business entity for any direct, indirect,\n special,\n incidental, consequential, or other damages based on any use of PharmaNet or the PharmaNet Data, including\n without\n limitation any lost profits, business interruption, or loss of programs or information, even if the Province has\n been specifically advised of the possibility of such damages.\n
    4. \n\n
    5. \n Organization must indemnify and save harmless the Province, and the Province’s employees and agents (each an\n \"Indemnified Person\") from any losses, claims, damages, actions, causes of action, costs and\n expenses that an Indemnified Person may sustain, incur, suffer or be put to at any time, either before or after\n this Agreement ends, which are based upon, arise out of or occur directly or indirectly by reason of any act\n or omission by Organization, or by any Authorized User at the Site, in connection with this Agreement.\n
    6. \n
    \n
  2. \n
\n\n

\n ARTICLE 8 – GENERAL\n

\n\n
    \n
  1. \n
      \n
    1. \n

      \n Notice. Except where this Agreement expressly provides for another method\n of delivery, any notice to be given to the Province must be in writing and emailed or mailed to:\n

      \n\n
      \n Director, Information and PharmaNet Innovation
      \n Ministry of Health
      \n PO Box 9652, STN PROV GOVT
      \n Victoria, BC V8W 9P4
      \n\n
      \n\n PRIMESupport@gov.bc.ca\n
      \n\n

      \n Any notice to be given to a Signing Authority or the Organization will be in writing and emailed, mailed,\n faxed\n or text messaged to the Signing Authority (in the case of notice to a Signing Authority) or all Signing\n Authorities (in the case of notice to the Organization). A Signing Authority may be required to click a\n URL link or to log in to the Province’s "PRIME" system to receive the content of any such notice.\n

      \n\n

      \n Any written notice from a party, if sent electronically, will be deemed to have been received 24 hours after\n the\n time the notice was sent, or, if sent by mail, will be deemed to have been received 3 days (excluding\n Saturdays,\n Sundays and statutory holidays) after the date the notice was sent.\n

      \n
    2. \n
    3. \n Waiver. The failure of the Province at any time to insist on performance of\n any\n provision of this Agreement by Organization is not a waiver of its right subsequently to insist on performance\n of\n that or any other provision of this Agreement. A waiver of any provision or breach of this Agreement is\n effective\n only if it is writing and signed by, or on behalf of, the waiving party.\n
    4. \n
    5. \n

      \n Modification. No modification to this Agreement is effective unless it is\n in writing and signed\n by, or on behalf of, the parties.\n

      \n\n

      \n Notwithstanding the foregoing, the Province may amend this Agreement, including the Schedules and this\n section,\n at any time in its sole discretion, by written notice to Organization, in which case the amendment will become\n effective upon the later of: (i) the date notice of the amendment is delivered to Organization; and (ii) the\n effective date of the amendment specified by the Province. The Province will make reasonable efforts to\n provide\n at least thirty (30) days advance notice of any such amendment, subject to any determination by the Province\n that a shorter notice period is necessary due to changes in the Act, applicable law or applicable policies of\n the Province, or is necessary to maintain privacy and security in relation to PharmaNet or PharmaNet Data.\n

      \n\n

      \n If Organization does not agree with any amendment for which notice has been provided by the Province in\n accordance with this section, Organization must promptly (and in any event prior to the effective date)\n cease Site Access at all Sites and take the steps necessary to terminate this Agreement in accordance\n with Article 6.\n

      \n
    6. \n
    7. \n

      \n Governing Law. This Agreement will be governed by and will be construed\n and interpreted in accordance with the laws of British Columbia and the laws of Canada applicable therein.\n

      \n
    8. \n
    \n
  2. \n
\n\n{{signature_block}}\n\n

\n SCHEDULE A – SPECIFIC PRIVACY AND SECURITY MEASURES\n

\n\n

\n Organization must, in relation to each Site and in relation to Remote Access:\n

\n\n
    \n
  1. \n secure all workstations and printers at the Site to prevent any viewing of PharmaNet Data by persons other\n than Authorized Users;\n
  2. \n
  3. \n

    \n implement all privacy and security measures specified in the following documents published by the Province, as\n amended from time to time:\n

    \n\n
      \n
    1. \n

      \n the PharmaNet Professional and Software Conformance Standards\n

      \n\n \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards\n \n
    2. \n
    3. \n

      \n Office of the Chief Information Officer: "Submission for Technical Security Standard and High Level\n Architecture for Wireless Local Area Network Connectivity"\n

      \n\n \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/system-access/requirements-for-wireless-access-to-pharmanet\n \n
    4. \n
    5. \n

      \n Policy for Secure Remote Access to PharmaNet\n

      \n\n \n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards\n \n
    6. \n
    \n
  4. \n
  5. \n ensure that a qualified technical support person is engaged to provide security support for the Site. This person\n should be familiar with the Site’s network configurations, hardware and software, including all SSO-Provided\n Technology\n and Associated Technology, and should be capable of understanding and adhering to the standards set forth in this\n Agreement and Schedule. Note that any such qualified technical support person must not be permitted by Organization\n to access or use PharmaNet in any manner, unless otherwise permitted under this Agreement;\n
  6. \n
  7. \n establish and maintain documented privacy policies that detail how Organization will meet its privacy obligations\n in relation to the Site;\n
  8. \n
  9. \n establish breach reporting and response processes in relation to the Site;\n
  10. \n
  11. \n detail expectations for privacy protection in contracts and service agreements as applicable at the Site;\n
  12. \n
  13. \n regularly review the administrative, physical and technological safeguards at the Site;\n
  14. \n
  15. \n establish and maintain a program for monitoring PharmaNet use at the Site, including by making appropriate\n monitoring\n and reporting mechanisms available to Authorized Users for this purpose.\n
  16. \n
\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 28, + AgreementType = 9, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2022, 9, 27, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + Text = "

\r\n PharmaNet Licenced Practical Nurse Registrant Terms of Access\r\n

\r\n

\r\n By enrolling for PharmaNet access, you agree to the following terms (the "Agreement"). Please read them\r\n carefully.\r\n

\r\n
    \r\n
  1. \r\n

    \r\n BACKGROUND\r\n

    \r\n

    \r\n The Province owns and is responsible for the operation of PharmaNet, the province- wide network that links all\r\n health\r\n care providers in British Columbia to a central data system. Every prescription dispensed in community pharmacies\r\n is\r\n entered into PharmaNet.\r\n

    \r\n

    \r\n The purpose of providing you with access to PharmaNet is to enhance patient care by providing timely and relevant\r\n information to persons involved in the provision of direct patient care.\r\n

    \r\n

    \r\n PharmaNet contains highly sensitive confidential information, including Personal Information and the proprietary\r\n and\r\n confidential information of third- party licensors to the Province, and it is in the public interest to ensure\r\n that\r\n appropriate measures are in place to protect the confidentiality of all such information. All access to and use of\r\n PharmaNet and PharmaNet Data is subject to the Act and other applicable laws.\r\n

    \r\n
  2. \r\n
  3. \r\n

    \r\n INTERPRETATION\r\n

    \r\n
      \r\n
    1. \r\n

      \r\n Definitions. Unless otherwise provided, capitalized terms in these Terms of Access will have\r\n the meanings given below:\r\n

      \r\n
        \r\n
      • \r\n

        \r\n "Act" means the Pharmaceutical Services Act.\r\n

        \r\n
      • \r\n
      • \r\n

        \r\n "Approved Site" means a location within which you provide Health Services and\r\n which is approved by the Province for PharmaNet access.\r\n

        \r\n
      • \r\n
      • \r\n

        \r\n "Conformance Standards" means the following documents published by the\r\n Province, as amended from time to time:\r\n

        \r\n
          \r\n
        1. \r\n

          \r\n PharmaNet Professional and Software Conformance Standards\r\n

          \r\n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards:\r\n and\r\n
        2. \r\n
        3. \r\n

          \r\n Office of the Chief Information Officer: "Submission for Technical Security Standard and High\r\n Level\r\n Architecture for Wireless Local Area Network Connectivity".\r\n

          \r\n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/system-access/requirements-for-wireless-access-to-pharmanet.\r\n
        4. \r\n
        \r\n
      • \r\n
      • \r\n

        \r\n "Health Services" means "health services" as defined in the\r\n Information\r\n Management Regulation.\r\n

        \r\n
      • \r\n
      • \r\n

        \r\n "Information Management Regulation" means the Information Management\r\n Regulation,\r\n B.C. Reg. 328/2021.\r\n

        \r\n
      • \r\n
      • \r\n

        \r\n "Personal Information" means recorded information about an identifiable\r\n individual.\r\n

        \r\n
      • \r\n
      • \r\n

        \r\n "PharmaNet Access Agreement" means, in respect of an Approved Site, the\r\n "PharmaNet access agreement" (as defined in the Information Management\r\n Regulation) between the Province and the owner or operator of the Approved Site.\r\n

        \r\n
      • \r\n
      • \r\n

        \r\n "PharmaCare Newsletter"means the PharmaCare newsletter published by the\r\n Province\r\n on the following website (or such other website as may be\r\n specified by the Province from time to time for this purpose):\r\n www.gov.bc.ca/pharmacarenewsletter\r\n

        \r\n
      • \r\n
      • \r\n

        \r\n "PharmaNet" means PharmaNet as continued under section 2 of the Information\r\n Management Regulation.\r\n

        \r\n
      • \r\n
      • \r\n

        \r\n "PharmaNet Data" includes any record or information contained in PharmaNet and\r\n any record or information obtained from PharmaNet that is\r\n in your custody, control or possession.\r\n

        \r\n
      • \r\n
      • \r\n

        \r\n "PRIME" means the online service provided by the Province that allows users to\r\n apply for, and manage, their access to PharmaNet,\r\n and through which users are granted access by the Province.\r\n

        \r\n
      • \r\n
      • \r\n

        \r\n "Province" means His Majesty the King in Right of British Columbia, as\r\n represented by the Minister of Health.\r\n

        \r\n
      • \r\n
      • \r\n

        \r\n "Professional College" means the regulatory body governing your provision of\r\n Health Services.\r\n

        \r\n
      • \r\n
      \r\n
    2. \r\n
    3. \r\n

      \r\n Reference to Enactments. In these Terms of Access, a reference to a statute or regulation by\r\n name means the statute or regulation of British\r\n Columbia of that name, as amended or replaced from time to time, and includes any enactment made under the\r\n authority of that statute or regulation.\r\n

      \r\n
    4. \r\n
    \r\n
  4. \r\n
  5. \r\n

    \r\n ACCESS TERMS\r\n

    \r\n
      \r\n
    1. \r\n

      \r\n Acknowledgement. You acknowledge that:\r\n

      \r\n
        \r\n
      1. \r\n the Act and the Information Management Regulation govern your PharmaNet access;\r\n
      2. \r\n
      3. \r\n PharmaNet Data accessed or obtained as a result of such access is disclosed to you by the Province under\r\n the\r\n authority of the Act;\r\n
      4. \r\n
      5. \r\n sections 24 and 25(3) of the Act govern your further use or disclosure of PharmaNet Data; and\r\n
      6. \r\n
      7. \r\n these terms of access document limits and conditions set, in writing, by the minister, that you are required\r\n to\r\n comply with pursuant to section 24(2) of the Act.\r\n
      8. \r\n
      \r\n
    2. \r\n
    3. \r\n

      \r\n Compliance with Applicable Law. You must comply with the Act, the Information Management\r\n Regulation and all other laws applicable to PharmaNet access\r\n and PharmaNet Data.\r\n

      \r\n
    4. \r\n
    5. \r\n

      \r\n Written Limits and Conditions of Access. The following limits and conditions apply to your\r\n access to PharmaNet:\r\n

      \r\n
        \r\n
      1. \r\n unless (ii) below applies, you must only access PharmaNet when you are physically at an Approved Site, using\r\n the\r\n technologies and applications at the Approved Site that are approved by the Province for use for PharmaNet\r\n access.\r\n
      2. \r\n
      3. \r\n you may access PharmaNet "remotely" and when you are not physically at the Approved Site only if\r\n all the following conditions are met:\r\n
          \r\n
        1. \r\n the owner or operator of the Approved Site has registered you with the Province for remote access\r\n through the\r\n Approved Site;\r\n
        2. \r\n
        3. \r\n you have applied for remote access at the Approved Site using PRIME and are approved by the Province;\r\n
        4. \r\n
        5. \r\n you are physically located in British Columbia at the time of any such remote access:\r\n
        6. \r\n
        7. \r\n the remote access technology used at the Approved Site has been specifically approved in writing by the\r\n Province, and\r\n
        8. \r\n
        9. \r\n the requirements of the Province’s Policy for Remote Access to PharmaNet\r\n (https://www2.gov.bc.ca/gov/content/health/practitioner-\r\n professional-resources/software/conformance-standards) are met.\r\n
        10. \r\n
        \r\n
      4. \r\n
      5. \r\n you will complete any PharmaNet-related training programs made available to you by the software support\r\n organization that provides the information technology software and/or services for accessing PharmaNet at\r\n the Approved\r\n Site;\r\n
      6. \r\n
      7. \r\n you acknowledge that the Province may, in writing, communicate additional written limits or conditions\r\n that apply to\r\n your access to PharmaNet, in which case you must comply with any such limits or conditions in addition to\r\n the limits and\r\n conditions established under these terms of access.\r\n
      8. \r\n
      9. \r\n you must not permit on-behalf-of users (as defined in the Information Management Regulation) to access\r\n PharmaNet on\r\n your behalf.\r\n
      10. \r\n
      \r\n
    6. \r\n
    7. \r\n

      \r\n Privacy and Security Measures. You will take all reasonable measures to safeguard Personal\r\n Information, including any Personal Information in the\r\n PharmaNet Data, while it is in your custody, control or possession. Without limiting the foregoing, you will:\r\n

      \r\n
        \r\n
      1. \r\n secure any workstations used to access PharmaNet and all devices, codes or passwords that enable access to\r\n PharmaNet;\r\n
      2. \r\n
      3. \r\n take such other privacy and security measures as the Province may reasonably require from time-to-time.\r\n
      4. \r\n
      \r\n
    8. \r\n
    9. \r\n

      \r\n Conformance Standards. You will comply with the rules specified in the Conformance Standards\r\n when accessing and recording information in\r\n PharmaNet.\r\n

      \r\n
    10. \r\n
    \r\n
  6. \r\n
  7. \r\n

    \r\n DISCLOSURE, STORAGE, AND ACCESS REQUESTS\r\n

    \r\n
      \r\n
    1. \r\n

      Retention of PharmaNet Data. You will not store or retain PharmaNet Data in any paper files\r\n or\r\n any electronic system, unless such storage or\r\n retention is required for record keeping in connection with your provisions of Health Services; is in\r\n accordance\r\n with\r\n the requirements of your Professional College; and is otherwise in compliance with the Conformance Standards.\r\n You will\r\n not modify any records retained in accordance with this section other than as may be expressly authorized in\r\n the\r\n Conformance Standards. For clarity, you may annotate a discrete record provided that the discrete record is\r\n not\r\n itself\r\n modified other than as expressly authorized in the Conformance Standards.

      \r\n
    2. \r\n
    3. \r\n

      Use of Retained Records. You may use any records retained by you in accordance with section\r\n 4(a) of these Terms of Access for a purpose\r\n authorized under section 24(1) of the Act.

      \r\n
    4. \r\n
    5. \r\n

      Secondary Use. Subject to section 4(b) of these Terms of Access, you must not use PharmaNet\r\n Data for the purpose of quality\r\n improvement, evaluation, health care planning, surveillance, research, or any purpose other than your\r\n provision\r\n of\r\n Health Services.\r\n

      \r\n
    6. \r\n
    7. \r\n

      Disclosure to Third Parties. You must not disclose PharmaNet Data to any third party unless\r\n such disclosure is required for your provision of Health\r\n Services or is otherwise authorized under section 24(1) of the Act.\r\n

      \r\n
    8. \r\n
    9. \r\n

      Responding to Patient Access Requests. Aside from any records retained by you in accordance\r\n with section 4(a) of these Terms of Access, you will not provide to\r\n patients any copies of records containing PharmaNet Data or "print outs" produced directly from\r\n PharmaNet,\r\n and\r\n will\r\n refer any requests for access to such records or "print outs" to the Province.\r\n

      \r\n
    10. \r\n
    11. \r\n

      Responding to Requests to Correct a Record contained in PharmaNet. If you receive a request\r\n for\r\n correction of any record or information contained in PharmaNet, you will refer the request\r\n to the Province.\r\n

      \r\n
    12. \r\n
    13. \r\n

      Legal Demands for Records Contained in PharmaNet. You will immediately notify the Province\r\n if\r\n you receive any order, demand or request compelling, or threatening to\r\n compel, disclosure of records contained in PharmaNet. You will cooperate and consult with the Province in\r\n responding to\r\n any such demands. For greater certainty, the foregoing requires that you notify the Province only with respect\r\n to any\r\n access requests or demands for records contained in PharmaNet, and not records retained by you in accordance\r\n with\r\n section 4(a) of these Terms of Access.\r\n

      \r\n
    14. \r\n
    \r\n
  8. \r\n
  9. \r\n

    \r\n ACCURACY\r\n

    \r\n

    \r\n You will make reasonable efforts to ensure that any Personal Information recorded by you in PharmaNet is accurate,\r\n complete and up to date. In the event that you become aware of a material inaccuracy or error in such information,\r\n you\r\n will take reasonable steps to investigate the inaccuracy or error, correct it if necessary, and notify the\r\n Province of\r\n the inaccuracy or error and any steps taken.\r\n

    \r\n
  10. \r\n
  11. \r\n

    \r\n NOTICE OF NON COMPLIANCE\r\n

    \r\n
      \r\n
    1. \r\n Non-Compliance. You will promptly notify the Province, and provide particulars, if:\r\n
        \r\n
      1. \r\n you do not comply, or you anticipate that you will be unable to comply with these Terms of Access in any\r\n respect, or\r\n
      2. \r\n
      3. \r\n you have knowledge of any circumstances, incidents or events which have or may jeopardize the security,\r\n confidentiality, or integrity of PharmaNet, the provincial drug program, or any government network or\r\n electronic system\r\n including any unauthorized attempt, by any person, to access PharmaNet.\r\n
      4. \r\n
      \r\n
    2. \r\n
    3. \r\n

      \r\n Reports to College or Privacy Commissioner. You acknowledge that the Province may report of\r\n any material breach of the Act, the Information Management Regulation,\r\n or these Terms of Access to your Professional College or to the Information and Privacy Commissioner of\r\n British\r\n Columbia.\r\n

      \r\n
    4. \r\n
    \r\n
  12. \r\n
  13. \r\n

    \r\n SUSPENSION & TERMINATION OF ACCESS\r\n

    \r\n
      \r\n
    1. \r\n

      Termination by You for Any Reason. You may terminate your grant of access to PharmaNet at\r\n any time on\r\n written notice to the Province.\r\n

      \r\n
    2. \r\n
    3. \r\n

      \r\n Termination of PharmaNet access. The Province may take administrative action against you in\r\n relation to\r\n your grant of access to PharmaNet, including to\r\n terminate or suspend your access, in accordance with the provisions of the Information Management Regulation.\r\n

      \r\n
    4. \r\n
    5. \r\n

      \r\n Suspension of Account for Inactivity. As a security precaution, the Province may suspend your\r\n account\r\n after a period of inactivity, in accordance with the\r\n Province’s policies. Please contact the Province immediately if your account has been suspended for inactivity\r\n but you\r\n still require access to PharmaNet.\r\n

      \r\n
    6. \r\n
    \r\n
  14. \r\n
  15. \r\n

    \r\n DISCLAIMER OF WARRANTY, LIMITATION OF LIABILITY AND INDEMNITY\r\n

    \r\n
      \r\n
    1. \r\n

      \r\n Information Provided As Is. You acknowledge and agree that any use of PharmaNet and PharmaNet\r\n Data is solely at your own risk. All such access and information is provided on an "as is" and\r\n "as available" basis without warranty or condition of any kind. The Province does not warrant the\r\n accuracy, completeness or reliability of the PharmaNet Data or the availability of PharmaNet, or that access\r\n to or the operation of PharmaNet will function without error, failure or interruption.\r\n

      \r\n
    2. \r\n
    3. \r\n

      \r\n You are Responsible. You are responsible for verifying the accuracy of information disclosed\r\n to you as a result of your access to PharmaNet or otherwise pursuant to this Agreement before relying or\r\n acting upon such information. The clinical or other information disclosed to you or an On-Behalf-of User\r\n pursuant to this Agreement is in no way intended to be a substitute for professional judgment.\r\n

      \r\n
    4. \r\n
    5. \r\n

      \r\n The Province Not Liable for Loss. No action may be brought by any person against the Province\r\n for any loss or damage of any kind caused by any reason or purpose related to reliance on PharmaNet or\r\n PharmaNet Data.\r\n

      \r\n
    6. \r\n
    7. \r\n

      \r\n You Must Indemnify the Province if You Cause a Loss or Claim. You agree to indemnify and save\r\n harmless the Province, and the Province’s employees and agents (each an \"Indemnified Person\")\r\n from any losses, claims, damages, actions, causes of action, costs and expenses that an Indemnified Person may\r\n sustain, incur, suffer or be put to at any time, either before or after this Agreement ends, which are based\r\n upon, arise out of or occur directly or indirectly by reason of any act or omission by you, or by any\r\n On-Behalf-of User, in connection with this Agreement.\r\n

      \r\n
    8. \r\n
    \r\n
  16. \r\n
  17. \r\n

    \r\n GENERAL\r\n

    \r\n\r\n
      \r\n
    1. \r\n

      \r\n Notice to Province. Except where these Terms of Access expressly provides for another method\r\n of delivery, any notice to be given by you to\r\n the Province that is contemplated by these Terms of Access must be in writing and emailed or mailed to:\r\n

      \r\n\r\n Director, Information and PharmaNet Development
      \r\n Ministry of Health
      \r\n PO Box 9652, STN PROV GOVT
      \r\n Victoria, BC V8W 9P4
      \r\n\r\n

      \r\n Email: PRIMESupport@gov.bc.ca\r\n

      \r\n\r\n

      \r\n Notice to You. Any notice to you to be delivered under these Terms of Access will be in\r\n writing and delivered by the Province to you\r\n using any of the contact mechanisms identified by you in PRIME, including by mail to a specified postal\r\n address, email\r\n to a specified email address or text message to the specified cell phone number. You may be required to click\r\n a URL link\r\n or log into PRIME to receive the content of any such notice.\r\n

      \r\n
    2. \r\n
    3. \r\n\r\n

      \r\n Deemed receipt.\r\n Any written communication from a party, if sent electronically, will be deemed to have been received\r\n immediately, or, if\r\n sent by mail, will be deemed to have been received three days (excluding Saturdays, Sundays and statutory\r\n holidays)\r\n after the date the notice was sent.\r\n

      \r\n\r\n
    4. \r\n
    5. \r\n\r\n

      \r\n Substitute contact information.\r\n You may notify the Province of a substitute contact mechanism by updating your contact information in PRIME.\r\n

      \r\n\r\n
    6. \r\n
    7. \r\n Province may modify Terms of Access.\r\n The Province may amend these Terms of Access, including this section, at any time in its sole discretion:\r\n
        \r\n
      1. \r\n by written notice to you, in which case the amendment will become effective upon the later of (A) the\r\n date notice of the amendment is first delivered to you, or (B) the effective date of the amendment\r\n specified by the Province, if any;\r\n or
      2. \r\n
      3. \r\n by publishing notice of any such amendment in the PharmaCare Newsletter, in which case the notice will\r\n specify the effective date of the amendment, which date will be at least thirty days after the date\r\n that the PharmaCare Newsletter containing the notice is first published.
      4. \r\n
      \r\n
    8. \r\n
    \r\n\r\n
  18. \r\n
\r\n

\r\n Version Date: September 27, 2022\r\n

", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 29, + AgreementType = 4, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2023, 6, 19, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + Text = "

ORGANIZATION AGREEMENT FOR PHARMANET USE

\r\n\r\n

\r\n This Organization Agreement for PharmaNet Use (the "Agreement") is executed by {{organization_name}}\r\n ("Organization") for the benefit of HIS MAJESTY THE KING IN RIGHT OF THE PROVINCE OF BRITISH COLUMBIA, as\r\n represented by the Minister of Health (the "Province").\r\n

\r\n\r\n

\r\n WHEREAS:\r\n

\r\n\r\n
    \r\n
  1. \r\n The Province owns and is responsible for the operation of PharmaNet, the province-wide network that links\r\n pharmacies to a central data system. Every prescription dispensed in community pharmacies in British\r\n Columbia is entered into PharmaNet.\r\n
  2. \r\n
  3. \r\n PharmaNet contains highly sensitive confidential information, including personal information, and it is in\r\n the public interest to ensure that appropriate measures are in place to protect the confidentiality and\r\n integrity of such information. All access to and use of PharmaNet and PharmaNet Data is subject to the\r\n Act and other applicable law.\r\n
  4. \r\n
  5. \r\n The Province permits Authorized Users to access PharmaNet to provide health services to, or to facilitate\r\n the care of, the individual whose personal information is being accessed.\r\n
  6. \r\n
  7. \r\n This Agreement sets out the terms by which Organization may permit Authorized Users to access PharmaNet\r\n at the Site(s) operated by Organization.\r\n
  8. \r\n
\r\n\r\n

\r\n NOW THEREFORE Organization makes this Agreement knowing that the Province will rely on it\r\n in permitting access to and use of PharmaNet from Sites operated by Organization. Organization conclusively\r\n acknowledges that reliance by the Province on this Agreement is in every respect justifiable and that it\r\n received fair and valuable consideration for this Agreement, the receipt and adequacy of which is hereby\r\n acknowledged. Organization hereby agrees as follows:\r\n

\r\n\r\n

\r\n ARTICLE 1 – INTERPRETATION\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n In this Agreement, unless the context otherwise requires, the following definitions will apply:\r\n
      \r\n\r\n
        \r\n
      1. \r\n "Act" means the Pharmaceutical Services Act;\r\n
      2. \r\n
      3. \r\n "Approved SSO" means, in relation to a Site, the software support organization\r\n identified in section 1 of the Site Request that provides Organization with the SSO-Provided\r\n Technology used at the Site;\r\n
      4. \r\n
      5. \r\n "Associated Technology" means, in relation to a Site, any information technology\r\n hardware, software or services used at the Site, other than the SSO-Provided Technology, that is\r\n in any way used in connection with Site Access or any PharmaNet Data;\r\n
      6. \r\n
      7. \r\n

        \r\n "Authorized User" means an individual who is granted access to PharmaNet by the\r\n Province and who is:\r\n

        \r\n
          \r\n
        1. \r\n an employee or independent contractor of Organization, or\r\n
        2. \r\n
        3. \r\n if Organization is an individual, the Organization;\r\n
        4. \r\n
        \r\n
      8. \r\n
      9. \r\n "Information Management Regulation" means the\r\n Information Management Regulation,\r\n B.C. Reg. 74/2015;\r\n
      10. \r\n
      11. \r\n "On-Behalf-Of User" means an Authorized User described in subsection 4 (5) of the\r\n Information Management Regulation who acts on behalf of a Regulated User when accessing\r\n PharmaNet;\r\n
      12. \r\n
      13. \r\n "PharmaNet" means PharmaNet as continued under section 2 of the\r\n Information Management Regulation;\r\n
      14. \r\n
      15. \r\n "PharmaNet Data" includes any records or information contained in PharmaNet and\r\n any records\r\n or information in the custody, control or possession of Organization or any Authorized User as the result of\r\n any Site Access;\r\n
      16. \r\n
      17. \r\n "Regulated User" means an Authorized User described in subsections 4 (2) to (4)\r\n of the\r\n Information Management Regulation;\r\n
      18. \r\n
      19. \r\n "Signing Authority" means the individual identified by Organization as the\r\n "Signing Authority"\r\n for a Site, with the associated contact information, as set out in section 2 of the Site Request;\r\n
      20. \r\n
      21. \r\n

        \r\n "Site" means a premises operated by Organization and located in British\r\n Columbia that:\r\n

        \r\n
          \r\n
        1. \r\n is the subject of a Site Request submitted to the Province, and\r\n
        2. \r\n
        3. \r\n has been approved for Site Access by the Province in writing\r\n
        4. \r\n
        \r\n\r\n

        \r\n For greater certainty, "Site" does not include a location from which remote access to PharmaNet\r\n takes place;\r\n

        \r\n
      22. \r\n
      23. \r\n "Site Access" means any access to or use of PharmaNet at a Site or remotely as\r\n permitted\r\n by the Province;\r\n
      24. \r\n
      25. \r\n "Site Request" means, in relation to a Site, the information contained in the\r\n PharmaNet access\r\n request form submitted to the Province by the Organization, requesting PharmaNet access at the Site, as such\r\n information is updated by the Organization from time to time in accordance with section 2.2;\r\n
      26. \r\n
      27. \r\n "SSO-Provided Technology" means any information technology hardware, software or\r\n services\r\n provided to Organization by an Approved SSO for the purpose of Site Access;\r\n
      28. \r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Unless otherwise specified, a reference to a statute or regulation by name means a statute or regulation of\r\n British\r\n Columbia of that name, as amended or replaced from time to time, and includes any enactments made under the\r\n authority\r\n of that statute or regulation.\r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n The following are the Schedules attached to and incorporated into this Agreement:\r\n
      \r\n
        \r\n
      • \r\n Schedule A – Specific Privacy and Security Measures\r\n
      • \r\n
      \r\n
    6. \r\n
    7. \r\n
      \r\n The main body of this Agreement, the Schedules, and any documents incorporated by reference into this\r\n Agreement are to\r\n be interpreted so that all of the provisions are given as full effect as possible. In the event of a conflict,\r\n unless\r\n expressly stated to the contrary the main body of the Agreement will prevail over the Schedules, which will\r\n prevail\r\n over any document incorporated by reference.\r\n
      \r\n
    8. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 2 – REPRESENTATIONS AND WARRANTIES\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n Organization represents and warrants to the Province, as of the date of this\r\n Agreement and throughout its term, that:\r\n
      \r\n\r\n
        \r\n
      1. \r\n the information contained in the Site Request for each Site is true and correct;\r\n
      2. \r\n
      3. \r\n

        \r\n if Organization is not an individual:\r\n

        \r\n\r\n
          \r\n
        1. \r\n Organization has the power and capacity to enter into this Agreement and to comply with its terms;\r\n
        2. \r\n
        3. \r\n all necessary corporate or other proceedings have been taken to authorize the execution and delivery\r\n of this Agreement by, or on behalf of, Organization; and\r\n
        4. \r\n
        5. \r\n this Agreement has been legally and properly executed by, or on behalf of, the Organization and is\r\n legally binding upon and enforceable against Organization in accordance with its terms.\r\n
        6. \r\n
        \r\n
      4. \r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Organization must immediately notify the Province of any change to the information contained in a Site\r\n Request,\r\n including any change to a Site’s status, location, normal operating hours, Approved SSO, or the name and\r\n contact\r\n information of the Signing Authority or any of the other specific roles set out in the Site Request. Such\r\n notices\r\n must be submitted to the Province in the form and manner directed by the Province in its published\r\n instructions\r\n regarding the submission of updated Site Request information, as such instructions may be updated from time to\r\n time by the Province.\r\n
      \r\n
    4. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 3 – SITE ACCESS REQUIREMENTS\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n Organization must comply with the Act and all applicable law.\r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Organization must submit a Site Request to the Province for each physical location where it intends to provide\r\n Site\r\n Access, and must only provide Site Access from Sites approved in writing by the Province. For greater\r\n certainty,\r\n a\r\n Site Request is not required for each physical location from which remote access, as permitted under section\r\n 3.6,\r\n may occur, but Organization must provide, with the Site Request, a list of the locations from which remote\r\n access\r\n may occur, and ensure this list remains current for the term of this agreement.\r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n Organization must only provide Site Access using SSO-Provided Technology. For the purposes of remote access,\r\n Organization must ensure that technology used meets the requirements of Schedule A.\r\n
      \r\n
    6. \r\n
    7. \r\n
      \r\n Unless otherwise authorized by the Province in writing, Organization must at all times use the secure network\r\n or\r\n security technology that the Province certifies or makes available to Organization for the purpose of Site\r\n Access.\r\n The use of any such network or technology by Organization may be subject to terms and conditions of use,\r\n including\r\n acceptable use policies, established by the Province and communicated to Organization from time to time in\r\n writing.\r\n
      \r\n
    8. \r\n
    9. \r\n
      \r\n Organization must only make Site Access available to the following individuals:\r\n
      \r\n\r\n
        \r\n
      1. \r\n Authorized Users when they are physically located at a Site, and, in the case of an On-Behalf-of-User\r\n accessing\r\n personal information of a patient on behalf of a Regulated User, only if the Regulated User will be\r\n delivering\r\n care to that patient at the same Site at which the access to personal information occurs;\r\n
      2. \r\n
      3. \r\n Representatives of an Approved SSO for technical support purposes, in accordance with section 6 of the\r\n Information Management Regulation.\r\n
      4. \r\n
      \r\n
    10. \r\n
    11. \r\n
      \r\n Despite section 3.5(a), Organization may make Site Access available to Regulated Users who are physically\r\n located in\r\n British Columbia and remotely connected to a Site using a VPN or other remote access technology specifically\r\n approved\r\n by the Province in writing for the Site.\r\n
      \r\n
    12. \r\n
    13. \r\n
      \r\n Organization must ensure that Authorized Users with Site Access:\r\n
      \r\n\r\n
        \r\n
      1. \r\n only access PharmaNet to the extent necessary to provide health services to, or facilitate the care of, the\r\n individual whose personal information is being accessed;\r\n
      2. \r\n
      3. \r\n first complete any mandatory training program(s) that the Site’s Approved SSO or the Province makes\r\n available\r\n in relation to PharmaNet;\r\n
      4. \r\n
      5. \r\n access PharmaNet using their own separate login identifications and credentials, and do not share or have\r\n multiple use of any such login identifications and credentials;\r\n
      6. \r\n
      7. \r\n secure all devices, codes and credentials that enable access to PharmaNet against unauthorized use; and\r\n
      8. \r\n
      9. \r\n in the case of remote access, comply with the policies of the Province relating to remote access to\r\n PharmaNet.\r\n
      10. \r\n
      \r\n
    14. \r\n
    15. \r\n
      \r\n If notified by the Province that an Authorized User’s access to PharmaNet has been suspended or revoked,\r\n Organization\r\n will immediately take any local measures necessary to remove the Authorized User’s Site Access. Organization\r\n will\r\n only restore Site Access to a previously suspended or revoked Authorized User upon the Province’s specific\r\n written\r\n direction.\r\n
      \r\n
    16. \r\n
    17. \r\n
      \r\n For the purposes of this section:\r\n
      \r\n\r\n
        \r\n
      1. \r\n "Responsible Authorized User" means, in relation to any PharmaNet Data, the\r\n Regulated User by whom,\r\n or on whose behalf, that data was obtained from PharmaNet; and\r\n
      2. \r\n
      3. \r\n "Use" includes to collect, access, retain, use, de-identify, and disclose.\r\n
      4. \r\n
      \r\n\r\n
      \r\n The PharmaNet Data disclosed under this Agreement is disclosed by the Province solely for the Use of the\r\n Responsible\r\n User to whom it is disclosed.\r\n
      \r\n\r\n
      \r\n Organization must not Use any PharmaNet Data, or permit any third party to Use PharmaNet Data, unless the\r\n Responsible\r\n User has authorized such Use and it is otherwise permitted under the Act, applicable law, and the limits and\r\n conditions imposed by the Province on the Responsible User.\r\n
      \r\n
    18. \r\n
    19. \r\n
      \r\n Organization must make all reasonable arrangements to protect PharmaNet Data against such risks as\r\n unauthorized access,\r\n collection, use, modification, retention, disclosure or disposal, including by:\r\n
      \r\n\r\n
        \r\n
      1. \r\n taking all reasonable physical, technical and operational measures necessary to ensure Site Access operates\r\n in\r\n accordance with sections 3.1 to 3.9 above, and\r\n
      2. \r\n
      3. \r\n complying with the requirements of Schedule A.\r\n
      4. \r\n
      \r\n
    20. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 4 – NON-COMPLIANCE AND INVESTIGATIONS\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n Organization must promptly notify the Province, and provide particulars, if Organization does not comply, or\r\n anticipates\r\n that it will be unable to comply, with the terms of this Agreement, or if Organization has knowledge of any\r\n circumstances,\r\n incidents or events which have or may jeopardize the security, confidentiality or integrity of PharmaNet,\r\n including any\r\n attempt by any person to gain unauthorized access to PharmaNet or the networks or equipment used to connect to\r\n PharmaNet\r\n or convey PharmaNet Data.\r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Organization must immediately investigate any suspected breaches of this Agreement and take all reasonable\r\n steps\r\n to prevent\r\n recurrences of any such breaches.\r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n Organization must cooperate with any audits or investigations conducted by the Province (including any\r\n independent auditor\r\n appointed by the Province) regarding compliance with this Agreement, including by providing access upon\r\n request\r\n to a Site\r\n and any associated facilities, networks, equipment, systems, books, records and personnel for the purposes of\r\n such audit\r\n or investigation.\r\n
      \r\n
    6. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 5 – SITE TERMINATION\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n The Province may terminate all Site Access at a Site immediately, upon notice to the Signing Authority for the\r\n Site, if:\r\n
      \r\n\r\n
        \r\n
      1. \r\n the Approved SSO for the Site is no longer approved by the Province to provide information technology\r\n hardware, software,\r\n or service in connection with PharmaNet, or\r\n
      2. \r\n
      3. \r\n the Province determines that the SSO-Provided Technology or Associated Technology in use at the Site, or any\r\n component\r\n thereof, is obsolete, unsupported, or otherwise poses an unacceptable security risk to PharmaNet,\r\n
      4. \r\n
      \r\n\r\n
      \r\n and the Organization is unable or unwilling to remedy the problem within a timeframe acceptable to the\r\n Province.\r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n As a security precaution, the Province may suspend Site Access at a Site after a period of inactivity. If Site\r\n Access at a\r\n Site remains inactive for a period of 90 days or more, the Province may, immediately upon notice to the\r\n Signing\r\n Authority\r\n for the Site, terminate all further Site Access at the Site.\r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n Organization must prevent all further Site Access at a Site immediately upon the Province’s termination, in\r\n accordance with\r\n this Article 5, of Site Access at the Site.\r\n
      \r\n
    6. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 6 – TERM AND TERMINATION\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n The term of this Agreement begins on the date first noted above and continues until it is terminated\r\n in accordance with this Article 6.\r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Organization may terminate this Agreement at any time on notice to the Province.\r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n The Province may terminate this Agreement immediately upon notice to Organization if Organization fails to\r\n comply with any\r\n provision of this Agreement.\r\n
      \r\n
    6. \r\n
    7. \r\n
      \r\n The Province may terminate this Agreement immediately upon notice to Organization in the event Organization no\r\n longer operates\r\n any Sites where Site Access is permitted.\r\n
      \r\n
    8. \r\n
    9. \r\n
      \r\n The Province may terminate this Agreement for any reason upon two (2) months advance notice to Organization.\r\n
      \r\n
    10. \r\n
    11. \r\n
      \r\n Organization must prevent any further Site Access immediately upon termination of this Agreement.\r\n
      \r\n
    12. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 7 – DISCLAIMER AND INDEMNITY\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n The PharmaNet access and PharmaNet Data provided under this Agreement are provided "as is" without\r\n warranty of any kind,\r\n whether express or implied. All implied warranties, including, without limitation, implied warranties of\r\n merchantability,\r\n fitness for a particular purpose, and non-infringement, are hereby expressly disclaimed. The Province does not\r\n warrant\r\n the accuracy, completeness or reliability of the PharmaNet Data or the availability of PharmaNet, or that\r\n access\r\n to or\r\n the operation of PharmaNet will function without error, failure or interruption.\r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Under no circumstances will the Province be liable to any person or business entity for any direct, indirect,\r\n special,\r\n incidental, consequential, or other damages based on any use of PharmaNet or the PharmaNet Data, including\r\n without\r\n limitation any lost profits, business interruption, or loss of programs or information, even if the Province\r\n has\r\n been specifically advised of the possibility of such damages.\r\n
      \r\n
    4. \r\n\r\n
    5. \r\n
      \r\n Organization must indemnify and save harmless the Province, and the Province’s employees and agents (each an\r\n \"Indemnified Person\") from any losses, claims, damages, actions, causes of action, costs and\r\n expenses that an Indemnified Person may sustain, incur, suffer or be put to at any time, either before or\r\n after\r\n this Agreement ends, which are based upon, arise out of or occur directly or indirectly by reason of any act\r\n or omission by Organization, or by any Authorized User at the Site, in connection with this Agreement.\r\n
      \r\n
    6. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 8 – GENERAL\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n Notice. Except where this Agreement expressly provides for another method\r\n of delivery, any notice to be given to the Province must be in writing and emailed or mailed to:\r\n
      \r\n\r\n
      \r\n Director, Information and PharmaNet Innovation
      \r\n Ministry of Health
      \r\n PO Box 9652, STN PROV GOVT
      \r\n Victoria, BC V8W 9P4
      \r\n\r\n
      \r\n\r\n PRIMESupport@gov.bc.ca\r\n
      \r\n\r\n
      \r\n Any notice to be given to a Signing Authority or the Organization will be in writing and emailed, mailed,\r\n faxed\r\n or text messaged to the Signing Authority (in the case of notice to a Signing Authority) or all Signing\r\n Authorities (in the case of notice to the Organization). A Signing Authority may be required to click a\r\n URL link or to log in to the Province’s "PRIME" system to receive the content of any such notice.\r\n
      \r\n\r\n
      \r\n Any written notice from a party, if sent electronically, will be deemed to have been received 24 hours after\r\n the\r\n time the notice was sent, or, if sent by mail, will be deemed to have been received 3 days (excluding\r\n Saturdays,\r\n Sundays and statutory holidays) after the date the notice was sent.\r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Waiver. The failure of the Province at any time to insist on performance of\r\n any\r\n provision of this Agreement by Organization is not a waiver of its right subsequently to insist on performance\r\n of\r\n that or any other provision of this Agreement. A waiver of any provision or breach of this Agreement is\r\n effective\r\n only if it is writing and signed by, or on behalf of, the waiving party.\r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n Modification. No modification to this Agreement is effective unless it is\r\n in writing and signed\r\n by, or on behalf of, the parties.\r\n
      \r\n\r\n
      \r\n Notwithstanding the foregoing, the Province may amend this Agreement, including the Schedules and this\r\n section,\r\n at any time in its sole discretion, by written notice to Organization, in which case the amendment will become\r\n effective upon the later of: (i) the date notice of the amendment is delivered to Organization; and (ii) the\r\n effective date of the amendment specified by the Province. The Province will make reasonable efforts to\r\n provide\r\n at least thirty (30) days advance notice of any such amendment, subject to any determination by the Province\r\n that a shorter notice period is necessary due to changes in the Act, applicable law or applicable policies of\r\n the Province, or is necessary to maintain privacy and security in relation to PharmaNet or PharmaNet Data.\r\n
      \r\n\r\n
      \r\n If Organization does not agree with any amendment for which notice has been provided by the Province in\r\n accordance with this section, Organization must promptly (and in any event prior to the effective date)\r\n cease Site Access at all Sites and take the steps necessary to terminate this Agreement in accordance\r\n with Article 6.\r\n
      \r\n
    6. \r\n
    7. \r\n
      \r\n Governing Law. This Agreement will be governed by and will be construed\r\n and interpreted in accordance with the laws of British Columbia and the laws of Canada applicable therein.\r\n
      \r\n
    8. \r\n
    \r\n
  2. \r\n
\r\n\r\n{{signature_block}}\r\n\r\n

\r\n SCHEDULE A – SPECIFIC PRIVACY AND SECURITY MEASURES\r\n

\r\n\r\n

\r\n Organization must, in relation to each Site and in relation to Remote Access:\r\n

\r\n\r\n
    \r\n
  1. \r\n secure all workstations and printers at the Site to prevent any viewing of PharmaNet Data by persons other\r\n than Authorized Users;\r\n
  2. \r\n
  3. \r\n

    \r\n implement all privacy and security measures specified in the following documents published by the Province, as\r\n amended from time to time:\r\n

    \r\n\r\n
      \r\n
    1. \r\n

      \r\n the PharmaNet Professional and Software Conformance Standards\r\n

      \r\n\r\n \r\n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards\r\n \r\n
    2. \r\n
    3. \r\n

      \r\n Office of the Chief Information Officer: "Submission for Technical Security Standard and High Level\r\n Architecture for Wireless Local Area Network Connectivity"\r\n

      \r\n\r\n \r\n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/system-access/requirements-for-wireless-access-to-pharmanet\r\n \r\n
    4. \r\n
    5. \r\n

      \r\n Policy for Secure Remote Access to PharmaNet\r\n

      \r\n\r\n \r\n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards\r\n \r\n
    6. \r\n
    \r\n
  4. \r\n
  5. \r\n ensure that a qualified technical support person is engaged to provide security support for the Site. This person\r\n should be familiar with the Site’s network configurations, hardware and software, including all SSO-Provided\r\n Technology\r\n and Associated Technology, and should be capable of understanding and adhering to the standards set forth in this\r\n Agreement and Schedule. Note that any such qualified technical support person must not be permitted by Organization\r\n to access or use PharmaNet in any manner, unless otherwise permitted under this Agreement;\r\n
  6. \r\n
  7. \r\n establish and maintain documented privacy policies that detail how Organization will meet its privacy obligations\r\n in relation to the Site;\r\n
  8. \r\n
  9. \r\n establish breach reporting and response processes in relation to the Site;\r\n
  10. \r\n
  11. \r\n detail expectations for privacy protection in contracts and service agreements as applicable at the Site;\r\n
  12. \r\n
  13. \r\n regularly review the administrative, physical and technological safeguards at the Site;\r\n
  14. \r\n
  15. \r\n establish and maintain a program for monitoring PharmaNet use at the Site, including by making appropriate\r\n monitoring\r\n and reporting mechanisms available to Authorized Users for this purpose.\r\n
  16. \r\n
", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 30, + AgreementType = 5, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2023, 6, 19, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + Text = "

ORGANIZATION AGREEMENT FOR PHARMANET USE

\r\n\r\n

\r\n BETWEEN:\r\n

\r\n\r\n

\r\n HIS MAJESTY THE KING IN RIGHT OF THE PROVINCE OF BRITISH COLUMBIA, as represented by the Minister of Health\r\n (the "Province").\r\n

\r\n\r\n

\r\n AND:\r\n

\r\n\r\n

\r\n {{organization_name}} ("Organization")\r\n

\r\n\r\n

\r\n WHEREAS:\r\n

\r\n\r\n
    \r\n
  1. \r\n The Province owns and is responsible for the operation of PharmaNet, the province-wide network that links\r\n pharmacies to a central data system. Every prescription dispensed in community pharmacies in British\r\n Columbia is entered into PharmaNet.\r\n
  2. \r\n
  3. \r\n PharmaNet contains highly sensitive confidential information, including personal information, and it is\r\n in the public interest to ensure that appropriate measures are in place to protect the confidentiality\r\n and integrity of such information. All access to and use of PharmaNet and PharmaNet Data is subject to\r\n the Act and other applicable law.\r\n
  4. \r\n
  5. \r\n The Province permits Authorized Users to access PharmaNet to provide health services to, or to facilitate\r\n the care of, the individual whose personal information is being accessed.\r\n
  6. \r\n
  7. \r\n Organization is a service provider to HealthLink BC, the Province’s self-care program providing health\r\n information and advice to British Columbia through integrated print, web, and telephony channels to help\r\n the public make better decisions about their health, and provides Services to the Province in accordance\r\n with the Service Contract,\r\n
  8. \r\n
  9. \r\n Pharmacists at Organization require access to PharmaNet so Organization can provide the Services in\r\n accordance with the Service Contract.\r\n
  10. \r\n
  11. \r\n This Agreement sets out the terms by which Organization may permit Authorized Users to access PharmaNet\r\n at the Site(s) operated by Organization.\r\n
  12. \r\n
\r\n\r\n

\r\n NOW THEREFORE in consideration of the promises and the covenants, agreements, representations\r\n and warranties set out in this Agreement (the receipt and sufficiency of which is hereby acknowledged by each\r\n party), the parties agree as follows:\r\n

\r\n\r\n

\r\n ARTICLE 1 – INTERPRETATION\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n In this Agreement, unless the context otherwise requires, the following definitions will apply:\r\n
      \r\n
        \r\n
      1. \r\n "Act" means the Pharmaceutical Services Act;\r\n
      2. \r\n
      3. \r\n "Approved SSO" means, in relation to a Site, the software support organization\r\n identified in section 1 of the Site Request that provides Organization with the SSO-Provided Technology\r\n used at the Site;\r\n
      4. \r\n
      5. \r\n "Associated Technology" means, in relation to a Site, any information technology\r\n hardware, software or services used at the Site, other than the SSO-Provided Technology, that is in any way\r\n used in connection with Site Access or any PharmaNet Data;\r\n
      6. \r\n
      7. \r\n

        \r\n "Authorized User" means an individual who is granted access to PharmaNet by the\r\n Province and who is:\r\n

        \r\n
          \r\n
        1. \r\n an employee or independent contractor of Organization, or\r\n
        2. \r\n
        3. \r\n if Organization is an individual, the Organization;\r\n
        4. \r\n
        \r\n
      8. \r\n
      9. \r\n "Information Management Regulation" means the\r\n Information Management Regulation, B.C. Reg. 74/2015;\r\n
      10. \r\n
      11. \r\n "PharmaNet" means PharmaNet as continued under section 2 of the\r\n Information Management Regulation;\r\n
      12. \r\n
      13. \r\n "PharmaNet Data" includes any records or information contained in PharmaNet\r\n and any records or information in the custody, control or possession of Organization or any Authorized User\r\n as the result of any Site Access;\r\n
      14. \r\n
      15. \r\n "Regulated User" means an Authorized User described in subsections 4 (2) to (4)\r\n of the Information Management Regulation;\r\n
      16. \r\n
      17. \r\n "Service Contract" means the contract for services between the Province and\r\n Organization, contract file number 2021-075, dated November 1, 2020, as amended from time to time by the\r\n parties in accordance with its terms;\r\n
      18. \r\n
      19. \r\n "Signing Authority" means the individual identified by Organization as the\r\n "Signing Authority" for a Site, with the associated contact information, as set out in section 2\r\n of the Site Request;\r\n
      20. \r\n
      21. \r\n

        \r\n "Site" means a licensed community pharmacy premises operated by Organization\r\n and located in British Columbia that:\r\n

        \r\n
          \r\n
        1. \r\n is the subject of a Site Request submitted to the Province, and\r\n
        2. \r\n
        3. \r\n has been approved for Site Access by the Province in writing\r\n
        4. \r\n
        \r\n
      22. \r\n
      23. \r\n "Site Access" means any access to or use of PharmaNet at a Site as permitted by\r\n the Province;\r\n
      24. \r\n
      25. \r\n "Site Request" means, in relation to a Site, the information contained in the\r\n PharmaNet access request form submitted to the Province by the Organization, requesting PharmaNet access at\r\n the Site, as such information is updated by the Organization from time to time in accordance with\r\n section 2.2;\r\n
      26. \r\n
      27. \r\n "SSO-Provided Technology" means any information technology hardware, software or\r\n services provided to Organization by an Approved SSO for the purpose of Site Access;\r\n
      28. \r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Unless otherwise specified, a reference to a statute or regulation by name means a statute or regulation of\r\n British Columbia of that name, as amended or replaced from time to time, and includes any enactments made\r\n under the authority of that statute or regulation.\r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n\r\n The following are the Schedules attached to and incorporated into this Agreement:\r\n
      \r\n
        \r\n
      • \r\n Schedule A – Specific Privacy and Security Measures\r\n
      • \r\n
      \r\n
    6. \r\n
    7. \r\n
      \r\n The main body of this Agreement, the Schedules, and any documents incorporated by reference into this\r\n Agreement\r\n are to be interpreted so that all of the provisions are given as full effect as possible. In the event of a\r\n conflict, unless expressly stated to the contrary, the main body of the Agreement will prevail over the\r\n Schedules, which will prevail over any document incorporated by reference.\r\n
      \r\n
    8. \r\n
    9. \r\n
      \r\n For greater certainty, nothing in this Agreement is intended to modify or otherwise limit the applicability of\r\n the privacy, security or confidentiality obligations agreed to by the Organization in the Service Contract.\r\n
      \r\n
    10. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 2 – REPRESENTATIONS AND WARRANTIES\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n Organization represents and warrants to the Province, as of the date of this Agreement and throughout its\r\n term, that:\r\n
      \r\n\r\n
        \r\n
      1. \r\n the information contained in the Site Request for each Site is true and correct;\r\n
      2. \r\n
      3. \r\n

        \r\n if Organization is not an individual:\r\n

        \r\n\r\n
          \r\n
        1. \r\n Organization has the power and capacity to enter into this Agreement and to comply with its terms;\r\n
        2. \r\n
        3. \r\n all necessary corporate or other proceedings have been taken to authorize the execution and delivery of\r\n this Agreement by, or on behalf of, Organization; and\r\n
        4. \r\n
        5. \r\n this Agreement has been legally and properly executed by, or on behalf of, the Organization and is\r\n legally binding upon and enforceable against Organization in accordance with its terms.\r\n
        6. \r\n
        \r\n
      4. \r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Organization must notify the Province at least seven (7) days in advance of any change to the information\r\n contained in a Site Request, including any change to a Site’s status, location, normal operating hours,\r\n Approved SSO, or the name and contact information of the Signing Authority or any of the other specific\r\n roles set out in the Site Request. Such notices must be submitted to the Province in the form and manner\r\n directed by the Province in its published instructions regarding the submission of updated Site Request\r\n information, as such instructions may be updated from time to time by the Province.\r\n
      \r\n
    4. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 3 – SITE ACCESS REQUIREMENTS\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n Organization must comply with the Act and all applicable law.\r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Organization must submit a Site Request to the Province for each physical location where it intends to provide\r\n Site Access, and must only provide Site Access from Sites approved in writing by the Province and only as\r\n authorized by the Province.\r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n Organization must only provide Site Access using SSO-Provided Technology.\r\n
      \r\n
    6. \r\n
    7. \r\n
      \r\n Unless otherwise authorized by the Province in writing, Organization must at all times use the secure network\r\n or security technology that the Province certifies or makes available to Organization for the purpose of Site\r\n Access. The use of any such network or technology by Organization may be subject to terms and conditions of\r\n use, including acceptable use policies, established by the Province and communicated to Organization from time\r\n to time in writing (including through this Agreement), and Organization must comply with all such terms and\r\n conditions of use.\r\n
      \r\n
    8. \r\n
    9. \r\n
      \r\n Organization must only make Site Access available to the following individuals:\r\n
      \r\n\r\n
        \r\n
      1. \r\n Authorized Users when they are physically located at a Site;\r\n
      2. \r\n
      3. \r\n Representatives of an Approved SSO for technical support purposes, in accordance with section 6 of the\r\n Information Management Regulation.\r\n
      4. \r\n
      \r\n
    10. \r\n
    11. \r\n
      \r\n Organization must ensure that Authorized Users with Site Access:\r\n
      \r\n
        \r\n
      1. \r\n only access PharmaNet to the extent necessary to provide Services in accordance with the Service Contract;\r\n
      2. \r\n
      3. \r\n first complete any mandatory training program(s) that the Site’s Approved SSO or the Province makes\r\n available in relation to PharmaNet;\r\n
      4. \r\n
      5. \r\n access PharmaNet using their own separate login identifications and credentials, and do not share or have\r\n multiple use of any such login identifications and credentials;\r\n
      6. \r\n
      7. \r\n secure all devices, codes and credentials that enable access to PharmaNet against unauthorized use;\r\n
      8. \r\n
      \r\n
    12. \r\n
    13. \r\n
      \r\n If notified by the Province that an Authorized User’s access to PharmaNet has been suspended or revoked,\r\n Organization will immediately take any local measures necessary to remove the Authorized User’s Site Access.\r\n Organization will only restore Site Access to a previously suspended or revoked Authorized User upon the\r\n Province’s specific written direction.\r\n
      \r\n
    14. \r\n
    15. \r\n
      \r\n For the purposes of this section:\r\n
      \r\n\r\n
        \r\n
      1. \r\n "Responsible Authorized User" means, in relation to any PharmaNet Data, the\r\n Regulated User by whom that data was obtained from PharmaNet; and\r\n
      2. \r\n
      3. \r\n "Use" includes to collect, access, retain, use, de-identify, and disclose.\r\n
      4. \r\n
      \r\n\r\n
      \r\n The PharmaNet Data disclosed under this Agreement is disclosed by the Province solely for the Use of the\r\n Responsible Authorized User to whom it is disclosed.\r\n
      \r\n\r\n
      \r\n Organization must not Use any PharmaNet Data, or permit any third party to Use PharmaNet Data, unless the\r\n Responsible Authorized User has authorized such Use and it is otherwise permitted under the Act, applicable\r\n law, and the limits and conditions imposed by the Province on the Responsible Authorized User.\r\n
      \r\n\r\n
      \r\n Organization explicitly acknowledges that sections 24 and 25 of the Act apply to all PharmaNet Data.\r\n
      \r\n\r\n
      \r\n This Agreement documents limits and conditions, set by the Minister in writing, that the Act requires\r\n Organization and Authorized Users to comply with.\r\n
      \r\n
    16. \r\n
    17. \r\n
      \r\n Organization must make all reasonable arrangements to protect PharmaNet Data against such risks as\r\n unauthorized access, collection, use, modification, retention, disclosure or disposal, including by:\r\n
      \r\n\r\n
        \r\n
      1. \r\n taking all reasonable physical, technical and operational measures necessary to ensure Site Access operates\r\n in accordance with sections 3.1 to 3.9 above, and\r\n
      2. \r\n
      3. \r\n complying with the requirements of Schedule A.\r\n
      4. \r\n
      \r\n
    18. \r\n
    19. \r\n
      \r\n Organization must ensure that no Authorized User submits Claims on PharmaNet other than from a Site in respect\r\n of which\r\n a person is enrolled as a Provider.\r\n
      \r\n
    20. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 4 – NON-COMPLIANCE AND INVESTIGATIONS\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n Organization must promptly notify the Province, and provide particulars, if Organization does not comply, or\r\n anticipates that it will be unable to comply, with the terms of this Agreement, or if Organization has\r\n knowledge\r\n of any circumstances, incidents or events which have or may jeopardize the security, confidentiality or\r\n integrity of PharmaNet, including any attempt by any person to gain unauthorized access to PharmaNet or the\r\n networks or equipment used to connect to PharmaNet or convey PharmaNet Data.\r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Organization must immediately investigate any suspected breaches of this Agreement and take all reasonable\r\n steps\r\n to prevent recurrences of any such breaches.\r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n Organization must cooperate with any audits or investigations conducted by the Province (including any\r\n independent auditor appointed by the Province) regarding compliance with this Agreement, including by\r\n providing\r\n access upon request to a Site and any associated facilities, networks, equipment, systems, books, records and\r\n personnel for the purposes of such audit or investigation.\r\n
      \r\n
    6. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 5 – SITE TERMINATION\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n The Province may terminate all Site Access at a Site immediately, upon notice to the Signing Authority for\r\n the Site, if:\r\n
      \r\n\r\n
        \r\n
      1. \r\n the Approved SSO for the Site is no longer approved by the Province to provide information technology\r\n hardware, software, or service in connection with PharmaNet, or\r\n
      2. \r\n
      3. \r\n the Province determines that the SSO-Provided Technology or Associated Technology in use at the Site, or\r\n any component thereof, is obsolete, unsupported, or otherwise poses an unacceptable security risk to\r\n PharmaNet and Organization is unable or unwilling to remedy the problem within a time frame acceptable to\r\n the Province.\r\n
      4. \r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n As a security precaution, the Province may suspend Site Access at a Site after a period of inactivity. If Site\r\n Access at a Site remains inactive for a period of 90 days or more, the Province may, immediately upon notice\r\n to\r\n the Signing Authority for the Site, terminate all further Site Access at the Site.\r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n Organization must prevent all further Site Access at a Site immediately upon the Province’s termination, in\r\n accordance with this Article 5 of Site Access at the Site.\r\n
      \r\n
    6. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 6 – TERM AND TERMINATION\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n The term of this Agreement begins on the date first noted above and continues until the earliest of:\r\n
      \r\n\r\n
        \r\n
      1. \r\n the expiration or earlier termination of the term of the Service Contract; or\r\n
      2. \r\n
      3. \r\n the date this Agreement is terminated in accordance with this Article 6.\r\n
      4. \r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Organization may terminate this Agreement at any time on notice to the Province.\r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n The Province may terminate this Agreement immediately upon notice to Organization if Organization fails to\r\n comply with any provision of this Agreement.\r\n
      \r\n
    6. \r\n
    7. \r\n
      \r\n The Province may terminate this Agreement immediately upon notice to Organization in the event Organization no\r\n longer operates any Sites where Site Access is permitted.\r\n
      \r\n
    8. \r\n
    9. \r\n
      \r\n The Province may terminate this Agreement for any reason upon two (2) months advance notice to Organization.\r\n
      \r\n
    10. \r\n
    11. \r\n
      \r\n Organization must prevent any further Site Access immediately upon expiration or termination of the term of\r\n this Agreement.\r\n
      \r\n
    12. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 7 – DISCLAIMER AND INDEMNITY\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n The PharmaNet access and PharmaNet Data provided under this Agreement are provided \"as is\" without warranty of\r\n any kind, whether express or implied. All implied warranties, including, without limitation, implied\r\n warranties\r\n of merchantability, fitness for a particular purpose, and non-infringement, are hereby expressly disclaimed.\r\n The Province does not warrant the accuracy, completeness or reliability of the PharmaNet Data or the\r\n availability of PharmaNet, or that access to or the operation of PharmaNet will function without error,\r\n failure or interruption.\r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Under no circumstances will the Province be liable to any person or business entity for any direct, indirect,\r\n special, incidental, consequential, or other damages based on any use of PharmaNet or the PharmaNet Data,\r\n including without limitation any lost profits, business interruption, or loss of programs or information, even\r\n if the Province has been specifically advised of the possibility of such damages.\r\n
      \r\n
    4. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 8 – GENERAL\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n Notice. Except where this Agreement expressly provides for another method\r\n of delivery, any notice to be given to the Province must be in writing and mailed or emailed to:\r\n
      \r\n\r\n
      \r\n Director, Information and PharmaNet Innovation
      \r\n Ministry of Health
      \r\n PO Box 9652, STN PROV GOVT
      \r\n Victoria, BC V8W 9P4
      \r\n\r\n
      \r\n\r\n PRIMESupport@gov.bc.ca\r\n
      \r\n\r\n
      \r\n Any notice to be given to a Signing Authority or the Organization will be in writing and emailed, mailed,\r\n faxed or text-messaged to the Signing Authority (in the case of notice to a Signing Authority) or all Signing\r\n Authorities (in the case of notice to the Organization). A Signing Authority may be required to click a URL\r\n link or to log in to the Province’s \"PRIME\" system to receive the content of any such notice.\r\n
      \r\n\r\n
      \r\n Any written notice from a party, if sent electronically, will be deemed to have been received 24 hours after\r\n the time the notice was sent, or, if sent by mail, will be deemed to have been received 3 days (excluding\r\n Saturdays, Sundays and statutory holidays) after the date the notice was sent.\r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Waiver. The failure of the Province at any time to insist on performance of\r\n any provision of this Agreement by Organization is not a waiver of its right subsequently to insist on\r\n performance of that or any other provision of this Agreement. A waiver of any provision or breach of this\r\n Agreement is effective only if it is writing and signed by, or on behalf of, the waiving party.\r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n Modification. No modification to this Agreement is effective unless it is\r\n in writing and signed by, or on behalf of, the parties.\r\n
      \r\n
    6. \r\n
    7. \r\n
      \r\n Governing Law. This Agreement will be governed by and will be construed\r\n and interpreted in accordance with the laws of British Columbia and the laws of Canada applicable therein.\r\n
      \r\n
    8. \r\n
    9. \r\n
      \r\n Survival. Sections 3.1, 3.8, 3.9, 4, 7 and any other provision of this\r\n Agreement that expressly or by its nature continues after termination, shall survive termination of this\r\n Agreement.\r\n
      \r\n
    10. \r\n
    \r\n
  2. \r\n
\r\n\r\n{{signature_block}}\r\n\r\n

\r\n SCHEDULE A – SPECIFIC PRIVACY AND SECURITY MEASURES\r\n

\r\n\r\n

\r\n Organization must, in relation to each Site\r\n

\r\n\r\n
    \r\n
  1. \r\n secure all workstations and printers at the Site to prevent any viewing of PharmaNet Data by persons other than\r\n Authorized Users;\r\n
  2. \r\n
  3. \r\n

    \r\n implement all privacy and security measures specified in the following documents published by the Province, as\r\n amended from time to time:\r\n

    \r\n\r\n
      \r\n
    1. \r\n

      \r\n the PharmaNet Professional and Software Conformance Standards\r\n

      \r\n\r\n \r\n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards\r\n \r\n
    2. \r\n
    3. \r\n

      \r\n Office of the Chief Information Officer: \"Submission for Technical Security Standard and High Level\r\n Architecture for Wireless Local Area Network Connectivity\"\r\n

      \r\n\r\n \r\n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/system-access/requirements-for-wireless-access-to-pharmanet\r\n \r\n
    4. \r\n
    \r\n
  4. \r\n
  5. \r\n ensure that a qualified technical support person is engaged to provide security support for the Site. This person\r\n should be familiar with the Site’s network configurations, hardware and software, including all SSO-Provided\r\n Technology and Associated Technology, and should be capable of understanding and adhering to the standards set\r\n forth in this Agreement and Schedule. Note that any such qualified technical support person must not be permitted\r\n by Organization to access or use PharmaNet in any manner, unless otherwise permitted under this Agreement;\r\n
  6. \r\n
  7. \r\n establish and maintain documented privacy policies that detail how Organization will meet its privacy obligations\r\n in relation to the Site;\r\n
  8. \r\n
  9. \r\n establish breach reporting and response processes in relation to the Site;\r\n
  10. \r\n
  11. \r\n detail expectations for privacy protection in contracts and service agreements as applicable at the Site;\r\n
  12. \r\n
  13. \r\n regularly review the administrative, physical and technological safeguards at the Site;\r\n
  14. \r\n
  15. \r\n establish and maintain a program for monitoring PharmaNet use at the Site, including by making appropriate\r\n monitoring and reporting mechanisms available to Authorized Users for this purpose.\r\n
  16. \r\n
", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 31, + AgreementType = 5, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2023, 7, 29, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + Text = "

ORGANIZATION PHARMANET ACCESS AGREEMENT

\r\n\r\n

\r\n \r\n This Organization PharmaNet Access Agreement (the "Agreement") is executed as of the date first written above,\r\n by {{organization_name}} ("Organization") for the benefit of HIS MAJESTY THE KING IN RIGHT OF THE PROVINCE OF\r\n BRITISH COLUMBIA, as represented by the Minister of Health (the "Province").\r\n \r\n

\r\n\r\n

\r\n WHEREAS:\r\n

\r\n\r\n
    \r\n
  1. \r\n The Province owns and is responsible for the operation of PharmaNet, the province-wide network that\r\n links health care providers to a central data system. Every prescription dispensed in community pharmacies\r\n in British Columbia is entered into PharmaNet.\r\n
  2. \r\n
  3. \r\n PharmaNet contains highly sensitive confidential information, including personal information,\r\n and it is in the public interest to ensure that appropriate measures are in place to protect\r\n the confidentiality and integrity of such information. All access to and use of PharmaNet and\r\n PharmaNet Data is subject to the Act and other applicable law.\r\n
  4. \r\n
  5. \r\n The Province permits authorized users to access PharmaNet to provide health services to the\r\n individual whose personal information is being accessed.\r\n
  6. \r\n
  7. \r\n This Agreement sets out the terms by which Organization may permit its Authorized Staff to\r\n access PharmaNet in connection with the Site(s) operated by Organization.\r\n
  8. \r\n
\r\n\r\n

\r\n NOW THEREFORE Organization makes this Agreement knowing that the Province will\r\n rely on it in permitting access to and use of PharmaNet from the Site(s) operated by Organization.\r\n Organization conclusively acknowledges that reliance by the Province on this Agreement is in every\r\n respect justifiable and that it received fair and valuable consideration for this Agreement, the\r\n receipt and adequacy of which is hereby acknowledged. Organization hereby agrees as follows:\r\n

\r\n\r\n

\r\n ARTICLE 1 – INTERPRETATION\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n In this Agreement, terms that are used but not defined will have the same meaning as in the\r\n Information Management Regulation. The following capitalized terms will have the meaning given below:\r\n
      \r\n
        \r\n
      1. \r\n "Act" means the Pharmaceutical Services Act;\r\n
      2. \r\n
      3. \r\n "Approved" means approved in writing by an official in the Province’s\r\n Pharmaceutical, Laboratory and Blood Services Division, and\r\n "Approval" will have the same meaning;\r\n
      4. \r\n
      5. \r\n "Approved SSO" means, in relation to a Site, the software support organization\r\n identified\r\n in the Site Registration as providing Organization with the SSO-Provided Technology used at the Site;\r\n
      6. \r\n\r\n
      7. \r\n "Associated Technology" means, in relation to a Site, the information technology\r\n hardware,\r\n software or services used at the Site, other than the SSO-Provided Technology, in connection with PharmaNet\r\n Access or\r\n to store or transmit PharmaNet Data;\r\n
      8. \r\n
      9. \r\n

        \r\n "Authorized Staff" means any individual granted access to PharmaNet by the\r\n Province who:\r\n

        \r\n
          \r\n
        1. \r\n is an employee or independent contractor of Organization,\r\n
        2. \r\n
        3. \r\n if Organization operates a hospital as defined in section 1 of the Hospital Act, is a member of\r\n the medical staff of the hospital, or\r\n
        4. \r\n
        5. \r\n if Organization is an individual, is the Organization;\r\n
        6. \r\n
        \r\n
      10. \r\n
      11. \r\n "Conformance Standards" means the PharmaNet Professional and Software Conformance\r\n Standards\r\n (\r\n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards)\r\n as published by the Province from time to time;\r\n
      12. \r\n
      13. \r\n "Control" means control of greater than fifty percent of the voting rights or\r\n equity interests in Organization;\r\n
      14. \r\n
      15. \r\n "Information Management Regulation" means the Information Management Regulation,\r\n B.C. Reg. 328/2021;\r\n
      16. \r\n
      17. \r\n "On-Behalf-Of Staff" means Authorized Staff that are "on-behalf-of\r\n users" under the Information Management Regulation;\r\n
      18. \r\n
      19. \r\n "PharmaNet Access" includes Site Access;\r\n
      20. \r\n
      21. \r\n "PharmaNet Data" includes any record or information contained in PharmaNet and\r\n any record or\r\n information obtained from PharmaNet that is in the custody, control or possession of Organization or any of\r\n its employees,\r\n independent contractors or staff;\r\n
      22. \r\n
      23. \r\n "PRIME"means the online service provided by the Province for the purposes of (i)\r\n Authorized\r\n Staff members being granted access to PharmaNet by the Province, and (ii) Organization’s Site Registration.\r\n Where this\r\n Agreement refers to submission of information "through PRIME", that includes the use of any\r\n paper-based or other alternate\r\n mechanism provided by the Province for the submission of such information;\r\n
      24. \r\n
      25. \r\n "Registrant Staff" means Authorized Staff that are "registrants" under\r\n the Information Management Regulation;\r\n
      26. \r\n
      27. \r\n "Signing Authority" means the individual identified as the "Signing\r\n Authority" in the Site Registration for a Site;\r\n
      28. \r\n
      29. \r\n "Site"means a premises located in British Columbia that is operated by\r\n Organization and Approved pursuant to section 3.1;\r\n
      30. \r\n
      31. \r\n "Site Access"means any access to PharmaNet by an individual when the individual\r\n is at a Site;\r\n
      32. \r\n
      33. \r\n "Site Registration" means the "site registration" submitted by\r\n Organization to the Province through PRIME,\r\n which includes all information required by the Province, all as updated from time to time by Organization in\r\n accordance with section 5.2 of this\r\n Agreement;\r\n
      34. \r\n
      35. \r\n "SSO-Provided Technology" means any information technology hardware, software or\r\n services provided to Organization by\r\n an Approved SSO for the purpose of Site Access.\r\n
      36. \r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Unless otherwise specified, a reference to a statute or regulation by name means a statute or regulation of\r\n British Columbia\r\n of that name, as amended or replaced from time to time, and includes any enactments made under the authority\r\n of that statute\r\n or regulation.\r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n The following is the Schedule attached to and incorporated into this Agreement:\r\n
      \r\n
        \r\n
      • \r\n Schedule A – Specific Privacy and Security Measures\r\n
      • \r\n
      \r\n
    6. \r\n
    7. \r\n
      \r\n The main body of this Agreement, the Schedule, and any documents incorporated by reference into this Agreement\r\n are to be interpreted so that all of the provisions are given as full effect as possible. In the event of a\r\n conflict,\r\n unless expressly stated to the contrary the main body of the Agreement will prevail over the Schedule, which\r\n will\r\n prevail over any document incorporated by reference.\r\n
      \r\n
    8. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 2 – REPRESENTATIONS AND WARRANTIES\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n Organization represents and warrants to the Province, as of the date of this Agreement and throughout its\r\n term, that:\r\n
      \r\n\r\n
        \r\n
      1. \r\n the information contained in the Site Registration for each Site is true and correct;\r\n
      2. \r\n
      3. \r\n

        \r\n if Organization is not an individual:\r\n

        \r\n\r\n
          \r\n
        1. \r\n Organization has the power and capacity to enter into this Agreement and to comply with its terms;\r\n
        2. \r\n
        3. \r\n all necessary corporate or other proceedings have been taken to authorize the execution and delivery of\r\n this Agreement by, or on behalf of, Organization; and\r\n
        4. \r\n
        5. \r\n this Agreement has been legally and properly executed by, or on behalf of, the Organization and is\r\n legally binding upon and enforceable against Organization in accordance with its terms.\r\n
        6. \r\n
        \r\n
      4. \r\n
      \r\n
    2. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 3 – SITE ACCESS REQUIREMENTS\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n Organization must submit a Site Registration to the Province for each physical location where it intends to\r\n provide Site Access.\r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Organization must only provide Site Access if the Site Registration for the Site has been Approved by the\r\n Province.\r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n Organization must only provide Site Access using SSO-Provided Technology. Such SSO-Provided Technology must\r\n comply\r\n with the Conformance Standards and otherwise meet the version and currency requirements of the Province.\r\n
      \r\n
    6. \r\n
    7. \r\n
      \r\n Unless otherwise Approved by the Province, Organization must at all times use the secure network or security\r\n technology\r\n that the Province certifies or makes available to Organization for the purpose of Site Access. The use of any\r\n such network\r\n or technology by Organization may be subject to terms and conditions of use, including acceptable use\r\n policies, established\r\n by the Province and communicated to Organization from time to time in writing.\r\n
      \r\n
    8. \r\n
    9. \r\n
      \r\n Organization must only allow Site Access by the following users:\r\n
      \r\n\r\n
        \r\n
      1. \r\n Authorized Staff when they are physically located at a Site, and\r\n
      2. \r\n
      3. \r\n Representatives of an Approved SSO for technical support purposes, in accordance with section 15 of the\r\n Information Management Regulation.\r\n
      4. \r\n
      \r\n
    10. \r\n
    11. \r\n
      \r\n Organization must ensure that On-Behalf-Of Staff users only access PharmaNet from the Site where the\r\n Registrant\r\n Staff user that they are accessing for directly provided health services to the person in respect of whom\r\n PharmaNet is being accessed.\r\n
      \r\n
    12. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 4\r\n

\r\n

Article 4 is intentionally left blank

\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 5 – GENERAL REQUIREMENTS\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n Organization must comply with the Act and all applicable law.\r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Organization must immediately notify the Province:\r\n
      \r\n
        \r\n
      1. \r\n if a Site, or any portion thereof, is leased or transferred to another person;\r\n
      2. \r\n
      3. \r\n if Organization ceases to operate a Site;\r\n
      4. \r\n
      5. \r\n if Organization acquires a premises that already has PharmaNet access, whether or not Organization intends\r\n to\r\n provide Site Access from that location;\r\n
      6. \r\n
      7. \r\n of any change to the information contained in a Site Registration, including any change to the Site’s\r\n status,\r\n location, normal operating hours, Approved SSO, or the name and contact information of the Signing Authority\r\n or\r\n any of the other specific roles set out in the Site Registration; and\r\n
      8. \r\n
      9. \r\n of a change of Control of Organization.\r\n
      10. \r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n Organization must ensure that Authorized Staff:\r\n
      \r\n
        \r\n
      1. \r\n only access PharmaNet to the extent necessary to provide health services to the individual whose personal\r\n information is being accessed;\r\n
      2. \r\n
      3. \r\n only submit claims through PharmaNet if the Site is enrolled as a provider under the Provider Regulation,\r\n B.C. Reg. 76/2022;\r\n
      4. \r\n
      5. \r\n first complete any mandatory training program(s) that the Site’s Approved SSO or the Province makes\r\n available in relation to PharmaNet;\r\n
      6. \r\n
      7. \r\n access PharmaNet using their own separate login identifications and credentials, and do not share or have\r\n multiple\r\n use of any such login identifications and credentials;\r\n
      8. \r\n
      9. \r\n secure all devices, codes and credentials that enable access to PharmaNet against unauthorized use;\r\n
      10. \r\n
      11. \r\n are correctly identified as required by the Province on all transactions submitted to PharmaNet, including\r\n "batch jobs" or similar;\r\n
      12. \r\n
      13. \r\n only use PharmaNet in accordance with the most current PharmaCare Policy Manual.\r\n
      14. \r\n
      \r\n
    6. \r\n
    7. \r\n
      \r\n If notified by the Province that an Authorized Staff user’s PharmaNet Access has been suspended or revoked by\r\n the\r\n Province, Organization will immediately take any local measures necessary to remove that individual’s\r\n PharmaNet Access.\r\n Organization will only restore PharmaNet Access to a previously suspended or revoked Authorized Staff user\r\n upon the\r\n Province’s specific written direction.\r\n
      \r\n
    8. \r\n
    9. \r\n
      \r\n The PharmaNet Data disclosed pursuant to this Agreement is disclosed by the Province solely for the Use of the\r\n Registrant Staff user to whom it is disclosed (or on whose behalf it was obtained by an On-Behalf-Of Staff\r\n user).\r\n
      \r\n
      \r\n Organization must not Use any PharmaNet Data, or permit any third party to Use PharmaNet Data, for\r\n Organization’s\r\n (or the third party’s) own purposes, except as necessary for the Registrant Staff user’s provision of health\r\n services.\r\n
      \r\n
      \r\n For the purposes of this section, “Use” includes to collect, access, retain, use, process, link, de-identify,\r\n modify or disclose.\r\n
      \r\n
    10. \r\n
    11. \r\n
      \r\n Organization must make reasonable arrangements to protect PharmaNet Data against such risks as unauthorized\r\n access,\r\n collection, use, modification, retention, disclosure or disposal, including by:\r\n
      \r\n
        \r\n
      1. \r\n taking all reasonable physical, technical and operational measures necessary at Organization’s Site(s) to\r\n ensure\r\n PharmaNet Access operate in accordance with the requirements of Articles 3, 4 and 5 of this Agreement, and\r\n
      2. \r\n
      3. \r\n complying with the requirements of Schedule A (Specific Privacy and Security Measures).\r\n
      4. \r\n
      \r\n
    12. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 6 – NON-COMPLIANCE AND INVESTIGATIONS\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n Organization must promptly notify the Province, and provide particulars, if Organization does not comply, or\r\n anticipates that it will be unable to comply, with the terms of this Agreement, or if Organization has\r\n knowledge\r\n of any circumstances, incidents or events which have or may jeopardize the security, confidentiality or\r\n integrity\r\n of PharmaNet, including any attempt by any person to gain unauthorized access to PharmaNet or the networks or\r\n equipment used to connect to PharmaNet or convey PharmaNet Data.\r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Organization must immediately investigate any suspected breaches of this Agreement and take all reasonable\r\n steps to prevent recurrences of any such breaches.\r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n Organization must cooperate with any audits or investigations conducted by the Province (including any\r\n independent\r\n auditor appointed by the Province) regarding compliance with this Agreement, including by providing access\r\n upon request\r\n to a Site and any associated facilities, networks, equipment, systems, books, records and personnel for the\r\n purposes\r\n of such audit or investigation.\r\n
      \r\n
    6. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 7 – SITE TERMINATION\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n Unless otherwise Approved by the Province, Organization must take all measures necessary to prevent further\r\n PharmaNet Access from a Site, or any portion thereof, that is leased or transferred to another person, or\r\n otherwise ceases to be operated by Organization.\r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n The Province may change the type of PharmaNet Access it provides to a Site at any time and in its sole\r\n discretion and without notice to any person.\r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n The Province may terminate all PharmaNet Access at a Site immediately, upon notice to the Signing\r\n Authority for the Site, if:\r\n
      \r\n
        \r\n
      1. \r\n the Approved SSO for the Site is no longer approved by the Province to provide information technology\r\n hardware, software, or service in connection with PharmaNet, or\r\n
      2. \r\n
      3. \r\n the Province determines that the SSO-Provided Technology or Associated Technology in use at the Site,\r\n or any component thereof, is obsolete, unsupported, or otherwise poses an unacceptable security risk,\r\n
      4. \r\n
      \r\n
      \r\n and the Organization is unable or unwilling to remedy the problem within a timeframe acceptable to the\r\n Province.\r\n
      \r\n
    6. \r\n
    7. \r\n
      \r\n As a security precaution, the Province may suspend PharmaNet Access at a Site after a period of inactivity. If\r\n PharmaNet Access at a Site remains inactive for a period of 90 days or more, the Province may, immediately\r\n upon\r\n notice to the Signing Authority for the Site, terminate all further PharmaNet Access at the Site.\r\n
      \r\n
    8. \r\n
    9. \r\n
      \r\n Organization must take all measures necessary to prevent further PharmaNet Access at a Site immediately upon\r\n the\r\n Signing Authority’s receipt of notice from the Province under sections 7.3 or 7.4.\r\n
      \r\n
    10. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 8 – TERM AND TERMINATION\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n The term of this Agreement begins on the date first noted above and continues until it is terminated in\r\n accordance with this Article 8.\r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Organization may terminate this Agreement at any time on written notice to the Province.\r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n The Province may terminate this Agreement immediately upon notice to Organization if:\r\n
      \r\n
        \r\n
      1. \r\n the Province determines that Organization has failed to comply with any provision of this Agreement;\r\n
      2. \r\n
      3. \r\n Organization no longer operates any Site from which PharmaNet Access is permitted by the Province; or\r\n
      4. \r\n
      5. \r\n there is a change of Control of Organization without the Province’s Approval.\r\n
      6. \r\n
      \r\n
    6. \r\n
    7. \r\n
      \r\n In addition to the Province’s right to terminate under section 8.3, the Province may terminate this Agreement\r\n for any reason upon two (2) months advance notice to Organization.\r\n
      \r\n
    8. \r\n
    9. \r\n
      \r\n Organization must prevent any further PharmaNet Access immediately upon termination of this Agreement.\r\n
      \r\n
    10. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 9 – DISCLAIMER AND INDEMNITY\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n The PharmaNet Access and PharmaNet Data provided under this Agreement are provided “as is” without warranty\r\n of any kind, whether express or implied. All implied warranties, including, without limitation, implied\r\n warranties of merchantability, fitness for a particular purpose, and non-infringement, are hereby expressly\r\n disclaimed. The Province does not warrant the accuracy, completeness or reliability of the PharmaNet Data or\r\n the availability of PharmaNet, or that access to or the operation of PharmaNet will function without error,\r\n failure or interruption.\r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Under no circumstances will the Province be liable to any person or business entity for any direct, indirect,\r\n special, incidental, consequential, or other damages based on any use of PharmaNet or the PharmaNet Data,\r\n including without limitation any lost profits, business interruption, or loss of programs or information,\r\n even if the Province has been specifically advised of the possibility of such damages.\r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n Organization must indemnify and save harmless the Province, and the Province’s employees and agents (each\r\n an "Indemnified Person") from any losses, claims, damages, actions, causes of action, costs and\r\n expenses that an Indemnified Person may sustain, incur, suffer or be put to at any time, either before or\r\n after this Agreement ends, which are based upon, arise out of or occur directly or indirectly by reason of\r\n any act or omission by Organization, or by any Authorized Staff, in connection with this Agreement.\r\n
      \r\n
    6. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 10 – GENERAL\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n Notice. Except where this Agreement expressly provides for another method\r\n of delivery, any notice to be given to the Province must be in writing and mailed or emailed to:\r\n
      \r\n\r\n
      \r\n Director, Information and PharmaNet Innovation
      \r\n Ministry of Health
      \r\n PO Box 9652, STN PROV GOVT
      \r\n Victoria, BC V8W 9P4
      \r\n\r\n
      \r\n\r\n Email: PRIMESupport@gov.bc.ca\r\n
      \r\n
      \r\n Any notice to be given to a Signing Authority or the Organization will be in writing and emailed, mailed,or\r\n text\r\n messaged to the Signing Authority (in the case of notice to a Signing Authority) or all Signing Authorities\r\n (in the case of notice to the Organization). A Signing Authority may be required to click a URL link or to log\r\n in to PRIME to receive the content of any such notice.\r\n
      \r\n
      \r\n Any written notice from a party, if sent electronically, will be deemed to have been received on the day of\r\n transmittal unless transmitted after the normal business hours of the addressee or on a day that is not a\r\n Business Day, in which case it will be deemed to have been received on the next following Business Day.\r\n If sent by mail, the notice will be deemed to have been received on the third Business Day after its mailing.\r\n For the purposes of this section, “Business Day” means a day, other than a Saturday or Sunday, on which\r\n Provincial government offices are open for normal business in British Columbia.\r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Assignment. Organization must not assign any of Organization’s rights or\r\n obligations under this Agreement without the Province’s Approval.\r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n Waiver. The failure of the Province at any time to insist on performance\r\n of any provision of this Agreement by Organization is not a waiver of its right subsequently to insist on\r\n performance of that or any other provision of this Agreement. A waiver of any provision or breach of this\r\n Agreement is effective only if it is writing and signed by, or on behalf of, the waiving party.\r\n
      \r\n
    6. \r\n
    7. \r\n
      \r\n Modification. No modification to this Agreement is effective\r\n unless it is in writing and signed by, or on behalf of, the parties.\r\n
      \r\n
      \r\n Notwithstanding the foregoing, the Province may unilaterally amend this Agreement, including the\r\n Schedule and this section, at any time in its sole discretion, by written notice to Organization,\r\n in which case the amendment will become effective upon the later of: (i) the date notice of the\r\n amendment is delivered to Organization; and (ii) the effective date of the amendment specified by\r\n the Province. The Province will make reasonable efforts to provide at least thirty (30) days advance\r\n notice of any such amendment, subject to any determination by the Province that a shorter notice period\r\n is necessary due to changes in the Act, applicable law or applicable policies of the Province, or is\r\n necessary to maintain privacy and security in relation to PharmaNet or PharmaNet Data.\r\n
      \r\n
      \r\n If Organization does not agree with any amendment for which notice has been provided by the Province in\r\n accordance with this section, Organization must promptly (and in any event prior to the effective date)\r\n cease PharmaNet Access at all Sites and take the steps necessary to terminate this Agreement in\r\n accordance with Article 8.\r\n
      \r\n
    8. \r\n
    9. \r\n
      \r\n Time is of the Essence. Time is of the essence in this Agreement.\r\n
      \r\n
    10. \r\n
    11. \r\n
      \r\n Relationship of the Parties. This Agreement does not create any agency,\r\n partnership or joint venture between the Parties.\r\n
      \r\n
    12. \r\n
    13. \r\n
      \r\n Entire Agreement. This Agreement constitutes the entire agreement\r\n between the Parties and supersedes all other agreements between the Parties relating to its subject matter.\r\n
      \r\n
    14. \r\n
    15. \r\n
      \r\n Governing Law. This Agreement will be governed by and will be\r\n construed and interpreted in accordance with the laws of British Columbia and the laws of Canada applicable\r\n therein.\r\n
      \r\n
    16. \r\n
    \r\n
  2. \r\n
\r\n\r\n{{signature_block}}\r\n\r\n

\r\n SCHEDULE A – SPECIFIC PRIVACY AND SECURITY MEASURES\r\n

\r\n\r\n

\r\n Organization must, in relation to each Site and in relation to PharmaNet Access:\r\n

\r\n\r\n
    \r\n
  1. \r\n secure all workstations and printers at the Site to prevent any viewing of PharmaNet Data by persons other than\r\n Authorized Staff;\r\n
  2. \r\n
  3. \r\n

    \r\n implement all privacy and security measures specified in the following documents published by the Province, as\r\n amended from time to time:\r\n

    \r\n\r\n
      \r\n
    1. \r\n

      \r\n the Conformance Standards\r\n

      \r\n\r\n (\r\n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards\r\n )\r\n
    2. \r\n\r\n
    \r\n
  4. \r\n
  5. \r\n ensure that a qualified technical support person is engaged to provide security support for the Site. This person\r\n should be familiar with the Site’s network configurations, hardware and software, including all SSO-Provided\r\n Technology\r\n and Associated Technology, and should be capable of understanding and adhering to the standards set forth in this\r\n Agreement and Schedule. Note that any such qualified technical support person must not be permitted by Organization\r\n to access or use PharmaNet in any manner, except as expressly permitted under this Agreement;\r\n
  6. \r\n
  7. \r\n establish and maintain documented privacy policies that detail how Organization will meet its privacy obligations in\r\n relation to the Site;\r\n
  8. \r\n
  9. \r\n establish breach reporting and response processes in relation to the Site;\r\n
  10. \r\n
  11. \r\n detail expectations for privacy protection in contracts and service agreements as applicable at the Site;\r\n
  12. \r\n
  13. \r\n regularly review the administrative, physical and technological safeguards at the Site;\r\n
  14. \r\n
  15. \r\n establish and maintain a program for monitoring PharmaNet Access, including by making appropriate monitoring and\r\n reporting mechanisms available to Authorized Staff for this purpose.\r\n
  16. \r\n
", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 32, + AgreementType = 10, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2023, 8, 9, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + Text = "

PHARMANET USER TERMS OF ACCESS FOR DEVICE PROVIDERS

\r\n\r\n

\r\n By enrolling for PharmaNet access, you agree to the following terms (the "Agreement"). Please read them\r\n carefully.\r\n

\r\n\r\n
    \r\n
  1. \r\n\r\n

    \r\n BACKGROUND\r\n

    \r\n\r\n

    \r\n The Province owns and is responsible for the operation of PharmaNet, the province-wide network that links B.C.\r\n pharmacies to a central data system. Every prescription dispensed in community pharmacies in B.C. is entered into\r\n PharmaNet.\r\n

    \r\n\r\n

    \r\n The purpose of providing you, and the On-Behalf-of Users whom you have authorized, with access to PharmaNet is to\r\n enhance patient care by providing timely and relevant information to persons involved in the provision of direct\r\n patient care.\r\n

    \r\n\r\n

    \r\n PharmaNet contains highly sensitive confidential information, including Personal Information and the proprietary\r\n and\r\n confidential information of third-party licensors to the Province, and it is in the public interest to ensure that\r\n appropriate measures are in place to protect the confidentiality of all such information. All access to and use of\r\n PharmaNet and PharmaNet Data is subject to the Act and Privacy Laws.\r\n

    \r\n\r\n
  2. \r\n
  3. \r\n\r\n

    \r\n INTERPRETATION\r\n

    \r\n\r\n
      \r\n
    1. \r\n\r\n

      \r\n Definitions. Unless otherwise provided in this Agreement, capitalized terms will have the\r\n meanings given below:\r\n

      \r\n\r\n
        \r\n
      1. \r\n "Act" means the Pharmaceutical Services Act.\r\n
      2. \r\n
      3. \r\n "Approved Practice Site" means the physical site at which you provide Direct\r\n Patient Care and which is approved by the Province for PharmaNet access. For greater certainty,\r\n "Approved Practice Site" does not include a location from which remote access to PharmaNet takes\r\n place;\r\n
      4. \r\n
      5. \r\n "Approved SSO" means a software support organization approved by the Province\r\n that provides you with the information technology software and/or services through which you and\r\n On-Behalf-of Users access PharmaNet.\r\n
      6. \r\n
      7. \r\n "Claim"means a claim made under the Act for payment in respect of a benefit under\r\n the Act.\r\n
      8. \r\n
      9. \r\n

        \r\n "Conformance Standards" means the following documents published by the\r\n Province, as amended from time to time:\r\n

        \r\n
          \r\n
        1. \r\n PharmaNet Professional and Software Conformance Standards\r\n \r\n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards\r\n \r\n
        2. \r\n
        \r\n
      10. \r\n
      11. \r\n "Device Provider" means a person enrolled under section 11 of the Act in the\r\n class of provider known as "device provider".\r\n
      12. \r\n
      13. \r\n "Direct Patient Care" means, for the purposes of this Agreement, the provision of\r\n health services to an individual to whom you provide direct patient care in the context of your Practice.\r\n
      14. \r\n
      15. \r\n "Information Management Regulation" means the Information Management Regulation,\r\n B.C. Reg. 328/2021.\r\n
      16. \r\n
      17. \r\n "On-Behalf-of User" means a member of your staff who (i) requires access to\r\n PharmaNet to carry out duties in relation to your Practice; (ii) is authorized by you to access PharmaNet\r\n on your behalf; and (iii) has been granted access to PharmaNet by the Province.\r\n
      18. \r\n
      19. \r\n "Personal Information" means all recorded information that is about an\r\n identifiable individual or is defined as, or deemed to be, "personal information" or\r\n "personal health information" pursuant to any Privacy Laws.\r\n
      20. \r\n
      21. \r\n "PharmaCare Newsletter" means the PharmaCare newsletter published by the Province\r\n on the following website (or such other website as may be specified by the Province from time to time for\r\n this purpose):\r\n\r\n \r\n www.gov.bc.ca/pharmacarenewsletter\r\n \r\n
      22. \r\n
      23. \r\n "PharmaNet" means PharmaNet as continued under section 2 of the Information\r\n Management Regulation.\r\n
      24. \r\n
      25. \r\n "PharmaNet Data" includes any record or information contained in PharmaNet and\r\n any record or information in the custody, control or possession of you or an On-Behalf-of User that was\r\n obtained through your or an On-Behalf-of User’s access to PharmaNet.\r\n
      26. \r\n
      27. \r\n "Practice" means your practice of the health profession regulated under the\r\n Health Professions Act, or your practice as an enrolled device provider under the Provider\r\n Regulation, B.C. Reg. 222/2014, as identified by you through PRIME.\r\n
      28. \r\n
      29. \r\n "PRIME" means the online service provided by the Province that allows users to\r\n apply for, and manage, their access to PharmaNet, and through which users are granted access by the\r\n Province.\r\n
      30. \r\n
      31. \r\n "Privacy Laws" means the Act, the Freedom of Information and Protection of\r\n Privacy Act, the Personal Information Protection Act, and any other statutory or legal\r\n obligations of privacy owed by you or the Province, whether arising under statute, by contract or at common\r\n law.\r\n
      32. \r\n
      33. \r\n "Provider" means a person enrolled under section 11 of the Act for the purpose of\r\n receiving payment for providing benefits.\r\n
      34. \r\n
      35. \r\n Provider Regulationmeans the Provider Regulation, B.C. Reg. 222/2014.\r\n
      36. \r\n
      37. \r\n "Province" means His Majesty the King in Right of British Columbia, as\r\n represented by the Minister of Health.\r\n
      38. \r\n
      39. \r\n "Professional College" is the regulatory body governing your Practice.\r\n
      40. \r\n
      41. \r\n

        \r\n "Unauthorized Person" means any person other than:\r\n

        \r\n\r\n
          \r\n
        1. \r\n you,\r\n
        2. \r\n
        3. \r\n an On-Behalf-of User, or\r\n
        4. \r\n
        5. \r\n a representative of an Approved SSO that is accessing PharmaNet for technical support purposes in\r\n accordance with section 6 of the Information Management Regulation.\r\n
        6. \r\n
        \r\n\r\n
      42. \r\n
      \r\n\r\n
    2. \r\n
    3. \r\n Reference to Enactments. Unless otherwise specified, a reference to a statute or regulation by\r\n name means the statute or regulation of British Columbia of that name, as amended or replaced from time to time,\r\n and includes any enactment made under the authority of that statute or regulation.\r\n
    4. \r\n
    5. \r\n\r\n

      \r\n Conflicting Provisions. In the event of a conflict among provisions of this Agreement:\r\n

      \r\n\r\n
        \r\n
      1. \r\n a provision in the body of this Agreement will prevail over any conflicting provision in any further\r\n limits or conditions communicated to you in writing by the Province, unless the conflicting provision\r\n expressly states otherwise; and\r\n
      2. \r\n
      3. \r\n a provision referred to in (i) above will prevail over any conflicting provision in the Conformance\r\n Standards.\r\n
      4. \r\n
      \r\n\r\n
    6. \r\n
    \r\n\r\n
  4. \r\n
  5. \r\n

    \r\n APPLICATION OF LEGISLATION\r\n

    \r\n

    \r\n You will strictly comply with, and you will ensure that On-Behalf-of Users strictly comply with, the Act, the\r\n Information Management Regulation and all Privacy Laws applicable to PharmaNet and PharmaNet Data.\r\n

    \r\n
  6. \r\n
  7. \r\n\r\n

    \r\n NOTICE THAT SPECIFIC PROVISIONS OF THE ACT APPLY DIRECTLY TO YOU\r\n

    \r\n\r\n

    \r\n You acknowledge that:\r\n

    \r\n\r\n
      \r\n
    1. \r\n PharmaNet Data accessed by you or an On-Behalf-of User pursuant to this Agreement is disclosed to you by the\r\n Province under the authority of the Act;\r\n
    2. \r\n
    3. \r\n b. specific provisions of the Act (including but not limited to sections 24, 25 and 29) and the Information\r\n Management\r\n Regulation apply directly to you and to On-Behalf-of Users as a result; and\r\n
    4. \r\n
    5. \r\n this Agreement documents limits and conditions, set by the minister in writing, that the Act requires you to\r\n comply with.\r\n
    6. \r\n
    \r\n\r\n
  8. \r\n
  9. \r\n\r\n

    \r\n ACCESS\r\n

    \r\n\r\n
      \r\n
    1. \r\n Grant of Access. . The Province will provide you with access to PharmaNet subject to your\r\n compliance with the limits and conditions set\r\n out in this Agreement. The Province may from time to time, at its discretion, amend or change the scope of your\r\n access privileges to PharmaNet as privacy, security, business and clinical practice requirements change. In such\r\n circumstances, the Province will use reasonable efforts to notify you of such changes.\r\n
    2. \r\n
    3. \r\n

      \r\n Requirements for Access. The following requirements apply to your access to PharmaNet:\r\n PharmaNet:\r\n

      \r\n
        \r\n
      1. \r\n you will only access PharmaNet, and you will ensure that On-Behalf-of Users only access PharmaNet, for so\r\n long as you are a in good standing with the Professional College and your registration permits you to\r\n deliver Direct Patient Care requiring access to PharmaNet or, in the case of access as a Device Provider,\r\n for so long as you are\r\n enrolled as a Device Provider;\r\n
      2. \r\n
      3. \r\n you will only access PharmaNet: at the Approved Practice Site, and using only the technologies and\r\n applications\r\n approved by the Province;\r\n
      4. \r\n
      5. \r\n you must ensure that your On-Behalf-of-Users do not access PharmaNet on your behalf unless the access\r\n takes place at\r\n the Approved Practice Site and the access is required in relation to patients for whom you will be providing\r\n Direct\r\n Patient Care at the Approved Practice Site;\r\n
      6. \r\n
      7. \r\n you will only access PharmaNet as necessary for your provision of Direct Patient Care, and you will ensure\r\n that\r\n On-Behalf-of Users only access PharmaNet as necessary to support your provision of Direct Patient Care;\r\n
      8. \r\n
      9. \r\n you will not submit Claims on PharmaNet other than from an Approved Practice Site in respect of which a\r\n person is\r\n enrolled as a Provider, and you will ensure that On-Behalf-of Users submit Claims on PharmaNet only from an\r\n Approved\r\n Practice Site in respect of which a person is enrolled as a Provider;\r\n
      10. \r\n
      11. \r\n you will not under any circumstances access PharmaNet, or use PharmaNet Data, for the purpose of market\r\n research, and\r\n you will ensure that no On-Behalf-of Users access PharmaNet, or use PharmaNet Data, for the purpose of\r\n market research;\r\n
      12. \r\n
      13. \r\n subject to section 6(b) of this Agreement, you will not use PharmaNet Data, and you will ensure that\r\n On-Behalf-of\r\n Users do not use PharmaNet Data, for any purpose other than your provision of Direct Patient Care, including\r\n for the\r\n purposes of quality improvement, evaluation, health care planning, surveillance, research or other secondary\r\n uses;\r\n
      14. \r\n
      15. \r\n you will not permit any Unauthorized Person to access PharmaNet, and you will take all reasonable measures\r\n to ensure\r\n that no Unauthorized Person can access PharmaNet;\r\n
      16. \r\n
      17. \r\n you will complete any training program(s) that your Approved SSO makes available to you in relation to\r\n PharmaNet, and\r\n you will ensure that all On-Behalf-of Users complete such training;\r\n
      18. \r\n
      19. \r\n you will immediately notify the Province when you or an On-Behalf-of User no longer require access to\r\n PharmaNet,\r\n including where the On-Behalf-of User ceases to be one of your staff or takes a leave of absence from your\r\n staff, or\r\n where the On-Behalf-of User’s access-related duties in relation to the Practice have changed;\r\n
      20. \r\n
      21. \r\n you will comply with, and you will ensure that On-Behalf-of Users comply with, any additional limits or\r\n conditions\r\n applicable to you, as may be communicated to you by the Province in writing;\r\n
      22. \r\n
      23. \r\n you represent and warrant that all information provided by you in connection with your application for\r\n PharmaNet\r\n access, including through PRIME, is true and correct.\r\n
      24. \r\n
      \r\n
    4. \r\n
    5. \r\n Responsibility for On-Behalf-of Users. You agree that you are responsible under this Agreement\r\n for all activities undertaken by On-Behalf-of Users in relation to their access to PharmaNet and use of\r\n PharmaNet Data.\r\n
    6. \r\n
    7. \r\n\r\n

      \r\n Privacy and Security Measures. You are responsible for taking all reasonable measures to\r\n safeguard Personal Information, including any Personal Information in the PharmaNet Data while it is in the\r\n custody, control or possession of yourself or an On-Behalf-of User. In particular, you will:\r\n

      \r\n\r\n
        \r\n
      1. \r\n take all reasonable steps to ensure the physical security of Personal Information, generally and as required\r\n by Privacy Laws;\r\n
      2. \r\n
      3. \r\n secure all workstations and printers in a protected area in the Approved Practice Site to prevent viewing\r\n of PharmaNet Data by Unauthorized Persons;\r\n
      4. \r\n
      5. \r\n ensure separate access credential (such as user name and password) for each On-Behalf-of User, and prohibit\r\n sharing or other multiple use of your access credential, or an On-Behalf-of User’s access credential, for\r\n access to PharmaNet;\r\n
      6. \r\n
      7. \r\n secure any workstations used to access PharmaNet and all devices, codes or passwords that enable access to\r\n PharmaNet by yourself or any On-Behalf-of User;\r\n
      8. \r\n
      9. \r\n take such other privacy and security measures as the Province may reasonably require from time-to-time.\r\n
      10. \r\n
      \r\n\r\n
    8. \r\n
    9. \r\n Conformance Standards. You will comply with, and will ensure On-Behalf-of Users comply with,\r\n the rules specified in the Conformance Standards when accessing and recording information in PharmaNet.\r\n
    10. \r\n
    \r\n\r\n
  10. \r\n
  11. \r\n\r\n

    \r\n DISCLOSURE, STORAGE, AND ACCESS REQUESTS\r\n

    \r\n\r\n
      \r\n
    1. \r\n Retention of PharmaNet Data. . You will not store or retain PharmaNet Data in any paper files\r\n or any electronic system, unless such storage or retention is required for record keeping in accordance with the\r\n Act, the Provider Regulation, and Professional College requirements and in connection with your provision of\r\n Direct Patient Care and otherwise is in compliance with\r\n the Conformance Standards. You will not modify any records retained in accordance with this section other than\r\n as may be expressly authorized in the Conformance Standards. For clarity, you may annotate a discrete record\r\n provided that the discrete record is not itself modified other than as expressly authorized in the Conformance\r\n Standards.\r\n
    2. \r\n
    3. \r\n Use of Retained Records. You may use any records retained by you in accordance with section\r\n 6(a) of this Agreement for a purpose authorized under section 24(1) of the Act, including for the purpose of\r\n monitoring your own Practice.\r\n
    4. \r\n
    5. \r\n Disclosure to Third Parties. . You will not, and will ensure that On-Behalf-of Users do not,\r\n disclose PharmaNet Data to any Unauthorized Person,\r\n unless disclosure is required for Direct Patient Care or is otherwise authorized under section 24(1) of the Act.\r\n
    6. \r\n
    7. \r\n No Disclosure for Market Research. You will not, and will ensure that On-Behalf-of Users do\r\n not, disclose PharmaNet Data for the purpose of market research.\r\n
    8. \r\n
    9. \r\n Responding to Patient Access Requests. Aside from any records retained by you in accordance\r\n with section 6(a) of this Agreement, you will not provide to patients any copies of records containing PharmaNet\r\n Data or "print outs" produced directly from PharmaNet, and will refer any requests for access to such\r\n records or "print outs" to the Province.\r\n
    10. \r\n
    11. \r\n Responding to Requests to Correct a Record contained in PharmaNet. If you receive a request for\r\n correction of any record or information contained in PharmaNet, you will refer the request to the Province.\r\n
    12. \r\n
    13. \r\n Legal Demands for Records Contained in PharmaNet. You will immediately notify the Province if\r\n you receive any order, demand or request compelling, or threatening to compel, disclosure of records contained\r\n in PharmaNet. You will cooperate and consult with the Province in responding to any such demands. For greater\r\n certainty, the foregoing requires that you notify the Province only with respect to any access requests or\r\n demands for records contained in PharmaNet, and not records retained by you in accordance with section 6(a) of\r\n this Agreement.\r\n
    14. \r\n
    \r\n\r\n
  12. \r\n
  13. \r\n\r\n

    \r\n ACCURACY\r\n

    \r\n\r\n

    \r\n You will make reasonable efforts to ensure that any Personal Information recorded by you or an On-Behalf-of User\r\n in PharmaNet is accurate, complete and up to date. In the event that you become aware of a material inaccuracy or\r\n error in such information, you will take reasonable steps to investigate the inaccuracy or error, correct it if\r\n necessary, and notify the Province of the inaccuracy or error and any steps taken.\r\n

    \r\n\r\n
  14. \r\n
  15. \r\n\r\n

    \r\n INVESTIGATIONS, AUDITS, AND REPORTING\r\n

    \r\n\r\n
      \r\n
    1. \r\n Audits and Investigations. You will cooperate with any audits or investigations conducted by\r\n the Province regarding your, or any On-Behalf-of User’s, compliance with the Act, Privacy Laws and this\r\n Agreement, including providing access upon request to your facilities, data management systems, books, records\r\n and personnel for the purposes of such audit or investigation.\r\n
    2. \r\n
    3. \r\n Reports to College or Privacy Commissioner. You acknowledge and agree that the Province may\r\n report any material breach of this Agreement to your Professional College or to the Information and Privacy\r\n Commissioner of British Columbia.\r\n
    4. \r\n
    \r\n\r\n
  16. \r\n
  17. \r\n\r\n

    \r\n NOTICE OF NON COMPLIANCE AND DUTY TO INVESTIGATE\r\n

    \r\n\r\n
      \r\n
    1. \r\n Duty to Investigate. You will investigate suspected breaches of the terms of this Agreement,\r\n and will take all reasonable steps to prevent recurrences of any such breaches, including taking any steps\r\n necessary to cooperate with the Province in ensuring the suspension or termination of an On-Behalf-of User’s\r\n access rights.\r\n
    2. \r\n
    3. \r\n\r\n

      \r\n Non Compliance. You will promptly notify the Province, and provide particulars, if:\r\n

      \r\n\r\n
        \r\n
      1. \r\n you or an On-Behalf-of User do not comply, or you anticipate that you or a On-Behalf-of User will be unable\r\n to comply with the terms of this Agreement in any respect, or\r\n
      2. \r\n
      3. \r\n you have knowledge of any circumstances, incidents or events which have or may jeopardize the security,\r\n confidentiality, or integrity of PharmaNet, including any unauthorized attempt, by any person, to access\r\n PharmaNet.\r\n
      4. \r\n
      \r\n\r\n
    4. \r\n
    \r\n\r\n
  18. \r\n
  19. \r\n\r\n

    \r\n TERM OF AGREEMENT, SUSPENSION & TERMINATION\r\n

    \r\n\r\n
      \r\n
    1. \r\n Term. The term of this Agreement begins on the date you are granted access to PharmaNet by the\r\n Province and will continue until the date this Agreement is terminated under paragraph (b), (c), (d) or (e)\r\n below.\r\n
    2. \r\n
    3. \r\n Termination for Any Reason. You may terminate this Agreement at any time on written notice to\r\n the Province.\r\n
    4. \r\n
    5. \r\n Suspension or Termination of PharmaNet access.\r\n If the Province suspends or terminates your right, or an On-Behalf-of User’s right, to access PharmaNet under\r\n the Information Management Regulation, the Province may also terminate this Agreement at any time\r\n thereafter upon written notice to you.\r\n
    6. \r\n
    7. \r\n Termination for Breach. Notwithstanding paragraph (c) above, the Province may terminate this\r\n Agreement, and any or all access to PharmaNet by you or an On-Behalf-of User, immediately upon notice to you if\r\n you or an On-Behalf-of User fail to comply with any provision of this Agreement.\r\n
    8. \r\n
    9. \r\n Termination by operation of the Information Management Regulation. This Agreement will\r\n terminate automatically if your access to PharmaNet ends by operation of section 18 of the\r\n Information Management Regulation.\r\n
    10. \r\n
    11. \r\n Suspension of Account for Inactivity. As a security precaution, the Province may suspend your\r\n account or an On-Behalf-of User’s account after a period of inactivity, in accordance with the Province’s\r\n policies. Please contact the Province immediately if your account has been suspended for inactivity but you\r\n still require access to PharmaNet.\r\n
    12. \r\n
    \r\n\r\n
  20. \r\n
  21. \r\n\r\n

    \r\n DISCLAIMER OF WARRANTY, LIMITATION OF LIABILITY AND INDEMNITY\r\n

    \r\n\r\n
      \r\n
    1. \r\n Information Provided As Is. You acknowledge and agree that any use of PharmaNet and PharmaNet\r\n Data is solely at your own risk. All such access and information is provided on an "as is" and\r\n "as available" basis without warranty or condition of any kind. The Province does not warrant the\r\n accuracy, completeness or reliability of the PharmaNet Data or the availability of PharmaNet, or that access\r\n to or the operation of PharmaNet will function without error, failure or interruption.\r\n
    2. \r\n
    3. \r\n You are Responsible. You are responsible for verifying the accuracy of information disclosed to\r\n you as a result of your access to PharmaNet or otherwise pursuant to this Agreement before relying or acting\r\n upon such information. The clinical or other information disclosed to you or an On-Behalf-of User pursuant to\r\n this Agreement is in no way intended to be a substitute for professional judgment.\r\n
    4. \r\n
    5. \r\n The Province Not Liable for Loss. No action may be brought by any person against the Province\r\n for any loss or damage of any kind caused by any reason or purpose related to reliance on PharmaNet or PharmaNet\r\n Data.\r\n
    6. \r\n
    7. \r\n You Must Indemnify the Province if You Cause a Loss or Claim. You agree to indemnify and save\r\n harmless the Province, and the Province’s employees and agents (each an \"Indemnified Person\")\r\n from any losses, claims, damages, actions, causes of action, costs and expenses that an Indemnified Person may\r\n sustain, incur, suffer or be put to at any time, either before or after this Agreement ends, which are based\r\n upon, arise out of or occur directly or indirectly by reason of any act or omission by you, or by any\r\n On-Behalf-of User, in connection with this Agreement or in connection with access to PharmaNet by you or an\r\n On-Behalf-of User.\r\n
    8. \r\n
    \r\n\r\n
  22. \r\n
  23. \r\n\r\n

    \r\n NOTICE\r\n

    \r\n\r\n
      \r\n
    1. \r\n\r\n

      \r\n Notice to Province. Except where this Agreement expressly provides for another method of\r\n delivery, any notice to be given by you to the Province that is contemplated by this Agreement, to be\r\n effective, must be in writing and emailed or mailed to:\r\n

      \r\n\r\n
      \r\n Director, Information and PharmaNet Development
      \r\n Ministry of Health
      \r\n PO Box 9652, STN PROV GOVT
      \r\n Victoria, BC V8W 9P4
      \r\n\r\n
      \r\n\r\n PRIMESupport@gov.bc.ca\r\n
      \r\n\r\n
    2. \r\n
    3. \r\n Notice to You. Any notice to you to be delivered under the terms of this Agreement will be in\r\n writing and delivered by the Province to\r\n you using any of the contact mechanisms identified by you in PRIME, including by mail to a specified postal\r\n address,\r\n email to a specified email address or text message to the specified cell phone number. You may be required to\r\n click a\r\n URL link or log into PRIME to receive the content of any such notice.\r\n
    4. \r\n
    5. \r\n Deemed receipt. Any written communication from a party, if personally delivered or sent\r\n electronically, will be deemed to have been\r\n received 24 hours after the time the notice was sent, or, if sent by mail, will be deemed to have been received\r\n 3 days\r\n (excluding Saturdays, Sundays and statutory holidays) after the date the notice was sent.\r\n
    6. \r\n
    7. \r\n Substitute contact information. You may notify the Province of a substitute contact mechanism\r\n by updating your contact information in PRIME.\r\n
    8. \r\n
    \r\n\r\n
  24. \r\n
  25. \r\n\r\n

    \r\n GENERAL\r\n

    \r\n\r\n
      \r\n
    1. \r\n\r\n

      \r\n Severability. Each provision in this Agreement constitutes a separate covenant and is\r\n severable from any other\r\n covenant, and if any of\r\n them are held by a court, or other decision-maker, to be invalid, this Agreement will be interpreted as if\r\n such\r\n provisions were not included.\r\n

      \r\n\r\n
    2. \r\n
    3. \r\n\r\n

      \r\n Survival. Sections 3, 4, 5(b)(vi) (vii), 5(c), 5(d), 6(a)(b)(c)(d), 8, 9, 11, and\r\n any other provision of this Agreement that\r\n expressly or by its nature continues after termination, shall survive termination of this Agreement.\r\n

      \r\n\r\n
    4. \r\n
    5. \r\n\r\n

      \r\n Governing Law. This Agreement will be governed by and will be construed and interpreted in\r\n accordance with the laws of British Columbia and the laws of Canada applicable therein.\r\n

      \r\n\r\n
    6. \r\n
    7. \r\n\r\n

      \r\n Assignment Restricted. Your rights and obligations under this Agreement may not be assigned\r\n without the prior written approval of the Province.\r\n

      \r\n\r\n
    8. \r\n
    9. \r\n\r\n

      \r\n Waiver. The failure of the Province at any time to insist on performance of any provision of\r\n this Agreement by you is not a waiver of its right subsequently to insist on performance of that or any other\r\n provision of this Agreement.\r\n

      \r\n\r\n
    10. \r\n
    11. \r\n\r\n

      \r\n Province may modify this Agreement. The Province may amend this Agreement, including this\r\n section, at any time in its sole discretion:\r\n

      \r\n\r\n
        \r\n
      1. \r\n by written notice to you, in which case the amendment will become effective upon the later of (A) the\r\n date notice of the amendment is first delivered to you, or (B) the effective date of the amendment specified\r\n by the Province, if any; or\r\n
      2. \r\n
      3. \r\n by publishing notice of any such amendment in the PharmaCare Newsletter, in which case the notice will\r\n specify the effective date of the amendment, which date will be at least 30 (thirty) days after the date\r\n that the PharmaCare Newsletter containing the notice is first published.\r\n
      4. \r\n
      \r\n\r\n

      \r\n If you or an On-Behalf-of User access or use PharmaNet after the effective date of an amendment described in\r\n (i) or (ii) above, you will be deemed to have accepted the corresponding amendment, and this Agreement will be\r\n deemed to have been so amended as of the effective date. If you do not agree with any amendment for which\r\n notice has been provided by the Province in accordance with (i) or (ii) above, you must promptly (and in any\r\n event before the effective date) cease all access or use of PharmaNet by yourself and all On-Behalf-of Users,\r\n and take the steps necessary to terminate this Agreement in accordance with section 10.\r\n

      \r\n\r\n
    12. \r\n
    \r\n\r\n
  26. \r\n
", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 33, + AgreementType = 11, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2023, 8, 9, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + Text = "

\r\n PHARMANET TERMS OF ACCESS FOR PHARMACY OR DEVICE PROVIDER ON-BEHALF-OF USER\r\n

\r\n\r\n

\r\n By enrolling for PharmaNet access, you agree to the following terms (the "Agreement"). Please read them\r\n carefully.\r\n

\r\n\r\n

\r\n On-Behalf-of User Access\r\n

\r\n\r\n
    \r\n
  1. \r\n

    \r\n You represent and warrant to the Province that:\r\n

    \r\n\r\n
      \r\n
    1. \r\n your employment duties in relation to a Practitioner require you to access PharmaNet (and PharmaNet Data) to\r\n support the Practitioner’s delivery of Direct Patient Care;\r\n
    2. \r\n
    3. \r\n you are directly supervised by a Practitioner, who has been granted access to PharmaNet by the Province; and\r\n
    4. \r\n
    5. \r\n all information provided by you in connection with your application for PharmaNet access, including all\r\n information submitted through PRIME, is true and correct.\r\n
    6. \r\n
    \r\n\r\n
  2. \r\n
\r\n\r\n

\r\n Definitions\r\n

\r\n\r\n
    \r\n
  1. \r\n\r\n

    \r\n In these terms, capitalized terms will have the following meanings:\r\n

    \r\n\r\n
      \r\n
    1. \r\n "Approved Practice Site" means the physical site at which a Practitioner provides\r\n Direct\r\n Patient Care and which is approved by the Province for PharmaNet access. For greater certainty, "Approved\r\n Practice Site" does not include a location from which remote access to PharmaNet takes place.\r\n
    2. \r\n
    3. \r\n "Direct Patient Care" means, for the purposes of this Agreement, the provision of\r\n health\r\n services to an individual to whom a Practitioner provides direct patient care in the context of their Practice.\r\n
    4. \r\n
    5. \r\n "PharmaCare Newsletter" means the PharmaCare newsletter published by the Province on\r\n the\r\n following website (or such other website as may be specified by the Province from time to time for this\r\n purpose):\r\n\r\n

      \r\n\r\n http://www.gov.bc.ca/pharmacarenewsletter\r\n
    6. \r\n
    7. \r\n "PharmaNet" means PharmaNet as continued under section 2 of the Information Management\r\n Regulation, B.C. Reg. 328/2021.\r\n
    8. \r\n
    9. \r\n "PharmaNet Data" includes any record or information contained in PharmaNet and any\r\n record or\r\n information in the custody, control or possession of you or a Practitioner that was obtained through access to\r\n PharmaNet by anyone.\r\n
    10. \r\n
    11. \r\n "Practice" means a Practitioner’s practice of their health profession.\r\n
    12. \r\n
    13. \r\n "Practitioner" means a health professional regulated under the\r\n Health Professions Act,\r\n or an\r\n enrolled device provider under the Provider Regulation, B.C. Reg. 222/2014,who supervises your access\r\n to and use of PharmaNet and who has been granted access to PharmaNet by the Province.\r\n
    14. \r\n
    15. \r\n "PRIME" means the online service provided by the Province that allows users to apply\r\n for, and\r\n manage, their access to PharmaNet, and through which users are granted access by the Province.\r\n
    16. \r\n
    17. \r\n "Province" means His Majesty the King in Right of British Columbia, as represented by\r\n the\r\n Minister of Health.\r\n
    18. \r\n
    \r\n\r\n
  2. \r\n
  3. \r\n Unless otherwise specified, a reference to a statute or regulation by name means the statute or regulation of\r\n British Columbia of that name, as amended or replaced from time to time, and includes any enactment made under the\r\n authority of that statute or regulation.\r\n
  4. \r\n
\r\n\r\n

\r\n Terms of Access to PharmaNet\r\n

\r\n\r\n
    \r\n
  1. \r\n\r\n

    \r\n You must:\r\n

    \r\n\r\n
      \r\n
    1. \r\n access and use PharmaNet and PharmaNet Data only at the Approved Practice Site of a Practitioner;\r\n
    2. \r\n
    3. \r\n access and use PharmaNet and PharmaNet Data only to support Direct Patient Care delivered by a Practitioner to\r\n the individuals whose PharmaNet Data you are accessing, and only if the Practitioner is or will be delivering\r\n Direct Patient Care requiring that access to those individuals at the same Approved Practice Site at which the\r\n access occurs;\r\n
    4. \r\n
    5. \r\n only access PharmaNet as permitted by law and directed by a Practitioner;\r\n
    6. \r\n
    7. \r\n maintain all PharmaNet Data, whether accessed on PharmaNet or otherwise disclosed to you in any manner, in\r\n strict confidence;\r\n
    8. \r\n
    9. \r\n maintain the security of PharmaNet, and any applications, connections, or networks used to access PharmaNet;\r\n
    10. \r\n
    11. \r\n complete all training required by the Approved Practice Site’s PharmaNet software vendor and the Province before\r\n accessing PharmaNet;\r\n
    12. \r\n
    13. \r\n notify the Province if you have any reason to suspect that PharmaNet, or any PharmaNet Data, is or has been\r\n accessed or used inappropriately by any person.\r\n
    14. \r\n
    \r\n\r\n
  2. \r\n
  3. \r\n\r\n

    \r\n You must not:\r\n

    \r\n\r\n
      \r\n
    1. \r\n disclose PharmaNet Data for any purpose other than Direct Patient Care, except as permitted by law and directed\r\n by a Practitioner;\r\n
    2. \r\n
    3. \r\n permit any person to use any user IDs, passwords or credentials provided to you to access PharmaNet;\r\n
    4. \r\n
    5. \r\n reveal, share or compromise any user IDs, passwords or credentials for PharmaNet;\r\n
    6. \r\n
    7. \r\n use, or attempt to use, the user IDs, passwords or credentials of any other person to access PharmaNet;\r\n
    8. \r\n
    9. \r\n take any action that might compromise the integrity of PharmaNet, its information, or the provincial drug plan,\r\n such as altering information or submitting false information;\r\n
    10. \r\n
    11. \r\n test the security related to PharmaNet;\r\n
    12. \r\n
    13. \r\n attempt to access PharmaNet from any location other than the Approved Practice Site of a Practitioner, including\r\n by VPN or other remote access technology;\r\n
    14. \r\n
    15. \r\n access PharmaNet unless the access is for the purpose of supporting a Practitioner in providing Direct Patient\r\n Care to a patient at the same Approved Practice Site at which your access occurs;\r\n
    16. \r\n
    17. \r\n use PharmaNet to submit claims to PharmaCare or a third-party insurer unless directed to do so by a Practitioner\r\n at an Approved Practice Site that is enrolled as a provider or device provider under the\r\n Provider Regulation, B.C. Reg. 222/2014.\r\n
    18. \r\n
    \r\n
  4. \r\n
\r\n
    \r\n
  1. \r\n Your access to PharmaNet and use of PharmaNet Data are governed by the Pharmaceutical Services Act and you must\r\n comply with all your duties under that Act.\r\n
  2. \r\n
  3. \r\n The Province may, in writing and from time to time, set further limits and conditions in respect of PharmaNet,\r\n either for you or for the Practitioner(s), and that you must comply with any such further limits and conditions.\r\n
  4. \r\n
\r\n\r\n

\r\n How to Notify the Province\r\n

\r\n\r\n
    \r\n
  1. \r\n\r\n

    \r\n Notice to the Province may be sent in writing to:\r\n

    \r\n\r\n
    \r\n Director, Information and PharmaNet Innovation
    \r\n Ministry of Health
    \r\n PO Box 9652, STN PROV GOVT
    \r\n Victoria, BC V8W 9P4
    \r\n\r\n
    \r\n\r\n PRIMESupport@gov.bc.ca\r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n Province May Modify These Terms\r\n

\r\n\r\n
    \r\n
  1. \r\n\r\n

    \r\n The Province may amend these terms, including this section, at any time in its sole discretion:\r\n

    \r\n\r\n
      \r\n
    1. \r\n by written notice to you, in which case the amendment will become effective upon the later of (A) the date\r\n notice of the amendment is first delivered to you, or (B) the effective date of the amendment specified by the\r\n Province, if any; or\r\n
    2. \r\n
    3. \r\n by publishing notice of any such amendment in the PharmaCare Newsletter, in which case the notice will specify\r\n the effective date of the amendment, which date will be at least thirty (30) days after the date that the\r\n PharmaCare Newsletter containing the notice is first published.\r\n
    4. \r\n
    \r\n\r\n

    \r\n If you do not agree with any amendment for which notice has been provided by the Province in accordance with (i)\r\n or (ii) above, you must promptly (and in any event before the effective date) cease all access or use of\r\n PharmaNet.\r\n

    \r\n\r\n

    \r\n If you do not agree with any amendment for which notice has been provided by the Province in accordance with (i)\r\n or (ii) above, you must promptly (and in any event before the effective date) cease all access or use of\r\n PharmaNet.\r\n

    \r\n
  2. \r\n
\r\n\r\n

\r\n Governing Law\r\n

\r\n\r\n
    \r\n
  1. \r\n\r\n

    \r\n These terms will be governed by and will be construed and interpreted in accordance with the laws of British\r\n Columbia and the laws of Canada applicable therein.\r\n

    \r\n\r\n
  2. \r\n
", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 34, + AgreementType = 7, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2023, 8, 15, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + Text = "

ORGANIZATION PHARMANET ACCESS AGREEMENT

\r\n\r\n

\r\n This Organization PharmaNet Access Agreement (the "Agreement") is executed as of the date first written\r\n above, by {{organization_name}} ("Organization") for the benefit of HIS MAJESTY THE KING IN RIGHT OF THE\r\n PROVINCE OF BRITISH COLUMBIA, as represented by the Minister of\r\n Health (the "Province").\r\n

\r\n\r\n

\r\n WHEREAS:\r\n

\r\n\r\n
    \r\n
  1. \r\n The Province owns and is responsible for the operation of PharmaNet, the province-wide network that links health\r\n care providers to a central data system. Every prescription dispensed in community pharmacies in British Columbia is\r\n entered into PharmaNet.\r\n
  2. \r\n
  3. \r\n PharmaNet contains highly sensitive confidential information, including personal information, and it is in the\r\n public\r\n interest to ensure that appropriate measures are in place to protect the confidentiality and integrity of such\r\n information. All access to and use of PharmaNet and PharmaNet Data is subject to the Act and other applicable law.\r\n
  4. \r\n
  5. \r\n The Province permits authorized users to access PharmaNet to provide health services to the individual whose\r\n personal information is being accessed.\r\n
  6. \r\n
  7. \r\n This Agreement sets out the terms by which Organization may permit its Authorized Staff to access PharmaNet in\r\n connection with the Site(s) operated by Organization.\r\n
  8. \r\n
\r\n\r\n

\r\n NOW THEREFORE Organization makes this Agreement knowing that the Province will rely on it in\r\n permitting access to and use of PharmaNet\r\n from the Site(s) operated by Organization. Organization conclusively acknowledges that reliance by the Province on\r\n this Agreement is in every respect justifiable and that it received fair and valuable consideration for this\r\n Agreement, the receipt and adequacy of which is hereby acknowledged. Organization hereby agrees as follows:\r\n

\r\n\r\n

\r\n ARTICLE 1 – INTERPRETATION\r\n

\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n In this Agreement, terms that are used but not defined will have the same meaning as in the\r\n Information Management Regulation. The following capitalized terms will have the meaning given below:\r\n
      \r\n
        \r\n
      1. \r\n "Act" means the Pharmaceutical Services Act;\r\n
      2. \r\n
      3. \r\n "Approved" means approved in writing by an official in the Province’s\r\n Pharmaceutical, Laboratory and Blood Services Division, and\r\n "Approval" will have the same meaning;\r\n
      4. \r\n
      5. \r\n "Approved SSO" means, in relation to a Site, the software support organization\r\n identified\r\n in the Site Registration as providing Organization with the SSO-Provided Technology used at the Site;\r\n
      6. \r\n\r\n
      7. \r\n "Associated Technology" means, in relation to a Site, the information technology\r\n hardware,\r\n software or services used at the Site, other than the SSO-Provided Technology, in connection with PharmaNet\r\n Access or to store or transmit PharmaNet Data;\r\n
      8. \r\n
      9. \r\n

        \r\n "Authorized Staff" means any individual granted access to PharmaNet by the\r\n Province who:\r\n

        \r\n
          \r\n
        1. \r\n is an employee or independent contractor of Organization,\r\n
        2. \r\n
        3. \r\n if Organization operates a hospital as defined in section 1 of the Hospital Act, is a member of\r\n the medical staff of the hospital, or\r\n
        4. \r\n
        5. \r\n if Organization is an individual, is the Organization;\r\n
        6. \r\n
        \r\n
      10. \r\n
      11. \r\n "Conformance Standards" means the PharmaNet Professional and Software Conformance\r\n Standards\r\n (\r\n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards)\r\n as published by the Province from time to time;\r\n
      12. \r\n
      13. \r\n "Control" means control of greater than fifty percent of the voting rights or\r\n equity interests in Organization;\r\n
      14. \r\n
      15. \r\n "Device Provider Staff" means Authorized Staff that are "device provider\r\n agents" under the Information Management Regulation;\r\n
      16. \r\n
      17. \r\n "Information Management Regulation" means the Information Management Regulation,\r\n B.C. Reg. 328/2021;\r\n
      18. \r\n
      19. \r\n "On-Behalf-Of Staff" means Authorized Staff that are "on-behalf-of\r\n users" under the Information Management Regulation;\r\n
      20. \r\n
      21. \r\n "PharmaNet Access" includes Site Access;\r\n
      22. \r\n
      23. \r\n "PharmaNet Data" includes any record or information contained in PharmaNet and\r\n any record or\r\n information obtained from PharmaNet that is in the custody, control or possession of Organization or any of\r\n its employees,\r\n independent contractors or staff;\r\n
      24. \r\n
      25. \r\n "PRIME" means the online service provided by the Province for the purposes of (i)\r\n Authorized\r\n Staff members being granted access to PharmaNet by the Province, and (ii) Organization’s Site Registration.\r\n Where this\r\n Agreement refers to submission of information "through PRIME", that includes the use of any\r\n paper-based or other alternate\r\n mechanism provided by the Province for the submission of such information;\r\n
      26. \r\n
      27. \r\n "Registrant Staff" means Authorized Staff that are "registrants" under\r\n the Information Management Regulation;\r\n
      28. \r\n
      29. \r\n "Signing Authority" means the individual identified as the "Signing\r\n Authority" in the Site Registration for a Site;\r\n
      30. \r\n
      31. \r\n "Site" means a premises located in British Columbia that is operated by\r\n Organization and Approved pursuant to section 3.1;\r\n
      32. \r\n
      33. \r\n "Site Access" means any access to PharmaNet by an individual when the individual\r\n is at a Site;\r\n
      34. \r\n
      35. \r\n "Site Registration" means the "site registration" submitted by\r\n Organization to the Province through PRIME,\r\n which includes all information required by the Province, all as updated from time to time by Organization in\r\n accordance with section 5.2 of this Agreement;\r\n
      36. \r\n
      37. \r\n "SSO-Provided Technology" means any information technology hardware, software or\r\n services provided to Organization by\r\n an Approved SSO for the purpose of Site Access.\r\n
      38. \r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Unless otherwise specified, a reference to a statute or regulation by name means a statute or regulation of\r\n British Columbia\r\n of that name, as amended or replaced from time to time, and includes any enactments made under the authority\r\n of that statute\r\n or regulation.\r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n The following is the Schedule attached to and incorporated into this Agreement:\r\n
      \r\n
        \r\n
      • \r\n Schedule A – Specific Privacy and Security Measures\r\n
      • \r\n
      • \r\n Schedule B – On-Behalf- Staff Site Access Exceptions\r\n
      • \r\n
      \r\n
    6. \r\n
    7. \r\n
      \r\n The main body of this Agreement, the Schedule, and any documents incorporated by reference into this Agreement\r\n are to be\r\n interpreted so that all of the provisions are given as full effect as possible. In the event of a conflict,\r\n unless\r\n expressly stated to the contrary the main body of the Agreement will prevail over the Schedule, which will\r\n prevail over\r\n any document incorporated by reference.\r\n
      \r\n
    8. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 2 – REPRESENTATIONS AND WARRANTIES\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n Organization represents and warrants to the Province, as of the date of this Agreement and throughout its\r\n term, that:\r\n
      \r\n\r\n
        \r\n
      1. \r\n the information contained in the Site Registration for each Site is true and correct;\r\n
      2. \r\n
      3. \r\n

        \r\n if Organization is not an individual:\r\n

        \r\n\r\n
          \r\n
        1. \r\n Organization has the power and capacity to enter into this Agreement and to comply with its terms;\r\n
        2. \r\n
        3. \r\n all necessary corporate or other proceedings have been taken to authorize the execution and delivery of\r\n this Agreement by, or on behalf of, Organization; and\r\n
        4. \r\n
        5. \r\n this Agreement has been legally and properly executed by, or on behalf of, the Organization and is\r\n legally binding upon and enforceable against Organization in accordance with its terms.\r\n
        6. \r\n
        \r\n
      4. \r\n
      \r\n
    2. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 3 – SITE ACCESS REQUIREMENTS\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n Organization must submit a Site Registration to the Province for each physical location where it intends to\r\n provide Site Access.\r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Organization must only provide Site Access if the Site Registration for the Site has been Approved by the\r\n Province.\r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n Organization must only provide Site Access using SSO-Provided Technology. Such SSO-Provided Technology must\r\n comply\r\n with the Conformance Standards and otherwise meet the version and currency requirements of the Province.\r\n
      \r\n
    6. \r\n
    7. \r\n
      \r\n Unless otherwise Approved by the Province, Organization must at all times use the secure network or security\r\n technology\r\n that the Province certifies or makes available to Organization for the purpose of Site Access. The use of any\r\n such\r\n network or technology by Organization may be subject to terms and conditions of use, including acceptable use\r\n policies,\r\n established by the Province and communicated to Organization from time to time in writing.\r\n
      \r\n
    8. \r\n
    9. \r\n
      \r\n Organization must only allow Site Access by the following users:\r\n
      \r\n\r\n
        \r\n
      1. \r\n Authorized Staff when they are physically located at a Site, and\r\n
      2. \r\n
      3. \r\n Representatives of an Approved SSO for technical support purposes, in accordance with section 15 of the\r\n Information Management Regulation.\r\n
      4. \r\n
      \r\n
    10. \r\n
    11. \r\n
      \r\n Except as may be expressly authorized in Schedule B (On-Behalf-Of Staff Site Access Exceptions),\r\n Organization must\r\n ensure that On-Behalf-Of Staff users only access PharmaNet from the Site where the Registrant Staff or Device\r\n Provider\r\n Staff user that they are accessing for directly provided health services to the person in respect of whom\r\n PharmaNet is\r\n being accessed.\r\n
      \r\n
    12. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 4\r\n

\r\n

Article 4 is intentionally left blank

\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 5 – GENERAL REQUIREMENTS\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n Organization must comply with the Act and all applicable law.\r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Organization must immediately notify the Province:\r\n
      \r\n
        \r\n
      1. \r\n if a Site, or any portion thereof, is leased or transferred to another person;\r\n
      2. \r\n
      3. \r\n if Organization ceases to operate a Site;\r\n
      4. \r\n
      5. \r\n if Organization acquires a premises that already has PharmaNet access, whether or not Organization intends\r\n to provide\r\n Site Access from that location;\r\n
      6. \r\n
      7. \r\n of any change to the information contained in a Site Registration, including any change to the Site’s\r\n status, location,\r\n normal operating hours, Approved SSO, or the name and contact information of the Signing Authority or any of\r\n the other\r\n specific roles set out in the Site Registration; and\r\n
      8. \r\n
      9. \r\n of a change of Control of Organization.\r\n
      10. \r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n Organization must ensure that Authorized Staff:\r\n
      \r\n
        \r\n
      1. \r\n only access PharmaNet to the extent necessary to provide health services to the individual whose personal\r\n information is being accessed;\r\n
      2. \r\n
      3. \r\n only submit claims through PharmaNet if the Site is enrolled as a provider under the Provider Regulation,\r\n B.C. Reg. 76/2022;\r\n
      4. \r\n
      5. \r\n first complete any mandatory training program(s) that the Site’s Approved SSO or the Province makes\r\n available in relation to PharmaNet;\r\n
      6. \r\n
      7. \r\n access PharmaNet using their own separate login identifications and credentials, and do not share or have\r\n multiple\r\n use of any such login identifications and credentials;\r\n
      8. \r\n
      9. \r\n secure all devices, codes and credentials that enable access to PharmaNet against unauthorized use;\r\n
      10. \r\n
      11. \r\n are correctly identified as required by the Province on all transactions submitted to PharmaNet, including\r\n "batch jobs" or similar;\r\n
      12. \r\n
      13. \r\n only use PharmaNet in accordance with the most current PharmaCare Policy Manual.\r\n
      14. \r\n
      \r\n
    6. \r\n
    7. \r\n
      \r\n If notified by the Province that an Authorized Staff user’s PharmaNet Access has been suspended or revoked by\r\n the\r\n Province, Organization will immediately take any local measures necessary to remove that individual’s\r\n PharmaNet Access.\r\n Organization will only restore PharmaNet Access to a previously suspended or revoked Authorized Staff user\r\n upon the\r\n Province’s specific written direction.\r\n
      \r\n
    8. \r\n
    9. \r\n
      \r\n The PharmaNet Data disclosed pursuant to this Agreement is disclosed by the Province solely for the Use of the\r\n Registrant Staff or Device Provider Staff user to whom it is disclosed (or on whose behalf it was obtained by\r\n an\r\n On-Behalf-Of Staff user).\r\n
      \r\n
      \r\n Organization must not Use any PharmaNet Data, or permit any third party to Use PharmaNet Data, for\r\n Organization’s (or\r\n the third party’s) own purposes, except as necessary for the Registrant Staff or Device Provider Staff user’s\r\n provision\r\n of health services.\r\n
      \r\n
      \r\n For the purposes of this section, "Use" includes to collect, access, retain, use,\r\n process, link, de-identify, modify or\r\n disclose.\r\n
      \r\n
    10. \r\n
    11. \r\n
      \r\n Organization must make reasonable arrangements to protect PharmaNet Data against such risks as unauthorized\r\n access,\r\n collection, use, modification, retention, disclosure or disposal, including by:\r\n
      \r\n
        \r\n
      1. \r\n taking all reasonable physical, technical and operational measures necessary at Organization’s Site(s) to\r\n ensure\r\n PharmaNet Access operate in accordance with the requirements of Articles 3, 4 and 5 of this Agreement, and\r\n
      2. \r\n
      3. \r\n complying with the requirements of Schedule A (Specific Privacy and Security Measures).\r\n
      4. \r\n
      \r\n
    12. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 6 – NON-COMPLIANCE AND INVESTIGATIONS\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n Organization must promptly notify the Province, and provide particulars, if Organization does not comply, or\r\n anticipates\r\n that it will be unable to comply, with the terms of this Agreement, or if Organization has knowledge of any\r\n circumstances, incidents or events which have or may jeopardize the security, confidentiality or integrity of\r\n PharmaNet,\r\n including any attempt by any person to gain unauthorized access to PharmaNet or the networks or equipment used\r\n to\r\n connect to PharmaNet or convey PharmaNet Data.\r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Organization must immediately investigate any suspected breaches of this Agreement and take all reasonable\r\n steps to prevent recurrences of any such breaches.\r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n Organization must cooperate with any audits or investigations conducted by the Province (including any\r\n independent\r\n auditor appointed by the Province) regarding compliance with this Agreement, including by providing access\r\n upon request\r\n to a Site and any associated facilities, networks, equipment, systems, books, records and personnel for the\r\n purposes of\r\n such audit or investigation.\r\n
      \r\n
    6. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 7 – SITE TERMINATION\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n Unless otherwise Approved by the Province, Organization must take all measures necessary to prevent further\r\n PharmaNet\r\n Access from a Site, or any portion thereof, that is leased or transferred to another person, or otherwise\r\n ceases to be\r\n operated by Organization.\r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n The Province may change the type of PharmaNet Access it provides to a Site at any time and in its sole\r\n discretion and\r\n without notice to any person.\r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n The Province may terminate all PharmaNet Access at a Site immediately, upon notice to the Signing\r\n Authority for the Site, if:\r\n
      \r\n
        \r\n
      1. \r\n the Approved SSO for the Site is no longer approved by the Province to provide information technology\r\n hardware, software, or service in connection with PharmaNet, or\r\n
      2. \r\n
      3. \r\n the Province determines that the SSO-Provided Technology or Associated Technology in use at the Site,\r\n or any component thereof, is obsolete, unsupported, or otherwise poses an unacceptable security risk,\r\n
      4. \r\n
      \r\n
      \r\n and the Organization is unable or unwilling to remedy the problem within a timeframe acceptable to the\r\n Province.\r\n
      \r\n
    6. \r\n
    7. \r\n
      \r\n As a security precaution, the Province may suspend PharmaNet Access at a Site after a period of inactivity. If\r\n PharmaNet\r\n Access at a Site remains inactive for a period of 90 days or more, the Province may, immediately upon notice\r\n to the\r\n Signing Authority for the Site, terminate all further PharmaNet Access at the Site.\r\n
      \r\n
    8. \r\n
    9. \r\n
      \r\n Organization must take all measures necessary to prevent further PharmaNet Access at a Site immediately upon\r\n the Signing\r\n Authority’s receipt of notice from the Province under sections 7.3 or 7.4.\r\n
      \r\n
    10. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 8 – TERM AND TERMINATION\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n The term of this Agreement begins on the date first noted above and continues until it is terminated in\r\n accordance with this Article 8.\r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Organization may terminate this Agreement at any time on written notice to the Province.\r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n The Province may terminate this Agreement immediately upon notice to Organization if:\r\n
      \r\n
        \r\n
      1. \r\n the Province determines that Organization has failed to comply with any provision of this Agreement;\r\n
      2. \r\n
      3. \r\n Organization no longer operates any Site from which PharmaNet Access is permitted by the Province; or\r\n
      4. \r\n
      5. \r\n there is a change of Control of Organization without the Province’s Approval.\r\n
      6. \r\n
      \r\n
    6. \r\n
    7. \r\n
      \r\n In addition to the Province’s right to terminate under section 8.3, the Province may terminate this Agreement\r\n for any reason upon two (2) months advance notice to Organization.\r\n
      \r\n
    8. \r\n
    9. \r\n
      \r\n Organization must prevent any further PharmaNet Access immediately upon termination of this Agreement.\r\n
      \r\n
    10. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 9 – DISCLAIMER AND INDEMNITY\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n The PharmaNet Access and PharmaNet Data provided under this Agreement are provided "as is" without\r\n warranty of\r\n any kind,\r\n whether express or implied. All implied warranties, including, without limitation, implied warranties of\r\n merchantability, fitness for a particular purpose, and non-infringement, are hereby expressly disclaimed. The\r\n Province\r\n does not warrant the accuracy, completeness or reliability of the PharmaNet Data or the availability of\r\n PharmaNet, or\r\n that access to or the operation of PharmaNet will function without error, failure or interruption.\r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Under no circumstances will the Province be liable to any person or business entity for any direct, indirect,\r\n special,\r\n incidental, consequential, or other damages based on any use of PharmaNet or the PharmaNet Data, including\r\n without\r\n limitation any lost profits, business interruption, or loss of programs or information, even if the Province\r\n has been\r\n specifically advised of the possibility of such damages.\r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n Organization must indemnify and save harmless the Province, and the Province’s employees and agents (each\r\n an "Indemnified Person") from any losses, claims, damages, actions, causes of action, costs and\r\n expenses that an Indemnified Person may sustain, incur, suffer or be put to at any time, either before or\r\n after this Agreement ends, which are based upon, arise out of or occur directly or indirectly by reason of\r\n any act or omission by Organization, or by any Authorized Staff, in connection with this Agreement.\r\n
      \r\n
    6. \r\n
    \r\n
  2. \r\n
\r\n\r\n

\r\n ARTICLE 10 – GENERAL\r\n

\r\n\r\n
    \r\n
  1. \r\n
      \r\n
    1. \r\n
      \r\n Notice. Except where this Agreement expressly provides for another method\r\n of delivery, any notice to be given to the Province must be in writing and mailed or emailed to:\r\n
      \r\n\r\n
      \r\n Director, Information and PharmaNet Innovation
      \r\n Ministry of Health
      \r\n PO Box 9652, STN PROV GOVT
      \r\n Victoria, BC V8W 9P4
      \r\n\r\n
      \r\n\r\n Email: PRIMESupport@gov.bc.ca\r\n
      \r\n
      \r\n Any notice to be given to a Signing Authority or the Organization will be in writing and emailed, mailed,or\r\n text\r\n messaged to the Signing Authority (in the case of notice to a Signing Authority) or all Signing Authorities\r\n (in the case\r\n of notice to the Organization). A Signing Authority may be required to click a URL link or to log in to PRIME\r\n to receive\r\n the content of any such notice.\r\n
      \r\n
      \r\n Any written notice from a party, if sent electronically, will be deemed to have been received on the day of\r\n transmittal\r\n unless transmitted after the normal business hours of the addressee or on a day that is not a Business Day, in\r\n which\r\n case it will be deemed to have been received on the next following Business Day. If sent by mail, the notice\r\n will be\r\n deemed to have been received on the third Business Day after its mailing. For the purposes of this section,\r\n “Business\r\n Day” means a day, other than a Saturday or Sunday, on which Provincial government offices are open for normal\r\n business\r\n in British Columbia.\r\n
      \r\n
    2. \r\n
    3. \r\n
      \r\n Assignment. Organization must not assign any of Organization’s rights or\r\n obligations under this Agreement without the Province’s Approval.\r\n
      \r\n
    4. \r\n
    5. \r\n
      \r\n Waiver. The failure of the Province at any time to insist on performance of\r\n any provision of this Agreement by Organization is\r\n not a waiver of its right subsequently to insist on performance of that or any other provision of this\r\n Agreement. A\r\n waiver of any provision or breach of this Agreement is effective only if it is writing and signed by, or on\r\n behalf of,\r\n the waiving party.\r\n
      \r\n
    6. \r\n
    7. \r\n
      \r\n Modification. No modification to this Agreement is effective\r\n unless it is in writing and signed by, or on behalf of, the parties.\r\n
      \r\n
      \r\n Notwithstanding the foregoing, the Province may unilaterally amend this Agreement, including the Schedule and\r\n this\r\n section, at any time in its sole discretion, by written notice to Organization, in which case the amendment\r\n will become\r\n effective upon the later of: (i) the date notice of the amendment is delivered to Organization; and (ii) the\r\n effective\r\n date of the amendment specified by the Province. The Province will make reasonable efforts to provide at least\r\n thirty\r\n (30) days advance notice of any such amendment, subject to any determination by the Province that a shorter\r\n notice\r\n period is necessary due to changes in the Act, applicable law or applicable policies of the Province, or is\r\n necessary to\r\n maintain privacy and security in relation to PharmaNet or PharmaNet Data.\r\n
      \r\n
      \r\n If Organization does not agree with any amendment for which notice has been provided by the Province in\r\n accordance with\r\n this section, Organization must promptly (and in any event prior to the effective date) cease PharmaNet Access\r\n at all\r\n Sites and take the steps necessary to terminate this Agreement in accordance with Article 8.\r\n
      \r\n
    8. \r\n
    9. \r\n
      \r\n Time is of the Essence. Time is of the essence in this Agreement.\r\n
      \r\n
    10. \r\n
    11. \r\n
      \r\n Relationship of the Parties. This Agreement does not create any agency,\r\n partnership or joint venture between the Parties.\r\n
      \r\n
    12. \r\n
    13. \r\n
      \r\n Entire Agreement. This Agreement constitutes the entire agreement\r\n between the Parties and supersedes all other agreements between the Parties relating to its subject matter.\r\n
      \r\n
    14. \r\n
    15. \r\n
      \r\n Governing Law. This Agreement will be governed by and will be\r\n construed and interpreted in accordance with the laws of British Columbia and the laws of Canada applicable\r\n therein.\r\n
      \r\n
    16. \r\n
    \r\n
  2. \r\n
\r\n\r\n{{signature_block}}\r\n\r\n

\r\n SCHEDULE A – SPECIFIC PRIVACY AND SECURITY MEASURES\r\n

\r\n\r\n

\r\n Organization must, in relation to each Site and in relation to PharmaNet Access:\r\n

\r\n\r\n
    \r\n
  1. \r\n secure all workstations and printers at the Site to prevent any viewing of PharmaNet Data by persons other than\r\n Authorized Staff;\r\n
  2. \r\n
  3. \r\n

    \r\n implement all privacy and security measures specified in the following documents published by the Province, as\r\n amended from time to time:\r\n

    \r\n\r\n
      \r\n
    1. \r\n

      \r\n the Conformance Standards\r\n

      \r\n\r\n (\r\n https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/software/conformance-standards\r\n )\r\n
    2. \r\n\r\n
    \r\n
  4. \r\n
  5. \r\n ensure that a qualified technical support person is engaged to provide security support for the Site. This person\r\n should be familiar with the Site’s network configurations, hardware and software, including all SSO-Provided\r\n Technology\r\n and Associated Technology, and should be capable of understanding and adhering to the standards set forth in this\r\n Agreement and Schedule. Note that any such qualified technical support person must not be permitted by Organization\r\n to access or use PharmaNet in any manner, except as expressly permitted under this Agreement;\r\n
  6. \r\n
  7. \r\n establish and maintain documented privacy policies that detail how Organization will meet its privacy obligations in\r\n relation to the Site;\r\n
  8. \r\n
  9. \r\n establish breach reporting and response processes in relation to the Site;\r\n
  10. \r\n
  11. \r\n detail expectations for privacy protection in contracts and service agreements as applicable at the Site;\r\n
  12. \r\n
  13. \r\n regularly review the administrative, physical and technological safeguards at the Site;\r\n
  14. \r\n
  15. \r\n establish and maintain a program for monitoring PharmaNet Access, including by making appropriate monitoring and\r\n reporting mechanisms available to Authorized Staff for this purpose.\r\n
  16. \r\n
\r\n\r\n

\r\n SCHEDULE B – ON-BEHALF- STAFF SITE ACCESS EXCEPTIONS\r\n

\r\n

\r\n On-Behalf-Of Staff acting on behalf of a Device Provider Staff user may access PharmaNet at a Site that is different\r\n from the one where the Device Provider Staff user provided health services to the person in respect of whom PharmaNet\r\n is\r\n being accessed only if that different Site is registered by the Device Provider Staff user for the purpose of their\r\n submission of claims as permitted under the Provider Regulation.\r\n

", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 35, + AgreementType = 12, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2023, 11, 29, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + Text = "

\n PHARMANET TERMS OF ACCESS FOR ON-BEHALF-OF USER
\n

\n\n

\n By enrolling for PharmaNet access, you agree to the following terms (the “Agreement”). Please read them carefully.\n

\n\n

\n On Behalf-of-User Access\n

\n\n
    \n
  1. \n

    \n You represent and warrant to the Province that:\n

    \n\n
      \n
    1. \n your employment duties in relation to a Practitioner require you to access PharmaNet (and PharmaNet Data) to\n support the Practitioner’s delivery of Direct Patient Care;\n
    2. \n
    3. \n you are directly supervised by a Practitioner who has been granted access to PharmaNet by the Province; and\n
    4. \n
    5. \n all information provided by you in connection with your application for PharmaNet access, including all\n information submitted through PRIME, is true and correct.\n
    6. \n
    \n\n
  2. \n
\n\n

\n Definitions\n

\n\n
    \n
  1. \n

    \n In these terms, capitalized terms will have the following meanings:\n

    \n\n
      \n
    • \n “Approved Practice Site” means the physical site at which a Practitioner provides Direct\n Patient Care and which is approved by the Province for PharmaNet access. For greater certainty, “Approved\n Practice Site” does not include a location from which remote access to PharmaNet takes place.\n
    • \n
    • \n “Direct Patient Care” means, for the purposes of this Agreement, the provision of health\n services to an individual to whom a Practitioner provides direct patient care in the context of their Practice.\n
    • \n
    • \n “PharmaCare Newsletter” means the PharmaCare newsletter published by the Province on the\n following website (or such other website as may be specified by the Province from time to time for this\n purpose):\n\n

      \n\n www.gov.bc.ca/pharmacarenewsletter\n
    • \n
    • \n “PharmaNet” means PharmaNet as continued under section 2 of the Information Management\n Regulation, B.C. Reg. 74/2015.\n
    • \n
    • \n “PharmaNet Data” includes any record or information contained in PharmaNet and any record or\n information in the custody, control or possession of you or a Practitioner that was obtained through access to\n PharmaNet by anyone.\n
    • \n
    • \n “Practice” means a Practitioner’s practice of their health profession.\n
    • \n
    • \n “Practitioner” means a health professional regulated under the Health Professions Act,\n or an enrolled device provide under the Provider Regulation B.C. Reg. 222/2014, who supervises your\n access to and use of PharmaNet and who has been granted access to PharmaNet by the Province.\n
    • \n
    • \n “PRIME” means the online service provided by the Province that allows users to apply for, and\n manage, their access to PharmaNet, and through which users are granted access by the Province.\n
    • \n
    • \n “Province” means His Majesty the King in Right of British Columbia, as represented by the\n Minister of Health.\n
    • \n
    \n\n
  2. \n
  3. \n Unless otherwise specified, a reference to a statute or regulation by name means the statute or regulation of\n British Columbia of that name, as amended or replaced from time to time, and includes any enactment made under the\n authority of that statute or regulation.\n
  4. \n
\n\n

\n Terms of Access to PharmaNet\n

\n\n
    \n
  1. \n\n

    \n You must:\n

    \n\n
      \n
    1. \n access and use PharmaNet and PharmaNet Data only at the Approved Practice Site of a Practitioner;\n
    2. \n
    3. \n access and use PharmaNet and PharmaNet Data only to support Direct Patient Care delivered by a Practitioner to\n the individuals whose PharmaNet Data you are accessing, and only if the Practitioner is or will be delivering\n Direct Patient Care requiring that access to those individuals at the same Approved Practice Site at which the\n access occurs;\n
    4. \n
    5. \n only access PharmaNet as permitted by law and directed by a Practitioner;\n
    6. \n
    7. \n maintain all PharmaNet Data, whether accessed on PharmaNet or otherwise disclosed to you in any manner, in\n strict confidence;\n
    8. \n
    9. \n maintain the security of PharmaNet, and any applications, connections, or networks used to access PharmaNet;\n
    10. \n
    11. \n complete all training required by the Approved Practice Site’s PharmaNet software vendor and the Province before\n accessing PharmaNet;\n
    12. \n
    13. \n notify the Province if you have any reason to suspect that PharmaNet, or any PharmaNet Data, is or has been\n accessed or used inappropriately by any person.\n
    14. \n
    \n\n
  2. \n
  3. \n\n

    \n You must not:\n

    \n\n
      \n
    1. \n disclose PharmaNet Data for any purpose other than Direct Patient Care, except as permitted by law and\n directed by a Practitioner;\n
    2. \n
    3. \n permit any person to use any user IDs, passwords or credentials provided to you to access PharmaNet;\n
    4. \n
    5. \n reveal, share or compromise any user IDs, passwords or credentials for PharmaNet;\n
    6. \n
    7. \n use, or attempt to use, the user IDs, passwords or credentials of any other person to access PharmaNet;\n
    8. \n
    9. \n take any action that might compromise the integrity of PharmaNet, its information, or the provincial drug plan,\n such as altering information or submitting false information;\n
    10. \n
    11. \n test the security related to PharmaNet;\n
    12. \n
    13. \n attempt to access PharmaNet from any location other than the Approved Practice Site of a Practitioner,\n including by VPN or other remote access technology;\n
    14. \n
    15. \n access PharmaNet unless the access is for the purpose of supporting a Practitioner in providing Direct\n Patient Care to a patient at the same Approved Practice Site at which your access occurs.\n
    16. \n
    \n
  4. \n
\n
    \n
  1. \n Your access to PharmaNet and use of PharmaNet Data are governed by the Pharmaceutical Services Act and you\n must comply with all your duties under that Act.\n
  2. \n
  3. \n The Province may, in writing and from time to time, set further limits and conditions in respect of PharmaNet,\n either for you or for the Practitioner(s), and that you must comply with any such further limits and conditions.\n
  4. \n
\n\n

\n How to Notify the Province\n

\n\n
    \n
  1. \n\n

    \n Notice to the Province may be sent in writing to:\n

    \n\n
    \n Director, Information and PharmaNet Development
    \n Ministry of Health
    \n PO Box 9652, STN PROV GOVT
    \n Victoria, BC V8W 9P4
    \n\n
    \n\n PRIMESupport@gov.bc.ca\n
    \n\n
  2. \n
\n\n

\n Province May Modify These Terms\n

\n\n
    \n
  1. \n

    \n The Province may amend these terms, including this section, at any time in its sole discretion:\n

    \n\n
      \n
    1. \n by written notice to you, in which case the amendment will become effective upon the later of (A) the date\n notice of the amendment is first delivered to you, or (B) the effective date of the amendment specified by the\n Province, if any; or\n
    2. \n
    3. \n by publishing notice of any such amendment in the PharmaCare Newsletter, in which case the notice will specify\n the effective date of the amendment, which date will be at least thirty (30) days after the date that the\n PharmaCare Newsletter containing the notice is first published.\n
    4. \n
    \n\n

    \n If you do not agree with any amendment for which notice has been provided by the Province in accordance with (i)\n or (ii) above, you must promptly (and in any event before the effective date) cease all access or use of\n PharmaNet.\n

    \n\n

    \n Any written notice to you under (i) above will be in writing and delivered by the Province to you using any of the\n contact mechanisms identified by you in PRIME, including by mail to a specified postal address, email to a\n specified email address or text message to a specified cell phone number. You may be required to click a URL link\n or log into PRIME to receive the contents of any such notice.\n

    \n\n
  2. \n
\n\n

\n Governing Law\n

\n\n
    \n
  1. \n\n

    \n These terms will be governed by and will be construed and interpreted in accordance with the laws of British\n Columbia and the laws of Canada applicable therein.\n

    \n\n
  2. \n
\n", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }); + }); + + modelBuilder.Entity("Prime.Models.AssignedPrivilege", b => + { + b.Property("PrivilegeId") + .HasColumnType("integer"); + + b.Property("EnrolleeId") + .HasColumnType("integer"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("PrivilegeId", "EnrolleeId"); + + b.HasIndex("EnrolleeId"); + + b.ToTable("AssignedPrivilege"); + }); + + modelBuilder.Entity("Prime.Models.AuthorizedUser", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("HealthAuthorityCode") + .HasColumnType("integer"); + + b.Property("PartyId") + .HasColumnType("integer"); + + b.Property("Status") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("HealthAuthorityCode"); + + b.HasIndex("PartyId"); + + b.ToTable("AuthorizedUsers"); + }); + + modelBuilder.Entity("Prime.Models.Banner", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("BannerLocationCode") + .HasColumnType("integer"); + + b.Property("BannerType") + .HasColumnType("integer"); + + b.Property("Content") + .HasColumnType("text"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EndTimestamp") + .HasColumnType("timestamp without time zone"); + + b.Property("StartTimestamp") + .HasColumnType("timestamp without time zone"); + + b.Property("Title") + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.ToTable("Banner"); + }); + + modelBuilder.Entity("Prime.Models.BusinessDay", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("Day") + .HasColumnType("integer"); + + b.Property("EndTime") + .HasColumnType("interval"); + + b.Property("SiteId") + .HasColumnType("integer"); + + b.Property("StartTime") + .HasColumnType("interval"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("SiteId"); + + b.ToTable("BusinessDay"); + }); + + modelBuilder.Entity("Prime.Models.BusinessEvent", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("AdminId") + .HasColumnType("integer"); + + b.Property("BusinessEventTypeCode") + .HasColumnType("integer"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("Description") + .HasColumnType("text"); + + b.Property("EnrolleeId") + .HasColumnType("integer"); + + b.Property("EventDate") + .HasColumnType("timestamp with time zone"); + + b.Property("OrganizationId") + .HasColumnType("integer"); + + b.Property("PartyId") + .HasColumnType("integer"); + + b.Property("SiteId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("AdminId"); + + b.HasIndex("BusinessEventTypeCode"); + + b.HasIndex("EnrolleeId"); + + b.HasIndex("OrganizationId"); + + b.HasIndex("PartyId"); + + b.HasIndex("SiteId"); + + b.ToTable("BusinessEvent"); + }); + + modelBuilder.Entity("Prime.Models.BusinessEventType", b => + { + b.Property("Code") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Code")); + + b.Property("Name") + .HasColumnType("text"); + + b.HasKey("Code"); + + b.ToTable("BusinessEventTypeLookup"); + + b.HasData( + new + { + Code = 1, + Name = "Status Change" + }, + new + { + Code = 2, + Name = "Email" + }, + new + { + Code = 3, + Name = "Note" + }, + new + { + Code = 4, + Name = "Admin Claim" + }, + new + { + Code = 5, + Name = "Enrollee" + }, + new + { + Code = 6, + Name = "Site" + }, + new + { + Code = 7, + Name = "Admin View" + }, + new + { + Code = 8, + Name = "Organization" + }, + new + { + Code = 9, + Name = "Pharmanet API Call" + }, + new + { + Code = 10, + Name = "Paper Enrolment Link" + }); + }); + + modelBuilder.Entity("Prime.Models.BusinessLicence", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("DeferredLicenceReason") + .HasColumnType("text"); + + b.Property("ExpiryDate") + .HasColumnType("timestamp with time zone"); + + b.Property("SiteId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.Property("UploadedDate") + .HasColumnType("timestamp with time zone"); + + b.HasKey("Id"); + + b.HasIndex("SiteId"); + + b.ToTable("BusinessLicence"); + }); + + modelBuilder.Entity("Prime.Models.BusinessLicenceDocument", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("BusinessLicenceId") + .HasColumnType("integer"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("DocumentGuid") + .HasColumnType("uuid"); + + b.Property("Filename") + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.Property("UploadedDate") + .HasColumnType("timestamp with time zone"); + + b.HasKey("Id"); + + b.HasIndex("BusinessLicenceId") + .IsUnique(); + + b.ToTable("BusinessLicenceDocument"); + }); + + modelBuilder.Entity("Prime.Models.CareSetting", b => + { + b.Property("Code") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Code")); + + b.Property("Name") + .IsRequired() + .HasColumnType("text"); + + b.HasKey("Code"); + + b.ToTable("CareSettingLookup"); + + b.HasData( + new + { + Code = 1, + Name = "Health Authority" + }, + new + { + Code = 2, + Name = "Private Community Health Practice" + }, + new + { + Code = 3, + Name = "Community Pharmacy" + }, + new + { + Code = 4, + Name = "Device Provider" + }); + }); + + modelBuilder.Entity("Prime.Models.Certification", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CollegeCode") + .HasColumnType("integer"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EnrolleeId") + .HasColumnType("integer"); + + b.Property("LicenseCode") + .HasColumnType("integer"); + + b.Property("LicenseNumber") + .IsRequired() + .HasColumnType("text"); + + b.Property("PracticeCode") + .HasColumnType("integer"); + + b.Property("PractitionerId") + .HasColumnType("text"); + + b.Property("Prefix") + .HasColumnType("text"); + + b.Property("RenewalDate") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("CollegeCode"); + + b.HasIndex("EnrolleeId"); + + b.HasIndex("LicenseCode"); + + b.HasIndex("PracticeCode"); + + b.ToTable("Certification"); + }); + + modelBuilder.Entity("Prime.Models.ClientLog", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedDate") + .HasColumnType("timestamp without time zone"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("Data") + .HasColumnType("text"); + + b.Property("LogType") + .HasColumnType("integer"); + + b.Property("Message") + .IsRequired() + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.ToTable("ClientLog"); + }); + + modelBuilder.Entity("Prime.Models.College", b => + { + b.Property("Code") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Code")); + + b.Property("Name") + .IsRequired() + .HasColumnType("text"); + + b.Property("Weight") + .HasColumnType("integer"); + + b.HasKey("Code"); + + b.ToTable("CollegeLookup"); + + b.HasData( + new + { + Code = 1, + Name = "College of Physicians and Surgeons of BC (CPSBC)", + Weight = 10 + }, + new + { + Code = 2, + Name = "College of Pharmacists of BC (CPBC)", + Weight = 20 + }, + new + { + Code = 3, + Name = "BC College of Nurses and Midwives (BCCNM)", + Weight = 30 + }, + new + { + Code = 4, + Name = "College of Chiropractors of BC", + Weight = 50 + }, + new + { + Code = 5, + Name = "College of Dental Hygenists of BC", + Weight = 999 + }, + new + { + Code = 6, + Name = "College of Dental Technicians of BC", + Weight = 999 + }, + new + { + Code = 7, + Name = "College of Dental Surgeons of BC", + Weight = 999 + }, + new + { + Code = 8, + Name = "College of Denturists of BC", + Weight = 60 + }, + new + { + Code = 9, + Name = "College of Dietitians of BC", + Weight = 70 + }, + new + { + Code = 10, + Name = "College of Massage Therapists of BC", + Weight = 80 + }, + new + { + Code = 11, + Name = "College of Naturopathic Physicians of BC", + Weight = 90 + }, + new + { + Code = 12, + Name = "College of Occupational Therapists of BC", + Weight = 100 + }, + new + { + Code = 13, + Name = "College of Opticians of BC", + Weight = 110 + }, + new + { + Code = 14, + Name = "College of Optometrists of BC", + Weight = 120 + }, + new + { + Code = 15, + Name = "College of Physical Therapists of BC", + Weight = 130 + }, + new + { + Code = 16, + Name = "College of Psychologists of BC", + Weight = 140 + }, + new + { + Code = 17, + Name = "College of Speech and Hearing Health Professionals of BC", + Weight = 160 + }, + new + { + Code = 18, + Name = "College of Traditional Chinese Medicine Practitioners and Acupuncturists of BC", + Weight = 170 + }, + new + { + Code = 19, + Name = "BC College of Social Workers", + Weight = 180 + }, + new + { + Code = 20, + Name = "BC College of Oral Health Professionals", + Weight = 40 + }, + new + { + Code = 21, + Name = "College of Health and Care Professionals of BC", + Weight = 70 + }, + new + { + Code = 22, + Name = "College of Complementary Health Professionals of BC", + Weight = 50 + }); + }); + + modelBuilder.Entity("Prime.Models.CollegeLicense", b => + { + b.Property("CollegeCode") + .HasColumnType("integer"); + + b.Property("LicenseCode") + .HasColumnType("integer"); + + b.Property("CollegeLicenseGroupingCode") + .HasColumnType("integer"); + + b.Property("Discontinued") + .HasColumnType("boolean"); + + b.HasKey("CollegeCode", "LicenseCode"); + + b.HasIndex("CollegeLicenseGroupingCode"); + + b.HasIndex("LicenseCode"); + + b.ToTable("CollegeLicense"); + + b.HasData( + new + { + CollegeCode = 1, + LicenseCode = 1, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 2, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 3, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 4, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 5, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 6, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 7, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 8, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 9, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 10, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 11, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 12, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 13, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 14, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 15, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 16, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 17, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 18, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 19, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 20, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 21, + Discontinued = true + }, + new + { + CollegeCode = 1, + LicenseCode = 22, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 23, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 24, + Discontinued = true + }, + new + { + CollegeCode = 1, + LicenseCode = 59, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 65, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 66, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 67, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 87, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 88, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 89, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 90, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 91, + Discontinued = false + }, + new + { + CollegeCode = 1, + LicenseCode = 92, + Discontinued = false + }, + new + { + CollegeCode = 2, + LicenseCode = 25, + Discontinued = false + }, + new + { + CollegeCode = 2, + LicenseCode = 26, + Discontinued = false + }, + new + { + CollegeCode = 2, + LicenseCode = 27, + Discontinued = false + }, + new + { + CollegeCode = 2, + LicenseCode = 28, + Discontinued = false + }, + new + { + CollegeCode = 2, + LicenseCode = 29, + Discontinued = false + }, + new + { + CollegeCode = 2, + LicenseCode = 30, + Discontinued = false + }, + new + { + CollegeCode = 2, + LicenseCode = 31, + Discontinued = false + }, + new + { + CollegeCode = 2, + LicenseCode = 68, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 32, + CollegeLicenseGroupingCode = 2, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 33, + CollegeLicenseGroupingCode = 2, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 34, + CollegeLicenseGroupingCode = 2, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 35, + CollegeLicenseGroupingCode = 2, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 36, + CollegeLicenseGroupingCode = 2, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 37, + CollegeLicenseGroupingCode = 2, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 39, + CollegeLicenseGroupingCode = 2, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 40, + CollegeLicenseGroupingCode = 2, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 175, + CollegeLicenseGroupingCode = 2, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 41, + CollegeLicenseGroupingCode = 3, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 42, + CollegeLicenseGroupingCode = 3, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 43, + CollegeLicenseGroupingCode = 3, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 45, + CollegeLicenseGroupingCode = 3, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 46, + CollegeLicenseGroupingCode = 3, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 176, + CollegeLicenseGroupingCode = 3, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 47, + CollegeLicenseGroupingCode = 4, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 48, + CollegeLicenseGroupingCode = 4, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 49, + CollegeLicenseGroupingCode = 4, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 51, + CollegeLicenseGroupingCode = 4, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 52, + CollegeLicenseGroupingCode = 1, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 53, + CollegeLicenseGroupingCode = 1, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 54, + CollegeLicenseGroupingCode = 1, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 55, + CollegeLicenseGroupingCode = 1, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 177, + CollegeLicenseGroupingCode = 1, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 60, + CollegeLicenseGroupingCode = 5, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 61, + CollegeLicenseGroupingCode = 5, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 62, + CollegeLicenseGroupingCode = 5, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 63, + CollegeLicenseGroupingCode = 5, + Discontinued = false + }, + new + { + CollegeCode = 3, + LicenseCode = 69, + CollegeLicenseGroupingCode = 5, + Discontinued = false + }, + new + { + CollegeCode = 7, + LicenseCode = 70, + Discontinued = true + }, + new + { + CollegeCode = 7, + LicenseCode = 75, + Discontinued = true + }, + new + { + CollegeCode = 7, + LicenseCode = 76, + Discontinued = true + }, + new + { + CollegeCode = 7, + LicenseCode = 77, + Discontinued = true + }, + new + { + CollegeCode = 11, + LicenseCode = 78, + Discontinued = true + }, + new + { + CollegeCode = 11, + LicenseCode = 79, + Discontinued = true + }, + new + { + CollegeCode = 11, + LicenseCode = 80, + Discontinued = true + }, + new + { + CollegeCode = 11, + LicenseCode = 81, + Discontinued = true + }, + new + { + CollegeCode = 14, + LicenseCode = 71, + Discontinued = true + }, + new + { + CollegeCode = 14, + LicenseCode = 72, + Discontinued = true + }, + new + { + CollegeCode = 14, + LicenseCode = 73, + Discontinued = true + }, + new + { + CollegeCode = 14, + LicenseCode = 74, + Discontinued = true + }, + new + { + CollegeCode = 4, + LicenseCode = 64, + Discontinued = true + }, + new + { + CollegeCode = 5, + LicenseCode = 64, + Discontinued = true + }, + new + { + CollegeCode = 6, + LicenseCode = 64, + Discontinued = true + }, + new + { + CollegeCode = 8, + LicenseCode = 64, + Discontinued = true + }, + new + { + CollegeCode = 9, + LicenseCode = 64, + Discontinued = true + }, + new + { + CollegeCode = 10, + LicenseCode = 64, + Discontinued = true + }, + new + { + CollegeCode = 12, + LicenseCode = 64, + Discontinued = true + }, + new + { + CollegeCode = 13, + LicenseCode = 64, + Discontinued = true + }, + new + { + CollegeCode = 15, + LicenseCode = 64, + Discontinued = true + }, + new + { + CollegeCode = 16, + LicenseCode = 64, + Discontinued = true + }, + new + { + CollegeCode = 17, + LicenseCode = 64, + Discontinued = true + }, + new + { + CollegeCode = 18, + LicenseCode = 64, + Discontinued = true + }, + new + { + CollegeCode = 19, + LicenseCode = 82, + Discontinued = false + }, + new + { + CollegeCode = 19, + LicenseCode = 83, + Discontinued = false + }, + new + { + CollegeCode = 19, + LicenseCode = 84, + Discontinued = false + }, + new + { + CollegeCode = 19, + LicenseCode = 85, + Discontinued = false + }, + new + { + CollegeCode = 19, + LicenseCode = 86, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 93, + CollegeLicenseGroupingCode = 6, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 94, + CollegeLicenseGroupingCode = 6, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 95, + CollegeLicenseGroupingCode = 6, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 96, + CollegeLicenseGroupingCode = 6, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 97, + CollegeLicenseGroupingCode = 7, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 98, + CollegeLicenseGroupingCode = 7, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 99, + CollegeLicenseGroupingCode = 7, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 100, + CollegeLicenseGroupingCode = 7, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 101, + CollegeLicenseGroupingCode = 8, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 102, + CollegeLicenseGroupingCode = 8, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 103, + CollegeLicenseGroupingCode = 8, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 104, + CollegeLicenseGroupingCode = 8, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 105, + CollegeLicenseGroupingCode = 9, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 106, + CollegeLicenseGroupingCode = 10, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 107, + CollegeLicenseGroupingCode = 10, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 108, + CollegeLicenseGroupingCode = 10, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 109, + CollegeLicenseGroupingCode = 10, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 110, + CollegeLicenseGroupingCode = 10, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 111, + CollegeLicenseGroupingCode = 10, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 112, + CollegeLicenseGroupingCode = 10, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 113, + CollegeLicenseGroupingCode = 10, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 114, + CollegeLicenseGroupingCode = 11, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 115, + CollegeLicenseGroupingCode = 11, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 116, + CollegeLicenseGroupingCode = 11, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 117, + CollegeLicenseGroupingCode = 11, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 118, + CollegeLicenseGroupingCode = 11, + Discontinued = false + }, + new + { + CollegeCode = 20, + LicenseCode = 119, + CollegeLicenseGroupingCode = 11, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 120, + CollegeLicenseGroupingCode = 12, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 121, + CollegeLicenseGroupingCode = 12, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 122, + CollegeLicenseGroupingCode = 12, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 123, + CollegeLicenseGroupingCode = 12, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 124, + CollegeLicenseGroupingCode = 13, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 125, + CollegeLicenseGroupingCode = 13, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 126, + CollegeLicenseGroupingCode = 13, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 127, + CollegeLicenseGroupingCode = 13, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 128, + CollegeLicenseGroupingCode = 14, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 129, + CollegeLicenseGroupingCode = 14, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 130, + CollegeLicenseGroupingCode = 14, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 131, + CollegeLicenseGroupingCode = 14, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 132, + CollegeLicenseGroupingCode = 15, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 133, + CollegeLicenseGroupingCode = 15, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 134, + CollegeLicenseGroupingCode = 15, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 135, + CollegeLicenseGroupingCode = 15, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 136, + CollegeLicenseGroupingCode = 15, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 137, + CollegeLicenseGroupingCode = 16, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 138, + CollegeLicenseGroupingCode = 16, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 139, + CollegeLicenseGroupingCode = 16, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 140, + CollegeLicenseGroupingCode = 17, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 141, + CollegeLicenseGroupingCode = 17, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 142, + CollegeLicenseGroupingCode = 17, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 143, + CollegeLicenseGroupingCode = 17, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 144, + CollegeLicenseGroupingCode = 17, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 145, + CollegeLicenseGroupingCode = 17, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 146, + CollegeLicenseGroupingCode = 17, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 147, + CollegeLicenseGroupingCode = 17, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 148, + CollegeLicenseGroupingCode = 18, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 149, + CollegeLicenseGroupingCode = 18, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 150, + CollegeLicenseGroupingCode = 18, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 151, + CollegeLicenseGroupingCode = 18, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 152, + CollegeLicenseGroupingCode = 19, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 153, + CollegeLicenseGroupingCode = 19, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 154, + CollegeLicenseGroupingCode = 19, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 155, + CollegeLicenseGroupingCode = 19, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 156, + CollegeLicenseGroupingCode = 20, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 157, + CollegeLicenseGroupingCode = 20, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 158, + CollegeLicenseGroupingCode = 20, + Discontinued = false + }, + new + { + CollegeCode = 21, + LicenseCode = 159, + CollegeLicenseGroupingCode = 20, + Discontinued = false + }, + new + { + CollegeCode = 22, + LicenseCode = 160, + CollegeLicenseGroupingCode = 21, + Discontinued = false + }, + new + { + CollegeCode = 22, + LicenseCode = 161, + CollegeLicenseGroupingCode = 21, + Discontinued = false + }, + new + { + CollegeCode = 22, + LicenseCode = 162, + CollegeLicenseGroupingCode = 21, + Discontinued = false + }, + new + { + CollegeCode = 22, + LicenseCode = 163, + CollegeLicenseGroupingCode = 21, + Discontinued = false + }, + new + { + CollegeCode = 22, + LicenseCode = 164, + CollegeLicenseGroupingCode = 22, + Discontinued = false + }, + new + { + CollegeCode = 22, + LicenseCode = 165, + CollegeLicenseGroupingCode = 22, + Discontinued = false + }, + new + { + CollegeCode = 22, + LicenseCode = 166, + CollegeLicenseGroupingCode = 23, + Discontinued = false + }, + new + { + CollegeCode = 22, + LicenseCode = 167, + CollegeLicenseGroupingCode = 23, + Discontinued = false + }, + new + { + CollegeCode = 22, + LicenseCode = 168, + CollegeLicenseGroupingCode = 23, + Discontinued = false + }, + new + { + CollegeCode = 22, + LicenseCode = 169, + CollegeLicenseGroupingCode = 23, + Discontinued = false + }, + new + { + CollegeCode = 22, + LicenseCode = 170, + CollegeLicenseGroupingCode = 24, + Discontinued = false + }, + new + { + CollegeCode = 22, + LicenseCode = 171, + CollegeLicenseGroupingCode = 24, + Discontinued = false + }, + new + { + CollegeCode = 22, + LicenseCode = 172, + CollegeLicenseGroupingCode = 24, + Discontinued = false + }, + new + { + CollegeCode = 22, + LicenseCode = 173, + CollegeLicenseGroupingCode = 24, + Discontinued = false + }, + new + { + CollegeCode = 22, + LicenseCode = 174, + CollegeLicenseGroupingCode = 24, + Discontinued = false + }); + }); + + modelBuilder.Entity("Prime.Models.CollegeLicenseGrouping", b => + { + b.Property("Code") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Code")); + + b.Property("Name") + .HasColumnType("text"); + + b.Property("Weight") + .HasColumnType("integer"); + + b.HasKey("Code"); + + b.ToTable("CollegeLicenseGroupingLookup"); + + b.HasData( + new + { + Code = 1, + Name = "Licensed Practical Nurse", + Weight = 1 + }, + new + { + Code = 2, + Name = "Registered Nurse/Licensed Graduate Nurse", + Weight = 2 + }, + new + { + Code = 3, + Name = "Registered Psychiatric Nurse", + Weight = 3 + }, + new + { + Code = 4, + Name = "Nurse Practitioner", + Weight = 4 + }, + new + { + Code = 5, + Name = "Midwife", + Weight = 5 + }, + new + { + Code = 10, + Name = "Dentist", + Weight = 6 + }, + new + { + Code = 9, + Name = "Dental Therapist", + Weight = 7 + }, + new + { + Code = 6, + Name = "Certified Dental Assistant", + Weight = 8 + }, + new + { + Code = 7, + Name = "Dental Hygienist", + Weight = 9 + }, + new + { + Code = 8, + Name = "Dental Technician", + Weight = 10 + }, + new + { + Code = 11, + Name = "Denturist", + Weight = 11 + }, + new + { + Code = 12, + Name = "Designated Health Profession of Dietetics", + Weight = 12 + }, + new + { + Code = 13, + Name = "Designated Health Profession of Occupational Therapy", + Weight = 13 + }, + new + { + Code = 14, + Name = "Designated Health Profession of Opticianry", + Weight = 14 + }, + new + { + Code = 15, + Name = "Designated Health Profession of Optometry", + Weight = 15 + }, + new + { + Code = 16, + Name = "Designated Health Profession of Physical Therapy", + Weight = 16 + }, + new + { + Code = 17, + Name = "Designated Health Profession of Psychology", + Weight = 17 + }, + new + { + Code = 18, + Name = "Designated Health Profession of Audiology", + Weight = 18 + }, + new + { + Code = 19, + Name = "Designated Health Profession of Hearing Instrument Dispensing", + Weight = 19 + }, + new + { + Code = 20, + Name = "Designated Health Profession of Speech-Language Pathology", + Weight = 20 + }, + new + { + Code = 21, + Name = "Designated Health Profession of Chiropractic", + Weight = 21 + }, + new + { + Code = 22, + Name = "Designated Health Profession of Massage Therapy", + Weight = 22 + }, + new + { + Code = 23, + Name = "Designated Health Profession of Naturopathic Medicine", + Weight = 23 + }, + new + { + Code = 24, + Name = "Designated Health Profession of Traditional Chinese Medicine and Acupuncture", + Weight = 24 + }); + }); + + modelBuilder.Entity("Prime.Models.CollegePractice", b => + { + b.Property("CollegeCode") + .HasColumnType("integer"); + + b.Property("PracticeCode") + .HasColumnType("integer"); + + b.HasKey("CollegeCode", "PracticeCode"); + + b.HasIndex("PracticeCode"); + + b.ToTable("CollegePractice"); + + b.HasData( + new + { + CollegeCode = 3, + PracticeCode = 1 + }, + new + { + CollegeCode = 3, + PracticeCode = 2 + }, + new + { + CollegeCode = 3, + PracticeCode = 3 + }, + new + { + CollegeCode = 3, + PracticeCode = 4 + }); + }); + + modelBuilder.Entity("Prime.Models.Contact", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("Email") + .HasColumnType("text"); + + b.Property("Fax") + .HasColumnType("text"); + + b.Property("FirstName") + .HasColumnType("text"); + + b.Property("JobRoleTitle") + .HasColumnType("text"); + + b.Property("LastName") + .IsRequired() + .HasColumnType("text"); + + b.Property("Phone") + .HasColumnType("text"); + + b.Property("PhysicalAddressId") + .HasColumnType("integer"); + + b.Property("SMSPhone") + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("PhysicalAddressId"); + + b.ToTable("Contact"); + }); + + modelBuilder.Entity("Prime.Models.Country", b => + { + b.Property("Code") + .HasColumnType("text"); + + b.Property("Name") + .IsRequired() + .HasColumnType("text"); + + b.HasKey("Code"); + + b.ToTable("CountryLookup"); + + b.HasData( + new + { + Code = "CA", + Name = "Canada" + }, + new + { + Code = "US", + Name = "United States" + }); + }); + + modelBuilder.Entity("Prime.Models.DefaultPrivilege", b => + { + b.Property("PrivilegeId") + .HasColumnType("integer"); + + b.Property("LicenseCode") + .HasColumnType("integer"); + + b.HasKey("PrivilegeId", "LicenseCode"); + + b.HasIndex("LicenseCode"); + + b.ToTable("DefaultPrivilege"); + + b.HasData( + new + { + PrivilegeId = 1, + LicenseCode = 25 + }, + new + { + PrivilegeId = 2, + LicenseCode = 25 + }, + new + { + PrivilegeId = 3, + LicenseCode = 25 + }, + new + { + PrivilegeId = 4, + LicenseCode = 25 + }, + new + { + PrivilegeId = 5, + LicenseCode = 25 + }, + new + { + PrivilegeId = 6, + LicenseCode = 25 + }, + new + { + PrivilegeId = 7, + LicenseCode = 25 + }, + new + { + PrivilegeId = 8, + LicenseCode = 25 + }, + new + { + PrivilegeId = 9, + LicenseCode = 25 + }, + new + { + PrivilegeId = 10, + LicenseCode = 25 + }, + new + { + PrivilegeId = 11, + LicenseCode = 25 + }, + new + { + PrivilegeId = 12, + LicenseCode = 25 + }, + new + { + PrivilegeId = 13, + LicenseCode = 25 + }, + new + { + PrivilegeId = 14, + LicenseCode = 25 + }, + new + { + PrivilegeId = 15, + LicenseCode = 25 + }, + new + { + PrivilegeId = 16, + LicenseCode = 25 + }, + new + { + PrivilegeId = 19, + LicenseCode = 25 + }, + new + { + PrivilegeId = 1, + LicenseCode = 26 + }, + new + { + PrivilegeId = 2, + LicenseCode = 26 + }, + new + { + PrivilegeId = 3, + LicenseCode = 26 + }, + new + { + PrivilegeId = 4, + LicenseCode = 26 + }, + new + { + PrivilegeId = 5, + LicenseCode = 26 + }, + new + { + PrivilegeId = 6, + LicenseCode = 26 + }, + new + { + PrivilegeId = 7, + LicenseCode = 26 + }, + new + { + PrivilegeId = 8, + LicenseCode = 26 + }, + new + { + PrivilegeId = 9, + LicenseCode = 26 + }, + new + { + PrivilegeId = 10, + LicenseCode = 26 + }, + new + { + PrivilegeId = 11, + LicenseCode = 26 + }, + new + { + PrivilegeId = 12, + LicenseCode = 26 + }, + new + { + PrivilegeId = 13, + LicenseCode = 26 + }, + new + { + PrivilegeId = 14, + LicenseCode = 26 + }, + new + { + PrivilegeId = 15, + LicenseCode = 26 + }, + new + { + PrivilegeId = 16, + LicenseCode = 26 + }, + new + { + PrivilegeId = 19, + LicenseCode = 26 + }, + new + { + PrivilegeId = 1, + LicenseCode = 27 + }, + new + { + PrivilegeId = 2, + LicenseCode = 27 + }, + new + { + PrivilegeId = 3, + LicenseCode = 27 + }, + new + { + PrivilegeId = 4, + LicenseCode = 27 + }, + new + { + PrivilegeId = 5, + LicenseCode = 27 + }, + new + { + PrivilegeId = 6, + LicenseCode = 27 + }, + new + { + PrivilegeId = 7, + LicenseCode = 27 + }, + new + { + PrivilegeId = 8, + LicenseCode = 27 + }, + new + { + PrivilegeId = 9, + LicenseCode = 27 + }, + new + { + PrivilegeId = 10, + LicenseCode = 27 + }, + new + { + PrivilegeId = 11, + LicenseCode = 27 + }, + new + { + PrivilegeId = 12, + LicenseCode = 27 + }, + new + { + PrivilegeId = 13, + LicenseCode = 27 + }, + new + { + PrivilegeId = 14, + LicenseCode = 27 + }, + new + { + PrivilegeId = 15, + LicenseCode = 27 + }, + new + { + PrivilegeId = 16, + LicenseCode = 27 + }, + new + { + PrivilegeId = 19, + LicenseCode = 27 + }, + new + { + PrivilegeId = 1, + LicenseCode = 28 + }, + new + { + PrivilegeId = 2, + LicenseCode = 28 + }, + new + { + PrivilegeId = 3, + LicenseCode = 28 + }, + new + { + PrivilegeId = 4, + LicenseCode = 28 + }, + new + { + PrivilegeId = 5, + LicenseCode = 28 + }, + new + { + PrivilegeId = 6, + LicenseCode = 28 + }, + new + { + PrivilegeId = 7, + LicenseCode = 28 + }, + new + { + PrivilegeId = 8, + LicenseCode = 28 + }, + new + { + PrivilegeId = 9, + LicenseCode = 28 + }, + new + { + PrivilegeId = 10, + LicenseCode = 28 + }, + new + { + PrivilegeId = 11, + LicenseCode = 28 + }, + new + { + PrivilegeId = 12, + LicenseCode = 28 + }, + new + { + PrivilegeId = 13, + LicenseCode = 28 + }, + new + { + PrivilegeId = 14, + LicenseCode = 28 + }, + new + { + PrivilegeId = 15, + LicenseCode = 28 + }, + new + { + PrivilegeId = 16, + LicenseCode = 28 + }, + new + { + PrivilegeId = 5, + LicenseCode = 1 + }, + new + { + PrivilegeId = 6, + LicenseCode = 1 + }, + new + { + PrivilegeId = 7, + LicenseCode = 1 + }, + new + { + PrivilegeId = 8, + LicenseCode = 1 + }, + new + { + PrivilegeId = 9, + LicenseCode = 1 + }, + new + { + PrivilegeId = 10, + LicenseCode = 1 + }, + new + { + PrivilegeId = 11, + LicenseCode = 1 + }, + new + { + PrivilegeId = 12, + LicenseCode = 1 + }, + new + { + PrivilegeId = 13, + LicenseCode = 1 + }, + new + { + PrivilegeId = 14, + LicenseCode = 1 + }, + new + { + PrivilegeId = 15, + LicenseCode = 1 + }, + new + { + PrivilegeId = 16, + LicenseCode = 1 + }, + new + { + PrivilegeId = 19, + LicenseCode = 1 + }, + new + { + PrivilegeId = 5, + LicenseCode = 2 + }, + new + { + PrivilegeId = 6, + LicenseCode = 2 + }, + new + { + PrivilegeId = 7, + LicenseCode = 2 + }, + new + { + PrivilegeId = 8, + LicenseCode = 2 + }, + new + { + PrivilegeId = 9, + LicenseCode = 2 + }, + new + { + PrivilegeId = 10, + LicenseCode = 2 + }, + new + { + PrivilegeId = 11, + LicenseCode = 2 + }, + new + { + PrivilegeId = 12, + LicenseCode = 2 + }, + new + { + PrivilegeId = 13, + LicenseCode = 2 + }, + new + { + PrivilegeId = 14, + LicenseCode = 2 + }, + new + { + PrivilegeId = 15, + LicenseCode = 2 + }, + new + { + PrivilegeId = 16, + LicenseCode = 2 + }, + new + { + PrivilegeId = 19, + LicenseCode = 2 + }, + new + { + PrivilegeId = 5, + LicenseCode = 3 + }, + new + { + PrivilegeId = 6, + LicenseCode = 3 + }, + new + { + PrivilegeId = 7, + LicenseCode = 3 + }, + new + { + PrivilegeId = 8, + LicenseCode = 3 + }, + new + { + PrivilegeId = 9, + LicenseCode = 3 + }, + new + { + PrivilegeId = 10, + LicenseCode = 3 + }, + new + { + PrivilegeId = 11, + LicenseCode = 3 + }, + new + { + PrivilegeId = 12, + LicenseCode = 3 + }, + new + { + PrivilegeId = 13, + LicenseCode = 3 + }, + new + { + PrivilegeId = 14, + LicenseCode = 3 + }, + new + { + PrivilegeId = 15, + LicenseCode = 3 + }, + new + { + PrivilegeId = 16, + LicenseCode = 3 + }, + new + { + PrivilegeId = 19, + LicenseCode = 3 + }, + new + { + PrivilegeId = 5, + LicenseCode = 4 + }, + new + { + PrivilegeId = 6, + LicenseCode = 4 + }, + new + { + PrivilegeId = 7, + LicenseCode = 4 + }, + new + { + PrivilegeId = 8, + LicenseCode = 4 + }, + new + { + PrivilegeId = 9, + LicenseCode = 4 + }, + new + { + PrivilegeId = 10, + LicenseCode = 4 + }, + new + { + PrivilegeId = 11, + LicenseCode = 4 + }, + new + { + PrivilegeId = 12, + LicenseCode = 4 + }, + new + { + PrivilegeId = 13, + LicenseCode = 4 + }, + new + { + PrivilegeId = 14, + LicenseCode = 4 + }, + new + { + PrivilegeId = 15, + LicenseCode = 4 + }, + new + { + PrivilegeId = 16, + LicenseCode = 4 + }, + new + { + PrivilegeId = 19, + LicenseCode = 4 + }, + new + { + PrivilegeId = 5, + LicenseCode = 5 + }, + new + { + PrivilegeId = 6, + LicenseCode = 5 + }, + new + { + PrivilegeId = 7, + LicenseCode = 5 + }, + new + { + PrivilegeId = 8, + LicenseCode = 5 + }, + new + { + PrivilegeId = 9, + LicenseCode = 5 + }, + new + { + PrivilegeId = 10, + LicenseCode = 5 + }, + new + { + PrivilegeId = 11, + LicenseCode = 5 + }, + new + { + PrivilegeId = 12, + LicenseCode = 5 + }, + new + { + PrivilegeId = 13, + LicenseCode = 5 + }, + new + { + PrivilegeId = 14, + LicenseCode = 5 + }, + new + { + PrivilegeId = 15, + LicenseCode = 5 + }, + new + { + PrivilegeId = 16, + LicenseCode = 5 + }, + new + { + PrivilegeId = 19, + LicenseCode = 5 + }, + new + { + PrivilegeId = 5, + LicenseCode = 6 + }, + new + { + PrivilegeId = 6, + LicenseCode = 6 + }, + new + { + PrivilegeId = 7, + LicenseCode = 6 + }, + new + { + PrivilegeId = 8, + LicenseCode = 6 + }, + new + { + PrivilegeId = 9, + LicenseCode = 6 + }, + new + { + PrivilegeId = 10, + LicenseCode = 6 + }, + new + { + PrivilegeId = 11, + LicenseCode = 6 + }, + new + { + PrivilegeId = 12, + LicenseCode = 6 + }, + new + { + PrivilegeId = 13, + LicenseCode = 6 + }, + new + { + PrivilegeId = 14, + LicenseCode = 6 + }, + new + { + PrivilegeId = 15, + LicenseCode = 6 + }, + new + { + PrivilegeId = 16, + LicenseCode = 6 + }, + new + { + PrivilegeId = 19, + LicenseCode = 6 + }, + new + { + PrivilegeId = 5, + LicenseCode = 7 + }, + new + { + PrivilegeId = 6, + LicenseCode = 7 + }, + new + { + PrivilegeId = 7, + LicenseCode = 7 + }, + new + { + PrivilegeId = 8, + LicenseCode = 7 + }, + new + { + PrivilegeId = 9, + LicenseCode = 7 + }, + new + { + PrivilegeId = 10, + LicenseCode = 7 + }, + new + { + PrivilegeId = 11, + LicenseCode = 7 + }, + new + { + PrivilegeId = 12, + LicenseCode = 7 + }, + new + { + PrivilegeId = 13, + LicenseCode = 7 + }, + new + { + PrivilegeId = 14, + LicenseCode = 7 + }, + new + { + PrivilegeId = 15, + LicenseCode = 7 + }, + new + { + PrivilegeId = 16, + LicenseCode = 7 + }, + new + { + PrivilegeId = 5, + LicenseCode = 8 + }, + new + { + PrivilegeId = 6, + LicenseCode = 8 + }, + new + { + PrivilegeId = 7, + LicenseCode = 8 + }, + new + { + PrivilegeId = 8, + LicenseCode = 8 + }, + new + { + PrivilegeId = 9, + LicenseCode = 8 + }, + new + { + PrivilegeId = 10, + LicenseCode = 8 + }, + new + { + PrivilegeId = 11, + LicenseCode = 8 + }, + new + { + PrivilegeId = 12, + LicenseCode = 8 + }, + new + { + PrivilegeId = 13, + LicenseCode = 8 + }, + new + { + PrivilegeId = 14, + LicenseCode = 8 + }, + new + { + PrivilegeId = 15, + LicenseCode = 8 + }, + new + { + PrivilegeId = 16, + LicenseCode = 8 + }, + new + { + PrivilegeId = 5, + LicenseCode = 9 + }, + new + { + PrivilegeId = 6, + LicenseCode = 9 + }, + new + { + PrivilegeId = 7, + LicenseCode = 9 + }, + new + { + PrivilegeId = 8, + LicenseCode = 9 + }, + new + { + PrivilegeId = 9, + LicenseCode = 9 + }, + new + { + PrivilegeId = 10, + LicenseCode = 9 + }, + new + { + PrivilegeId = 11, + LicenseCode = 9 + }, + new + { + PrivilegeId = 12, + LicenseCode = 9 + }, + new + { + PrivilegeId = 13, + LicenseCode = 9 + }, + new + { + PrivilegeId = 14, + LicenseCode = 9 + }, + new + { + PrivilegeId = 15, + LicenseCode = 9 + }, + new + { + PrivilegeId = 16, + LicenseCode = 9 + }, + new + { + PrivilegeId = 19, + LicenseCode = 9 + }, + new + { + PrivilegeId = 5, + LicenseCode = 10 + }, + new + { + PrivilegeId = 6, + LicenseCode = 10 + }, + new + { + PrivilegeId = 7, + LicenseCode = 10 + }, + new + { + PrivilegeId = 8, + LicenseCode = 10 + }, + new + { + PrivilegeId = 9, + LicenseCode = 10 + }, + new + { + PrivilegeId = 10, + LicenseCode = 10 + }, + new + { + PrivilegeId = 11, + LicenseCode = 10 + }, + new + { + PrivilegeId = 12, + LicenseCode = 10 + }, + new + { + PrivilegeId = 13, + LicenseCode = 10 + }, + new + { + PrivilegeId = 14, + LicenseCode = 10 + }, + new + { + PrivilegeId = 15, + LicenseCode = 10 + }, + new + { + PrivilegeId = 16, + LicenseCode = 10 + }, + new + { + PrivilegeId = 5, + LicenseCode = 12 + }, + new + { + PrivilegeId = 6, + LicenseCode = 12 + }, + new + { + PrivilegeId = 7, + LicenseCode = 12 + }, + new + { + PrivilegeId = 8, + LicenseCode = 12 + }, + new + { + PrivilegeId = 9, + LicenseCode = 12 + }, + new + { + PrivilegeId = 10, + LicenseCode = 12 + }, + new + { + PrivilegeId = 11, + LicenseCode = 12 + }, + new + { + PrivilegeId = 12, + LicenseCode = 12 + }, + new + { + PrivilegeId = 13, + LicenseCode = 12 + }, + new + { + PrivilegeId = 14, + LicenseCode = 12 + }, + new + { + PrivilegeId = 15, + LicenseCode = 12 + }, + new + { + PrivilegeId = 16, + LicenseCode = 12 + }, + new + { + PrivilegeId = 19, + LicenseCode = 12 + }, + new + { + PrivilegeId = 5, + LicenseCode = 13 + }, + new + { + PrivilegeId = 6, + LicenseCode = 13 + }, + new + { + PrivilegeId = 7, + LicenseCode = 13 + }, + new + { + PrivilegeId = 8, + LicenseCode = 13 + }, + new + { + PrivilegeId = 9, + LicenseCode = 13 + }, + new + { + PrivilegeId = 10, + LicenseCode = 13 + }, + new + { + PrivilegeId = 11, + LicenseCode = 13 + }, + new + { + PrivilegeId = 12, + LicenseCode = 13 + }, + new + { + PrivilegeId = 13, + LicenseCode = 13 + }, + new + { + PrivilegeId = 14, + LicenseCode = 13 + }, + new + { + PrivilegeId = 15, + LicenseCode = 13 + }, + new + { + PrivilegeId = 16, + LicenseCode = 13 + }, + new + { + PrivilegeId = 19, + LicenseCode = 13 + }, + new + { + PrivilegeId = 5, + LicenseCode = 14 + }, + new + { + PrivilegeId = 6, + LicenseCode = 14 + }, + new + { + PrivilegeId = 7, + LicenseCode = 14 + }, + new + { + PrivilegeId = 8, + LicenseCode = 14 + }, + new + { + PrivilegeId = 9, + LicenseCode = 14 + }, + new + { + PrivilegeId = 10, + LicenseCode = 14 + }, + new + { + PrivilegeId = 11, + LicenseCode = 14 + }, + new + { + PrivilegeId = 12, + LicenseCode = 14 + }, + new + { + PrivilegeId = 13, + LicenseCode = 14 + }, + new + { + PrivilegeId = 14, + LicenseCode = 14 + }, + new + { + PrivilegeId = 15, + LicenseCode = 14 + }, + new + { + PrivilegeId = 16, + LicenseCode = 14 + }, + new + { + PrivilegeId = 19, + LicenseCode = 14 + }, + new + { + PrivilegeId = 5, + LicenseCode = 15 + }, + new + { + PrivilegeId = 6, + LicenseCode = 15 + }, + new + { + PrivilegeId = 7, + LicenseCode = 15 + }, + new + { + PrivilegeId = 8, + LicenseCode = 15 + }, + new + { + PrivilegeId = 9, + LicenseCode = 15 + }, + new + { + PrivilegeId = 10, + LicenseCode = 15 + }, + new + { + PrivilegeId = 11, + LicenseCode = 15 + }, + new + { + PrivilegeId = 12, + LicenseCode = 15 + }, + new + { + PrivilegeId = 13, + LicenseCode = 15 + }, + new + { + PrivilegeId = 14, + LicenseCode = 15 + }, + new + { + PrivilegeId = 15, + LicenseCode = 15 + }, + new + { + PrivilegeId = 16, + LicenseCode = 15 + }, + new + { + PrivilegeId = 5, + LicenseCode = 18 + }, + new + { + PrivilegeId = 6, + LicenseCode = 18 + }, + new + { + PrivilegeId = 7, + LicenseCode = 18 + }, + new + { + PrivilegeId = 8, + LicenseCode = 18 + }, + new + { + PrivilegeId = 9, + LicenseCode = 18 + }, + new + { + PrivilegeId = 10, + LicenseCode = 18 + }, + new + { + PrivilegeId = 11, + LicenseCode = 18 + }, + new + { + PrivilegeId = 12, + LicenseCode = 18 + }, + new + { + PrivilegeId = 13, + LicenseCode = 18 + }, + new + { + PrivilegeId = 14, + LicenseCode = 18 + }, + new + { + PrivilegeId = 15, + LicenseCode = 18 + }, + new + { + PrivilegeId = 16, + LicenseCode = 18 + }, + new + { + PrivilegeId = 19, + LicenseCode = 18 + }, + new + { + PrivilegeId = 5, + LicenseCode = 19 + }, + new + { + PrivilegeId = 6, + LicenseCode = 19 + }, + new + { + PrivilegeId = 7, + LicenseCode = 19 + }, + new + { + PrivilegeId = 8, + LicenseCode = 19 + }, + new + { + PrivilegeId = 9, + LicenseCode = 19 + }, + new + { + PrivilegeId = 10, + LicenseCode = 19 + }, + new + { + PrivilegeId = 11, + LicenseCode = 19 + }, + new + { + PrivilegeId = 12, + LicenseCode = 19 + }, + new + { + PrivilegeId = 13, + LicenseCode = 19 + }, + new + { + PrivilegeId = 14, + LicenseCode = 19 + }, + new + { + PrivilegeId = 15, + LicenseCode = 19 + }, + new + { + PrivilegeId = 16, + LicenseCode = 19 + }, + new + { + PrivilegeId = 19, + LicenseCode = 19 + }, + new + { + PrivilegeId = 5, + LicenseCode = 24 + }, + new + { + PrivilegeId = 6, + LicenseCode = 24 + }, + new + { + PrivilegeId = 7, + LicenseCode = 24 + }, + new + { + PrivilegeId = 8, + LicenseCode = 24 + }, + new + { + PrivilegeId = 9, + LicenseCode = 24 + }, + new + { + PrivilegeId = 10, + LicenseCode = 24 + }, + new + { + PrivilegeId = 11, + LicenseCode = 24 + }, + new + { + PrivilegeId = 12, + LicenseCode = 24 + }, + new + { + PrivilegeId = 13, + LicenseCode = 24 + }, + new + { + PrivilegeId = 14, + LicenseCode = 24 + }, + new + { + PrivilegeId = 15, + LicenseCode = 24 + }, + new + { + PrivilegeId = 16, + LicenseCode = 24 + }, + new + { + PrivilegeId = 8, + LicenseCode = 17 + }, + new + { + PrivilegeId = 9, + LicenseCode = 17 + }, + new + { + PrivilegeId = 10, + LicenseCode = 17 + }, + new + { + PrivilegeId = 11, + LicenseCode = 17 + }, + new + { + PrivilegeId = 12, + LicenseCode = 17 + }, + new + { + PrivilegeId = 13, + LicenseCode = 17 + }, + new + { + PrivilegeId = 14, + LicenseCode = 17 + }, + new + { + PrivilegeId = 15, + LicenseCode = 17 + }, + new + { + PrivilegeId = 16, + LicenseCode = 17 + }, + new + { + PrivilegeId = 19, + LicenseCode = 17 + }, + new + { + PrivilegeId = 8, + LicenseCode = 22 + }, + new + { + PrivilegeId = 9, + LicenseCode = 22 + }, + new + { + PrivilegeId = 10, + LicenseCode = 22 + }, + new + { + PrivilegeId = 11, + LicenseCode = 22 + }, + new + { + PrivilegeId = 12, + LicenseCode = 22 + }, + new + { + PrivilegeId = 13, + LicenseCode = 22 + }, + new + { + PrivilegeId = 14, + LicenseCode = 22 + }, + new + { + PrivilegeId = 15, + LicenseCode = 22 + }, + new + { + PrivilegeId = 16, + LicenseCode = 22 + }, + new + { + PrivilegeId = 5, + LicenseCode = 47 + }, + new + { + PrivilegeId = 6, + LicenseCode = 47 + }, + new + { + PrivilegeId = 7, + LicenseCode = 47 + }, + new + { + PrivilegeId = 8, + LicenseCode = 47 + }, + new + { + PrivilegeId = 9, + LicenseCode = 47 + }, + new + { + PrivilegeId = 10, + LicenseCode = 47 + }, + new + { + PrivilegeId = 11, + LicenseCode = 47 + }, + new + { + PrivilegeId = 12, + LicenseCode = 47 + }, + new + { + PrivilegeId = 13, + LicenseCode = 47 + }, + new + { + PrivilegeId = 14, + LicenseCode = 47 + }, + new + { + PrivilegeId = 15, + LicenseCode = 47 + }, + new + { + PrivilegeId = 16, + LicenseCode = 47 + }, + new + { + PrivilegeId = 19, + LicenseCode = 47 + }, + new + { + PrivilegeId = 5, + LicenseCode = 48 + }, + new + { + PrivilegeId = 6, + LicenseCode = 48 + }, + new + { + PrivilegeId = 7, + LicenseCode = 48 + }, + new + { + PrivilegeId = 8, + LicenseCode = 48 + }, + new + { + PrivilegeId = 9, + LicenseCode = 48 + }, + new + { + PrivilegeId = 10, + LicenseCode = 48 + }, + new + { + PrivilegeId = 11, + LicenseCode = 48 + }, + new + { + PrivilegeId = 12, + LicenseCode = 48 + }, + new + { + PrivilegeId = 13, + LicenseCode = 48 + }, + new + { + PrivilegeId = 14, + LicenseCode = 48 + }, + new + { + PrivilegeId = 15, + LicenseCode = 48 + }, + new + { + PrivilegeId = 16, + LicenseCode = 48 + }, + new + { + PrivilegeId = 19, + LicenseCode = 48 + }, + new + { + PrivilegeId = 5, + LicenseCode = 51 + }, + new + { + PrivilegeId = 6, + LicenseCode = 51 + }, + new + { + PrivilegeId = 7, + LicenseCode = 51 + }, + new + { + PrivilegeId = 8, + LicenseCode = 51 + }, + new + { + PrivilegeId = 9, + LicenseCode = 51 + }, + new + { + PrivilegeId = 10, + LicenseCode = 51 + }, + new + { + PrivilegeId = 11, + LicenseCode = 51 + }, + new + { + PrivilegeId = 12, + LicenseCode = 51 + }, + new + { + PrivilegeId = 13, + LicenseCode = 51 + }, + new + { + PrivilegeId = 14, + LicenseCode = 51 + }, + new + { + PrivilegeId = 15, + LicenseCode = 51 + }, + new + { + PrivilegeId = 16, + LicenseCode = 51 + }, + new + { + PrivilegeId = 19, + LicenseCode = 51 + }); + }); + + modelBuilder.Entity("Prime.Models.DeviceProviderRole", b => + { + b.Property("Code") + .HasColumnType("integer"); + + b.Property("Certified") + .HasColumnType("boolean"); + + b.Property("Name") + .IsRequired() + .HasColumnType("text"); + + b.Property("Weight") + .HasColumnType("integer"); + + b.HasKey("Code"); + + b.ToTable("DeviceProviderRoleLookup"); + + b.HasData( + new + { + Code = 1, + Certified = true, + Name = "Certified Prosthetist", + Weight = 1 + }, + new + { + Code = 2, + Certified = true, + Name = "Certified Orthotist", + Weight = 2 + }, + new + { + Code = 3, + Certified = true, + Name = "Certified Prosthetist Orthotist", + Weight = 3 + }, + new + { + Code = 4, + Certified = true, + Name = "Registered Prosthetic Technician", + Weight = 4 + }, + new + { + Code = 5, + Certified = true, + Name = "Registered Orthotic Technician", + Weight = 5 + }, + new + { + Code = 6, + Certified = true, + Name = "Registered Prosthetic Orthotic Technician", + Weight = 6 + }, + new + { + Code = 7, + Certified = true, + Name = "Orthotic Resident", + Weight = 7 + }, + new + { + Code = 8, + Certified = true, + Name = "Prosthetic Resident", + Weight = 8 + }, + new + { + Code = 9, + Certified = true, + Name = "Orthotic Intern", + Weight = 9 + }, + new + { + Code = 10, + Certified = true, + Name = "Prosthetic Intern", + Weight = 10 + }, + new + { + Code = 11, + Certified = false, + Name = "Compression Garment Fitter", + Weight = 11 + }, + new + { + Code = 12, + Certified = false, + Name = "Breast Prosthetic Fitter", + Weight = 12 + }, + new + { + Code = 13, + Certified = false, + Name = "Ocularist", + Weight = 13 + }, + new + { + Code = 14, + Certified = false, + Name = "Anaplastologist", + Weight = 14 + }, + new + { + Code = 15, + Certified = false, + Name = "None", + Weight = 15 + }); + }); + + modelBuilder.Entity("Prime.Models.DeviceProviderSite", b => + { + b.Property("SiteId") + .HasColumnType("text"); + + b.Property("City") + .HasColumnType("text"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("DpId") + .HasColumnType("text"); + + b.Property("ManagerLast") + .HasColumnType("text"); + + b.Property("MgrFirst") + .HasColumnType("text"); + + b.Property("PC") + .HasColumnType("text"); + + b.Property("PhoneNumber") + .HasColumnType("text"); + + b.Property("Prov") + .HasColumnType("text"); + + b.Property("SiteAddress") + .HasColumnType("text"); + + b.Property("SiteName") + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("SiteId"); + + b.ToTable("DeviceProviderSite"); + }); + + modelBuilder.Entity("Prime.Models.DoNotEmail", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("Email") + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.ToTable("DoNotEmail"); + }); + + modelBuilder.Entity("Prime.Models.DocumentAccessToken", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uuid"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("DocumentGuid") + .HasColumnType("uuid"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.ToTable("DocumentAccessToken"); + }); + + modelBuilder.Entity("Prime.Models.EmailLog", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("Body") + .HasColumnType("text"); + + b.Property("Cc") + .HasColumnType("text"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("DateSent") + .HasColumnType("timestamp with time zone"); + + b.Property("LatestStatus") + .HasColumnType("text"); + + b.Property("MsgId") + .HasColumnType("uuid"); + + b.Property("SendType") + .HasColumnType("text"); + + b.Property("SentTo") + .HasColumnType("text"); + + b.Property("StatusMessage") + .HasColumnType("text"); + + b.Property("Subject") + .HasColumnType("text"); + + b.Property("UpdateCount") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.ToTable("EmailLog"); + }); + + modelBuilder.Entity("Prime.Models.EmailTemplate", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("Description") + .HasColumnType("text"); + + b.Property("EmailType") + .HasColumnType("integer"); + + b.Property("ModifiedDate") + .HasColumnType("timestamp with time zone"); + + b.Property("Recipient") + .HasColumnType("text"); + + b.Property("Subject") + .HasColumnType("text"); + + b.Property("Template") + .HasColumnType("text"); + + b.Property("TemplateName") + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("EmailType") + .IsUnique(); + + b.ToTable("EmailTemplate"); + + b.HasData( + new + { + Id = 1, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Description = "The email will be triggered when the adjudicator approves the enrolment, or changes the status to editable.", + EmailType = 1, + ModifiedDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Recipient = "To: Enrollee", + Subject = "PRIME Requires your Attention", + Template = "Hello,

Your PRIME application status has changed since you last viewed it. Please click here to log into PRIME and view your status.

You may need to share your approval email to get your PharmaNet access is set up. Please connect by phone or email if you have any questions.

Thank you,

PRIME Support team
1-844-397-7463
PRIMESupport@gov.bc.ca", + TemplateName = "Enrollee Status Change", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2023, 10, 27, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 2, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Description = "Enrollee send out the Provisioner Link Email and access instructions.", + EmailType = 2, + ModifiedDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Recipient = "To: Provisioner, CC: Enrollee", + Subject = "New Access Request", + Template = "Hello:

@Model.EnrolleeFullName has been approved for private community health practice access to PharmaNet.

To set up their access, forward this notification and the information below to whoever sets up PharmaNet user accounts. This is usually your PharmaNet software vendor but can also be someone like an IT department or authorized individual.

  1. Name of the community health practice ___________________
  2. Practice address ___________________
  3. PharmaNet site ID, if you have it ___________________
If @Model.EnrolleeFullName accesses PharmaNet on behalf of another user, the PharmaNet software vendor should know who they are, and they should be enrolled in PRIME.

Your software vendor can find @Model.EnrolleeFullName's details by following this link: @Model.TokenUrl This link will expire in 10 days.

Please connect by phone or email if you have any questions.

Thank you,

PRIME Support team
1-844-397-7463
PRIMESupport@gov.bc.ca", + TemplateName = "Community Practice Notification", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2023, 10, 27, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 3, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Description = "Triggered by the enrollee; the Provisioner Link Email for PharmaNet access at a community pharmacy.", + EmailType = 3, + ModifiedDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Recipient = "To: Provisioner, CC: Enrollee", + Subject = "New Access Request", + Template = "Hello,

@Model.EnrolleeFullName has been approved for community pharmacy access to PharmaNet. Their PharmaNet access account can now be set up in your local software. You must include their global PharmaNet ID (GPID) on their account profile. You can access their GPID at the link below.

If @Model.EnrolleeFullName accesses PharmaNet on behalf of another user, the PharmaNet software vendor should know who they are, and they should be enrolled in PRIME.

@Model.TokenUrl
This link will expire after @Model.ExpiresInDays days.

Please connect by phone or email if you have any questions.

Thank you,

PRIME Support team
1-844-397-7463
PRIMESupport@gov.bc.ca", + TemplateName = "Community Pharmacy Notification", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2023, 10, 27, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 4, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Description = "Enrollee triggered Provisioner Link Email for health authority access.", + EmailType = 4, + ModifiedDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Recipient = "To: Provisioner, CC: Enrollee", + Subject = "New Access Request", + Template = "To: PharmNet administrator

@Model.EnrolleeFullName has been approved for health authority access to PharmaNet.
They can now be set up with their PharmaNet access account in your local software. Their Global PharmaNet ID (GPID) must be on their account profile.

You can access their GPID here: @Model.TokenUrl
This link will expire after @Model.ExpiresInDays days.

Please connect by phone or email if you have any questions.

Thank you,

PRIME Support team
1-844-397-7463
PRIMESupport@gov.bc.ca", + TemplateName = "Health Authority Notification", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2023, 10, 27, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 5, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Description = "The email will be triggered when an adjudicator approves a community site with remote user.", + EmailType = 5, + ModifiedDate = new DateTimeOffset(new DateTime(2024, 3, 20, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + Recipient = "To: Remote User", + Subject = "Remote Practitioner Notification", + Template = "Hello,

The Ministry of Health has been notified that you require remote access to PharmaNet at:

Organization name: @Model.OrganizationName
Site address: @Model.SiteStreetAddress, @Model.SiteCity

To access PharmaNet remotely, you must enrol in PRIME and indicate that you require remote access. If you have already enrolled in PRIME, you must log into PRIME and add remote access for this clinic to your profile.

**Remote access is only available for practitioners on an exceptional basis, to care for patients of a clinic that has identified the practitioner in the clinic's PRIME site registration. Remote access means you are physically located outside the premises of an approved PharmaNet site. You must always be physically located in BC when using PharmaNet, even if approved for remote access.

Remote access to PharmaNet when working for a health authority is managed by that health authority, outside of PRIME. Please contact your health authority.

If you do not require remote access to the site identified above, please advise the site so they can remove you from their remote user list in PRIME.

Once you have logged into to PRIME:

- If you are enrolling for the first time, click the toggle to request remote access if you require it.

- If you are updating your existing PRIME profile, click the Edit Remote Access button or pencil icon for that section, then click the toggle to request remote access

- Click Save and Continue to update. Refer to update information or renew enrolment for instructions.

You can enrol or update your profile at @Model.PrimeUrl.

Please connect by email if you have any questions.

Thank you,

PRIME Support team
PRIMESupport@gov.bc.ca
PRIME user guides", + TemplateName = "Remote User Notification", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2024, 3, 20, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 6, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Description = "The email will be triggered when the remote user has been updated and the site is re-submitted.", + EmailType = 6, + ModifiedDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Recipient = "To: HLTH.HnetConnection@gov.bc.ca & primesupport@gov.bc.ca", + Subject = "Remote Practitioners Changed", + Template = "Hello,

@{ var pecText = string.IsNullOrWhiteSpace(Model.SitePec) ? \"Not Assigned\" : Model.SitePec; }

Notification: The list of Remote Practitioners at @Model.SiteStreetAddress of @Model.OrganizationName (PEC: @pecText) has been updated.

Remote Users

@foreach (var remoteUser in Model.RemoteUsers) {

@remoteUser

}

Site Information

See the attached registration and organization agreement for more information.


Thank you,

PRIME Support team
1-844-397-7463
PRIMESupport@gov.bc.ca", + TemplateName = "Remote User Updated Notification", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2023, 10, 27, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 7, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Description = "The email will be triggered when a site is approved.", + EmailType = 7, + ModifiedDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Recipient = "To: HLTH.HnetConnection@gov.bc.ca", + Subject = "[{siteId}] Site Registration Approved", + Template = "Hello,

@Model.DoingBusinessAs with SiteID @Model.Pec has been approved by the Ministry of Health for PharmaNet access. Please notify the PharmaNet software vendor for this site and complete any remaining tasks to activate the site.

Please connect by phone or email if you have any questions.

Thank you,

PRIME Support team
1-844-397-7463
PRIMESupport@gov.bc.ca", + TemplateName = "HIBC Site Submission", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2023, 10, 27, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 8, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Description = "The email will be triggered daily at 3pm in a batch process. The email will be sent to the enrollee, whose ToA expiry date is coming in 14, 7, 3, 2, 1, 0 days.", + EmailType = 8, + ModifiedDate = new DateTimeOffset(new DateTime(2024, 3, 20, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + Recipient = "To: Enrollee", + Subject = "Renew Your PRIME Enrolment", + Template = "@{ var renewalDate = Model.RenewalDate.Date.ToShortDateString(); }

Hello @Model.EnrolleeName,

If you still need PharmaNet access you must renew your PRIME enrolment annually.

Please renew by @renewalDate.

  1. Go to PRIME @Model.PrimeUrl.
  2. Click Access Individual Enrolment.
  3. On the PRIME Profile screen, review your information.
    1. Select the edit button or pencil icon to revise sections that are out of date. Click Continue at the bottom of updated screens to save changes.
    2. Once changes are saved, check the \"I certify\" box and click the Submit Enrolment button.
    3. If instructed to go on, click Continue, then go to the next screen to review and accept the PharmaNet user terms of access. The terms of access may have changed, so please read carefully.
    This step completes your renewal and turns off notices until your next renewal cycle.
  4. If your renewal is sent for review, you will either be contacted by the PRIME Support team or notified to log in to PRIME to complete the remaining steps.
  5. You may need to share your PRIME approval email with the person or team in your workplace who sets up PharmaNet accounts if something has changed since you last updated your account; for example: name change, access type, care setting, or college license information. You do this by entering their email address(es) in the line for the relevant care setting on the Next Steps to Get PharmaNet screen and clicking the send button.

Please connect by phone or email if you have any questions.
Thank you for renewing your PRIME enrolment.


PRIME Support team
1-844-397-7463
PRIMESupport@gov.bc.ca

PRIME user guides", + TemplateName = "Enrollee Renewal Required", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2024, 3, 20, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 9, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Description = "The email will be triggered when SA uploads a business license and clicks 'Save and Continue'.", + EmailType = 9, + ModifiedDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Recipient = "To: Adjudicator", + Subject = "Site Business Licence Uploaded", + Template = "Hello,

A user has uploaded a business licence to their PharmaNet site registration. @if (!string.IsNullOrWhiteSpace(Model.Url)) { @(\"To access the Business Licence, click this\") link@(\".\") }

Please connect by phone or email if you have any questions.

Thank you,

PRIME Support team
1-844-397-7463
PRIMESupport@gov.bc.ca", + TemplateName = "Site Business Licence Upload", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2023, 10, 27, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 10, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Description = "The email will be triggered daily at 3pm in a batch process. The email will be sent to the enrollee, whose ToA has expired.", + EmailType = 10, + ModifiedDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Recipient = "To: Enrollee", + Subject = "Your PRIME Renewal Date Has Passed", + Template = "Hello @Model.EnrolleeName,

Your PRIME renewal is overdue.

If you still need access to PharmaNet to care for patients, renew your PRIME enrolment now by logging in to PRIME at @Model.PrimeUrl. Update your information as needed, submit, and then read and sign the terms of access. PRIME profiles must be renewed annually.

Add us to your email contacts to make sure our emails don't land in your spam folder.
Please connect by phone or email if you have any questions.

Thank you,

PRIME Support team
1-844-397-7463
PRIMESupport@gov.bc.ca", + TemplateName = "Forced Renewal Passed Notification", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2023, 10, 27, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 11, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Description = "(To be Deleted - Disabled) When Admin/Ajudicator approves a site.", + EmailType = 11, + ModifiedDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Recipient = "To: Site PharmaNet Admin", + Subject = "Site Registration Approved", + Template = "

Your site registration has been approved. The site will now be set up and activated in PharmaNet. Your PharmaNet software vendor will be notified when the site has been activated, and you will hear from them when you access PharmaNet.

Individuals who will be accessing PharmaNet at your site should enrol in PRIME now if they have not already done so. For more information, please visit https://www.gov.bc.ca/pharmanet/PRIME.

Private community practice only: Physicians or nurse practitioners must indicate in their PRIME profile that they require remote access if needed. They can do this here: https://pharmanetenrolment.gov.bc.ca.

Please connect by phone or email if you have any questions.

Thank you,

PRIME Support team
1-844-397-7463
PRIMESupport@gov.bc.ca", + TemplateName = "Site Approved Pharma Net Administrator", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2023, 10, 27, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 12, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Description = "(To be Deleted - Disabled) When Admin/Ajudicator approves a site.", + EmailType = 12, + ModifiedDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Recipient = "To: Signing Authority", + Subject = "Site Registration Approved", + Template = "

The site you registered in PRIME, @Model.DoingBusinessAs, has been approved by the Ministry of Health. Your SiteID is @Model.Pec.

Health Insurance BC has been notified of the site’s approval and will contact your software vendor. Your vendor will be notified of your site activation. As they complete any remaining setup for your site, they may reach out for additional information.

If you need to update any information in PRIME regarding your site, you may log in at any time using your BC Services Card App. If you have any questions or concerns, please phone 1-844-397-7463 or email PRIMESupport@gov.bc.ca.

Please connect by phone or email if you have any questions.

Thank you,

PRIME Support team
1-844-397-7463
PRIMESupport@gov.bc.ca", + TemplateName = "Site Approved Signing Authority", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2023, 10, 27, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 13, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Description = "The email will be triggered when a SA or AU submits a site. In the subject line, “{isNewPrefix}” will be replaced with “Priority! New Pharmacy” if the site is marked as a new pharmacy. Also, “{careSetting}” will be replaced with the site care setting, and “{siteId}” will be replaced with the internal site ID", + EmailType = 13, + ModifiedDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Recipient = "To: HLTH.HnetConnection@gov.bc.ca, cc: primesupport@gov.bc.ca", + Subject = "[{siteId}] {isNewPrefix} PRIME Site Registration Submission - {careSetting}", + Template = "Hello,

A new PharmaNet site registration has been received. See the attached registration and organization agreement for more information. @if (!string.IsNullOrWhiteSpace(Model.Url)) { @(\"To access the Business Licence, click this\") link@(\".\") }

Please connect by phone or email if you have any questions.

Thank you,

PRIME Support team
1-844-397-7463
PRIMESupport@gov.bc.ca", + TemplateName = "Site Registration Submission", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2023, 10, 27, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 14, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Description = "The email will be triggered when PRIME admin approves a organization claim.", + EmailType = 14, + ModifiedDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Recipient = "To: New SA", + Subject = "Organization Claim was Approved", + Template = "Hello,

Your claim of the organization @Model.OrganizationName, which the site with SiteID/PEC @Model.ProvidedSiteId is part of, has been approved. You may now access to site registration for this organization.

You must sign the Organization Agreement before you will be able to update or add any sites. This is a click-to-accept online signature that is linked to your BC Services Card identity. If you are not qualified to accept legal agreements on behalf of your organization, or if your organization does not allow you to sign online agreements, please contact PRIMESupport@gov.bc.ca for further guidance before you proceed further.

Thank you,

PRIME Support Team
1-844-397-7463
PRIMESupport@gov.bc.ca", + TemplateName = "Organization Claim Approval Notification", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2023, 10, 27, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 15, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Description = "The email will be triggered when an adjudicator sends a notification from the site overview page for Community Pharmacy or Device Provider site.", + EmailType = 15, + ModifiedDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Recipient = "To: Lori.Haggstrom@gov.bc.ca", + Subject = "PRIME Site Registration review complete", + Template = "Hello,

A PRIME Admin has reviewed the site registration for PEC/SiteID# @Model.Pec. @(!string.IsNullOrWhiteSpace(Model.Note) ? $\"The following notes were added: {Model.Note}\" : \"\")

Thank you,

PRIME Support team
1-844-397-7463
PRIMESupport@gov.bc.ca", + TemplateName = "Site Reviewed Notification", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2023, 10, 27, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 16, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Description = "(To be Deleted) The email will be triggered when a community site is approved and it is marked as 'Active Before Registration'.", + EmailType = 16, + ModifiedDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Recipient = "To: SA", + Subject = "PRIME Site Registration Submission", + Template = "Thank you for registering your site (SiteID: @Model.Pec) in PRIME. If you need to update any site information in PRIME, you may log in at any time using your BC Services Card app. Please connect by phone or email if you have any questions.

Thank you,

PRIME Support team
1-844-397-7463
PRIMESupport@gov.bc.ca", + TemplateName = "Site Active Before Registration Submission", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2023, 10, 27, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 17, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Description = "(To be Deleted) The email will be triggered when a paper enrolment is submitted.", + EmailType = 17, + ModifiedDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Recipient = "To: Enrollee", + Subject = "Paper Enrolment Submission", + Template = "Your request for PharmaNet access has been approved and recorded in PRIME. When it is possible for you to do so, you must enrol in PRIME using your BC Services Card app.

Your temporary GPID is @Model.GPID.

The first time you log in to PRIME, you should be asked if you have previously received permission to access PharmaNet via an offline process. If you do not see this prompt, please stop your enrolment and contact PRIMEsupport@gov.bc.ca

Thank you,

PRIME Support
1-844-397-7463
PRIMEsupport@gov.bc.ca", + TemplateName = "Paper Enrollee Submission", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2023, 10, 27, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 18, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Description = "(Disabled) The email will be triggered by a batch process, and the email will send to the enrollee, who has not signed the ToA.", + EmailType = 18, + ModifiedDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Recipient = "To: Enrollee", + Subject = "PharmaNet Terms of Access requires signing", + Template = "Dear @Model.EnrolleeName,

Please log in to PRIME and accept your PharmaNet terms of access to complete your enrolment.

You can access PRIME here @Model.PrimeUrl. If you are not directed to the terms of access, select \"Terms of Access\" from the menu on the lefthand side of the screen.

Please connect by phone or email if you have any questions.

Thank you,

PRIME Support team
1-844-397-7463
PRIMESupport@gov.bc.ca", + TemplateName = "Enrollee Unsigned Toa", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2023, 10, 27, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 19, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Description = "Enrollee send email notification for the absence entry/ period of deactivation.", + EmailType = 19, + ModifiedDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Recipient = "To: User entered email", + Subject = "PRIME Absence Notification", + Template = "Hello:

This is an automated generated email from PRIME.

@(Model.FirstName + \" \" + Model.LastName + \" is going to be absent \") @if (Model.End.HasValue) {@(\"from \" + Model.Start.ToShortDateString() + \" to \" + Model.End.Value.ToShortDateString() + \".  Please consider deactivating the user during this period. Any access during this period by the user will be considered as an unauthorized access.\")} else {@(\"indefinitely, starting \" + Model.Start.ToShortDateString() + \". Please deactivate the user on the start date. Any access during this period by the user will be considered as an unauthorized access.\")} Please connect by phone or email if you have any questions.

Thank you,

PRIME Support team
1-844-397-7463
PRIMESupport@gov.bc.ca", + TemplateName = "Enrollee Absence Notification", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2023, 10, 27, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 20, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Description = "The email will be triggered daily at 3pm in a batch process. The email will be sent to the enrollee, whose ToA expiry date is coming in 14, 7, 3, 2, 1, 0 days and it is marked as forced renewal.", + EmailType = 20, + ModifiedDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Recipient = "To: Enrollee", + Subject = "PRIME Renewal Required", + Template = "Hello @Model.EnrolleeName,

You are receiving this message as your PharmaNet user status has changed from on-behalf-of user to independent user following changes to legislation governing access to PharmaNet.

Being an independent PharmaNet user means you will now access PharmaNet as yourself instead of on behalf of another practitioner.

Log back in to PRIME by @Model.RenewalDate.ToString(\"d MMMM yyyy\") to confirm your profile information and review and accept the user terms of access for independent users. These will automatically be presented to you. This is a requirement for you to maintain access to PharmaNet, as the new terms of access are different from those you may have accepted earlier.

For information about PRIME, visit the PRIME web page. If you have questions or difficulties using PRIME, please contact us at the email address below.

Please connect by phone or email if you have any questions.

Thank you,

PRIME Support team
1-844-397-7463
PRIMESupport@gov.bc.ca", + TemplateName = "Forced Renewal Notification", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2023, 10, 27, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 21, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Description = "The email will be triggered daily at 3pm in a batch process. The email will be sent to the enrollee, whose ToA has expired and it is marked as forced renewal.", + EmailType = 21, + ModifiedDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Recipient = "To: Enrollee", + Subject = "Your PRIME Renewal Date Has Passed", + Template = "Hello @Model.EnrolleeName,

This is your last day to log back in to PRIME to confirm your profile information and review and accept the new user terms of access for independent users. These will automatically be presented to you. This is a requirement for you to maintain access to PharmaNet.

You are receiving this message as your PharmaNet user status has changed from on-behalf-of user to independent user following changes to legislation governing access to PharmaNet.

Being an independent user of PharmaNet means you will now access PharmaNet as yourself instead of on behalf of another practitioner.

For information about PRIME, visit the PRIME web page. Please connect by phone or email if you have any questions.

Thank you,

PRIME Support team
1-844-397-7463
PRIMESupport@gov.bc.ca", + TemplateName = "Enrollee Renewal Passed", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2023, 10, 27, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 22, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Description = "Enrollee send out the Provisioner Link Email and access instructions.", + EmailType = 22, + ModifiedDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Recipient = "To: Provisioner, CC: Enrollee", + Subject = "New Access Request", + Template = "Hello:

@Model.EnrolleeFullName has been approved for device provider access to PharmaNet. Their PharmaNet access account can now be set up in your local software. You must include their Global PharmaNet ID (GPID) on their account profile. You can access their GPID at the link below.

@Model.TokenUrl
This link will expire after @Model.ExpiresInDays days.

Please connect by phone or email if you have any questions.

Thank you,

PRIME Support team
1-844-397-7463
PRIMESupport@gov.bc.ca", + TemplateName = "Device Provider Notification", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2023, 10, 27, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 23, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Description = "The email will be triggered when a HA site is approved.", + EmailType = 23, + ModifiedDate = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + Recipient = "To: HLTH.HnetConnection@gov.bc.ca", + Subject = "[{siteId}] HA Site Registration Approved", + Template = "Hello,

@Model.DoingBusinessAs (@Model.HealthAuthority) with SiteID @Model.Pec has been approved by the Ministry of Health for PharmaNet access. Please notify the PharmaNet software vendor (@Model.Vendor) for this site and complete any remaining tasks to activate the site.

Please connect by phone or email if you have any questions.

Thank you,

PRIME Support team
1-844-397-7463
PRIMESupport@gov.bc.ca", + TemplateName = "HA Site Approval", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2023, 10, 27, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }); + }); + + modelBuilder.Entity("Prime.Models.Enrollee", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("AdjudicatorId") + .HasColumnType("integer"); + + b.Property("AlwaysManual") + .HasColumnType("boolean"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("DateOfBirth") + .HasColumnType("timestamp without time zone"); + + b.Property("DeviceProviderIdentifier") + .HasColumnType("text"); + + b.Property("Email") + .HasColumnType("text"); + + b.Property("FirstName") + .HasColumnType("text"); + + b.Property("GPID") + .HasMaxLength(20) + .HasColumnType("character varying(20)"); + + b.Property("GivenNames") + .HasColumnType("text"); + + b.Property("HPDID") + .HasMaxLength(255) + .HasColumnType("character varying(255)"); + + b.Property("IdentityAssuranceLevel") + .HasColumnType("integer"); + + b.Property("IdentityProvider") + .HasColumnType("text"); + + b.Property("LastName") + .IsRequired() + .HasColumnType("text"); + + b.Property("Phone") + .HasColumnType("text"); + + b.Property("PhoneExtension") + .HasColumnType("text"); + + b.Property("PreferredFirstName") + .HasColumnType("text"); + + b.Property("PreferredLastName") + .HasColumnType("text"); + + b.Property("PreferredMiddleName") + .HasColumnType("text"); + + b.Property("ProfileCompleted") + .HasColumnType("boolean"); + + b.Property("SelfDeclarationCompletedDate") + .HasColumnType("timestamp with time zone"); + + b.Property("SmsPhone") + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.Property("UserId") + .HasColumnType("uuid"); + + b.Property("Username") + .HasColumnType("text"); + + b.HasKey("Id"); + + b.HasIndex("AdjudicatorId"); + + b.HasIndex("GPID") + .IsUnique(); + + b.HasIndex("HPDID") + .IsUnique(); + + b.HasIndex("UserId") + .IsUnique(); + + b.HasIndex("Username") + .IsUnique(); + + b.ToTable("Enrollee"); + }); + + modelBuilder.Entity("Prime.Models.EnrolleeAbsence", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EndTimestamp") + .HasColumnType("timestamp without time zone"); + + b.Property("EnrolleeId") + .HasColumnType("integer"); + + b.Property("StartTimestamp") + .HasColumnType("timestamp without time zone"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("EnrolleeId"); + + b.ToTable("EnrolleeAbsence"); + }); + + modelBuilder.Entity("Prime.Models.EnrolleeAddress", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("AddressId") + .HasColumnType("integer"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EnrolleeId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("AddressId"); + + b.HasIndex("EnrolleeId", "AddressId") + .IsUnique(); + + b.ToTable("EnrolleeAddress"); + }); + + modelBuilder.Entity("Prime.Models.EnrolleeAdjudicationDocument", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("AdjudicatorId") + .HasColumnType("integer"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("DocumentGuid") + .HasColumnType("uuid"); + + b.Property("DocumentType") + .HasColumnType("integer"); + + b.Property("EnrolleeId") + .HasColumnType("integer"); + + b.Property("Filename") + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.Property("UploadedDate") + .HasColumnType("timestamp with time zone"); + + b.HasKey("Id"); + + b.HasIndex("AdjudicatorId"); + + b.HasIndex("EnrolleeId"); + + b.ToTable("EnrolleeAdjudicationDocument"); + }); + + modelBuilder.Entity("Prime.Models.EnrolleeCareSetting", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CareSettingCode") + .HasColumnType("integer"); + + b.Property("ConsentForAutoPull") + .HasColumnType("boolean"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EnrolleeId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("CareSettingCode"); + + b.HasIndex("EnrolleeId"); + + b.ToTable("EnrolleeCareSetting"); + }); + + modelBuilder.Entity("Prime.Models.EnrolleeDeviceProvider", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CertificationNumber") + .HasColumnType("text"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("DeviceProviderId") + .HasColumnType("text"); + + b.Property("DeviceProviderRoleCode") + .HasColumnType("integer"); + + b.Property("EnrolleeId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("DeviceProviderRoleCode"); + + b.HasIndex("EnrolleeId"); + + b.ToTable("EnrolleeDeviceProvider"); + }); + + modelBuilder.Entity("Prime.Models.EnrolleeHealthAuthority", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("ConsentForAutoPull") + .HasColumnType("boolean"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EnrolleeId") + .HasColumnType("integer"); + + b.Property("HealthAuthorityCode") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("EnrolleeId"); + + b.HasIndex("HealthAuthorityCode"); + + b.ToTable("EnrolleeHealthAuthority"); + }); + + modelBuilder.Entity("Prime.Models.EnrolleeLinkedEnrolment", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EnrolleeId") + .HasColumnType("integer"); + + b.Property("EnrolmentLinkDate") + .HasColumnType("timestamp without time zone"); + + b.Property("PaperEnrolleeId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.Property("UserProvidedGpid") + .HasColumnType("text"); + + b.HasKey("Id"); + + b.HasIndex("EnrolleeId") + .IsUnique(); + + b.HasIndex("PaperEnrolleeId") + .IsUnique(); + + b.ToTable("EnrolleeLinkedEnrolment"); + }); + + modelBuilder.Entity("Prime.Models.EnrolleeNote", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("AdjudicatorId") + .HasColumnType("integer"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EnrolleeId") + .HasColumnType("integer"); + + b.Property("Note") + .IsRequired() + .HasColumnType("text"); + + b.Property("NoteDate") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("AdjudicatorId"); + + b.HasIndex("EnrolleeId"); + + b.ToTable("EnrolleeNote"); + }); + + modelBuilder.Entity("Prime.Models.EnrolleeNotification", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("AdminId") + .HasColumnType("integer"); + + b.Property("AssigneeId") + .HasColumnType("integer"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EnrolleeNoteId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("AdminId"); + + b.HasIndex("AssigneeId"); + + b.HasIndex("EnrolleeNoteId") + .IsUnique(); + + b.ToTable("EnrolleeNotification"); + }); + + modelBuilder.Entity("Prime.Models.EnrolleeRemoteUser", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EnrolleeId") + .HasColumnType("integer"); + + b.Property("RemoteUserId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("EnrolleeId"); + + b.HasIndex("RemoteUserId"); + + b.ToTable("EnrolleeRemoteUser"); + }); + + modelBuilder.Entity("Prime.Models.EnrolmentCertificateAccessToken", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uuid"); + + b.Property("Active") + .HasColumnType("boolean"); + + b.Property("CareSettingCode") + .HasColumnType("integer"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EnrolleeId") + .HasColumnType("integer"); + + b.Property("Expires") + .HasColumnType("timestamp with time zone"); + + b.Property("HealthAuthorityCode") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.Property("ViewCount") + .HasColumnType("integer"); + + b.HasKey("Id"); + + b.HasIndex("EnrolleeId"); + + b.ToTable("EnrolmentCertificateAccessToken"); + }); + + modelBuilder.Entity("Prime.Models.EnrolmentStatus", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EnrolleeId") + .HasColumnType("integer"); + + b.Property("StatusCode") + .HasColumnType("integer"); + + b.Property("StatusDate") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("EnrolleeId"); + + b.HasIndex("StatusCode"); + + b.ToTable("EnrolmentStatus"); + }); + + modelBuilder.Entity("Prime.Models.EnrolmentStatusReason", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EnrolmentStatusId") + .HasColumnType("integer"); + + b.Property("ReasonNote") + .HasColumnType("text"); + + b.Property("StatusReasonCode") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("EnrolmentStatusId"); + + b.HasIndex("StatusReasonCode"); + + b.ToTable("EnrolmentStatusReason"); + }); + + modelBuilder.Entity("Prime.Models.EnrolmentStatusReference", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("AdjudicatorNoteId") + .HasColumnType("integer"); + + b.Property("AdminId") + .HasColumnType("integer"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EnrolmentStatusId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("AdjudicatorNoteId") + .IsUnique(); + + b.HasIndex("AdminId"); + + b.HasIndex("EnrolmentStatusId") + .IsUnique(); + + b.ToTable("EnrolmentStatusReference"); + }); + + modelBuilder.Entity("Prime.Models.Facility", b => + { + b.Property("Code") + .HasColumnType("integer"); + + b.Property("Name") + .IsRequired() + .HasColumnType("text"); + + b.HasKey("Code"); + + b.ToTable("FacilityLookup"); + + b.HasData( + new + { + Code = 1, + Name = "Acute/ambulatory care" + }, + new + { + Code = 2, + Name = "Long-term care" + }, + new + { + Code = 3, + Name = "In-patient pharmacy" + }, + new + { + Code = 4, + Name = "Out-patient pharmacy" + }, + new + { + Code = 5, + Name = "Outpatient or community-based clinic" + }); + }); + + modelBuilder.Entity("Prime.Models.GisEnrolment", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("LdapLoginSuccessDate") + .HasColumnType("timestamp with time zone"); + + b.Property("LdapUsername") + .HasColumnType("text"); + + b.Property("PartyId") + .HasColumnType("integer"); + + b.Property("SubmittedDate") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("PartyId"); + + b.ToTable("GisEnrolment"); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthorities.CareType", b => + { + b.Property("Code") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Code")); + + b.Property("Name") + .HasColumnType("text"); + + b.HasKey("Code"); + + b.ToTable("CareTypeLookup"); + + b.HasData( + new + { + Code = 1, + Name = "Ambulatory Care" + }, + new + { + Code = 2, + Name = "Acute Care" + }); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthorities.HealthAuthorityCareType", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CareType") + .IsRequired() + .HasColumnType("text"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("HealthAuthorityOrganizationId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("HealthAuthorityOrganizationId"); + + b.ToTable("HealthAuthorityCareType"); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthorities.HealthAuthorityCareTypeToVendor", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("HealthAuthorityCareTypeId") + .HasColumnType("integer"); + + b.Property("HealthAuthorityVendorId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("HealthAuthorityCareTypeId"); + + b.HasIndex("HealthAuthorityVendorId"); + + b.ToTable("HealthAuthorityCareTypeToVendor"); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthorities.HealthAuthorityContact", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("ContactId") + .HasColumnType("integer"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("Discriminator") + .IsRequired() + .HasMaxLength(55) + .HasColumnType("character varying(55)"); + + b.Property("HealthAuthorityOrganizationId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("ContactId"); + + b.ToTable("HealthAuthorityContact"); + + b.HasDiscriminator("Discriminator").HasValue("HealthAuthorityContact"); + + b.UseTphMappingStrategy(); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthorities.HealthAuthorityOrganization", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("HealthAuthorityOrganizationAgreementDocumentId") + .HasColumnType("integer"); + + b.Property("Name") + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("HealthAuthorityOrganizationAgreementDocumentId"); + + b.ToTable("HealthAuthorityOrganization"); + + b.HasData( + new + { + Id = 1, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Name = "Northern Health", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 2, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Name = "Interior Health", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 3, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Name = "Vancouver Coastal Health", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 4, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Name = "Island Health", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 5, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Name = "Fraser Health", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 6, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Name = "Provincial Health Services Authority", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthorities.HealthAuthorityTechnicalSupportVendor", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("HealthAuthorityTechnicalSupportId") + .HasColumnType("integer"); + + b.Property("HealthAuthorityVendorId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("HealthAuthorityTechnicalSupportId"); + + b.HasIndex("HealthAuthorityVendorId"); + + b.ToTable("HealthAuthorityTechnicalSupportVendor"); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthorities.HealthAuthorityVendor", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("HealthAuthorityOrganizationId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.Property("VendorCode") + .HasColumnType("integer"); + + b.HasKey("Id"); + + b.HasIndex("HealthAuthorityOrganizationId"); + + b.HasIndex("VendorCode"); + + b.ToTable("HealthAuthorityVendor"); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthorities.PrivacyOffice", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("Email") + .HasColumnType("text"); + + b.Property("HealthAuthorityOrganizationId") + .HasColumnType("integer"); + + b.Property("Phone") + .HasColumnType("text"); + + b.Property("PhysicalAddressId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("HealthAuthorityOrganizationId") + .IsUnique(); + + b.HasIndex("PhysicalAddressId"); + + b.ToTable("PrivacyOffice"); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthorities.SecurityGroup", b => + { + b.Property("Code") + .HasColumnType("integer"); + + b.Property("Name") + .IsRequired() + .HasColumnType("text"); + + b.HasKey("Code"); + + b.ToTable("SecurityGroupLookup"); + + b.HasData( + new + { + Code = 1, + Name = "EMRMD (EMR - Community-based Clinics)" + }, + new + { + Code = 2, + Name = "HAD (Hospital Admitting)" + }, + new + { + Code = 3, + Name = "HAI (HA Viewer)" + }, + new + { + Code = 4, + Name = "HAP (Hospital Access)" + }, + new + { + Code = 5, + Name = "HNF (Emergency Department Access (EDAP))" + }, + new + { + Code = 6, + Name = "IP (In-patient Pharmacies - Hospital)" + }, + new + { + Code = 7, + Name = "MD (COMPAP)" + }, + new + { + Code = 8, + Name = "OP (Hospital Outpatient Pharmacy)" + }, + new + { + Code = 9, + Name = "VHA (Cerner Integration Site)" + }); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthority", b => + { + b.Property("Code") + .HasColumnType("integer"); + + b.Property("Name") + .IsRequired() + .HasColumnType("text"); + + b.Property("Passcode") + .HasColumnType("text"); + + b.HasKey("Code"); + + b.ToTable("HealthAuthorityLookup"); + + b.HasData( + new + { + Code = 1, + Name = "Northern Health", + Passcode = "HA@PRIME" + }, + new + { + Code = 2, + Name = "Interior Health", + Passcode = "HA@PRIME" + }, + new + { + Code = 3, + Name = "Vancouver Coastal Health", + Passcode = "HA@PRIME" + }, + new + { + Code = 4, + Name = "Island Health", + Passcode = "HA@PRIME" + }, + new + { + Code = 5, + Name = "Fraser Health", + Passcode = "HA@PRIME" + }, + new + { + Code = 6, + Name = "Provincial Health Services Authority", + Passcode = "HA@PRIME" + }); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthorityOrganizationAgreementDocument", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("DocumentGuid") + .HasColumnType("uuid"); + + b.Property("Filename") + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.Property("UploadedDate") + .HasColumnType("timestamp with time zone"); + + b.HasKey("Id"); + + b.ToTable("HealthAuthorityOrganizationAgreementDocument"); + }); + + modelBuilder.Entity("Prime.Models.IdentificationDocument", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("DocumentGuid") + .HasColumnType("uuid"); + + b.Property("EnrolleeId") + .HasColumnType("integer"); + + b.Property("Filename") + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.Property("UploadedDate") + .HasColumnType("timestamp with time zone"); + + b.HasKey("Id"); + + b.HasIndex("EnrolleeId"); + + b.ToTable("IdentificationDocument"); + }); + + modelBuilder.Entity("Prime.Models.IdentifierType", b => + { + b.Property("Code") + .HasColumnType("text"); + + b.Property("Name") + .IsRequired() + .HasColumnType("text"); + + b.HasKey("Code"); + + b.ToTable("IdentifierTypeLookup"); + + b.HasData( + new + { + Code = "2.16.840.1.113883.3.40.2.19", + Name = "RNID" + }, + new + { + Code = "2.16.840.1.113883.3.40.2.20", + Name = "RNPID" + }, + new + { + Code = "2.16.840.1.113883.4.608", + Name = "RPNRC" + }, + new + { + Code = "2.16.840.1.113883.3.40.2.14", + Name = "PHID" + }, + new + { + Code = "2.16.840.1.113883.4.454", + Name = "RACID" + }, + new + { + Code = "2.16.840.1.113883.3.40.2.18", + Name = "RMID" + }, + new + { + Code = "2.16.840.1.113883.3.40.2.10", + Name = "LPNID" + }, + new + { + Code = "2.16.840.1.113883.3.40.2.4", + Name = "CPSID" + }, + new + { + Code = "2.16.840.1.113883.4.429", + Name = "OPTID" + }, + new + { + Code = "2.16.840.1.113883.3.40.2.6", + Name = "DENID" + }, + new + { + Code = "2.16.840.1.113883.4.363", + Name = "CCID" + }, + new + { + Code = "2.16.840.1.113883.4.364", + Name = "OTID" + }, + new + { + Code = "2.16.840.1.113883.4.362", + Name = "PSYCHID" + }, + new + { + Code = "2.16.840.1.113883.4.361", + Name = "SWID" + }, + new + { + Code = "2.16.840.1.113883.4.422", + Name = "CHIROID" + }, + new + { + Code = "2.16.840.1.113883.4.414", + Name = "PHYSIOID" + }, + new + { + Code = "2.16.840.1.113883.4.433", + Name = "RMTID" + }, + new + { + Code = "2.16.840.1.113883.4.439", + Name = "KNID" + }, + new + { + Code = "2.16.840.1.113883.4.401", + Name = "PHTID" + }, + new + { + Code = "2.16.840.1.113883.4.477", + Name = "COUNID" + }, + new + { + Code = "2.16.840.1.113883.4.452", + Name = "MFTID" + }, + new + { + Code = "2.16.840.1.113883.4.530", + Name = "RDID" + }, + new + { + Code = "2.16.840.1.113883.3.40.2.46", + Name = "MOAID" + }, + new + { + Code = "2.16.840.1.113883.3.40.2.44", + Name = "PPID" + }, + new + { + Code = "2.16.840.1.113883.4.538", + Name = "NDID" + }); + }); + + modelBuilder.Entity("Prime.Models.IndividualDeviceProvider", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CommunitySiteId") + .HasColumnType("integer"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("DateOfBirth") + .HasColumnType("timestamp without time zone"); + + b.Property("Email") + .IsRequired() + .HasColumnType("text"); + + b.Property("FirstName") + .IsRequired() + .HasColumnType("text"); + + b.Property("LastName") + .IsRequired() + .HasColumnType("text"); + + b.Property("MiddleName") + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("CommunitySiteId"); + + b.ToTable("IndividualDeviceProvider"); + }); + + modelBuilder.Entity("Prime.Models.JobName", b => + { + b.Property("Code") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Code")); + + b.Property("Name") + .IsRequired() + .HasColumnType("text"); + + b.HasKey("Code"); + + b.ToTable("JobNameLookup"); + + b.HasData( + new + { + Code = 1, + Name = "Medical office assistant" + }, + new + { + Code = 2, + Name = "Pharmacy assistant" + }, + new + { + Code = 3, + Name = "Registration clerk" + }, + new + { + Code = 4, + Name = "Ward clerk" + }, + new + { + Code = 5, + Name = "Nursing unit assistant" + }); + }); + + modelBuilder.Entity("Prime.Models.License", b => + { + b.Property("Code") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Code")); + + b.Property("Name") + .IsRequired() + .HasColumnType("text"); + + b.Property("Weight") + .HasColumnType("integer"); + + b.HasKey("Code"); + + b.ToTable("LicenseLookup"); + + b.HasData( + new + { + Code = 1, + Name = "Full - Family", + Weight = 1 + }, + new + { + Code = 2, + Name = "Full - Specialty", + Weight = 2 + }, + new + { + Code = 5, + Name = "Provisional - Family", + Weight = 3 + }, + new + { + Code = 6, + Name = "Provisional - Specialty", + Weight = 4 + }, + new + { + Code = 9, + Name = "Conditional - Practice Setting", + Weight = 5 + }, + new + { + Code = 8, + Name = "Conditional - Practice Limitations", + Weight = 6 + }, + new + { + Code = 10, + Name = "Conditional - Disciplined", + Weight = 7 + }, + new + { + Code = 22, + Name = "Surgical Assistant", + Weight = 8 + }, + new + { + Code = 16, + Name = "Clinical Observership", + Weight = 9 + }, + new + { + Code = 7, + Name = "Academic", + Weight = 10 + }, + new + { + Code = 4, + Name = "Osteopathic", + Weight = 11 + }, + new + { + Code = 3, + Name = "Special", + Weight = 12 + }, + new + { + Code = 17, + Name = "Visitor", + Weight = 13 + }, + new + { + Code = 12, + Name = "Educational - Postgraduate Resident", + Weight = 14 + }, + new + { + Code = 13, + Name = "Educational - Postgraduate Resident Elective", + Weight = 15 + }, + new + { + Code = 14, + Name = "Educational - Postgraduate Fellow", + Weight = 16 + }, + new + { + Code = 15, + Name = "Educational - Postgraduate Trainee", + Weight = 17 + }, + new + { + Code = 11, + Name = "Educational - Medical Student", + Weight = 18 + }, + new + { + Code = 23, + Name = "Administrative", + Weight = 19 + }, + new + { + Code = 20, + Name = "Retired - Life", + Weight = 20 + }, + new + { + Code = 90, + Name = "Assessment - Family", + Weight = 21 + }, + new + { + Code = 91, + Name = "Assessment - Specialty", + Weight = 22 + }, + new + { + Code = 24, + Name = "Assessment", + Weight = 23 + }, + new + { + Code = 18, + Name = "Emergency - Family", + Weight = 24 + }, + new + { + Code = 19, + Name = "Emergency - Specialty", + Weight = 25 + }, + new + { + Code = 21, + Name = "Temporarily Inactive", + Weight = 26 + }, + new + { + Code = 87, + Name = "Associate - Acute Care", + Weight = 27 + }, + new + { + Code = 88, + Name = "Associate - Community Primary Care", + Weight = 28 + }, + new + { + Code = 89, + Name = "USA Certified", + Weight = 29 + }, + new + { + Code = 92, + Name = "Certified Physician Assistant", + Weight = 30 + }, + new + { + Code = 59, + Name = "Full - Podiatric Surgeon", + Weight = 31 + }, + new + { + Code = 65, + Name = "Educational - Podiatric Surgeon Student (Elective)", + Weight = 32 + }, + new + { + Code = 66, + Name = "Educational - Podiatric Surgeon Resident (Elective)", + Weight = 33 + }, + new + { + Code = 67, + Name = "Conditional - Podiatric Surgeon Disciplined", + Weight = 34 + }, + new + { + Code = 25, + Name = "Full Pharmacist", + Weight = 1 + }, + new + { + Code = 26, + Name = "Limited Pharmacist", + Weight = 2 + }, + new + { + Code = 28, + Name = "Student Pharmacist", + Weight = 3 + }, + new + { + Code = 27, + Name = "Temporary Pharmacist", + Weight = 4 + }, + new + { + Code = 30, + Name = "Non-Practicing Pharmacist", + Weight = 5 + }, + new + { + Code = 29, + Name = "Pharmacy Technician", + Weight = 6 + }, + new + { + Code = 31, + Name = "Non-Practicing Pharmacy Technician", + Weight = 7 + }, + new + { + Code = 68, + Name = "Temporary Pharmacy Technician", + Weight = 8 + }, + new + { + Code = 47, + Name = "Practicing Nurse Practitioner", + Weight = 1 + }, + new + { + Code = 48, + Name = "Provisional Nurse Practitioner", + Weight = 2 + }, + new + { + Code = 51, + Name = "Temporary Nurse Practitioner (Emergency)", + Weight = 4 + }, + new + { + Code = 49, + Name = "Non-Practicing Nurse Practitioner", + Weight = 5 + }, + new + { + Code = 32, + Name = "Practicing Registered Nurse", + Weight = 11 + }, + new + { + Code = 33, + Name = "Provisional Registered Nurse", + Weight = 12 + }, + new + { + Code = 39, + Name = "Temporary Registered Nurse (Emergency)", + Weight = 13 + }, + new + { + Code = 175, + Name = "RN – Multijurisdictional", + Weight = 14 + }, + new + { + Code = 34, + Name = "Non-Practicing Registered Nurse", + Weight = 15 + }, + new + { + Code = 40, + Name = "Employed Student Nurse", + Weight = 16 + }, + new + { + Code = 35, + Name = "Practicing Licensed Graduate Nurse", + Weight = 17 + }, + new + { + Code = 36, + Name = "Provisional Licensed Graduate Nurse", + Weight = 18 + }, + new + { + Code = 37, + Name = "Non-Practicing Licensed Graduate Nurse", + Weight = 19 + }, + new + { + Code = 41, + Name = "Practicing Registered Psychiatric Nurse", + Weight = 21 + }, + new + { + Code = 42, + Name = "Provisional Registered Psychiatric Nurse", + Weight = 22 + }, + new + { + Code = 45, + Name = "Temporary Registered Psychiatric Nurse (Emergency)", + Weight = 23 + }, + new + { + Code = 176, + Name = "RPN – Multijurisdictional", + Weight = 24 + }, + new + { + Code = 43, + Name = "Non-Practicing Registered Psychiatric Nurse", + Weight = 25 + }, + new + { + Code = 46, + Name = "Employed Student Psychiatric Nurse", + Weight = 26 + }, + new + { + Code = 52, + Name = "Practicing Licensed Practical Nurse", + Weight = 31 + }, + new + { + Code = 53, + Name = "Provisional Licensed Practical Nurse", + Weight = 32 + }, + new + { + Code = 55, + Name = "Temporary Licensed Practical Nurse (Emergency)", + Weight = 33 + }, + new + { + Code = 177, + Name = "LPN – Multijurisdictional", + Weight = 34 + }, + new + { + Code = 54, + Name = "Non-Practicing Licensed Practical Nurse", + Weight = 35 + }, + new + { + Code = 60, + Name = "Practising Midwife", + Weight = 41 + }, + new + { + Code = 61, + Name = "Provisional Midwife", + Weight = 42 + }, + new + { + Code = 62, + Name = "Temporary Midwife (Emergency)", + Weight = 43 + }, + new + { + Code = 63, + Name = "Non-Practising Midwife", + Weight = 44 + }, + new + { + Code = 69, + Name = "Student Midwife", + Weight = 45 + }, + new + { + Code = 70, + Name = "Full Registrations", + Weight = 1 + }, + new + { + Code = 75, + Name = "Restricted to Specialty", + Weight = 2 + }, + new + { + Code = 76, + Name = "Academic", + Weight = 3 + }, + new + { + Code = 77, + Name = "Academic (Grand-parented)", + Weight = 4 + }, + new + { + Code = 78, + Name = "Full", + Weight = 1 + }, + new + { + Code = 79, + Name = "Non-practicing", + Weight = 2 + }, + new + { + Code = 80, + Name = "Temporary", + Weight = 3 + }, + new + { + Code = 81, + Name = "Student", + Weight = 4 + }, + new + { + Code = 71, + Name = "Therapeutic Optometrist", + Weight = 1 + }, + new + { + Code = 72, + Name = "Non-Therapeutic Optometrist", + Weight = 2 + }, + new + { + Code = 73, + Name = "Non-Practicing Optometrist", + Weight = 3 + }, + new + { + Code = 74, + Name = "Limited Optometrist", + Weight = 4 + }, + new + { + Code = 82, + Name = "Full registration", + Weight = 1 + }, + new + { + Code = 83, + Name = "Clinical registration", + Weight = 2 + }, + new + { + Code = 84, + Name = "Provisional registration", + Weight = 3 + }, + new + { + Code = 85, + Name = "Non-practicing registration", + Weight = 4 + }, + new + { + Code = 86, + Name = "Temporary registration", + Weight = 4 + }, + new + { + Code = 93, + Name = "Full Certified Dental Assisant", + Weight = 120 + }, + new + { + Code = 94, + Name = "Limited Certified Dental Assistant", + Weight = 121 + }, + new + { + Code = 95, + Name = "Non-Practising Certified Dental Assistant", + Weight = 123 + }, + new + { + Code = 96, + Name = "Temporary Certified Dental Assistant", + Weight = 124 + }, + new + { + Code = 97, + Name = "Registered Dental Hygienist", + Weight = 131 + }, + new + { + Code = 98, + Name = "Dental Hygiene Practitioner", + Weight = 132 + }, + new + { + Code = 99, + Name = "Non-Practising Dental Hygienist", + Weight = 133 + }, + new + { + Code = 100, + Name = "Temporary Dental Hygienist", + Weight = 134 + }, + new + { + Code = 101, + Name = "Dental Technician", + Weight = 141 + }, + new + { + Code = 102, + Name = "Student Dental Technician", + Weight = 142 + }, + new + { + Code = 103, + Name = "Non-Practising Dental Technician", + Weight = 143 + }, + new + { + Code = 104, + Name = "Temporary Dental Technician", + Weight = 144 + }, + new + { + Code = 105, + Name = "Dental Therapist", + Weight = 110 + }, + new + { + Code = 106, + Name = "Full Dentist", + Weight = 100 + }, + new + { + Code = 107, + Name = "Limited (Academic) Dentist", + Weight = 102 + }, + new + { + Code = 108, + Name = "Limited (Armed Services or Government) Dentist", + Weight = 103 + }, + new + { + Code = 109, + Name = "Limited (Education & Volunteer) Dentist", + Weight = 104 + }, + new + { + Code = 110, + Name = "Limited (Restricted-to-Specialty) Dentist", + Weight = 105 + }, + new + { + Code = 111, + Name = "Student Dentist", + Weight = 106 + }, + new + { + Code = 112, + Name = "Non-Practising Dentist", + Weight = 107 + }, + new + { + Code = 113, + Name = "Temporary Dentist", + Weight = 108 + }, + new + { + Code = 114, + Name = "Full Denturist", + Weight = 151 + }, + new + { + Code = 115, + Name = "Limited Denturist", + Weight = 152 + }, + new + { + Code = 116, + Name = "Limited (Grandfathered) Denturist", + Weight = 153 + }, + new + { + Code = 117, + Name = "Student Denturist", + Weight = 154 + }, + new + { + Code = 118, + Name = "Non-Practising Denturist", + Weight = 155 + }, + new + { + Code = 119, + Name = "Temporary Denturist", + Weight = 156 + }, + new + { + Code = 120, + Name = "Full", + Weight = 10 + }, + new + { + Code = 121, + Name = "Emergency", + Weight = 20 + }, + new + { + Code = 122, + Name = "Temporary", + Weight = 30 + }, + new + { + Code = 123, + Name = "Non-Practising", + Weight = 40 + }, + new + { + Code = 124, + Name = "Full", + Weight = 10 + }, + new + { + Code = 125, + Name = "Provisional", + Weight = 20 + }, + new + { + Code = 126, + Name = "Temporary", + Weight = 30 + }, + new + { + Code = 127, + Name = "Non-Practising", + Weight = 40 + }, + new + { + Code = 128, + Name = "Registered Optician", + Weight = 10 + }, + new + { + Code = 129, + Name = "Registered Contact Lens Fitter", + Weight = 20 + }, + new + { + Code = 130, + Name = "Temporary", + Weight = 30 + }, + new + { + Code = 131, + Name = "Non-Practising", + Weight = 40 + }, + new + { + Code = 132, + Name = "Therapeutic Qualified", + Weight = 10 + }, + new + { + Code = 133, + Name = "Non-Therapeutic Qualified", + Weight = 20 + }, + new + { + Code = 134, + Name = "Limited", + Weight = 30 + }, + new + { + Code = 135, + Name = "Academic", + Weight = 40 + }, + new + { + Code = 136, + Name = "Non-Practising", + Weight = 50 + }, + new + { + Code = 137, + Name = "Full", + Weight = 10 + }, + new + { + Code = 138, + Name = "Student", + Weight = 20 + }, + new + { + Code = 139, + Name = "Temporary", + Weight = 30 + }, + new + { + Code = 140, + Name = "Registered Psychologist", + Weight = 10 + }, + new + { + Code = 141, + Name = "Associate Psychologist (corrections)", + Weight = 20 + }, + new + { + Code = 142, + Name = "School Psychologist", + Weight = 30 + }, + new + { + Code = 143, + Name = "Psychology Assistant", + Weight = 40 + }, + new + { + Code = 144, + Name = "Temporary (supervised)", + Weight = 50 + }, + new + { + Code = 145, + Name = "Temporary (visitor)", + Weight = 60 + }, + new + { + Code = 146, + Name = "Temporary (emergency)", + Weight = 70 + }, + new + { + Code = 147, + Name = "Non-Practising", + Weight = 80 + }, + new + { + Code = 148, + Name = "Full", + Weight = 10 + }, + new + { + Code = 149, + Name = "Conditional", + Weight = 20 + }, + new + { + Code = 150, + Name = "Temporary", + Weight = 30 + }, + new + { + Code = 151, + Name = "Non-Practising", + Weight = 40 + }, + new + { + Code = 152, + Name = "Full", + Weight = 10 + }, + new + { + Code = 153, + Name = "Conditional", + Weight = 20 + }, + new + { + Code = 154, + Name = "Temporary", + Weight = 30 + }, + new + { + Code = 155, + Name = "Non-Practising", + Weight = 40 + }, + new + { + Code = 156, + Name = "Full", + Weight = 10 + }, + new + { + Code = 157, + Name = "Conditional", + Weight = 20 + }, + new + { + Code = 158, + Name = "Temporary", + Weight = 30 + }, + new + { + Code = 159, + Name = "Non-Practising", + Weight = 40 + }, + new + { + Code = 160, + Name = "Full", + Weight = 10 + }, + new + { + Code = 161, + Name = "Student", + Weight = 10 + }, + new + { + Code = 162, + Name = "Non-Practising", + Weight = 10 + }, + new + { + Code = 163, + Name = "Temporary", + Weight = 10 + }, + new + { + Code = 164, + Name = "Practising", + Weight = 10 + }, + new + { + Code = 165, + Name = "Non-Practising", + Weight = 10 + }, + new + { + Code = 166, + Name = "Full", + Weight = 10 + }, + new + { + Code = 167, + Name = "Temporary", + Weight = 10 + }, + new + { + Code = 168, + Name = "Student", + Weight = 10 + }, + new + { + Code = 169, + Name = "Non-Practising", + Weight = 10 + }, + new + { + Code = 170, + Name = "Full", + Weight = 10 + }, + new + { + Code = 171, + Name = "Limited", + Weight = 10 + }, + new + { + Code = 172, + Name = "Temporary", + Weight = 10 + }, + new + { + Code = 173, + Name = "Student", + Weight = 10 + }, + new + { + Code = 174, + Name = "Non-Practising", + Weight = 10 + }, + new + { + Code = 64, + Name = "Not Displayed", + Weight = 1 + }); + }); + + modelBuilder.Entity("Prime.Models.LicenseDetail", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("AllowRequestRemoteAccess") + .HasColumnType("boolean"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EffectiveDate") + .HasColumnType("timestamp without time zone"); + + b.Property("LicenseCode") + .HasColumnType("integer"); + + b.Property("LicensedToProvideCare") + .HasColumnType("boolean"); + + b.Property("Manual") + .HasColumnType("boolean"); + + b.Property("NamedInImReg") + .HasColumnType("boolean"); + + b.Property("NonPrescribingPrefix") + .HasColumnType("text"); + + b.Property("Prefix") + .HasColumnType("text"); + + b.Property("PrescriberIdType") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.Property("Validate") + .HasColumnType("boolean"); + + b.HasKey("Id"); + + b.HasIndex("LicenseCode"); + + b.ToTable("LicenseDetail"); + + b.HasData( + new + { + Id = 1, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 1, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 2, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 2, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 5, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 5, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 6, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 6, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 9, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 9, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 8, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 8, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 10, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 10, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 22, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 22, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 16, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 16, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 7, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 7, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 4, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 4, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 3, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 3, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 17, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 17, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 12, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 12, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 13, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 13, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 14, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 14, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 15, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 15, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 11, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 11, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 23, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 23, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 20, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 20, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 24, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 24, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 18, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 18, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 19, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 19, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 21, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 21, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 59, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 59, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + Prefix = "93", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 65, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 65, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + Prefix = "93", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 66, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 66, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + Prefix = "93", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 67, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 67, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + Prefix = "93", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 25, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 25, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "P1", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 26, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 26, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "P1", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 28, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 28, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "P1", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 27, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 27, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "P1", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 30, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 30, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + Prefix = "P1", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 29, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 29, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "T9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 31, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 31, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "T9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 68, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 68, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + Prefix = "T9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 70, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 2, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 29, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "T9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 71, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 2, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 31, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + Prefix = "T9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 72, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 2, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 68, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "T9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 47, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 47, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "96", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 48, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 48, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "96", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 51, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 51, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "96", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 49, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 49, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + Prefix = "96", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 32, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 32, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "R9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 33, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 33, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "R9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 39, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 39, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "R9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 34, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 34, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "R9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 40, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 40, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "R9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 35, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 35, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + Prefix = "R9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 36, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 36, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + Prefix = "R9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 37, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 37, + LicensedToProvideCare = false, + Manual = false, + NamedInImReg = false, + Prefix = "R9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 41, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 41, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "Y9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 42, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 42, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "Y9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 45, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 45, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "Y9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 43, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 43, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "Y9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 46, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 46, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "Y9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 52, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 52, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "L9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 53, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 53, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "L9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 55, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 55, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "L9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 54, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 54, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "L9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 60, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 60, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "98", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 61, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 61, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "98", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 62, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 62, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "98", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 63, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 63, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + Prefix = "98", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 69, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 69, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + Prefix = "98", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 89, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 70, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "95", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 90, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 71, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "94", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 91, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 72, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "94", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 92, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 73, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "94", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 93, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 74, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "94", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 73, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 2, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 32, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "R9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 74, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 2, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 33, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "R9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 75, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 2, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 34, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + Prefix = "R9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 76, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 2, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 39, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "R9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 77, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 2, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 41, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "Y9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 78, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 2, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 42, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "Y9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 79, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 2, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 43, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + Prefix = "Y9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 80, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 2, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 45, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "Y9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 81, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 2, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 52, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "L9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 82, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 2, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 53, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "L9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 83, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 2, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 54, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + Prefix = "L9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 84, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 2, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 55, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "L9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 85, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 2, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 60, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "98", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 86, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 2, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 61, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "98", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 87, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 2, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 62, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "98", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 88, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 2, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 63, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + Prefix = "98", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 94, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 5, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 32, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "R9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 95, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 5, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 33, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "R9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 96, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 5, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 34, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "R9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 97, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 5, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 39, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "R9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 98, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 5, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 41, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "Y9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 99, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 5, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 42, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "Y9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 100, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 5, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 43, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "Y9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 101, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 5, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 45, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "Y9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 102, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 5, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 52, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "L9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 103, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 5, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 53, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "L9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 104, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 5, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 54, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "L9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 105, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 5, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 55, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "L9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 106, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 5, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 60, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "98", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 107, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 5, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 61, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "98", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 108, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 5, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 63, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "98", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 109, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 5, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 62, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "98", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 110, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 5, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 48, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + Prefix = "96", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 111, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 6, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 59, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "93", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 112, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 6, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 65, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "93", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 113, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 6, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 66, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "93", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 114, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 6, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 67, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "93", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 115, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 6, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 70, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "95", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 116, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 6, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 75, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "95", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 117, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 6, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 76, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "95", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 118, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 6, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 77, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "95", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 119, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 6, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 78, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "97", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 120, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 6, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 79, + LicensedToProvideCare = false, + Manual = false, + NamedInImReg = false, + Prefix = "97", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 121, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 6, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 80, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "97", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 122, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 6, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 81, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "97", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 64, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2019, 9, 16, 7, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 64, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 123, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 7, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 1, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 124, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 7, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 2, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 125, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 7, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 3, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 126, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 7, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 4, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 127, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 7, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 5, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 128, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 7, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 6, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 129, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 7, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 8, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 130, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 7, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 9, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 131, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 7, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 10, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 132, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 7, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 12, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 133, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 7, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 13, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 134, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 7, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 14, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 135, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 7, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 18, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 136, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 7, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 19, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 137, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 7, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 22, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 138, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 7, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 47, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "96", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 139, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 7, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 48, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + Prefix = "96", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 140, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 7, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 51, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "96", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 141, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 7, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 59, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "93", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 142, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 7, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 60, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "98", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 143, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 7, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 61, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "98", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 144, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 7, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 62, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "98", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 145, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 7, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 66, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "93", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 146, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 7, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 67, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "93", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 147, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 41, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "Y9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 148, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 42, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "Y9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 149, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 43, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + Prefix = "Y9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 150, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 45, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "Y9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 151, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 1, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 46, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "Y9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 152, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 5, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 65, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "93", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 153, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 5, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 32, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "R9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 154, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 5, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 33, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "R9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 155, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 5, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 34, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + Prefix = "R9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 156, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 5, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 35, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "R9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 157, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 5, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 36, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + Prefix = "R9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 158, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 5, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 37, + LicensedToProvideCare = false, + Manual = false, + NamedInImReg = true, + Prefix = "R9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 159, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 5, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 39, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "R9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 160, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 5, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 41, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "Y9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 161, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 5, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 42, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + Prefix = "Y9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 162, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 5, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 43, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + Prefix = "Y9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 163, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 5, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 45, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "Y9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 164, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 5, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 46, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "Y9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 165, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 5, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 47, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "96", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 166, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 5, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 48, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + Prefix = "96", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 167, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 5, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 49, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + Prefix = "96", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 168, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 5, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 51, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "96", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 169, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 5, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 52, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "L9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 170, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 5, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 53, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "L9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 171, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 5, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 54, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + Prefix = "L9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 172, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 5, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 55, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "L9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 173, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 5, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 60, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "98", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 174, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 5, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 61, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "98", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 175, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 5, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 62, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "98", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 176, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 5, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 63, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + Prefix = "98", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 177, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 10, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 47, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + NonPrescribingPrefix = "NX", + Prefix = "96", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 178, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 10, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 48, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + NonPrescribingPrefix = "NX", + Prefix = "96", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 179, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 10, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 49, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + NonPrescribingPrefix = "NX", + Prefix = "96", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 180, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 10, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 51, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + NonPrescribingPrefix = "NX", + Prefix = "96", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 181, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 10, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 32, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + NonPrescribingPrefix = "RX", + Prefix = "R9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 182, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 10, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 33, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + NonPrescribingPrefix = "RX", + Prefix = "R9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 183, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 10, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 34, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + NonPrescribingPrefix = "RX", + Prefix = "R9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 184, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 10, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 35, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + NonPrescribingPrefix = "RX", + Prefix = "R9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 185, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 10, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 36, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + NonPrescribingPrefix = "RX", + Prefix = "R9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 186, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 10, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 37, + LicensedToProvideCare = false, + Manual = false, + NamedInImReg = true, + NonPrescribingPrefix = "RX", + Prefix = "R9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 187, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 10, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 39, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + NonPrescribingPrefix = "RX", + Prefix = "R9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 188, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 10, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 40, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + NonPrescribingPrefix = "RX", + Prefix = "R9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 189, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 10, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 41, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + NonPrescribingPrefix = "YX", + Prefix = "Y9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 190, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 10, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 42, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + NonPrescribingPrefix = "YX", + Prefix = "Y9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 191, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 10, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 43, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + NonPrescribingPrefix = "YX", + Prefix = "Y9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 192, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 10, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 45, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + NonPrescribingPrefix = "YX", + Prefix = "Y9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 193, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 8, 10, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 46, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + NonPrescribingPrefix = "YX", + Prefix = "Y9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 194, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 41, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + NonPrescribingPrefix = "YX", + Prefix = "Y9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 195, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 42, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + NonPrescribingPrefix = "YX", + Prefix = "Y9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 196, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 45, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + NonPrescribingPrefix = "YX", + Prefix = "Y9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 197, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 47, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + NonPrescribingPrefix = "NX", + Prefix = "96", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 198, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 48, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + NonPrescribingPrefix = "NX", + Prefix = "96", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 199, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 51, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + NonPrescribingPrefix = "NX", + Prefix = "96", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 200, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 60, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "98", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 201, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 61, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "98", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 202, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2022, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 62, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "98", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 203, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 2, 2, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 32, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + NonPrescribingPrefix = "RX", + Prefix = "R9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 204, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 2, 2, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 33, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + NonPrescribingPrefix = "RX", + Prefix = "R9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 205, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 2, 2, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 34, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + NonPrescribingPrefix = "RX", + Prefix = "R9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 206, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 2, 2, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 35, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + NonPrescribingPrefix = "RX", + Prefix = "R9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 207, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 2, 2, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 36, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + NonPrescribingPrefix = "RX", + Prefix = "R9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 208, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 2, 2, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 37, + LicensedToProvideCare = false, + Manual = false, + NamedInImReg = true, + NonPrescribingPrefix = "RX", + Prefix = "R9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 209, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 2, 2, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 39, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + NonPrescribingPrefix = "RX", + Prefix = "R9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 210, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 2, 2, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 40, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + NonPrescribingPrefix = "RX", + Prefix = "R9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 211, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 2, 2, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 43, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + NonPrescribingPrefix = "YX", + Prefix = "Y9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 212, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 2, 2, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 46, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + NonPrescribingPrefix = "YX", + Prefix = "Y9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 213, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 2, 2, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 49, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + NonPrescribingPrefix = "NX", + Prefix = "96", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 214, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 2, 2, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 52, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "L9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 215, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 2, 2, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 53, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "L9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 216, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 2, 2, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 54, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + Prefix = "L9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 217, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 2, 2, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 55, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "L9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 218, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 2, 2, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 63, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + Prefix = "98", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 219, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 3, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 33, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + NonPrescribingPrefix = "RX", + Prefix = "R9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 220, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 3, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 34, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + NonPrescribingPrefix = "RX", + Prefix = "R9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 221, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 3, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 35, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + NonPrescribingPrefix = "RX", + Prefix = "R9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 222, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 3, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 36, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + NonPrescribingPrefix = "RX", + Prefix = "R9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 223, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 3, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 37, + LicensedToProvideCare = false, + Manual = false, + NamedInImReg = true, + NonPrescribingPrefix = "RX", + Prefix = "R9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 224, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 3, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 40, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + NonPrescribingPrefix = "RX", + Prefix = "R9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 225, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 3, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 43, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + NonPrescribingPrefix = "YX", + Prefix = "Y9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 226, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 3, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 46, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + NonPrescribingPrefix = "YX", + Prefix = "Y9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 227, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 3, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 49, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + NonPrescribingPrefix = "NX", + Prefix = "96", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 228, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 3, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 52, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "L9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 229, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 3, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 53, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "L9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 230, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 3, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 54, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + Prefix = "L9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 231, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 3, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 55, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "L9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 232, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 3, 15, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 63, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + Prefix = "98", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 233, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 6, 9, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 82, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 234, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 6, 9, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 83, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 235, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 6, 9, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 84, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 236, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 6, 9, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 85, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 237, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 6, 9, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 86, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 261, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 8, 2, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 72, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "94", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 262, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 8, 2, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 73, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + Prefix = "94", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 263, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 8, 2, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 74, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + Prefix = "94", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 264, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 8, 28, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 87, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 265, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 8, 28, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 88, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 266, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 8, 28, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 89, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 267, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 8, 28, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 90, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 268, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 8, 28, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 91, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 269, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 8, 28, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 7, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 270, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 8, 28, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 9, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 271, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 8, 28, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 15, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 272, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 8, 28, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 16, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 273, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 8, 28, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 17, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 274, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 8, 28, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 22, + LicensedToProvideCare = false, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 275, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 8, 28, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 40, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + NonPrescribingPrefix = "RX", + Prefix = "R9", + PrescriberIdType = 1, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 276, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 11, 27, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 92, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + Prefix = "M9", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 277, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 93, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 278, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 94, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 279, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 95, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 280, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 96, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 281, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 97, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 282, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 98, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 283, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 99, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 284, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 100, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 285, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 101, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 286, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 102, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 287, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 103, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 288, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 104, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 289, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 105, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 290, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 106, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "95", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 291, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 107, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "95", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 292, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 108, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "95", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 293, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 109, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "95", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 294, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 110, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "95", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 295, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 111, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + Prefix = "95", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 296, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 112, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = true, + Prefix = "95", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 297, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 113, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "95", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 298, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 114, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 299, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 115, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 300, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 116, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 301, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 117, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 302, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 118, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 303, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2023, 12, 11, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 119, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 304, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 1, 23, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 5, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 305, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 1, 23, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 6, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 306, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 1, 23, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 48, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + NonPrescribingPrefix = "NX", + Prefix = "96", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 307, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 1, 23, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 60, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "98", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 308, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 1, 23, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 61, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = false, + Prefix = "98", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 309, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 1, 23, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 62, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "98", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 310, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 5, 3, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 5, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 311, + AllowRequestRemoteAccess = true, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 5, 3, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 6, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "91", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 312, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 120, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 313, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 121, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 314, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 122, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 315, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 123, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 316, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 124, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 317, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 125, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 318, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 126, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 319, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 127, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 320, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 128, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 321, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 129, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 322, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 130, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 323, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 131, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 324, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 132, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "94", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 325, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 133, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "94", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 326, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 134, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + Prefix = "94", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 327, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 135, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + Prefix = "94", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 328, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 136, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = false, + Prefix = "94", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 329, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 137, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 330, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 138, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 331, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 139, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 332, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 140, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 333, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 141, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 334, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 142, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 335, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 143, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 336, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 144, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 337, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 145, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 338, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 146, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 339, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 147, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 340, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 148, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 341, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 149, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 342, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 150, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 343, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 151, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 344, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 152, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 345, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 153, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 346, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 154, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 347, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 155, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 348, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 156, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 349, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 157, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 350, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 158, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 351, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 159, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 352, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 160, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 353, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 161, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 354, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 162, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 355, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 163, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 356, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 164, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 357, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 165, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 358, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 166, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "97", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 359, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 167, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "97", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 360, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 168, + LicensedToProvideCare = true, + Manual = false, + NamedInImReg = true, + Prefix = "97", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 361, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 169, + LicensedToProvideCare = false, + Manual = false, + NamedInImReg = false, + Prefix = "97", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 362, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 170, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 363, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 171, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 364, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 172, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 365, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 173, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 366, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 6, 25, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 174, + LicensedToProvideCare = false, + Manual = true, + NamedInImReg = false, + Prefix = "", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = false + }, + new + { + Id = 367, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 8, 27, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 175, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + NonPrescribingPrefix = "RX", + Prefix = "R9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 368, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 8, 27, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 176, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + NonPrescribingPrefix = "YX", + Prefix = "Y9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }, + new + { + Id = 369, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTime(2024, 8, 27, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 177, + LicensedToProvideCare = true, + Manual = true, + NamedInImReg = true, + Prefix = "L9", + PrescriberIdType = 2, + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + Validate = true + }); + }); + + modelBuilder.Entity("Prime.Models.LimitsConditionsClause", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EffectiveDate") + .HasColumnType("timestamp with time zone"); + + b.Property("Text") + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.ToTable("LimitsConditionsClause"); + }); + + modelBuilder.Entity("Prime.Models.OboSite", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CareSettingCode") + .HasColumnType("integer"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EnrolleeId") + .HasColumnType("integer"); + + b.Property("FacilityName") + .HasColumnType("text"); + + b.Property("HealthAuthorityCode") + .HasColumnType("integer"); + + b.Property("JobTitle") + .IsRequired() + .HasColumnType("text"); + + b.Property("PhysicalAddressId") + .HasColumnType("integer"); + + b.Property("SiteName") + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("CareSettingCode"); + + b.HasIndex("EnrolleeId"); + + b.HasIndex("HealthAuthorityCode"); + + b.HasIndex("PhysicalAddressId"); + + b.ToTable("OboSite"); + }); + + modelBuilder.Entity("Prime.Models.OpcMember", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("Address") + .HasColumnType("text"); + + b.Property("CertificationNumber") + .HasColumnType("text"); + + b.Property("City") + .HasColumnType("text"); + + b.Property("Clinic") + .HasColumnType("text"); + + b.Property("Country") + .HasColumnType("text"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("Discipline") + .HasColumnType("text"); + + b.Property("FullClinicAddress") + .HasColumnType("text"); + + b.Property("FullName") + .HasColumnType("text"); + + b.Property("MemberType") + .HasColumnType("text"); + + b.Property("PostalCode") + .HasColumnType("text"); + + b.Property("StateProvince") + .HasColumnType("text"); + + b.Property("Status") + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.ToTable("OpcMember"); + }); + + modelBuilder.Entity("Prime.Models.Organization", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("Completed") + .HasColumnType("boolean"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("DoingBusinessAs") + .HasColumnType("text"); + + b.Property("Name") + .HasColumnType("text"); + + b.Property("PendingTransfer") + .HasColumnType("boolean"); + + b.Property("RegistrationId") + .HasColumnType("text"); + + b.Property("SigningAuthorityId") + .HasColumnType("integer"); + + b.Property("SubmittedDate") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("SigningAuthorityId"); + + b.ToTable("Organization"); + }); + + modelBuilder.Entity("Prime.Models.OrganizationClaim", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("Details") + .HasColumnType("text"); + + b.Property("NewSigningAuthorityId") + .HasColumnType("integer"); + + b.Property("OrganizationId") + .HasColumnType("integer"); + + b.Property("ProvidedSiteId") + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("NewSigningAuthorityId"); + + b.HasIndex("OrganizationId"); + + b.ToTable("OrganizationClaim"); + }); + + modelBuilder.Entity("Prime.Models.Party", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("DateOfBirth") + .HasColumnType("timestamp without time zone"); + + b.Property("Email") + .HasColumnType("text"); + + b.Property("Fax") + .HasColumnType("text"); + + b.Property("FirstName") + .HasColumnType("text"); + + b.Property("GivenNames") + .HasColumnType("text"); + + b.Property("HPDID") + .HasMaxLength(255) + .HasColumnType("character varying(255)"); + + b.Property("JobRoleTitle") + .HasColumnType("text"); + + b.Property("LastName") + .IsRequired() + .HasColumnType("text"); + + b.Property("Phone") + .HasColumnType("text"); + + b.Property("PhoneExtension") + .HasColumnType("text"); + + b.Property("PreferredFirstName") + .HasColumnType("text"); + + b.Property("PreferredLastName") + .HasColumnType("text"); + + b.Property("PreferredMiddleName") + .HasColumnType("text"); + + b.Property("SMSPhone") + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.Property("UserId") + .HasColumnType("uuid"); + + b.Property("Username") + .HasColumnType("text"); + + b.HasKey("Id"); + + b.HasIndex("UserId") + .IsUnique(); + + b.HasIndex("Username") + .IsUnique(); + + b.ToTable("Party"); + }); + + modelBuilder.Entity("Prime.Models.PartyAddress", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("AddressId") + .HasColumnType("integer"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("PartyId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("AddressId"); + + b.HasIndex("PartyId", "AddressId") + .IsUnique(); + + b.ToTable("PartyAddress"); + }); + + modelBuilder.Entity("Prime.Models.PartyCertification", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CollegeCode") + .HasColumnType("integer"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("LicenseCode") + .HasColumnType("integer"); + + b.Property("LicenseNumber") + .IsRequired() + .HasColumnType("text"); + + b.Property("PartyId") + .HasColumnType("integer"); + + b.Property("PracticeCode") + .HasColumnType("integer"); + + b.Property("PractitionerId") + .HasColumnType("text"); + + b.Property("RenewalDate") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("CollegeCode"); + + b.HasIndex("LicenseCode"); + + b.HasIndex("PartyId"); + + b.HasIndex("PracticeCode"); + + b.ToTable("PartyCertification"); + }); + + modelBuilder.Entity("Prime.Models.PartyEnrolment", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("PartyId") + .HasColumnType("integer"); + + b.Property("PartyType") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("PartyId"); + + b.ToTable("PartyEnrolment"); + }); + + modelBuilder.Entity("Prime.Models.PartySubmission", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("Approved") + .HasColumnType("boolean"); + + b.Property("CreatedDate") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("PartyId") + .HasColumnType("integer"); + + b.Property("SubmissionType") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("PartyId"); + + b.ToTable("PartySubmission"); + }); + + modelBuilder.Entity("Prime.Models.PharmanetTransactionLog", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CollegePrefix") + .HasColumnType("text"); + + b.Property("CreatedTimeStamp") + .ValueGeneratedOnAdd() + .HasColumnType("timestamp with time zone") + .HasDefaultValueSql("current_timestamp"); + + b.Property("LocationIpAddress") + .HasColumnType("text"); + + b.Property("PharmacyId") + .HasColumnType("text"); + + b.Property("PractitionerId") + .HasColumnType("text"); + + b.Property("ProviderSoftwareId") + .HasColumnType("text"); + + b.Property("ProviderSoftwareVersion") + .HasColumnType("text"); + + b.Property("SourceIpAddress") + .HasColumnType("text"); + + b.Property("TransactionId") + .HasColumnType("bigint"); + + b.Property("TransactionOutcome") + .HasColumnType("text"); + + b.Property("TransactionSubType") + .HasColumnType("text"); + + b.Property("TransactionType") + .HasColumnType("text"); + + b.Property("TxDateTime") + .HasColumnType("timestamp without time zone"); + + b.Property("UserId") + .HasColumnType("text"); + + b.HasKey("Id"); + + b.HasIndex("PharmacyId"); + + b.HasIndex("TransactionId") + .IsUnique(); + + b.HasIndex("TxDateTime"); + + b.HasIndex("UserId"); + + b.ToTable("PharmanetTransactionLog"); + }); + + modelBuilder.Entity("Prime.Models.PharmanetTransactionLogTemp", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CollegePrefix") + .HasColumnType("text"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("LocationIpAddress") + .HasColumnType("text"); + + b.Property("PharmacyId") + .HasColumnType("text"); + + b.Property("PractitionerId") + .HasColumnType("text"); + + b.Property("ProviderSoftwareId") + .HasColumnType("text"); + + b.Property("ProviderSoftwareVersion") + .HasColumnType("text"); + + b.Property("SourceIpAddress") + .HasColumnType("text"); + + b.Property("TransactionId") + .HasColumnType("bigint"); + + b.Property("TransactionOutcome") + .HasColumnType("text"); + + b.Property("TransactionSubType") + .HasColumnType("text"); + + b.Property("TransactionType") + .HasColumnType("text"); + + b.Property("TxDateTime") + .HasColumnType("timestamp without time zone"); + + b.Property("UserId") + .HasColumnType("text"); + + b.HasKey("Id"); + + b.HasIndex("PharmacyId"); + + b.HasIndex("TransactionId"); + + b.HasIndex("TxDateTime"); + + b.HasIndex("UserId"); + + b.ToTable("PharmanetTransactionLogTemp"); + }); + + modelBuilder.Entity("Prime.Models.Plr.CollegeForPlrRoleType", b => + { + b.Property("ProviderRoleType") + .HasColumnType("text"); + + b.Property("CollegeCode") + .HasColumnType("integer"); + + b.HasKey("ProviderRoleType"); + + b.ToTable("CollegeForPlrRoleType"); + + b.HasData( + new + { + ProviderRoleType = "RN", + CollegeCode = 3 + }, + new + { + ProviderRoleType = "RNP", + CollegeCode = 3 + }, + new + { + ProviderRoleType = "RPN", + CollegeCode = 3 + }, + new + { + ProviderRoleType = "PHARM", + CollegeCode = 2 + }, + new + { + ProviderRoleType = "PO", + CollegeCode = 1 + }, + new + { + ProviderRoleType = "RAC", + CollegeCode = 18 + }, + new + { + ProviderRoleType = "RM", + CollegeCode = 3 + }, + new + { + ProviderRoleType = "LPN", + CollegeCode = 3 + }, + new + { + ProviderRoleType = "MD", + CollegeCode = 1 + }, + new + { + ProviderRoleType = "OPT", + CollegeCode = 14 + }, + new + { + ProviderRoleType = "DEN", + CollegeCode = 7 + }, + new + { + ProviderRoleType = "OT", + CollegeCode = 12 + }, + new + { + ProviderRoleType = "PSYCH", + CollegeCode = 16 + }, + new + { + ProviderRoleType = "CHIRO", + CollegeCode = 4 + }, + new + { + ProviderRoleType = "PHYSIO", + CollegeCode = 15 + }, + new + { + ProviderRoleType = "RMT", + CollegeCode = 10 + }, + new + { + ProviderRoleType = "PTECH", + CollegeCode = 2 + }, + new + { + ProviderRoleType = "RD", + CollegeCode = 9 + }, + new + { + ProviderRoleType = "ND", + CollegeCode = 11 + }); + }); + + modelBuilder.Entity("Prime.Models.Plr.PlrExpertise", b => + { + b.Property("Code") + .HasColumnType("text"); + + b.Property("Name") + .IsRequired() + .HasColumnType("text"); + + b.HasKey("Code"); + + b.ToTable("PlrExpertiseLookup"); + + b.HasData( + new + { + Code = "MS", + Name = "Management Studies" + }, + new + { + Code = "NON-SPEC", + Name = "Non-Specialist" + }, + new + { + Code = "NUCRX", + Name = "Nuclear Pharmacy" + }, + new + { + Code = "NUTRX", + Name = "Nutrition Pharmacy" + }, + new + { + Code = "ONCRX", + Name = "Oncology Pharmacy" + }, + new + { + Code = "OP", + Name = "Oral Medicine and Oral Pathology" + }, + new + { + Code = "ORD", + Name = "Oral and Maxillofacial Radiology" + }, + new + { + Code = "ORTH", + Name = "Orthodontics" + }, + new + { + Code = "OS", + Name = "Oral Maxillofacial Surgery" + }, + new + { + Code = "PED", + Name = "Pediatric Dentistry" + }, + new + { + Code = "PER", + Name = "Periodontics" + }, + new + { + Code = "PHPHARM", + Name = "Pharmacotherapy" + }, + new + { + Code = "PRO", + Name = "Prosthodontics" + }, + new + { + Code = "PSYRX", + Name = "Psychiatric Pharmacy" + }, + new + { + Code = "SMD1", + Name = "Addiction Medicine" + }, + new + { + Code = "SMD10", + Name = "Certified Independent Medical Examiner" + }, + new + { + Code = "SMD100", + Name = "Medical Disorders of Pregnancy" + }, + new + { + Code = "LPNOR", + Name = "Operating Room" + }, + new + { + Code = "SMD101", + Name = "Cardiovascular Disease" + }, + new + { + Code = "SMD104", + Name = "Chemical, Biological, Radiological and Nuclear Warfare Medicine" + }, + new + { + Code = "SMD11", + Name = "Chemical Dependency" + }, + new + { + Code = "SMD12", + Name = "Child and Adolescent Psychiatry" + }, + new + { + Code = "SMD13", + Name = "Chronic Pain Management" + }, + new + { + Code = "SMD14", + Name = "Clinical Hypnosis" + }, + new + { + Code = "SMD15", + Name = "Colon & Rectal Surgery" + }, + new + { + Code = "SMD16", + Name = "Corneal & Extraocular Disease" + }, + new + { + Code = "SMD17", + Name = "Counseling" + }, + new + { + Code = "SMD18", + Name = "Critical Care Medicine" + }, + new + { + Code = "SMD19", + Name = "Dermatology" + }, + new + { + Code = "SMD2", + Name = "Adolescent Medicine" + }, + new + { + Code = "CCFPEM", + Name = "Certificant; CFPC(E.M.)" + }, + new + { + Code = "CMCE", + Name = "Community Medicine Certification" + }, + new + { + Code = "CTI", + Name = "Computed Tomography Imaging" + }, + new + { + Code = "DPH", + Name = "Dental Public Health" + }, + new + { + Code = "DS", + Name = "Dental Sciences" + }, + new + { + Code = "END", + Name = "Endodontics" + }, + new + { + Code = "ERN1", + Name = "General Medicine" + }, + new + { + Code = "ERN10", + Name = "Critical/ Intensive Care" + }, + new + { + Code = "ERN11", + Name = "Occupational Health" + }, + new + { + Code = "ERN12", + Name = "Home Care" + }, + new + { + Code = "ERN13", + Name = "Geriatric / Long Term Care" + }, + new + { + Code = "ERN14", + Name = "Community Health" + }, + new + { + Code = "ERN15", + Name = "Ambulatory Care" + }, + new + { + Code = "ERN16", + Name = "Nursing Administration" + }, + new + { + Code = "ERN17", + Name = "Teaching" + }, + new + { + Code = "ERN18", + Name = "Research" + }, + new + { + Code = "ERN19", + Name = "Telehealth" + }, + new + { + Code = "ERN2", + Name = "General Surgery" + }, + new + { + Code = "CCFP", + Name = "Certificant; CFPC" + }, + new + { + Code = "ERN3", + Name = "Pediatrics" + }, + new + { + Code = "ERN4", + Name = "Maternal / Newborn" + }, + new + { + Code = "ERN5", + Name = "Psychiatric/ Mental Health" + }, + new + { + Code = "ERN6", + Name = "Oncology" + }, + new + { + Code = "ERN7", + Name = "Rehabilitation" + }, + new + { + Code = "ERN8", + Name = "Operating / Recovery Room" + }, + new + { + Code = "ERN9", + Name = "Emergency Care/ Prehospital" + }, + new + { + Code = "GPDEN", + Name = "General Practice" + }, + new + { + Code = "GPMD", + Name = "General Practice" + }, + new + { + Code = "GPPHARM", + Name = "General Practice" + }, + new + { + Code = "LPNDIAL", + Name = "Dialysis" + }, + new + { + Code = "LPNIMMUN", + Name = "Immunization" + }, + new + { + Code = "AMD35", + Name = "Nuclear Medicine - Full" + }, + new + { + Code = "AMD36", + Name = "Sleep Interpreter - Respiratory Dis." + }, + new + { + Code = "AMD37", + Name = "Magnetic Resonance - Limited" + }, + new + { + Code = "AMD38", + Name = "Pulm Director - Level II" + }, + new + { + Code = "AMD39", + Name = "Pulm Director - Level III" + }, + new + { + Code = "AMD4", + Name = "Craniosacral Therapy(Complementary)" + }, + new + { + Code = "AMD40", + Name = "Pulm Director - Level IV" + }, + new + { + Code = "AMD41", + Name = "Sleep Director -Full" + }, + new + { + Code = "AMD42", + Name = "Sleep Director - Pediatric Disorders" + }, + new + { + Code = "AMD43", + Name = "Sleep Director - Respiratory Disorders" + }, + new + { + Code = "AMD44", + Name = "Homeopathy (Complementary)" + }, + new + { + Code = "AMD45", + Name = "Ultrasound - Obstetrical / Gynecology" + }, + new + { + Code = "AMD46", + Name = "Echocardiography -Restricted" + }, + new + { + Code = "AMD47", + Name = "Ultasound - Non-Specialist" + }, + new + { + Code = "AMD48", + Name = "Nuclear Medicine - Restricted" + }, + new + { + Code = "AMD49", + Name = "Addiction Medicine" + }, + new + { + Code = "AMD5", + Name = "Doctor of Osteopathy" + }, + new + { + Code = "AMD50", + Name = "Customized Nutritional Therapy(Comp.)" + }, + new + { + Code = "AMD51", + Name = "Ultrasound -Abortion Transvaginal" + }, + new + { + Code = "AMD52", + Name = "Ultrasound - Abortion Trans - abdominal" + }, + new + { + Code = "AMD53", + Name = "Anti-Aging Medicine(Complementary)" + }, + new + { + Code = "AMD54", + Name = "Primordial Sound Meditation(Complementary)" + }, + new + { + Code = "AMD55", + Name = "Ayurveda(Complementary)" + }, + new + { + Code = "AMD56", + Name = "Fluoroscopically-guided needle placements" + }, + new + { + Code = "AMD57", + Name = "Magnetic Resonance - Cardiac" + }, + new + { + Code = "AMD58", + Name = "PET -Positron Emission Tomography" + }, + new + { + Code = "AMD6", + Name = "Electrocardiogram" + }, + new + { + Code = "AMD7", + Name = "Electroencephalography" + }, + new + { + Code = "AMD8", + Name = "Electromyography" + }, + new + { + Code = "AMD9", + Name = "Evoked Potential Auditory" + }, + new + { + Code = "BI", + Name = "Breast Imaging" + }, + new + { + Code = "A225", + Name = "Max / Fax Surgery" + }, + new + { + Code = " A240", + Name = "Medical Imaging" + }, + new + { + Code = "A385", + Name = "Pulmonary Diseases" + }, + new + { + Code = "AMD1", + Name = "Acupuncture" + }, + new + { + Code = "AMD10", + Name = "Evoked Potential Somatosensory" + }, + new + { + Code = "AMD11", + Name = "Evoked Potential Visual" + }, + new + { + Code = "AMD12", + Name = "Evoked Potential(EP)" + }, + new + { + Code = "AMD13", + Name = "Functional Medicine(Complementary)" + }, + new + { + Code = "AMD14", + Name = "Herbal Therapy(Complementary)" + }, + new + { + Code = "AMD15", + Name = "Kinesiology(Complementary)" + }, + new + { + Code = "AMD16", + Name = "Magnetic Resonance - Full" + }, + new + { + Code = "AMD17", + Name = "Cardiac Nuclear Imaging" + }, + new + { + Code = "AMD18", + Name = "Nuclear Medicine - Limited" + }, + new + { + Code = "AMD19", + Name = "Ultrasound - Opthalmology" + }, + new + { + Code = "AMD2", + Name = "Echocardiography -Full Adult" + }, + new + { + Code = "AMD20", + Name = "Echocardiography - Full Pediatric" + }, + new + { + Code = "AMD21", + Name = "Pulm Interpretation-Level II" + }, + new + { + Code = "AMD22", + Name = "Pulm Interpretation-Level III" + }, + new + { + Code = "AMD23", + Name = "Pulm Interpretation-Level IV" + }, + new + { + Code = "AMD24", + Name = "Reiki Therapy(Complementary)" + }, + new + { + Code = "AMD25", + Name = "Thought Field Therapy(Complementary)" + }, + new + { + Code = "AMD26", + Name = "Transcendental Meditation(Comp.)" + }, + new + { + Code = "AMD27", + Name = "Echocardiography -Transesophageal" + }, + new + { + Code = "AMD28", + Name = "Trigger Point Therapy" + }, + new + { + Code = "AMD29", + Name = "Ultrasound -Full" + }, + new + { + Code = "AMD3", + Name = "Cardiac Stress Testing" + }, + new + { + Code = "AMD30", + Name = "Ultrasound -Urology" + }, + new + { + Code = "AMD31", + Name = "Ultrasound -Vascular" + }, + new + { + Code = "AMD32", + Name = "Vestibular Testing - Director" + }, + new + { + Code = "AMD33", + Name = "Vestibular Testing - Interpretor" + }, + new + { + Code = "AMD34", + Name = "Chelation Therapy(Complementary)" + }, + new + { + Code = "480", + Name = "Thoracic Surgery(Gen.Sur.)" + }, + new + { + Code = "481", + Name = "Thoracic Surgery(General / Cardiac)" + }, + new + { + Code = "490", + Name = "Vascular Surgery" + }, + new + { + Code = "510", + Name = "Clinical Pharmacology" + }, + new + { + Code = "512", + Name = "Colorectal Surgery" + }, + new + { + Code = "515", + Name = "Critical Care medicine" + }, + new + { + Code = "520", + Name = "General Surgical Oncology" + }, + new + { + Code = "530", + Name = "Gynecology Oncology" + }, + new + { + Code = "535", + Name = "Gynecology Reprod. Endocrin. & Infert." + }, + new + { + Code = "540", + Name = "Transfusion Medicine" + }, + new + { + Code = "545", + Name = "Maternal - Fetal Medicine" + }, + new + { + Code = "550", + Name = "Clinician Investigator Program" + }, + new + { + Code = "555", + Name = "Neonatal - Perinatal Medicine" + }, + new + { + Code = "560", + Name = "Neuroradiology" + }, + new + { + Code = "570", + Name = "Palliative Medicine" + }, + new + { + Code = "580", + Name = "Pediatric Radiology" + }, + new + { + Code = "582", + Name = "Pediatric Emergency Medicine" + }, + new + { + Code = "584", + Name = "Developmental Pediatrics" + }, + new + { + Code = "474", + Name = "Rheumatology(Int.Med or Ped.)" + }, + new + { + Code = "900", + Name = "Pediatric Gastroenterology" + }, + new + { + Code = "905", + Name = "Pediatric Nephrology" + }, + new + { + Code = "910", + Name = "Pediatric Neurology" + }, + new + { + Code = "915", + Name = "Pediatric Cardiovascular Surgery" + }, + new + { + Code = "A110", + Name = "Administrative Medicine" + }, + new + { + Code = "A115", + Name = "Adolescent Medicine" + }, + new + { + Code = "A120", + Name = "Allergy" + }, + new + { + Code = "A130", + Name = "Aviation Medicine" + }, + new + { + Code = "A135", + Name = "Behavioral Therapy" + }, + new + { + Code = "A140", + Name = "Child Health" + }, + new + { + Code = "A145", + Name = "Cytopathology" + }, + new + { + Code = "A155", + Name = "Epidemiology" + }, + new + { + Code = "A160", + Name = "Family Medicine" + }, + new + { + Code = "315", + Name = "General Surgery" + }, + new + { + Code = "319", + Name = "Gynecology" + }, + new + { + Code = "320", + Name = "Obstetrics" + }, + new + { + Code = "325", + Name = "Medical Scientist(Surgery)" + }, + new + { + Code = "329", + Name = "Neurosurgery" + }, + new + { + Code = "331", + Name = "No Specialty(Surgery)" + }, + new + { + Code = "336", + Name = "Obstetrics and Gynecology" + }, + new + { + Code = "338", + Name = "Ophthalmology" + }, + new + { + Code = "340", + Name = "Orthopedic Surgery" + }, + new + { + Code = "342", + Name = "Otolaryngology" + }, + new + { + Code = "345", + Name = "Plastic Surgery" + }, + new + { + Code = "348", + Name = "Principles of Surgery" + }, + new + { + Code = "354", + Name = "Thoracic Surgery" + }, + new + { + Code = "355", + Name = "Thoracic Surgery" + }, + new + { + Code = "356", + Name = "Cardiac Surgery" + }, + new + { + Code = "360", + Name = "Urology" + }, + new + { + Code = "405", + Name = "Cardiology(Int.Med.or Ped.)" + }, + new + { + Code = "409", + Name = "Clinical Imm. Allergy(Int.Med.or Ped.)" + }, + new + { + Code = "305", + Name = "Cardiovascular and Thoracic Surgery" + }, + new + { + Code = "411", + Name = "Critical Care Medicine" + }, + new + { + Code = "415", + Name = "Endocrin.Metabolism(Int.Med.or Ped.)" + }, + new + { + Code = "417", + Name = "Forensic Pathology(Anatomical/ General)" + }, + new + { + Code = "420", + Name = "Gastroenterology(Int.Med.or Ped.)" + }, + new + { + Code = "425", + Name = "Geriatric Medicine(Int.Med.)" + }, + new + { + Code = "430", + Name = "Hematology(Int.Med or Ped.)" + }, + new + { + Code = "431", + Name = "Pediatric Hemat./ Onc. (Pediatrics)" + }, + new + { + Code = "432", + Name = "Neuropathology" + }, + new + { + Code = "435", + Name = "Infectious Diseases(Int.Med or Ped.)" + }, + new + { + Code = "452", + Name = "Medical Oncology(Int.Med.)" + }, + new + { + Code = "460", + Name = "Nephrology(Int.Med or Ped.)" + }, + new + { + Code = "465", + Name = "Pediatric General Surgery" + }, + new + { + Code = "472", + Name = "Respirology(Int.Med.or Ped.)" + }, + new + { + Code = "118", + Name = "Diagnostic and Therapeutic Radiology" + }, + new + { + Code = "122", + Name = "Emergency Medicine" + }, + new + { + Code = "126", + Name = "Gastroenterology" + }, + new + { + Code = "130", + Name = "Hematology" + }, + new + { + Code = "136", + Name = "Internal Medicine" + }, + new + { + Code = "140", + Name = "Medical Scientist(Medicine)" + }, + new + { + Code = "145", + Name = "Neurology" + }, + new + { + Code = "146", + Name = "Neurology and/ or Psychiatry" + }, + new + { + Code = "149", + Name = "No Specialty(Medicine)" + }, + new + { + Code = "150", + Name = "Medical Genetics" + }, + new + { + Code = "151", + Name = "Nuclear Medicine" + }, + new + { + Code = "152", + Name = "Urological Oncology" + }, + new + { + Code = "153", + Name = "Paediatric Oncology" + }, + new + { + Code = "154", + Name = "Community Oncology" + }, + new + { + Code = "155", + Name = "Occupational Medicine" + }, + new + { + Code = "159", + Name = "Pediatric Cardiology" + }, + new + { + Code = "160", + Name = "Pediatrics" + }, + new + { + Code = "162", + Name = "Physical Medicine Rehabilitation" + }, + new + { + Code = "165", + Name = "Psychiatry" + }, + new + { + Code = "168", + Name = "Public Health" + }, + new + { + Code = "172", + Name = "Radiation Oncology" + }, + new + { + Code = "176", + Name = "Respirology" + }, + new + { + Code = "180", + Name = "Rheumatology" + }, + new + { + Code = "190", + Name = "Therapeutic Radiology" + }, + new + { + Code = "202", + Name = "Anatomical Pathology" + }, + new + { + Code = "210", + Name = "General Pathology" + }, + new + { + Code = "215", + Name = "Hematological Pathology" + }, + new + { + Code = "225", + Name = "Medical Biochemistry" + }, + new + { + Code = "227", + Name = "Medical Microbiology" + }, + new + { + Code = "232", + Name = "Neuropathology" + }, + new + { + Code = "240", + Name = "Pathology and Bacteriology" + }, + new + { + Code = "302", + Name = "Cardiothoracic Surgery" + }, + new + { + Code = "15 ", + Name = "Malignant Disease Specialist" + }, + new + { + Code = "101", + Name = "Anaesthesia" + }, + new + { + Code = "105", + Name = "Cardiology" + }, + new + { + Code = "107", + Name = "Clinical Immunology" + }, + new + { + Code = "108", + Name = "Clinical Immunology and Allergy" + }, + new + { + Code = "110", + Name = "Community Medicine" + }, + new + { + Code = "115", + Name = "Dermatology" + }, + new + { + Code = "117", + Name = "Diagnostic Radiology" + }, + new + { + Code = "SMD77", + Name = "Pediatric Rheumatology" + }, + new + { + Code = "SMD78", + Name = "Perinatology" + }, + new + { + Code = "SMD79", + Name = "Phlebology" + }, + new + { + Code = "SMD8", + Name = "Breastfeeding" + }, + new + { + Code = "SMD80", + Name = "Phlebology / Sclerotherapy" + }, + new + { + Code = "SMD81", + Name = "Psychiatry" + }, + new + { + Code = "SMD82", + Name = "Psychological Disorders" + }, + new + { + Code = "SMD83", + Name = "Psychotherapy" + }, + new + { + Code = "SMD84", + Name = "Psychotherapy / Hypnotherapy" + }, + new + { + Code = "SMD85", + Name = "Psychotherapy: Indiv.Fam. & Marital" + }, + new + { + Code = "SMD86", + Name = "Reproductive Endocrinology" + }, + new + { + Code = "SMD87", + Name = "Sclerotherapy of Varicose Veins" + }, + new + { + Code = "SMD88", + Name = "Shoulder Surgery" + }, + new + { + Code = "SMD89", + Name = "Sleep Disorders Medicine" + }, + new + { + Code = "SMD9", + Name = "Cardiac Rhythm Disturbances Pacemaker" + }, + new + { + Code = "SMD90", + Name = "Sport Medicine" + }, + new + { + Code = "SMD91", + Name = "Travel Medicine" + }, + new + { + Code = "SMD92", + Name = "Treatment of Stress Disorders" + }, + new + { + Code = "SMD93", + Name = "Uro - oncology" + }, + new + { + Code = "SMD94", + Name = "Urogynecology" + }, + new + { + Code = "SMD95", + Name = "Non-Spine Musculoskeletal Conditions" + }, + new + { + Code = "SMD96", + Name = "Burn Surgery" + }, + new + { + Code = "SMD97", + Name = "Speech and Hearing Disorders" + }, + new + { + Code = "SMD98", + Name = "Oncological Surgery Liver and Pancreas" + }, + new + { + Code = "SMD99", + Name = "Child and Maternal Health" + }, + new + { + Code = "SMD5", + Name = "Arthro.And Reconstruct. Joint Surgery" + }, + new + { + Code = "SMD50", + Name = "Knee Surgery" + }, + new + { + Code = "SMD51", + Name = "Laparoscopic General Surgery" + }, + new + { + Code = "SMD52", + Name = "Laser Surgery" + }, + new + { + Code = "SMD53", + Name = "Mammography" + }, + new + { + Code = "SMD54", + Name = "Maternity Care & Diseases of Females" + }, + new + { + Code = "SMD55", + Name = "Medical Genetics" + }, + new + { + Code = "SMD56", + Name = "Neonatology" + }, + new + { + Code = "SMD57", + Name = "Neuro - ophthalmology" + }, + new + { + Code = "SMD58", + Name = "Neuro-otology" + }, + new + { + Code = "SMD59", + Name = "Neuroanesthesia" + }, + new + { + Code = "SMD6", + Name = "Arthro. And Recon. Surg. (Knee / Shoulder)" + }, + new + { + Code = "SMD60", + Name = "Nutrition" + }, + new + { + Code = "SMD61", + Name = "Obstetrics &Gynecology" + }, + new + { + Code = "SMD62", + Name = "Occupation Related Medical Disorders" + }, + new + { + Code = "SMD63", + Name = "Occupational & Aviation Medicine" + }, + new + { + Code = "SMD64", + Name = "Occupational Health" + }, + new + { + Code = "SMD65", + Name = "Occupational Medicine" + }, + new + { + Code = "SMD49", + Name = "Knee & Leg Surgery" + }, + new + { + Code = "SMD66", + Name = "Occupational Ortho. Clinical Impairment" + }, + new + { + Code = "SMD67", + Name = "Oculo-Plastics" + }, + new + { + Code = "SMD68", + Name = "Ophthalmology" + }, + new + { + Code = "SMD69", + Name = "OrthopedicSports Medicine in Children" + }, + new + { + Code = "SMD7", + Name = "Aviation Medicine" + }, + new + { + Code = "SMD70", + Name = "Orthopedic Traumatology" + }, + new + { + Code = "SMD71", + Name = "Pain Management" + }, + new + { + Code = "SMD72", + Name = "Pediatric &Adolescent Gynecology" + }, + new + { + Code = "SMD73", + Name = "Pediatric Ophthamology Adult Strabismus" + }, + new + { + Code = "SMD74", + Name = "Pediatric Orthopedic Surgery" + }, + new + { + Code = "SMD75", + Name = "Pediatric Orthopedics" + }, + new + { + Code = "SMD76", + Name = "Pediatric Otolaryngology" + }, + new + { + Code = "SMD21", + Name = "Diabetes" + }, + new + { + Code = "SMD22", + Name = "Diseases of Children" + }, + new + { + Code = "SMD23", + Name = "Diseases of the Colon and Rectum" + }, + new + { + Code = "SMD24", + Name = "Diseases of the Eye" + }, + new + { + Code = "SMD25", + Name = "Diseases of the Joints" + }, + new + { + Code = "SMD26", + Name = "Diseases of the Kidney" + }, + new + { + Code = "SMD27", + Name = "Resp. Tract Diseases -Children" + }, + new + { + Code = "SMD28", + Name = "Echocardiography" + }, + new + { + Code = "SMD29", + Name = "Emergency Care" + }, + new + { + Code = "SMD3", + Name = "Allergies" + }, + new + { + Code = "SMD30", + Name = "Endocrinology" + }, + new + { + Code = "SMD31", + Name = "Endoscopic General Surgery" + }, + new + { + Code = "SMD32", + Name = "Exercise Medicine" + }, + new + { + Code = "SMD33", + Name = "Family Therapy" + }, + new + { + Code = "SMD34", + Name = "Female Incontinence & Urodynamics" + }, + new + { + Code = "SMD35", + Name = "Forensic Pathology" + }, + new + { + Code = "SMD36", + Name = "Forensic Psychiatry" + }, + new + { + Code = "SMD37", + Name = "Forensic Psychiatry Medico-legal Med." + }, + new + { + Code = "SMD38", + Name = "Gastrointestinal Surgery" + }, + new + { + Code = "SMD20", + Name = "Dermatopathology" + }, + new + { + Code = "SMD39", + Name = "Geriatric Medicine" + }, + new + { + Code = "SMD4", + Name = "Allergies -Upper Respiratory Tract" + }, + new + { + Code = "SMD40", + Name = "Geriatric Psychiatry" + }, + new + { + Code = "SMD41", + Name = "Geriatrics" + }, + new + { + Code = "SMD42", + Name = "Geriatrics & Psychotherapy" + }, + new + { + Code = "SMD43", + Name = "Glaucoma" + }, + new + { + Code = "SMD44", + Name = "Hair Restoration Surgery" + }, + new + { + Code = "SMD45", + Name = "Hand &Wrist Surgery" + }, + new + { + Code = "SMD46", + Name = "Head and Neck Oncology" + }, + new + { + Code = "SMD47", + Name = "Hypnotherapy" + }, + new + { + Code = "SMD48", + Name = "Joint Replacement & Reconstruction" + }, + new + { + Code = "LPNORTHO", + Name = "Orthopaedic" + }, + new + { + Code = "402", + Name = "Adolescent Medicine" + }, + new + { + Code = "410", + Name = "Clinical Pharmacology" + }, + new + { + Code = "412", + Name = "Colorectal Surgery" + }, + new + { + Code = "414", + Name = "Developmental Pediatrics" + }, + new + { + Code = "423", + Name = "General Surgical Oncology" + }, + new + { + Code = "427", + Name = "Gynecologic Oncology" + }, + new + { + Code = "428", + Name = "Gynecologic Reproductive Endocrinology and Infertility" + }, + new + { + Code = "434", + Name = "Neuroradiology" + }, + new + { + Code = "445", + Name = "Maternal - Fetal Medicine" + }, + new + { + Code = "455", + Name = "Neonatal - Perinatal Medicine" + }, + new + { + Code = "461", + Name = "Occupational Medicine" + }, + new + { + Code = "462", + Name = "Pediatric Emergency Medicine" + }, + new + { + Code = "468", + Name = "Pediatric Radiology" + }, + new + { + Code = "485", + Name = "Transfusion Medicine" + }, + new + { + Code = "406", + Name = "Child and Adolescent Psychiatry" + }, + new + { + Code = "418", + Name = "Forensic Psychiatry" + }, + new + { + Code = "426", + Name = "Geriatric Psychiatry" + }, + new + { + Code = "470", + Name = "Pain Medicine" + }, + new + { + Code = "421", + Name = "General Internal Medicine" + }); + }); + + modelBuilder.Entity("Prime.Models.Plr.PlrRoleType", b => + { + b.Property("Code") + .HasColumnType("text"); + + b.Property("Name") + .IsRequired() + .HasColumnType("text"); + + b.HasKey("Code"); + + b.ToTable("PlrRoleTypeLookup"); + + b.HasData( + new + { + Code = "RTNM", + Name = "Nuclear Medicine Technologist" + }, + new + { + Code = "RTR", + Name = "Radiation Technologist in Radiology" + }, + new + { + Code = "RTT", + Name = "Radiation Technologist in Therapy" + }, + new + { + Code = "RN", + Name = "Registered Nurse" + }, + new + { + Code = "RNP", + Name = "Registered Nurse Practitioner" + }, + new + { + Code = "RPN", + Name = "Registered Psychiatric Nurse" + }, + new + { + Code = "RTEMG", + Name = "Registered Electromyography Technologist" + }, + new + { + Code = "RTMR", + Name = "Radiation Technologist in Magnetic Resonance" + }, + new + { + Code = "PHARM", + Name = "Pharmacist" + }, + new + { + Code = "PO", + Name = "Podiatrist" + }, + new + { + Code = "RAC", + Name = "Registered Acupuncturist" + }, + new + { + Code = "REPT", + Name = "Registered Evoked Potential Technologist" + }, + new + { + Code = "RET", + Name = "Registered Electroencephalography Technologist" + }, + new + { + Code = "RM", + Name = "Registered Midwife" + }, + new + { + Code = "LPN", + Name = "Licensed Practical Nurse" + }, + new + { + Code = "MD", + Name = "Medical Doctor" + }, + new + { + Code = "MOA", + Name = "Medical Office Assistant" + }, + new + { + Code = "OPT", + Name = "Optometrist" + }, + new + { + Code = "PCP", + Name = "Primary Care Paramedic" + }, + new + { + Code = "PCY", + Name = "Pharmacy" + }, + new + { + Code = "ACP", + Name = "Advanced Care Paramedic" + }, + new + { + Code = "CCP", + Name = "Critical Care Paramedic" + }, + new + { + Code = "DEN", + Name = "Dentist" + }, + new + { + Code = "EMR", + Name = "Emergency Medical Responder" + }, + new + { + Code = "CC", + Name = "Clinical Counsellor" + }, + new + { + Code = "OT", + Name = "Occupational Therapist" + }, + new + { + Code = "PSYCH", + Name = "Psychologist" + }, + new + { + Code = "SW", + Name = "Social Worker" + }, + new + { + Code = "RCSW", + Name = "Registered Clinical Social Worker" + }, + new + { + Code = "CHIRO", + Name = "Chiropractor" + }, + new + { + Code = "PHYSIO", + Name = "Physiotherapist" + }, + new + { + Code = "RMT", + Name = "Registered Massage Therapist" + }, + new + { + Code = "KN", + Name = "Kinesiologist" + }, + new + { + Code = "PTECH", + Name = "Pharmacy Technician" + }, + new + { + Code = "COUN", + Name = "Counsellor" + }, + new + { + Code = "MFT", + Name = "Marriage and Family Therapist" + }, + new + { + Code = "RD", + Name = "Registered Dietitian" + }, + new + { + Code = "PHARMTECH", + Name = "PHARMTECH" + }, + new + { + Code = "ND", + Name = "Naturopathic Doctor" + }); + }); + + modelBuilder.Entity("Prime.Models.Plr.PlrStatusReason", b => + { + b.Property("Code") + .HasColumnType("text"); + + b.Property("Name") + .IsRequired() + .HasColumnType("text"); + + b.HasKey("Code"); + + b.ToTable("PlrStatusReasonLookup"); + + b.HasData( + new + { + Code = "OOP", + Name = "Out of Province" + }, + new + { + Code = "ORG", + Name = "Organization Provider" + }, + new + { + Code = "DEF", + Name = "Deferred" + }, + new + { + Code = "DEN", + Name = "Licensed Denied" + }, + new + { + Code = "ERSRES", + Name = "Erased by Resolution" + }, + new + { + Code = "GS", + Name = "Good Standing" + }, + new + { + Code = "HON", + Name = "Honorary" + }, + new + { + Code = "INNONPRAC", + Name = "Initial Non Practicing" + }, + new + { + Code = "MIS", + Name = "Missionary" + }, + new + { + Code = "NR", + Name = "Non-resident" + }, + new + { + Code = "OPEN", + Name = "Open" + }, + new + { + Code = "PRAC", + Name = "Practising" + }, + new + { + Code = "REM", + Name = "Removed" + }, + new + { + Code = "RESDISC", + Name = "Resigned - disciplinary action" + }, + new + { + Code = "SPE", + Name = "Special Registry" + }, + new + { + Code = "SUS", + Name = "Suspended" + }, + new + { + Code = "TEMPPER", + Name = "Temporary Permit" + }, + new + { + Code = "TI", + Name = "Temporary Inactive" + }, + new + { + Code = "TSF", + Name = "Transfer" + }, + new + { + Code = "UNK", + Name = "Unknown" + }, + new + { + Code = "VW", + Name = "Voluntary Withdrawal" + }, + new + { + Code = "ASSOC", + Name = "Associate" + }, + new + { + Code = "AU", + Name = "Address Unknown" + }, + new + { + Code = "CLOSED", + Name = "Closed" + }, + new + { + Code = "NONPRAC", + Name = "Non Practicing" + }, + new + { + Code = "LAP", + Name = "License Lapsed on Request" + }, + new + { + Code = "LTP", + Name = "Left the Province" + }, + new + { + Code = "NONPAY", + Name = "Non Payment of Fee" + }, + new + { + Code = "RET", + Name = "Retired" + }, + new + { + Code = "DEC", + Name = "Deceased" + }, + new + { + Code = "MEDSTUD", + Name = "Medical Student" + }); + }); + + modelBuilder.Entity("Prime.Models.PlrProvider", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("Address1Line1") + .HasColumnType("text"); + + b.Property("Address1Line2") + .HasColumnType("text"); + + b.Property("Address1Line3") + .HasColumnType("text"); + + b.Property("Address1StartDate") + .HasColumnType("timestamp without time zone"); + + b.Property("City1") + .HasColumnType("text"); + + b.Property("CollegeId") + .HasColumnType("text"); + + b.Property("ConditionCode") + .HasColumnType("text"); + + b.Property("ConditionEndDate") + .HasColumnType("timestamp without time zone"); + + b.Property("ConditionStartDate") + .HasColumnType("timestamp without time zone"); + + b.Property("Country1") + .HasColumnType("text"); + + b.Property("Cpn") + .HasColumnType("text"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("Credentials") + .HasColumnType("text"); + + b.Property("DateOfBirth") + .HasColumnType("timestamp without time zone"); + + b.Property("Email") + .HasColumnType("text"); + + b.Property("Expertise") + .HasColumnType("text"); + + b.Property("FaxAreaCode") + .HasColumnType("text"); + + b.Property("FaxNumber") + .HasColumnType("text"); + + b.Property("FirstName") + .HasColumnType("text"); + + b.Property("Gender") + .HasColumnType("text"); + + b.Property("IdentifierType") + .HasColumnType("text"); + + b.Property("Ipc") + .HasColumnType("text"); + + b.Property("LastName") + .HasColumnType("text"); + + b.Property("MspId") + .HasColumnType("text"); + + b.Property("NamePrefix") + .HasColumnType("text"); + + b.Property("PostalCode1") + .HasColumnType("text"); + + b.Property("ProviderRoleType") + .HasColumnType("text"); + + b.Property("Province1") + .HasColumnType("text"); + + b.Property("SecondName") + .HasColumnType("text"); + + b.Property("StatusCode") + .HasColumnType("text"); + + b.Property("StatusExpiryDate") + .HasColumnType("timestamp without time zone"); + + b.Property("StatusReasonCode") + .HasColumnType("text"); + + b.Property("StatusStartDate") + .HasColumnType("timestamp without time zone"); + + b.Property("Suffix") + .HasColumnType("text"); + + b.Property("TelephoneAreaCode") + .HasColumnType("text"); + + b.Property("TelephoneNumber") + .HasColumnType("text"); + + b.Property("ThirdName") + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("Ipc") + .IsUnique(); + + b.ToTable("PlrProvider"); + }); + + modelBuilder.Entity("Prime.Models.Practice", b => + { + b.Property("Code") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Code")); + + b.Property("Name") + .IsRequired() + .HasColumnType("text"); + + b.HasKey("Code"); + + b.ToTable("PracticeLookup"); + + b.HasData( + new + { + Code = 1, + Name = "Remote Practice" + }, + new + { + Code = 2, + Name = "Reproductive Health - Sexually Transmitted Infections" + }, + new + { + Code = 3, + Name = "Reproductive Health - Contraceptive Management" + }, + new + { + Code = 4, + Name = "First Call" + }); + }); + + modelBuilder.Entity("Prime.Models.Practitioner", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CollegeId") + .HasColumnType("text"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("DateofBirth") + .HasColumnType("timestamp without time zone"); + + b.Property("EffectiveDate") + .HasColumnType("timestamp with time zone"); + + b.Property("FirstName") + .HasColumnType("text"); + + b.Property("LastName") + .HasColumnType("text"); + + b.Property("MiddleInitial") + .HasColumnType("text"); + + b.Property("PracRefId") + .HasColumnType("text"); + + b.Property("ProcessedDate") + .HasColumnType("timestamp without time zone"); + + b.Property("Status") + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.ToTable("Practitioner"); + }); + + modelBuilder.Entity("Prime.Models.PreApprovedRegistration", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("Email") + .IsRequired() + .HasColumnType("text"); + + b.Property("FirstName") + .IsRequired() + .HasColumnType("text"); + + b.Property("LastName") + .IsRequired() + .HasColumnType("text"); + + b.Property("PartyType") + .HasColumnType("integer"); + + b.Property("Phone") + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.ToTable("PreApprovedRegistration"); + }); + + modelBuilder.Entity("Prime.Models.Privilege", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("Description") + .HasColumnType("text"); + + b.Property("PrivilegeGroupCode") + .HasColumnType("integer"); + + b.Property("TransactionType") + .HasColumnType("text"); + + b.HasKey("Id"); + + b.HasIndex("PrivilegeGroupCode"); + + b.ToTable("Privilege"); + + b.HasData( + new + { + Id = 1, + Description = "Update Claims History", + PrivilegeGroupCode = 1, + TransactionType = "TAC" + }, + new + { + Id = 2, + Description = "Query Claims History", + PrivilegeGroupCode = 1, + TransactionType = "TDT" + }, + new + { + Id = 3, + Description = "Pt Profile Mail Request", + PrivilegeGroupCode = 1, + TransactionType = "TPM" + }, + new + { + Id = 4, + Description = "Maintain Pt Keyword", + PrivilegeGroupCode = 1, + TransactionType = "TCP" + }, + new + { + Id = 5, + Description = "New PHN", + PrivilegeGroupCode = 2, + TransactionType = "TPH" + }, + new + { + Id = 6, + Description = "Address Update", + PrivilegeGroupCode = 2, + TransactionType = "TPA" + }, + new + { + Id = 7, + Description = "Medication Update", + PrivilegeGroupCode = 2, + TransactionType = "TMU" + }, + new + { + Id = 8, + Description = "Drug Monograph", + PrivilegeGroupCode = 3, + TransactionType = "TDR" + }, + new + { + Id = 9, + Description = "Patient Details", + PrivilegeGroupCode = 3, + TransactionType = "TID" + }, + new + { + Id = 10, + Description = "Location Details", + PrivilegeGroupCode = 3, + TransactionType = "TIL" + }, + new + { + Id = 11, + Description = "Prescriber Details", + PrivilegeGroupCode = 3, + TransactionType = "TIP" + }, + new + { + Id = 12, + Description = "Name Search", + PrivilegeGroupCode = 3, + TransactionType = "TPN" + }, + new + { + Id = 13, + Description = "Pt Profile Request", + PrivilegeGroupCode = 3, + TransactionType = "TRP" + }, + new + { + Id = 14, + Description = "Most Recent Profile", + PrivilegeGroupCode = 3, + TransactionType = "TBR" + }, + new + { + Id = 15, + Description = "Filled Elsewhere Profile", + PrivilegeGroupCode = 3, + TransactionType = "TRS" + }, + new + { + Id = 16, + Description = "DUE Inquiry", + PrivilegeGroupCode = 3, + TransactionType = "TDU" + }, + new + { + Id = 19, + Description = "Regulated User that can have OBOs", + PrivilegeGroupCode = 5, + TransactionType = "RU with OBOs" + }); + }); + + modelBuilder.Entity("Prime.Models.PrivilegeGroup", b => + { + b.Property("Code") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Code")); + + b.Property("Name") + .HasColumnType("text"); + + b.Property("PrivilegeTypeCode") + .HasColumnType("integer"); + + b.HasKey("Code"); + + b.HasIndex("PrivilegeTypeCode"); + + b.ToTable("PrivilegeGroupLookup"); + + b.HasData( + new + { + Code = 1, + Name = "Submit and Access Claims", + PrivilegeTypeCode = 2 + }, + new + { + Code = 2, + Name = "Record Medical History", + PrivilegeTypeCode = 2 + }, + new + { + Code = 3, + Name = "Access Medical History", + PrivilegeTypeCode = 2 + }, + new + { + Code = 5, + Name = "RU That Can Have OBOs", + PrivilegeTypeCode = 1 + }); + }); + + modelBuilder.Entity("Prime.Models.PrivilegeType", b => + { + b.Property("Code") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Code")); + + b.Property("Name") + .HasColumnType("text"); + + b.HasKey("Code"); + + b.ToTable("PrivilegeTypeLookup"); + + b.HasData( + new + { + Code = 1, + Name = "Allowable Role" + }, + new + { + Code = 2, + Name = "Allowable Transaction" + }); + }); + + modelBuilder.Entity("Prime.Models.Province", b => + { + b.Property("Code") + .HasColumnType("text"); + + b.Property("CountryCode") + .IsRequired() + .HasColumnType("text"); + + b.Property("Name") + .IsRequired() + .HasColumnType("text"); + + b.HasKey("Code"); + + b.HasIndex("CountryCode"); + + b.ToTable("ProvinceLookup"); + + b.HasData( + new + { + Code = "AB", + CountryCode = "CA", + Name = "Alberta" + }, + new + { + Code = "BC", + CountryCode = "CA", + Name = "British Columbia" + }, + new + { + Code = "MB", + CountryCode = "CA", + Name = "Manitoba" + }, + new + { + Code = "NB", + CountryCode = "CA", + Name = "New Brunswick" + }, + new + { + Code = "NL", + CountryCode = "CA", + Name = "Newfoundland and Labrador" + }, + new + { + Code = "NS", + CountryCode = "CA", + Name = "Nova Scotia" + }, + new + { + Code = "ON", + CountryCode = "CA", + Name = "Ontario" + }, + new + { + Code = "PE", + CountryCode = "CA", + Name = "Prince Edward Island" + }, + new + { + Code = "QC", + CountryCode = "CA", + Name = "Quebec" + }, + new + { + Code = "SK", + CountryCode = "CA", + Name = "Saskatchewan" + }, + new + { + Code = "NT", + CountryCode = "CA", + Name = "Northwest Territories" + }, + new + { + Code = "NU", + CountryCode = "CA", + Name = "Nunavut" + }, + new + { + Code = "YT", + CountryCode = "CA", + Name = "Yukon" + }, + new + { + Code = "AL", + CountryCode = "US", + Name = "Alabama" + }, + new + { + Code = "AK", + CountryCode = "US", + Name = "Alaska" + }, + new + { + Code = "AS", + CountryCode = "US", + Name = "American Samoa" + }, + new + { + Code = "AZ", + CountryCode = "US", + Name = "Arizona" + }, + new + { + Code = "AR", + CountryCode = "US", + Name = "Arkansas" + }, + new + { + Code = "CA", + CountryCode = "US", + Name = "California" + }, + new + { + Code = "CO", + CountryCode = "US", + Name = "Colorado" + }, + new + { + Code = "CT", + CountryCode = "US", + Name = "Connecticut" + }, + new + { + Code = "DE", + CountryCode = "US", + Name = "Delaware" + }, + new + { + Code = "DC", + CountryCode = "US", + Name = "District of Columbia" + }, + new + { + Code = "FL", + CountryCode = "US", + Name = "Florida" + }, + new + { + Code = "GA", + CountryCode = "US", + Name = "Georgia" + }, + new + { + Code = "GU", + CountryCode = "US", + Name = "Guam" + }, + new + { + Code = "HI", + CountryCode = "US", + Name = "Hawaii" + }, + new + { + Code = "ID", + CountryCode = "US", + Name = "Idaho" + }, + new + { + Code = "IL", + CountryCode = "US", + Name = "Illinois" + }, + new + { + Code = "IN", + CountryCode = "US", + Name = "Indiana" + }, + new + { + Code = "IA", + CountryCode = "US", + Name = "Iowa" + }, + new + { + Code = "KS", + CountryCode = "US", + Name = "Kansas" + }, + new + { + Code = "KY", + CountryCode = "US", + Name = "Kentucky" + }, + new + { + Code = "LA", + CountryCode = "US", + Name = "Louisiana" + }, + new + { + Code = "ME", + CountryCode = "US", + Name = "Maine" + }, + new + { + Code = "MD", + CountryCode = "US", + Name = "Maryland" + }, + new + { + Code = "MA", + CountryCode = "US", + Name = "Massachusetts" + }, + new + { + Code = "MI", + CountryCode = "US", + Name = "Michigan" + }, + new + { + Code = "MN", + CountryCode = "US", + Name = "Minnesota" + }, + new + { + Code = "MS", + CountryCode = "US", + Name = "Mississippi" + }, + new + { + Code = "MO", + CountryCode = "US", + Name = "Missouri" + }, + new + { + Code = "MT", + CountryCode = "US", + Name = "Montana" + }, + new + { + Code = "NE", + CountryCode = "US", + Name = "Nebraska" + }, + new + { + Code = "NV", + CountryCode = "US", + Name = "Nevada" + }, + new + { + Code = "NH", + CountryCode = "US", + Name = "New Hampshire" + }, + new + { + Code = "NJ", + CountryCode = "US", + Name = "New Jersey" + }, + new + { + Code = "NM", + CountryCode = "US", + Name = "New Mexico" + }, + new + { + Code = "NY", + CountryCode = "US", + Name = "New York" + }, + new + { + Code = "NC", + CountryCode = "US", + Name = "North Carolina" + }, + new + { + Code = "ND", + CountryCode = "US", + Name = "North Dakota" + }, + new + { + Code = "MP", + CountryCode = "US", + Name = "Northern Mariana Islands" + }, + new + { + Code = "OH", + CountryCode = "US", + Name = "Ohio" + }, + new + { + Code = "OK", + CountryCode = "US", + Name = "Oklahoma" + }, + new + { + Code = "OR", + CountryCode = "US", + Name = "Oregon" + }, + new + { + Code = "PA", + CountryCode = "US", + Name = "Pennsylvania" + }, + new + { + Code = "PR", + CountryCode = "US", + Name = "Puerto Rico" + }, + new + { + Code = "RI", + CountryCode = "US", + Name = "Rhode Island" + }, + new + { + Code = "SC", + CountryCode = "US", + Name = "South Carolina" + }, + new + { + Code = "SD", + CountryCode = "US", + Name = "South Dakota" + }, + new + { + Code = "TN", + CountryCode = "US", + Name = "Tennessee" + }, + new + { + Code = "TX", + CountryCode = "US", + Name = "Texas" + }, + new + { + Code = "UM", + CountryCode = "US", + Name = "United States Minor Outlying Islands" + }, + new + { + Code = "UT", + CountryCode = "US", + Name = "Utah" + }, + new + { + Code = "VT", + CountryCode = "US", + Name = "Vermont" + }, + new + { + Code = "VI", + CountryCode = "US", + Name = "Virgin Islands, U.S." + }, + new + { + Code = "VA", + CountryCode = "US", + Name = "Virginia" + }, + new + { + Code = "WA", + CountryCode = "US", + Name = "Washington" + }, + new + { + Code = "WV", + CountryCode = "US", + Name = "West Virginia" + }, + new + { + Code = "WI", + CountryCode = "US", + Name = "Wisconsin" + }, + new + { + Code = "WY", + CountryCode = "US", + Name = "Wyoming" + }); + }); + + modelBuilder.Entity("Prime.Models.RemoteAccessLocation", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EnrolleeId") + .HasColumnType("integer"); + + b.Property("InternetProvider") + .IsRequired() + .HasColumnType("text"); + + b.Property("PhysicalAddressId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("EnrolleeId"); + + b.HasIndex("PhysicalAddressId"); + + b.ToTable("RemoteAccessLocation"); + }); + + modelBuilder.Entity("Prime.Models.RemoteAccessSite", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EnrolleeId") + .HasColumnType("integer"); + + b.Property("SiteId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("EnrolleeId"); + + b.HasIndex("SiteId"); + + b.ToTable("RemoteAccessSite"); + }); + + modelBuilder.Entity("Prime.Models.RemoteUser", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("Email") + .IsRequired() + .HasColumnType("text"); + + b.Property("FirstName") + .IsRequired() + .HasColumnType("text"); + + b.Property("LastName") + .IsRequired() + .HasColumnType("text"); + + b.Property("Notified") + .HasColumnType("boolean"); + + b.Property("SiteId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("SiteId"); + + b.ToTable("RemoteUser"); + }); + + modelBuilder.Entity("Prime.Models.RemoteUserCertification", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CollegeCode") + .HasColumnType("integer"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("LicenseCode") + .HasColumnType("integer"); + + b.Property("LicenseNumber") + .HasColumnType("text"); + + b.Property("PractitionerId") + .HasColumnType("text"); + + b.Property("RemoteUserId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("CollegeCode"); + + b.HasIndex("LicenseCode"); + + b.HasIndex("RemoteUserId") + .IsUnique(); + + b.ToTable("RemoteUserCertification"); + }); + + modelBuilder.Entity("Prime.Models.SelfDeclaration", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EnrolleeId") + .HasColumnType("integer"); + + b.Property("SelfDeclarationDetails") + .HasColumnType("text"); + + b.Property("SelfDeclarationTypeCode") + .HasColumnType("integer"); + + b.Property("SelfDeclarationVersionId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("EnrolleeId"); + + b.HasIndex("SelfDeclarationTypeCode"); + + b.HasIndex("SelfDeclarationVersionId"); + + b.ToTable("SelfDeclaration"); + }); + + modelBuilder.Entity("Prime.Models.SelfDeclarationDocument", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("DocumentGuid") + .HasColumnType("uuid"); + + b.Property("EnrolleeId") + .HasColumnType("integer"); + + b.Property("Filename") + .HasColumnType("text"); + + b.Property("Hidden") + .HasColumnType("boolean"); + + b.Property("SelfDeclarationTypeCode") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.Property("UploadedDate") + .HasColumnType("timestamp with time zone"); + + b.HasKey("Id"); + + b.HasIndex("EnrolleeId"); + + b.HasIndex("SelfDeclarationTypeCode"); + + b.ToTable("SelfDeclarationDocument"); + }); + + modelBuilder.Entity("Prime.Models.SelfDeclarationType", b => + { + b.Property("Code") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Code")); + + b.Property("Name") + .IsRequired() + .HasColumnType("text"); + + b.Property("SortingNumber") + .HasColumnType("integer"); + + b.HasKey("Code"); + + b.ToTable("SelfDeclarationTypeLookup"); + + b.HasData( + new + { + Code = 1, + Name = "Has Conviction", + SortingNumber = 1 + }, + new + { + Code = 2, + Name = "Has Registration Suspended", + SortingNumber = 2 + }, + new + { + Code = 4, + Name = "Has Disciplinary Action", + SortingNumber = 5 + }, + new + { + Code = 3, + Name = "Has PharmaNet Suspended", + SortingNumber = 4 + }, + new + { + Code = 5, + Name = "Has PharmaNet Suspended - Device Provider", + SortingNumber = 3 + }); + }); + + modelBuilder.Entity("Prime.Models.SelfDeclarationVersion", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CareSettingCodeStr") + .HasColumnType("text"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EffectiveDate") + .HasColumnType("timestamp with time zone"); + + b.Property("SelfDeclarationTypeCode") + .HasColumnType("integer"); + + b.Property("Text") + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("SelfDeclarationTypeCode"); + + b.ToTable("SelfDeclarationVersion"); + + b.HasData( + new + { + Id = 1, + CareSettingCodeStr = "1,2,3,4", + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2020, 2, 1, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + SelfDeclarationTypeCode = 1, + Text = "Are you, or have you ever been, the subject of an order or a conviction under legislation in any jurisdiction for a matter that involved improper access to, collection, use, or disclosure or retention of personal information?", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 2, + CareSettingCodeStr = "1,2,3,4", + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2020, 2, 1, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + SelfDeclarationTypeCode = 2, + Text = "Are you, or have you ever been, subject to any limits, conditions or prohibitions imposed as a result of disciplinary actions taken by a governing body of a health profession in any jurisdiction, that involved improper access to, collection, use, or disclosure or retention of personal information?", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 3, + CareSettingCodeStr = "1,2,3,4", + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2020, 2, 1, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + SelfDeclarationTypeCode = 4, + Text = "Have you ever been disciplined or fired by an employer, or had a contract for your services terminated, for a matter that involved improper access to, collection, use, or disclosure or retention of personal information?", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 4, + CareSettingCodeStr = "1,2,3,4", + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2020, 2, 1, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + SelfDeclarationTypeCode = 3, + Text = "Have you ever had your access to PharmaNet or any other health information system, whether or not electronic,  an electronic health record system, electronic medical record system, pharmacy or laboratory record system, or any similar health information system, in any jurisdiction, suspended or cancelled for a matter that involved improper access to, collection, use, or disclosure or retention of personal information?", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 5, + CareSettingCodeStr = "1,2,3,4", + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2022, 12, 17, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + SelfDeclarationTypeCode = 1, + Text = "Have you ever been the subject of an order or conviction in British Columbia or any other jurisdiction for a matter involving an “unlawful or improper action”?", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 6, + CareSettingCodeStr = "1,2,3,4", + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2022, 12, 17, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + SelfDeclarationTypeCode = 2, + Text = "Are you, or have you ever been, subject to the imposition, whether by order or with consent, of prohibitions, limits or conditions on your practice of a health profession:

  1. in British Columbia, under the Health Professions Act or the Pharmacy Operations and Drug Scheduling Act, or
  2. in any other jurisdiction, by a body that regulates a health profession in that jurisdiction
for a matter involving an “unlawful or improper action”?", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 7, + CareSettingCodeStr = "1,2,3,4", + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2022, 12, 17, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + SelfDeclarationTypeCode = 4, + Text = "Has an employer ever disciplined you, or terminated your employment, for a matter involving an “unlawful or improper action”? Has a contract for your services ever been terminated for a matter involving an “unlawful or improper action”?", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 8, + CareSettingCodeStr = "1,2,3,4", + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2022, 12, 17, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + SelfDeclarationTypeCode = 3, + Text = "Has your access to PharmaNet or any other health information system, whether or not electronic and whether or not in British Columbia or another jurisdiction, been suspended or cancelled for a matter involving an “unlawful or improper action”?", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }, + new + { + Id = 9, + CareSettingCodeStr = "4", + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), + EffectiveDate = new DateTimeOffset(new DateTime(2023, 8, 10, 8, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + SelfDeclarationTypeCode = 5, + Text = "Are you, or have you ever been, disciplined, suspended, or expelled, whether by order or with consent, by Orthotics Prosthetics Canada or a similar organization in another jurisdiction for a matter involving an “unlawful or improper action”?", + UpdatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), + UpdatedUserId = new Guid("00000000-0000-0000-0000-000000000000") + }); + }); + + modelBuilder.Entity("Prime.Models.SignedAgreementDocument", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("AgreementId") + .HasColumnType("integer"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("DocumentGuid") + .HasColumnType("uuid"); + + b.Property("Filename") + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.Property("UploadedDate") + .HasColumnType("timestamp with time zone"); + + b.HasKey("Id"); + + b.HasIndex("AgreementId") + .IsUnique(); + + b.ToTable("SignedAgreementDocument"); + }); + + modelBuilder.Entity("Prime.Models.Site", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("ActiveBeforeRegistration") + .HasColumnType("boolean"); + + b.Property("AdjudicatorId") + .HasColumnType("integer"); + + b.Property("ApprovedDate") + .HasColumnType("timestamp with time zone"); + + b.Property("CareSettingCode") + .HasColumnType("integer"); + + b.Property("ClosedDate") + .HasColumnType("timestamp with time zone"); + + b.Property("Completed") + .HasColumnType("boolean"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("DoingBusinessAs") + .HasColumnType("text"); + + b.Property("Flagged") + .HasColumnType("boolean"); + + b.Property("IsNew") + .HasColumnType("boolean"); + + b.Property("Mnemonic") + .HasColumnType("text"); + + b.Property("PEC") + .HasColumnType("text"); + + b.Property("PhysicalAddressId") + .HasColumnType("integer"); + + b.Property("SiteCloseReasonCode") + .HasColumnType("integer"); + + b.Property("SubmittedDate") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("AdjudicatorId"); + + b.HasIndex("CareSettingCode"); + + b.HasIndex("PhysicalAddressId"); + + b.ToTable("Site"); + + b.UseTptMappingStrategy(); + }); + + modelBuilder.Entity("Prime.Models.SiteAdjudicationDocument", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("AdjudicatorId") + .HasColumnType("integer"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("DocumentGuid") + .HasColumnType("uuid"); + + b.Property("Filename") + .HasColumnType("text"); + + b.Property("SiteId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.Property("UploadedDate") + .HasColumnType("timestamp with time zone"); + + b.HasKey("Id"); + + b.HasIndex("AdjudicatorId"); + + b.HasIndex("SiteId"); + + b.ToTable("SiteAdjudicationDocument"); + }); + + modelBuilder.Entity("Prime.Models.SiteCloseReason", b => + { + b.Property("Code") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Code")); + + b.Property("Name") + .HasColumnType("text"); + + b.HasKey("Code"); + + b.ToTable("SiteCloseReasonLookup"); + + b.HasData( + new + { + Code = 1, + Name = "Licence cancelled" + }, + new + { + Code = 2, + Name = "Closed by Organization" + }, + new + { + Code = 3, + Name = "Other" + }); + }); + + modelBuilder.Entity("Prime.Models.SiteNotification", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("AdminId") + .HasColumnType("integer"); + + b.Property("AssigneeId") + .HasColumnType("integer"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("SiteRegistrationNoteId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("AdminId"); + + b.HasIndex("AssigneeId"); + + b.HasIndex("SiteRegistrationNoteId") + .IsUnique(); + + b.ToTable("SiteNotification"); + }); + + modelBuilder.Entity("Prime.Models.SiteRegistrationNote", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("AdjudicatorId") + .HasColumnType("integer"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("Note") + .IsRequired() + .HasColumnType("text"); + + b.Property("NoteDate") + .HasColumnType("timestamp with time zone"); + + b.Property("SiteId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("AdjudicatorId"); + + b.HasIndex("SiteId"); + + b.ToTable("SiteRegistrationNote"); + }); + + modelBuilder.Entity("Prime.Models.SiteRegistrationReviewDocument", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("DocumentGuid") + .HasColumnType("uuid"); + + b.Property("Filename") + .HasColumnType("text"); + + b.Property("SiteId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.Property("UploadedDate") + .HasColumnType("timestamp with time zone"); + + b.HasKey("Id"); + + b.HasIndex("SiteId"); + + b.ToTable("SiteRegistrationReviewDocument"); + }); + + modelBuilder.Entity("Prime.Models.SiteStatus", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("SiteId") + .HasColumnType("integer"); + + b.Property("StatusDate") + .HasColumnType("timestamp with time zone"); + + b.Property("StatusType") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("SiteId"); + + b.ToTable("SiteStatus"); + }); + + modelBuilder.Entity("Prime.Models.SiteVendor", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("SiteId") + .HasColumnType("integer"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.Property("VendorCode") + .HasColumnType("integer"); + + b.HasKey("Id"); + + b.HasIndex("SiteId"); + + b.HasIndex("VendorCode"); + + b.ToTable("SiteVendor"); + }); + + modelBuilder.Entity("Prime.Models.Status", b => + { + b.Property("Code") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Code")); + + b.Property("Name") + .HasColumnType("text"); + + b.HasKey("Code"); + + b.ToTable("StatusLookup"); + + b.HasData( + new + { + Code = 1, + Name = "Editable" + }, + new + { + Code = 2, + Name = "Under Review" + }, + new + { + Code = 3, + Name = "Requires TOA" + }, + new + { + Code = 4, + Name = "Locked" + }, + new + { + Code = 5, + Name = "Declined" + }, + new + { + Code = 6, + Name = "Disabled" + }, + new + { + Code = 7, + Name = "Closed" + }); + }); + + modelBuilder.Entity("Prime.Models.StatusReason", b => + { + b.Property("Code") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Code")); + + b.Property("Name") + .HasColumnType("text"); + + b.HasKey("Code"); + + b.ToTable("StatusReasonLookup"); + + b.HasData( + new + { + Code = 1, + Name = "Automatically Adjudicated" + }, + new + { + Code = 2, + Name = "Manually Adjudicated" + }, + new + { + Code = 3, + Name = "PharmaNet Error, License could not be validated" + }, + new + { + Code = 4, + Name = "College License, Practitioner ID, or Device Provider ID not in PharmaNet table" + }, + new + { + Code = 6, + Name = "Birthdate discrepancy in PharmaNet practitioner table" + }, + new + { + Code = 5, + Name = "Name discrepancy in PharmaNet practitioner table" + }, + new + { + Code = 7, + Name = "Listed as Non-Practicing in PharmaNet practitioner table" + }, + new + { + Code = 8, + Name = "Device Provider" + }, + new + { + Code = 9, + Name = "Licence Class requires manual adjudication" + }, + new + { + Code = 10, + Name = "Answered one or more Self Declaration questions \"Yes\"" + }, + new + { + Code = 11, + Name = "Contact Address or Identity Address not in British Columbia" + }, + new + { + Code = 12, + Name = "Admin has flagged the applicant for manual adjudication" + }, + new + { + Code = 13, + Name = "User does not have high enough identity assurance level" + }, + new + { + Code = 14, + Name = "User authenticated with a method other than BC Services Card" + }, + new + { + Code = 15, + Name = "User has Requested Remote Access" + }, + new + { + Code = 16, + Name = "Terms of Access to be determined by an Adjudicator" + }, + new + { + Code = 17, + Name = "No address from BC Services Card. Enrollee entered address." + }, + new + { + Code = 18, + Name = "Manually entered paper enrolment" + }, + new + { + Code = 19, + Name = "PRIME enrolment does not match paper enrollee record" + }, + new + { + Code = 20, + Name = "Possible match with paper enrolment(s)" + }, + new + { + Code = 21, + Name = "Unable to link enrollee to paper enrolment" + }); + }); + + modelBuilder.Entity("Prime.Models.Submission", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("AgreementType") + .HasColumnType("integer"); + + b.Property("Confirmed") + .HasColumnType("boolean"); + + b.Property("CreatedDate") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EnrolleeId") + .HasColumnType("integer"); + + b.Property("ProfileSnapshot") + .IsRequired() + .HasColumnType("json"); + + b.Property("RequestedRemoteAccess") + .HasColumnType("boolean"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("EnrolleeId"); + + b.ToTable("Submission"); + }); + + modelBuilder.Entity("Prime.Models.UnlistedCertification", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CollegeName") + .HasColumnType("text"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EnrolleeId") + .HasColumnType("integer"); + + b.Property("LicenceNumber") + .HasColumnType("text"); + + b.Property("RenewalDate") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("EnrolleeId"); + + b.ToTable("UnlistedCertification"); + }); + + modelBuilder.Entity("Prime.Models.Vendor", b => + { + b.Property("Code") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Code")); + + b.Property("CareSettingCode") + .HasColumnType("integer"); + + b.Property("Email") + .HasColumnType("text"); + + b.Property("Name") + .HasColumnType("text"); + + b.HasKey("Code"); + + b.HasIndex("CareSettingCode"); + + b.ToTable("VendorLookup"); + + b.HasData( + new + { + Code = 1, + CareSettingCode = 2, + Email = "CareConnect@phsa.ca", + Name = "CareConnect" + }, + new + { + Code = 2, + CareSettingCode = 2, + Email = "support@excelleris.com", + Name = "Excelleris" + }, + new + { + Code = 3, + CareSettingCode = 2, + Email = "help@iclinicemr.com", + Name = "iClinic" + }, + new + { + Code = 4, + CareSettingCode = 2, + Email = "prime@medinet.ca", + Name = "Medinet" + }, + new + { + Code = 5, + CareSettingCode = 2, + Email = "service@plexia.ca", + Name = "Plexia" + }, + new + { + Code = 6, + CareSettingCode = 3, + Email = "", + Name = "TELUS Health – Kroll" + }, + new + { + Code = 7, + CareSettingCode = 3, + Email = "", + Name = "Applied Robotics Inc." + }, + new + { + Code = 8, + CareSettingCode = 3, + Email = "", + Name = "Loblaws/Shoppers Drug Mart" + }, + new + { + Code = 9, + CareSettingCode = 3, + Email = "", + Name = "McKesson Canada" + }, + new + { + Code = 10, + CareSettingCode = 3, + Email = "", + Name = "Commander Group Software" + }, + new + { + Code = 14, + CareSettingCode = 4, + Email = "", + Name = "Applied Robotics Inc." + }, + new + { + Code = 15, + CareSettingCode = 4, + Email = "", + Name = "Commander Group Software" + }, + new + { + Code = 21, + CareSettingCode = 1, + Email = "", + Name = "CareConnect" + }, + new + { + Code = 22, + CareSettingCode = 1, + Email = "", + Name = "Excelleris" + }, + new + { + Code = 23, + CareSettingCode = 1, + Email = "", + Name = "iClinic" + }, + new + { + Code = 24, + CareSettingCode = 1, + Email = "", + Name = "Medinet" + }, + new + { + Code = 25, + CareSettingCode = 1, + Email = "", + Name = "Plexia" + }, + new + { + Code = 26, + CareSettingCode = 1, + Email = "", + Name = "PharmaClik" + }, + new + { + Code = 27, + CareSettingCode = 1, + Email = "", + Name = "Nexxsys" + }, + new + { + Code = 28, + CareSettingCode = 1, + Email = "", + Name = "Kroll" + }, + new + { + Code = 29, + CareSettingCode = 1, + Email = "", + Name = "Assyst Rx-A" + }, + new + { + Code = 30, + CareSettingCode = 1, + Email = "", + Name = "WinRx" + }, + new + { + Code = 31, + CareSettingCode = 1, + Email = "", + Name = "Shoppers Drug Mart HealthWatch NG" + }, + new + { + Code = 32, + CareSettingCode = 1, + Email = "", + Name = "Commander Group" + }, + new + { + Code = 33, + CareSettingCode = 1, + Email = "", + Name = "BDM" + }, + new + { + Code = 34, + CareSettingCode = 1, + Email = "", + Name = "Meditech" + }, + new + { + Code = 35, + CareSettingCode = 1, + Email = "", + Name = "Cerner" + }); + }); + + modelBuilder.Entity("Prime.Models.VendorApiLog", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("EndPoint") + .IsRequired() + .HasColumnType("text"); + + b.Property("ErrorMessage") + .HasColumnType("text"); + + b.Property("Input") + .HasColumnType("text"); + + b.Property("Output") + .HasColumnType("text"); + + b.Property("ServiceAccountUsername") + .IsRequired() + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.ToTable("VendorApiLog"); + }); + + modelBuilder.Entity("Prime.Models.VerifiableCredentials.Credential", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("AcceptedCredentialDate") + .HasColumnType("timestamp with time zone"); + + b.Property("Alias") + .HasColumnType("text"); + + b.Property("Base64QRCode") + .HasColumnType("text"); + + b.Property("ConnectionId") + .HasColumnType("text"); + + b.Property("CreatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("CreatedUserId") + .HasColumnType("uuid"); + + b.Property("CredentialDefinitionId") + .HasColumnType("text"); + + b.Property("CredentialExchangeId") + .HasColumnType("text"); + + b.Property("EnrolleeId") + .HasColumnType("integer"); + + b.Property("RevokedCredentialDate") + .HasColumnType("timestamp with time zone"); + + b.Property("SchemaId") + .HasColumnType("text"); + + b.Property("UpdatedTimeStamp") + .HasColumnType("timestamp with time zone"); + + b.Property("UpdatedUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("EnrolleeId"); + + b.ToTable("Credential"); + }); + + modelBuilder.Entity("Prime.Models.AdditionalAddress", b => + { + b.HasBaseType("Prime.Models.Address"); + + b.ToTable("Address"); + + b.HasDiscriminator().HasValue(4); + }); + + modelBuilder.Entity("Prime.Models.MailingAddress", b => + { + b.HasBaseType("Prime.Models.Address"); + + b.ToTable("Address"); + + b.HasDiscriminator().HasValue(2); + }); + + modelBuilder.Entity("Prime.Models.PhysicalAddress", b => + { + b.HasBaseType("Prime.Models.Address"); + + b.ToTable("Address"); + + b.HasDiscriminator().HasValue(1); + }); + + modelBuilder.Entity("Prime.Models.VerifiedAddress", b => + { + b.HasBaseType("Prime.Models.Address"); + + b.ToTable("Address"); + + b.HasDiscriminator().HasValue(3); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthorities.HealthAuthorityPharmanetAdministrator", b => + { + b.HasBaseType("Prime.Models.HealthAuthorities.HealthAuthorityContact"); + + b.HasIndex("HealthAuthorityOrganizationId"); + + b.ToTable("HealthAuthorityContact"); + + b.HasDiscriminator().HasValue("HealthAuthorityPharmanetAdministrator"); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthorities.HealthAuthorityPrivacyOfficer", b => + { + b.HasBaseType("Prime.Models.HealthAuthorities.HealthAuthorityContact"); + + b.HasIndex("HealthAuthorityOrganizationId"); + + b.ToTable("HealthAuthorityContact"); + + b.HasDiscriminator().HasValue("HealthAuthorityPrivacyOfficer"); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthorities.HealthAuthorityTechnicalSupport", b => + { + b.HasBaseType("Prime.Models.HealthAuthorities.HealthAuthorityContact"); + + b.HasIndex("HealthAuthorityOrganizationId"); + + b.ToTable("HealthAuthorityContact"); + + b.HasDiscriminator().HasValue("HealthAuthorityTechnicalSupport"); + }); + + modelBuilder.Entity("Prime.Models.CommunitySite", b => + { + b.HasBaseType("Prime.Models.Site"); + + b.Property("AdministratorPharmaNetId") + .HasColumnType("integer"); + + b.Property("DeviceProviderId") + .HasColumnType("text"); + + b.Property("OrganizationId") + .HasColumnType("integer"); + + b.Property("PrivacyOfficerId") + .HasColumnType("integer"); + + b.Property("ProvisionerId") + .HasColumnType("integer"); + + b.Property("TechnicalSupportId") + .HasColumnType("integer"); + + b.HasIndex("AdministratorPharmaNetId"); + + b.HasIndex("OrganizationId"); + + b.HasIndex("PrivacyOfficerId"); + + b.HasIndex("ProvisionerId"); + + b.HasIndex("TechnicalSupportId"); + + b.ToTable("CommunitySite"); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthoritySite", b => + { + b.HasBaseType("Prime.Models.Site"); + + b.Property("AuthorizedUserId") + .HasColumnType("integer"); + + b.Property("HealthAuthorityCareTypeId") + .HasColumnType("integer"); + + b.Property("HealthAuthorityOrganizationId") + .HasColumnType("integer"); + + b.Property("HealthAuthorityPharmanetAdministratorId") + .HasColumnType("integer"); + + b.Property("HealthAuthorityTechnicalSupportId") + .HasColumnType("integer"); + + b.Property("HealthAuthorityVendorId") + .HasColumnType("integer"); + + b.Property("SecurityGroupCode") + .HasColumnType("integer"); + + b.Property("SiteName") + .HasColumnType("text"); + + b.HasIndex("AuthorizedUserId"); + + b.HasIndex("HealthAuthorityCareTypeId"); + + b.HasIndex("HealthAuthorityOrganizationId"); + + b.HasIndex("HealthAuthorityPharmanetAdministratorId"); + + b.HasIndex("HealthAuthorityTechnicalSupportId"); + + b.HasIndex("HealthAuthorityVendorId"); + + b.ToTable("HealthAuthoritySite"); + }); + + modelBuilder.Entity("Prime.Models.AccessAgreementNote", b => + { + b.HasOne("Prime.Models.Admin", "Adjudicator") + .WithMany() + .HasForeignKey("AdjudicatorId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Enrollee", "Enrollee") + .WithOne("AccessAgreementNote") + .HasForeignKey("Prime.Models.AccessAgreementNote", "EnrolleeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Adjudicator"); + + b.Navigation("Enrollee"); + }); + + modelBuilder.Entity("Prime.Models.Address", b => + { + b.HasOne("Prime.Models.Country", "Country") + .WithMany() + .HasForeignKey("CountryCode"); + + b.HasOne("Prime.Models.Province", "Province") + .WithMany() + .HasForeignKey("ProvinceCode"); + + b.Navigation("Country"); + + b.Navigation("Province"); + }); + + modelBuilder.Entity("Prime.Models.Agreement", b => + { + b.HasOne("Prime.Models.AgreementVersion", "AgreementVersion") + .WithMany() + .HasForeignKey("AgreementVersionId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Enrollee", "Enrollee") + .WithMany("Agreements") + .HasForeignKey("EnrolleeId") + .OnDelete(DeleteBehavior.Cascade); + + b.HasOne("Prime.Models.LimitsConditionsClause", "LimitsConditionsClause") + .WithMany() + .HasForeignKey("LimitsConditionsClauseId"); + + b.HasOne("Prime.Models.Organization", "Organization") + .WithMany("Agreements") + .HasForeignKey("OrganizationId") + .OnDelete(DeleteBehavior.Cascade); + + b.HasOne("Prime.Models.Party", "Party") + .WithMany("Agreements") + .HasForeignKey("PartyId") + .OnDelete(DeleteBehavior.Cascade); + + b.Navigation("AgreementVersion"); + + b.Navigation("Enrollee"); + + b.Navigation("LimitsConditionsClause"); + + b.Navigation("Organization"); + + b.Navigation("Party"); + }); + + modelBuilder.Entity("Prime.Models.AssignedPrivilege", b => + { + b.HasOne("Prime.Models.Enrollee", "Enrollee") + .WithMany("AssignedPrivileges") + .HasForeignKey("EnrolleeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Privilege", "Privilege") + .WithMany("AssignedPrivileges") + .HasForeignKey("PrivilegeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Enrollee"); + + b.Navigation("Privilege"); + }); + + modelBuilder.Entity("Prime.Models.AuthorizedUser", b => + { + b.HasOne("Prime.Models.HealthAuthority", "HealthAuthority") + .WithMany() + .HasForeignKey("HealthAuthorityCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Party", "Party") + .WithMany() + .HasForeignKey("PartyId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("HealthAuthority"); + + b.Navigation("Party"); + }); + + modelBuilder.Entity("Prime.Models.BusinessDay", b => + { + b.HasOne("Prime.Models.Site", "Site") + .WithMany("BusinessHours") + .HasForeignKey("SiteId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Site"); + }); + + modelBuilder.Entity("Prime.Models.BusinessEvent", b => + { + b.HasOne("Prime.Models.Admin", "Admin") + .WithMany() + .HasForeignKey("AdminId") + .OnDelete(DeleteBehavior.SetNull); + + b.HasOne("Prime.Models.BusinessEventType", "BusinessEventType") + .WithMany("BusinessEvents") + .HasForeignKey("BusinessEventTypeCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Enrollee", "Enrollee") + .WithMany() + .HasForeignKey("EnrolleeId") + .OnDelete(DeleteBehavior.SetNull); + + b.HasOne("Prime.Models.Organization", "Organization") + .WithMany() + .HasForeignKey("OrganizationId") + .OnDelete(DeleteBehavior.SetNull); + + b.HasOne("Prime.Models.Party", "Party") + .WithMany() + .HasForeignKey("PartyId") + .OnDelete(DeleteBehavior.SetNull); + + b.HasOne("Prime.Models.Site", "Site") + .WithMany() + .HasForeignKey("SiteId") + .OnDelete(DeleteBehavior.SetNull); + + b.Navigation("Admin"); + + b.Navigation("BusinessEventType"); + + b.Navigation("Enrollee"); + + b.Navigation("Organization"); + + b.Navigation("Party"); + + b.Navigation("Site"); + }); + + modelBuilder.Entity("Prime.Models.BusinessLicence", b => + { + b.HasOne("Prime.Models.CommunitySite", "Site") + .WithMany("BusinessLicences") + .HasForeignKey("SiteId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Site"); + }); + + modelBuilder.Entity("Prime.Models.BusinessLicenceDocument", b => + { + b.HasOne("Prime.Models.BusinessLicence", "BusinessLicence") + .WithOne("BusinessLicenceDocument") + .HasForeignKey("Prime.Models.BusinessLicenceDocument", "BusinessLicenceId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("BusinessLicence"); + }); + + modelBuilder.Entity("Prime.Models.Certification", b => + { + b.HasOne("Prime.Models.College", "College") + .WithMany("Certifications") + .HasForeignKey("CollegeCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Enrollee", "Enrollee") + .WithMany("Certifications") + .HasForeignKey("EnrolleeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.License", "License") + .WithMany("Certifications") + .HasForeignKey("LicenseCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Practice", "Practice") + .WithMany("Certifications") + .HasForeignKey("PracticeCode"); + + b.Navigation("College"); + + b.Navigation("Enrollee"); + + b.Navigation("License"); + + b.Navigation("Practice"); + }); + + modelBuilder.Entity("Prime.Models.CollegeLicense", b => + { + b.HasOne("Prime.Models.College", "College") + .WithMany("CollegeLicenses") + .HasForeignKey("CollegeCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.CollegeLicenseGrouping", "CollegeLicenseGrouping") + .WithMany() + .HasForeignKey("CollegeLicenseGroupingCode"); + + b.HasOne("Prime.Models.License", "License") + .WithMany("CollegeLicenses") + .HasForeignKey("LicenseCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("College"); + + b.Navigation("CollegeLicenseGrouping"); + + b.Navigation("License"); + }); + + modelBuilder.Entity("Prime.Models.CollegePractice", b => + { + b.HasOne("Prime.Models.College", "College") + .WithMany("CollegePractices") + .HasForeignKey("CollegeCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Practice", "Practice") + .WithMany("CollegePractices") + .HasForeignKey("PracticeCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("College"); + + b.Navigation("Practice"); + }); + + modelBuilder.Entity("Prime.Models.Contact", b => + { + b.HasOne("Prime.Models.PhysicalAddress", "PhysicalAddress") + .WithMany() + .HasForeignKey("PhysicalAddressId"); + + b.Navigation("PhysicalAddress"); + }); + + modelBuilder.Entity("Prime.Models.DefaultPrivilege", b => + { + b.HasOne("Prime.Models.License", "License") + .WithMany("DefaultPrivileges") + .HasForeignKey("LicenseCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Privilege", "Privilege") + .WithMany("DefaultPrivileges") + .HasForeignKey("PrivilegeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("License"); + + b.Navigation("Privilege"); + }); + + modelBuilder.Entity("Prime.Models.Enrollee", b => + { + b.HasOne("Prime.Models.Admin", "Adjudicator") + .WithMany("Enrollees") + .HasForeignKey("AdjudicatorId"); + + b.Navigation("Adjudicator"); + }); + + modelBuilder.Entity("Prime.Models.EnrolleeAbsence", b => + { + b.HasOne("Prime.Models.Enrollee", "Enrollee") + .WithMany("EnrolleeAbsences") + .HasForeignKey("EnrolleeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Enrollee"); + }); + + modelBuilder.Entity("Prime.Models.EnrolleeAddress", b => + { + b.HasOne("Prime.Models.Address", "Address") + .WithMany() + .HasForeignKey("AddressId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Enrollee", "Enrollee") + .WithMany("Addresses") + .HasForeignKey("EnrolleeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Address"); + + b.Navigation("Enrollee"); + }); + + modelBuilder.Entity("Prime.Models.EnrolleeAdjudicationDocument", b => + { + b.HasOne("Prime.Models.Admin", "Adjudicator") + .WithMany() + .HasForeignKey("AdjudicatorId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Enrollee", "Enrollee") + .WithMany("EnrolleeAdjudicationDocuments") + .HasForeignKey("EnrolleeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Adjudicator"); + + b.Navigation("Enrollee"); + }); + + modelBuilder.Entity("Prime.Models.EnrolleeCareSetting", b => + { + b.HasOne("Prime.Models.CareSetting", "CareSetting") + .WithMany("EnrolleeCareSettings") + .HasForeignKey("CareSettingCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Enrollee", "Enrollee") + .WithMany("EnrolleeCareSettings") + .HasForeignKey("EnrolleeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("CareSetting"); + + b.Navigation("Enrollee"); + }); + + modelBuilder.Entity("Prime.Models.EnrolleeDeviceProvider", b => + { + b.HasOne("Prime.Models.DeviceProviderRole", "DeviceProviderRole") + .WithMany() + .HasForeignKey("DeviceProviderRoleCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Enrollee", "Enrollee") + .WithMany("EnrolleeDeviceProviders") + .HasForeignKey("EnrolleeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("DeviceProviderRole"); + + b.Navigation("Enrollee"); + }); + + modelBuilder.Entity("Prime.Models.EnrolleeHealthAuthority", b => + { + b.HasOne("Prime.Models.Enrollee", "Enrollee") + .WithMany("EnrolleeHealthAuthorities") + .HasForeignKey("EnrolleeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.HealthAuthority", "HealthAuthority") + .WithMany() + .HasForeignKey("HealthAuthorityCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Enrollee"); + + b.Navigation("HealthAuthority"); + }); + + modelBuilder.Entity("Prime.Models.EnrolleeLinkedEnrolment", b => + { + b.HasOne("Prime.Models.Enrollee", "Enrollee") + .WithOne("EnrolleeToPaperLink") + .HasForeignKey("Prime.Models.EnrolleeLinkedEnrolment", "EnrolleeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Enrollee", "PaperEnrollee") + .WithOne("PaperToEnrolleeLink") + .HasForeignKey("Prime.Models.EnrolleeLinkedEnrolment", "PaperEnrolleeId"); + + b.Navigation("Enrollee"); + + b.Navigation("PaperEnrollee"); + }); + + modelBuilder.Entity("Prime.Models.EnrolleeNote", b => + { + b.HasOne("Prime.Models.Admin", "Adjudicator") + .WithMany("AdjudicatorNotes") + .HasForeignKey("AdjudicatorId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Enrollee", "Enrollee") + .WithMany("AdjudicatorNotes") + .HasForeignKey("EnrolleeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Adjudicator"); + + b.Navigation("Enrollee"); + }); + + modelBuilder.Entity("Prime.Models.EnrolleeNotification", b => + { + b.HasOne("Prime.Models.Admin", "Admin") + .WithMany() + .HasForeignKey("AdminId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Admin", "Assignee") + .WithMany() + .HasForeignKey("AssigneeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.EnrolleeNote", "EnrolleeNote") + .WithOne("EnrolleeNotification") + .HasForeignKey("Prime.Models.EnrolleeNotification", "EnrolleeNoteId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Admin"); + + b.Navigation("Assignee"); + + b.Navigation("EnrolleeNote"); + }); + + modelBuilder.Entity("Prime.Models.EnrolleeRemoteUser", b => + { + b.HasOne("Prime.Models.Enrollee", "Enrollee") + .WithMany("EnrolleeRemoteUsers") + .HasForeignKey("EnrolleeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.RemoteUser", "RemoteUser") + .WithMany() + .HasForeignKey("RemoteUserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Enrollee"); + + b.Navigation("RemoteUser"); + }); + + modelBuilder.Entity("Prime.Models.EnrolmentCertificateAccessToken", b => + { + b.HasOne("Prime.Models.Enrollee", "Enrollee") + .WithMany() + .HasForeignKey("EnrolleeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Enrollee"); + }); + + modelBuilder.Entity("Prime.Models.EnrolmentStatus", b => + { + b.HasOne("Prime.Models.Enrollee", "Enrollee") + .WithMany("EnrolmentStatuses") + .HasForeignKey("EnrolleeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Status", "Status") + .WithMany("EnrolmentStatuses") + .HasForeignKey("StatusCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Enrollee"); + + b.Navigation("Status"); + }); + + modelBuilder.Entity("Prime.Models.EnrolmentStatusReason", b => + { + b.HasOne("Prime.Models.EnrolmentStatus", "EnrolmentStatus") + .WithMany("EnrolmentStatusReasons") + .HasForeignKey("EnrolmentStatusId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.StatusReason", "StatusReason") + .WithMany("EnrolmentStatusReasons") + .HasForeignKey("StatusReasonCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("EnrolmentStatus"); + + b.Navigation("StatusReason"); + }); + + modelBuilder.Entity("Prime.Models.EnrolmentStatusReference", b => + { + b.HasOne("Prime.Models.EnrolleeNote", "AdjudicatorNote") + .WithOne("EnrolmentStatusReference") + .HasForeignKey("Prime.Models.EnrolmentStatusReference", "AdjudicatorNoteId"); + + b.HasOne("Prime.Models.Admin", "Adjudicator") + .WithMany("EnrolmentStatusReference") + .HasForeignKey("AdminId"); + + b.HasOne("Prime.Models.EnrolmentStatus", "EnrolmentStatus") + .WithOne("EnrolmentStatusReference") + .HasForeignKey("Prime.Models.EnrolmentStatusReference", "EnrolmentStatusId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Adjudicator"); + + b.Navigation("AdjudicatorNote"); + + b.Navigation("EnrolmentStatus"); + }); + + modelBuilder.Entity("Prime.Models.GisEnrolment", b => + { + b.HasOne("Prime.Models.Party", "Party") + .WithMany() + .HasForeignKey("PartyId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Party"); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthorities.HealthAuthorityCareType", b => + { + b.HasOne("Prime.Models.HealthAuthorities.HealthAuthorityOrganization", "HealthAuthorityOrganization") + .WithMany("CareTypes") + .HasForeignKey("HealthAuthorityOrganizationId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("HealthAuthorityOrganization"); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthorities.HealthAuthorityCareTypeToVendor", b => + { + b.HasOne("Prime.Models.HealthAuthorities.HealthAuthorityCareType", "HealthAuthorityCareType") + .WithMany() + .HasForeignKey("HealthAuthorityCareTypeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.HealthAuthorities.HealthAuthorityVendor", "HealthAuthorityVendor") + .WithMany() + .HasForeignKey("HealthAuthorityVendorId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("HealthAuthorityCareType"); + + b.Navigation("HealthAuthorityVendor"); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthorities.HealthAuthorityContact", b => + { + b.HasOne("Prime.Models.Contact", "Contact") + .WithMany() + .HasForeignKey("ContactId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Contact"); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthorities.HealthAuthorityOrganization", b => + { + b.HasOne("Prime.Models.HealthAuthorityOrganizationAgreementDocument", "HealthAuthorityOrganizationAgreementDocument") + .WithMany() + .HasForeignKey("HealthAuthorityOrganizationAgreementDocumentId"); + + b.Navigation("HealthAuthorityOrganizationAgreementDocument"); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthorities.HealthAuthorityTechnicalSupportVendor", b => + { + b.HasOne("Prime.Models.HealthAuthorities.HealthAuthorityTechnicalSupport", "HealthAuthorityTechnicalSupport") + .WithMany("VendorsSupported") + .HasForeignKey("HealthAuthorityTechnicalSupportId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.HealthAuthorities.HealthAuthorityVendor", "HealthAuthorityVendor") + .WithMany() + .HasForeignKey("HealthAuthorityVendorId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("HealthAuthorityTechnicalSupport"); + + b.Navigation("HealthAuthorityVendor"); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthorities.HealthAuthorityVendor", b => + { + b.HasOne("Prime.Models.HealthAuthorities.HealthAuthorityOrganization", "HealthAuthorityOrganization") + .WithMany("Vendors") + .HasForeignKey("HealthAuthorityOrganizationId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Vendor", "Vendor") + .WithMany() + .HasForeignKey("VendorCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("HealthAuthorityOrganization"); + + b.Navigation("Vendor"); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthorities.PrivacyOffice", b => + { + b.HasOne("Prime.Models.HealthAuthorities.HealthAuthorityOrganization", "HealthAuthorityOrganization") + .WithOne("PrivacyOffice") + .HasForeignKey("Prime.Models.HealthAuthorities.PrivacyOffice", "HealthAuthorityOrganizationId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.PhysicalAddress", "PhysicalAddress") + .WithMany() + .HasForeignKey("PhysicalAddressId"); + + b.Navigation("HealthAuthorityOrganization"); + + b.Navigation("PhysicalAddress"); + }); + + modelBuilder.Entity("Prime.Models.IdentificationDocument", b => + { + b.HasOne("Prime.Models.Enrollee", "Enrollee") + .WithMany("IdentificationDocuments") + .HasForeignKey("EnrolleeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Enrollee"); + }); + + modelBuilder.Entity("Prime.Models.IndividualDeviceProvider", b => + { + b.HasOne("Prime.Models.CommunitySite", "CommunitySite") + .WithMany() + .HasForeignKey("CommunitySiteId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("CommunitySite"); + }); + + modelBuilder.Entity("Prime.Models.LicenseDetail", b => + { + b.HasOne("Prime.Models.License", "License") + .WithMany("LicenseDetails") + .HasForeignKey("LicenseCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("License"); + }); + + modelBuilder.Entity("Prime.Models.OboSite", b => + { + b.HasOne("Prime.Models.CareSetting", "CareSetting") + .WithMany() + .HasForeignKey("CareSettingCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Enrollee", "Enrollee") + .WithMany("OboSites") + .HasForeignKey("EnrolleeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.HealthAuthority", "HealthAuthority") + .WithMany() + .HasForeignKey("HealthAuthorityCode"); + + b.HasOne("Prime.Models.PhysicalAddress", "PhysicalAddress") + .WithMany() + .HasForeignKey("PhysicalAddressId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("CareSetting"); + + b.Navigation("Enrollee"); + + b.Navigation("HealthAuthority"); + + b.Navigation("PhysicalAddress"); + }); + + modelBuilder.Entity("Prime.Models.Organization", b => + { + b.HasOne("Prime.Models.Party", "SigningAuthority") + .WithMany() + .HasForeignKey("SigningAuthorityId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SigningAuthority"); + }); + + modelBuilder.Entity("Prime.Models.OrganizationClaim", b => + { + b.HasOne("Prime.Models.Party", "NewSigningAuthority") + .WithMany() + .HasForeignKey("NewSigningAuthorityId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Organization", "Organization") + .WithMany("Claims") + .HasForeignKey("OrganizationId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("NewSigningAuthority"); + + b.Navigation("Organization"); + }); + + modelBuilder.Entity("Prime.Models.PartyAddress", b => + { + b.HasOne("Prime.Models.Address", "Address") + .WithMany() + .HasForeignKey("AddressId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Party", "Party") + .WithMany("Addresses") + .HasForeignKey("PartyId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Address"); + + b.Navigation("Party"); + }); + + modelBuilder.Entity("Prime.Models.PartyCertification", b => + { + b.HasOne("Prime.Models.College", "College") + .WithMany() + .HasForeignKey("CollegeCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.License", "License") + .WithMany() + .HasForeignKey("LicenseCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Party", "Party") + .WithMany("PartyCertifications") + .HasForeignKey("PartyId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Practice", "Practice") + .WithMany() + .HasForeignKey("PracticeCode"); + + b.Navigation("College"); + + b.Navigation("License"); + + b.Navigation("Party"); + + b.Navigation("Practice"); + }); + + modelBuilder.Entity("Prime.Models.PartyEnrolment", b => + { + b.HasOne("Prime.Models.Party", "Party") + .WithMany("PartyEnrolments") + .HasForeignKey("PartyId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Party"); + }); + + modelBuilder.Entity("Prime.Models.PartySubmission", b => + { + b.HasOne("Prime.Models.Party", "Party") + .WithMany("PartySubmissions") + .HasForeignKey("PartyId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Party"); + }); + + modelBuilder.Entity("Prime.Models.Privilege", b => + { + b.HasOne("Prime.Models.PrivilegeGroup", "PrivilegeGroup") + .WithMany("Privileges") + .HasForeignKey("PrivilegeGroupCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("PrivilegeGroup"); + }); + + modelBuilder.Entity("Prime.Models.PrivilegeGroup", b => + { + b.HasOne("Prime.Models.PrivilegeType", "PrivilegeType") + .WithMany("PrivilegeGroups") + .HasForeignKey("PrivilegeTypeCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("PrivilegeType"); + }); + + modelBuilder.Entity("Prime.Models.Province", b => + { + b.HasOne("Prime.Models.Country", "Country") + .WithMany() + .HasForeignKey("CountryCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Country"); + }); + + modelBuilder.Entity("Prime.Models.RemoteAccessLocation", b => + { + b.HasOne("Prime.Models.Enrollee", "Enrollee") + .WithMany("RemoteAccessLocations") + .HasForeignKey("EnrolleeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.PhysicalAddress", "PhysicalAddress") + .WithMany() + .HasForeignKey("PhysicalAddressId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Enrollee"); + + b.Navigation("PhysicalAddress"); + }); + + modelBuilder.Entity("Prime.Models.RemoteAccessSite", b => + { + b.HasOne("Prime.Models.Enrollee", "Enrollee") + .WithMany("RemoteAccessSites") + .HasForeignKey("EnrolleeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Site", "Site") + .WithMany() + .HasForeignKey("SiteId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Enrollee"); + + b.Navigation("Site"); + }); + + modelBuilder.Entity("Prime.Models.RemoteUser", b => + { + b.HasOne("Prime.Models.Site", "Site") + .WithMany("RemoteUsers") + .HasForeignKey("SiteId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Site"); + }); + + modelBuilder.Entity("Prime.Models.RemoteUserCertification", b => + { + b.HasOne("Prime.Models.College", "College") + .WithMany() + .HasForeignKey("CollegeCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.License", "License") + .WithMany() + .HasForeignKey("LicenseCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.RemoteUser", "RemoteUser") + .WithOne("RemoteUserCertification") + .HasForeignKey("Prime.Models.RemoteUserCertification", "RemoteUserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("College"); + + b.Navigation("License"); + + b.Navigation("RemoteUser"); + }); + + modelBuilder.Entity("Prime.Models.SelfDeclaration", b => + { + b.HasOne("Prime.Models.Enrollee", "Enrollee") + .WithMany("SelfDeclarations") + .HasForeignKey("EnrolleeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.SelfDeclarationType", "SelfDeclarationType") + .WithMany("SelfDeclarations") + .HasForeignKey("SelfDeclarationTypeCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.SelfDeclarationVersion", "SelfDeclarationVersion") + .WithMany() + .HasForeignKey("SelfDeclarationVersionId"); + + b.Navigation("Enrollee"); + + b.Navigation("SelfDeclarationType"); + + b.Navigation("SelfDeclarationVersion"); + }); + + modelBuilder.Entity("Prime.Models.SelfDeclarationDocument", b => + { + b.HasOne("Prime.Models.Enrollee", "Enrollee") + .WithMany("SelfDeclarationDocuments") + .HasForeignKey("EnrolleeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.SelfDeclarationType", "SelfDeclarationType") + .WithMany("SelfDeclarationDocuments") + .HasForeignKey("SelfDeclarationTypeCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Enrollee"); + + b.Navigation("SelfDeclarationType"); + }); + + modelBuilder.Entity("Prime.Models.SelfDeclarationVersion", b => + { + b.HasOne("Prime.Models.SelfDeclarationType", "SelfDeclarationType") + .WithMany() + .HasForeignKey("SelfDeclarationTypeCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SelfDeclarationType"); + }); + + modelBuilder.Entity("Prime.Models.SignedAgreementDocument", b => + { + b.HasOne("Prime.Models.Agreement", "Agreement") + .WithOne("SignedAgreement") + .HasForeignKey("Prime.Models.SignedAgreementDocument", "AgreementId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Agreement"); + }); + + modelBuilder.Entity("Prime.Models.Site", b => + { + b.HasOne("Prime.Models.Admin", "Adjudicator") + .WithMany("Sites") + .HasForeignKey("AdjudicatorId"); + + b.HasOne("Prime.Models.CareSetting", "CareSetting") + .WithMany() + .HasForeignKey("CareSettingCode"); + + b.HasOne("Prime.Models.PhysicalAddress", "PhysicalAddress") + .WithMany() + .HasForeignKey("PhysicalAddressId"); + + b.Navigation("Adjudicator"); + + b.Navigation("CareSetting"); + + b.Navigation("PhysicalAddress"); + }); + + modelBuilder.Entity("Prime.Models.SiteAdjudicationDocument", b => + { + b.HasOne("Prime.Models.Admin", "Adjudicator") + .WithMany() + .HasForeignKey("AdjudicatorId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Site", "Site") + .WithMany("SiteAdjudicationDocuments") + .HasForeignKey("SiteId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Adjudicator"); + + b.Navigation("Site"); + }); + + modelBuilder.Entity("Prime.Models.SiteNotification", b => + { + b.HasOne("Prime.Models.Admin", "Admin") + .WithMany() + .HasForeignKey("AdminId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Admin", "Assignee") + .WithMany() + .HasForeignKey("AssigneeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.SiteRegistrationNote", "SiteRegistrationNote") + .WithOne("SiteNotification") + .HasForeignKey("Prime.Models.SiteNotification", "SiteRegistrationNoteId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Admin"); + + b.Navigation("Assignee"); + + b.Navigation("SiteRegistrationNote"); + }); + + modelBuilder.Entity("Prime.Models.SiteRegistrationNote", b => + { + b.HasOne("Prime.Models.Admin", "Adjudicator") + .WithMany() + .HasForeignKey("AdjudicatorId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Site", "Site") + .WithMany("SiteRegistrationNotes") + .HasForeignKey("SiteId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Adjudicator"); + + b.Navigation("Site"); + }); + + modelBuilder.Entity("Prime.Models.SiteRegistrationReviewDocument", b => + { + b.HasOne("Prime.Models.Site", "Site") + .WithMany("SiteRegistrationReviewDocuments") + .HasForeignKey("SiteId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Site"); + }); + + modelBuilder.Entity("Prime.Models.SiteStatus", b => + { + b.HasOne("Prime.Models.Site", "Site") + .WithMany("SiteStatuses") + .HasForeignKey("SiteId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Site"); + }); + + modelBuilder.Entity("Prime.Models.SiteVendor", b => + { + b.HasOne("Prime.Models.CommunitySite", "Site") + .WithMany("SiteVendors") + .HasForeignKey("SiteId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Vendor", "Vendor") + .WithMany("SiteVendors") + .HasForeignKey("VendorCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Site"); + + b.Navigation("Vendor"); + }); + + modelBuilder.Entity("Prime.Models.Submission", b => + { + b.HasOne("Prime.Models.Enrollee", "Enrollee") + .WithMany("Submissions") + .HasForeignKey("EnrolleeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Enrollee"); + }); + + modelBuilder.Entity("Prime.Models.UnlistedCertification", b => + { + b.HasOne("Prime.Models.Enrollee", "Enrollee") + .WithMany("UnlistedCertifications") + .HasForeignKey("EnrolleeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Enrollee"); + }); + + modelBuilder.Entity("Prime.Models.Vendor", b => + { + b.HasOne("Prime.Models.CareSetting", "CareSetting") + .WithMany() + .HasForeignKey("CareSettingCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("CareSetting"); + }); + + modelBuilder.Entity("Prime.Models.VerifiableCredentials.Credential", b => + { + b.HasOne("Prime.Models.Enrollee", "Enrollee") + .WithMany() + .HasForeignKey("EnrolleeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Enrollee"); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthorities.HealthAuthorityPharmanetAdministrator", b => + { + b.HasOne("Prime.Models.HealthAuthorities.HealthAuthorityOrganization", "HealthAuthorityOrganization") + .WithMany("PharmanetAdministrators") + .HasForeignKey("HealthAuthorityOrganizationId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("HealthAuthorityOrganization"); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthorities.HealthAuthorityPrivacyOfficer", b => + { + b.HasOne("Prime.Models.HealthAuthorities.HealthAuthorityOrganization", "HealthAuthorityOrganization") + .WithMany("PrivacyOfficers") + .HasForeignKey("HealthAuthorityOrganizationId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("HealthAuthorityOrganization"); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthorities.HealthAuthorityTechnicalSupport", b => + { + b.HasOne("Prime.Models.HealthAuthorities.HealthAuthorityOrganization", "HealthAuthorityOrganization") + .WithMany("TechnicalSupports") + .HasForeignKey("HealthAuthorityOrganizationId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("HealthAuthorityOrganization"); + }); + + modelBuilder.Entity("Prime.Models.CommunitySite", b => + { + b.HasOne("Prime.Models.Contact", "AdministratorPharmaNet") + .WithMany() + .HasForeignKey("AdministratorPharmaNetId"); + + b.HasOne("Prime.Models.Site", null) + .WithOne() + .HasForeignKey("Prime.Models.CommunitySite", "Id") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Organization", "Organization") + .WithMany("Sites") + .HasForeignKey("OrganizationId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.Contact", "PrivacyOfficer") + .WithMany() + .HasForeignKey("PrivacyOfficerId"); + + b.HasOne("Prime.Models.Party", "Provisioner") + .WithMany() + .HasForeignKey("ProvisionerId"); + + b.HasOne("Prime.Models.Contact", "TechnicalSupport") + .WithMany() + .HasForeignKey("TechnicalSupportId"); + + b.Navigation("AdministratorPharmaNet"); + + b.Navigation("Organization"); + + b.Navigation("PrivacyOfficer"); + + b.Navigation("Provisioner"); + + b.Navigation("TechnicalSupport"); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthoritySite", b => + { + b.HasOne("Prime.Models.AuthorizedUser", "AuthorizedUser") + .WithMany() + .HasForeignKey("AuthorizedUserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.HealthAuthorities.HealthAuthorityCareType", "HealthAuthorityCareType") + .WithMany() + .HasForeignKey("HealthAuthorityCareTypeId"); + + b.HasOne("Prime.Models.HealthAuthorities.HealthAuthorityOrganization", "HealthAuthorityOrganization") + .WithMany() + .HasForeignKey("HealthAuthorityOrganizationId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Prime.Models.HealthAuthorities.HealthAuthorityPharmanetAdministrator", "HealthAuthorityPharmanetAdministrator") + .WithMany() + .HasForeignKey("HealthAuthorityPharmanetAdministratorId"); + + b.HasOne("Prime.Models.HealthAuthorities.HealthAuthorityTechnicalSupport", "HealthAuthorityTechnicalSupport") + .WithMany() + .HasForeignKey("HealthAuthorityTechnicalSupportId"); + + b.HasOne("Prime.Models.HealthAuthorities.HealthAuthorityVendor", "HealthAuthorityVendor") + .WithMany() + .HasForeignKey("HealthAuthorityVendorId"); + + b.HasOne("Prime.Models.Site", null) + .WithOne() + .HasForeignKey("Prime.Models.HealthAuthoritySite", "Id") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("AuthorizedUser"); + + b.Navigation("HealthAuthorityCareType"); + + b.Navigation("HealthAuthorityOrganization"); + + b.Navigation("HealthAuthorityPharmanetAdministrator"); + + b.Navigation("HealthAuthorityTechnicalSupport"); + + b.Navigation("HealthAuthorityVendor"); + }); + + modelBuilder.Entity("Prime.Models.Admin", b => + { + b.Navigation("AdjudicatorNotes"); + + b.Navigation("Enrollees"); + + b.Navigation("EnrolmentStatusReference"); + + b.Navigation("Sites"); + }); + + modelBuilder.Entity("Prime.Models.Agreement", b => + { + b.Navigation("SignedAgreement"); + }); + + modelBuilder.Entity("Prime.Models.BusinessEventType", b => + { + b.Navigation("BusinessEvents"); + }); + + modelBuilder.Entity("Prime.Models.BusinessLicence", b => + { + b.Navigation("BusinessLicenceDocument"); + }); + + modelBuilder.Entity("Prime.Models.CareSetting", b => + { + b.Navigation("EnrolleeCareSettings"); + }); + + modelBuilder.Entity("Prime.Models.College", b => + { + b.Navigation("Certifications"); + + b.Navigation("CollegeLicenses"); + + b.Navigation("CollegePractices"); + }); + + modelBuilder.Entity("Prime.Models.Enrollee", b => + { + b.Navigation("AccessAgreementNote"); + + b.Navigation("Addresses"); + + b.Navigation("AdjudicatorNotes"); + + b.Navigation("Agreements"); + + b.Navigation("AssignedPrivileges"); + + b.Navigation("Certifications"); + + b.Navigation("EnrolleeAbsences"); + + b.Navigation("EnrolleeAdjudicationDocuments"); + + b.Navigation("EnrolleeCareSettings"); + + b.Navigation("EnrolleeDeviceProviders"); + + b.Navigation("EnrolleeHealthAuthorities"); + + b.Navigation("EnrolleeRemoteUsers"); + + b.Navigation("EnrolleeToPaperLink"); + + b.Navigation("EnrolmentStatuses"); + + b.Navigation("IdentificationDocuments"); + + b.Navigation("OboSites"); + + b.Navigation("PaperToEnrolleeLink"); + + b.Navigation("RemoteAccessLocations"); + + b.Navigation("RemoteAccessSites"); + + b.Navigation("SelfDeclarationDocuments"); + + b.Navigation("SelfDeclarations"); + + b.Navigation("Submissions"); + + b.Navigation("UnlistedCertifications"); + }); + + modelBuilder.Entity("Prime.Models.EnrolleeNote", b => + { + b.Navigation("EnrolleeNotification"); + + b.Navigation("EnrolmentStatusReference"); + }); + + modelBuilder.Entity("Prime.Models.EnrolmentStatus", b => + { + b.Navigation("EnrolmentStatusReasons"); + + b.Navigation("EnrolmentStatusReference"); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthorities.HealthAuthorityOrganization", b => + { + b.Navigation("CareTypes"); + + b.Navigation("PharmanetAdministrators"); + + b.Navigation("PrivacyOffice"); + + b.Navigation("PrivacyOfficers"); + + b.Navigation("TechnicalSupports"); + + b.Navigation("Vendors"); + }); + + modelBuilder.Entity("Prime.Models.License", b => + { + b.Navigation("Certifications"); + + b.Navigation("CollegeLicenses"); + + b.Navigation("DefaultPrivileges"); + + b.Navigation("LicenseDetails"); + }); + + modelBuilder.Entity("Prime.Models.Organization", b => + { + b.Navigation("Agreements"); + + b.Navigation("Claims"); + + b.Navigation("Sites"); + }); + + modelBuilder.Entity("Prime.Models.Party", b => + { + b.Navigation("Addresses"); + + b.Navigation("Agreements"); + + b.Navigation("PartyCertifications"); + + b.Navigation("PartyEnrolments"); + + b.Navigation("PartySubmissions"); + }); + + modelBuilder.Entity("Prime.Models.Practice", b => + { + b.Navigation("Certifications"); + + b.Navigation("CollegePractices"); + }); + + modelBuilder.Entity("Prime.Models.Privilege", b => + { + b.Navigation("AssignedPrivileges"); + + b.Navigation("DefaultPrivileges"); + }); + + modelBuilder.Entity("Prime.Models.PrivilegeGroup", b => + { + b.Navigation("Privileges"); + }); + + modelBuilder.Entity("Prime.Models.PrivilegeType", b => + { + b.Navigation("PrivilegeGroups"); + }); + + modelBuilder.Entity("Prime.Models.RemoteUser", b => + { + b.Navigation("RemoteUserCertification"); + }); + + modelBuilder.Entity("Prime.Models.SelfDeclarationType", b => + { + b.Navigation("SelfDeclarationDocuments"); + + b.Navigation("SelfDeclarations"); + }); + + modelBuilder.Entity("Prime.Models.Site", b => + { + b.Navigation("BusinessHours"); + + b.Navigation("RemoteUsers"); + + b.Navigation("SiteAdjudicationDocuments"); + + b.Navigation("SiteRegistrationNotes"); + + b.Navigation("SiteRegistrationReviewDocuments"); + + b.Navigation("SiteStatuses"); + }); + + modelBuilder.Entity("Prime.Models.SiteRegistrationNote", b => + { + b.Navigation("SiteNotification"); + }); + + modelBuilder.Entity("Prime.Models.Status", b => + { + b.Navigation("EnrolmentStatuses"); + }); + + modelBuilder.Entity("Prime.Models.StatusReason", b => + { + b.Navigation("EnrolmentStatusReasons"); + }); + + modelBuilder.Entity("Prime.Models.Vendor", b => + { + b.Navigation("SiteVendors"); + }); + + modelBuilder.Entity("Prime.Models.HealthAuthorities.HealthAuthorityTechnicalSupport", b => + { + b.Navigation("VendorsSupported"); + }); + + modelBuilder.Entity("Prime.Models.CommunitySite", b => + { + b.Navigation("BusinessLicences"); + + b.Navigation("SiteVendors"); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/prime-dotnet-webapi/Migrations/20241007165533_AddCloseSiteReason.cs b/prime-dotnet-webapi/Migrations/20241007165533_AddCloseSiteReason.cs new file mode 100644 index 0000000000..ad63c2c40a --- /dev/null +++ b/prime-dotnet-webapi/Migrations/20241007165533_AddCloseSiteReason.cs @@ -0,0 +1,78 @@ +using System; +using Microsoft.EntityFrameworkCore.Migrations; +using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; + +#nullable disable + +#pragma warning disable CA1814 // Prefer jagged arrays over multidimensional + +namespace Prime.Migrations +{ + /// + public partial class AddCloseSiteReason : Migration + { + /// + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.AddColumn( + name: "ClosedDate", + table: "Site", + type: "timestamp with time zone", + nullable: true); + + migrationBuilder.AddColumn( + name: "SiteCloseReasonCode", + table: "Site", + type: "integer", + nullable: true); + + migrationBuilder.CreateTable( + name: "SiteCloseReasonLookup", + columns: table => new + { + Code = table.Column(type: "integer", nullable: false) + .Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn), + Name = table.Column(type: "text", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_SiteCloseReasonLookup", x => x.Code); + }); + + migrationBuilder.InsertData( + table: "SiteCloseReasonLookup", + columns: new[] { "Code", "Name" }, + values: new object[,] + { + { 1, "Licence cancelled" }, + { 2, "Closed by Organization" }, + { 3, "Other" } + }); + + migrationBuilder.InsertData( + table: "StatusLookup", + columns: new[] { "Code", "Name" }, + values: new object[] { 7, "Closed" }); + } + + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropTable( + name: "SiteCloseReasonLookup"); + + migrationBuilder.DeleteData( + table: "StatusLookup", + keyColumn: "Code", + keyValue: 7); + + migrationBuilder.DropColumn( + name: "ClosedDate", + table: "Site"); + + migrationBuilder.DropColumn( + name: "SiteCloseReasonCode", + table: "Site"); + } + } +} diff --git a/prime-dotnet-webapi/Migrations/ApiDbContextModelSnapshot.cs b/prime-dotnet-webapi/Migrations/ApiDbContextModelSnapshot.cs index 48fb79c61d..83b9a90cef 100644 --- a/prime-dotnet-webapi/Migrations/ApiDbContextModelSnapshot.cs +++ b/prime-dotnet-webapi/Migrations/ApiDbContextModelSnapshot.cs @@ -17652,6 +17652,9 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.Property("CareSettingCode") .HasColumnType("integer"); + b.Property("ClosedDate") + .HasColumnType("timestamp with time zone"); + b.Property("Completed") .HasColumnType("boolean"); @@ -17679,6 +17682,9 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.Property("PhysicalAddressId") .HasColumnType("integer"); + b.Property("SiteCloseReasonCode") + .HasColumnType("integer"); + b.Property("SubmittedDate") .HasColumnType("timestamp with time zone"); @@ -17745,6 +17751,39 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.ToTable("SiteAdjudicationDocument"); }); + modelBuilder.Entity("Prime.Models.SiteCloseReason", b => + { + b.Property("Code") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Code")); + + b.Property("Name") + .HasColumnType("text"); + + b.HasKey("Code"); + + b.ToTable("SiteCloseReasonLookup"); + + b.HasData( + new + { + Code = 1, + Name = "Licence cancelled" + }, + new + { + Code = 2, + Name = "Closed by Organization" + }, + new + { + Code = 3, + Name = "Other" + }); + }); + modelBuilder.Entity("Prime.Models.SiteNotification", b => { b.Property("Id") @@ -17983,6 +18022,11 @@ protected override void BuildModel(ModelBuilder modelBuilder) { Code = 6, Name = "Disabled" + }, + new + { + Code = 7, + Name = "Closed" }); }); @@ -19679,7 +19723,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) modelBuilder.Entity("Prime.Models.Site", b => { b.HasOne("Prime.Models.Admin", "Adjudicator") - .WithMany() + .WithMany("Sites") .HasForeignKey("AdjudicatorId"); b.HasOne("Prime.Models.CareSetting", "CareSetting") @@ -19977,6 +20021,8 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.Navigation("Enrollees"); b.Navigation("EnrolmentStatusReference"); + + b.Navigation("Sites"); }); modelBuilder.Entity("Prime.Models.Agreement", b => diff --git a/prime-dotnet-webapi/Models/Api/LookupEntity.cs b/prime-dotnet-webapi/Models/Api/LookupEntity.cs index 8cc04a8ee4..f7ae412243 100644 --- a/prime-dotnet-webapi/Models/Api/LookupEntity.cs +++ b/prime-dotnet-webapi/Models/Api/LookupEntity.cs @@ -22,5 +22,6 @@ public class LookupEntity public List CareTypes { get; set; } public List SecurityGroups { get; set; } public List DeviceProviderRoles { get; set; } + public List SiteCloseReasons { get; set; } } } diff --git a/prime-dotnet-webapi/Models/Api/SiteRegistrationAction.cs b/prime-dotnet-webapi/Models/Api/SiteRegistrationAction.cs index d8503fe686..4d1e0a48d9 100755 --- a/prime-dotnet-webapi/Models/Api/SiteRegistrationAction.cs +++ b/prime-dotnet-webapi/Models/Api/SiteRegistrationAction.cs @@ -6,6 +6,8 @@ public enum SiteRegistrationAction Approve = 2, Reject = 3, RequestChange = 4, - Unreject = 5 + Unreject = 5, + Close = 6, + Open = 7, } } diff --git a/prime-dotnet-webapi/Models/SiteRegistration/Site.cs b/prime-dotnet-webapi/Models/SiteRegistration/Site.cs index 8abe858caa..c881d9a6cf 100644 --- a/prime-dotnet-webapi/Models/SiteRegistration/Site.cs +++ b/prime-dotnet-webapi/Models/SiteRegistration/Site.cs @@ -40,7 +40,7 @@ public Site() public bool Flagged { get; set; } - public bool IsNew {get; set;} + public bool IsNew { get; set; } public DateTimeOffset? SubmittedDate { get; set; } @@ -50,6 +50,10 @@ public Site() public ICollection RemoteUsers { get; set; } + public DateTimeOffset? ClosedDate { get; set; } + + public int? SiteCloseReasonCode { get; set; } + public int? AdjudicatorId { get; set; } public Admin Adjudicator { get; set; } diff --git a/prime-dotnet-webapi/Models/SiteRegistration/SiteCloseReason.cs b/prime-dotnet-webapi/Models/SiteRegistration/SiteCloseReason.cs new file mode 100644 index 0000000000..07869c95cf --- /dev/null +++ b/prime-dotnet-webapi/Models/SiteRegistration/SiteCloseReason.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Newtonsoft.Json; + +namespace Prime.Models +{ + [Table("SiteCloseReasonLookup")] + public sealed class SiteCloseReason : ILookup + { + [Key] + public int Code { get; set; } + + public string Name { get; set; } + } +} diff --git a/prime-dotnet-webapi/Models/Statuses/SiteStatusType.cs b/prime-dotnet-webapi/Models/Statuses/SiteStatusType.cs index 3fc4151603..03ae6ca859 100644 --- a/prime-dotnet-webapi/Models/Statuses/SiteStatusType.cs +++ b/prime-dotnet-webapi/Models/Statuses/SiteStatusType.cs @@ -8,6 +8,8 @@ public enum SiteStatusType //the status types below is used for filtering EditableNotApproved = 4, - Flagged = 5 + Flagged = 5, + + Closed = 7 } } diff --git a/prime-dotnet-webapi/Services/LookupService.cs b/prime-dotnet-webapi/Services/LookupService.cs index 8183380866..6773b6cb67 100644 --- a/prime-dotnet-webapi/Services/LookupService.cs +++ b/prime-dotnet-webapi/Services/LookupService.cs @@ -105,6 +105,9 @@ public async Task GetLookupsAsync() DeviceProviderRoles = await _context.Set() .AsNoTracking() .ToListAsync(), + SiteCloseReasons = await _context.Set() + .AsNoTracking() + .ToListAsync(), }; } diff --git a/prime-dotnet-webapi/Services/SiteService.cs b/prime-dotnet-webapi/Services/SiteService.cs index d68f4d57e9..bb6b0761e3 100644 --- a/prime-dotnet-webapi/Services/SiteService.cs +++ b/prime-dotnet-webapi/Services/SiteService.cs @@ -540,5 +540,60 @@ public async Task GetSitePecAsync(int siteId) .Select(s => s.PEC) .SingleOrDefaultAsync(); } + + public async Task CloseSite(int siteId, int siteCloseReasonCode, string note) + { + var site = await _context.Sites + .Where(s => s.Id == siteId) + .SingleOrDefaultAsync(); + + site.SiteCloseReasonCode = siteCloseReasonCode; + site.ClosedDate = DateTimeOffset.Now; + site.AddStatus(SiteStatusType.Closed); + + _context.Update(site); + + var updated = await _context.SaveChangesAsync(); + if (updated < 1) + { + throw new InvalidOperationException($"Could not submit the site."); + } + + var reasonString = await _context.SiteCloseReasons.AsNoTracking() + .Where(r => r.Code == siteCloseReasonCode) + .Select(r => r.Name) + .FirstOrDefaultAsync(); + + await _businessEventService.CreateSiteEventAsync(siteId, $"Site has been closed (Reason: {reasonString}, Note: {note})"); + } + + public async Task OpenSite(int siteId, string note) + { + var site = await _context.Sites + .Where(s => s.Id == siteId) + .SingleOrDefaultAsync(); + + site.SiteCloseReasonCode = null; + site.ClosedDate = null; + + var siteStatusList = await _context.SiteStatuses + .Where(ss => ss.SiteId == siteId) + .OrderByDescending(ss => ss.Id) + .ToArrayAsync(); + + var previousStatus = siteStatusList[1]; + // open site with the previous status/state + site.AddStatus(previousStatus.StatusType); + + _context.Update(site); + + var updated = await _context.SaveChangesAsync(); + if (updated < 1) + { + throw new InvalidOperationException($"Could not submit the site."); + } + + await _businessEventService.CreateSiteEventAsync(siteId, $"Site has been re-opened (Note: {note})"); + } } } diff --git a/prime-dotnet-webapi/Services/interfaces/ISiteService.cs b/prime-dotnet-webapi/Services/interfaces/ISiteService.cs index aa966d8e34..1110e397b1 100644 --- a/prime-dotnet-webapi/Services/interfaces/ISiteService.cs +++ b/prime-dotnet-webapi/Services/interfaces/ISiteService.cs @@ -51,5 +51,7 @@ public interface ISiteService Task AddSiteAdjudicationDocumentAsync(int siteId, Guid documentGuid, int adminId); Task> GetSiteAdjudicationDocumentsAsync(int siteId); Task GetSitePecAsync(int siteId); + Task CloseSite(int siteId, int siteCloseReasonCode, string note); + Task OpenSite(int siteId, string note); } } diff --git a/prime-dotnet-webapi/ViewModels/SiteRegistration/CloseSiteUpdateModel.cs b/prime-dotnet-webapi/ViewModels/SiteRegistration/CloseSiteUpdateModel.cs new file mode 100644 index 0000000000..ba99130fa8 --- /dev/null +++ b/prime-dotnet-webapi/ViewModels/SiteRegistration/CloseSiteUpdateModel.cs @@ -0,0 +1,8 @@ +namespace Prime.ViewModels +{ + public class CloseSiteUpdateModel + { + public int SiteCloseReasonCode { get; set; } + public string Note { get; set; } + } +} diff --git a/prime-dotnet-webapi/ViewModels/SiteRegistration/OpenSiteUpdateModel.cs b/prime-dotnet-webapi/ViewModels/SiteRegistration/OpenSiteUpdateModel.cs new file mode 100644 index 0000000000..c39d590ef0 --- /dev/null +++ b/prime-dotnet-webapi/ViewModels/SiteRegistration/OpenSiteUpdateModel.cs @@ -0,0 +1,7 @@ +namespace Prime.ViewModels +{ + public class OpenSiteUpdateModel + { + public string Note { get; set; } + } +}