From 95560b1e8a4b088243959d7e9b1b34871ac927b4 Mon Sep 17 00:00:00 2001 From: Jack Wong <108699279+bergomi02@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:48:57 -0700 Subject: [PATCH 1/9] initial commit --- .../enrolment-regulatory-form.model.ts | 2 +- .../pages/regulatory/regulatory-form-state.ts | 33 +- .../regulatory/regulatory.component.html | 33 + .../pages/regulatory/regulatory.component.ts | 32 +- .../services/enrolment-form-state.service.ts | 4 +- .../services/enrolment-resource.service.ts | 3 + .../care-setting-page.component.ts | 20 +- .../regulatory-form-state.class.ts | 1 + .../models/unlisted-certification.model.ts | 1 + .../enrollee-review.component.html | 7 +- ...listed-college-licence-form.component.html | 17 +- prime-dotnet-webapi/ApiDbContext.cs | 1 + .../EnrolleePaperSubmissionsController.cs | 25 - .../Controllers/EnrolleesController.cs | 25 + ...28_UpdateUnlistedCertification.Designer.cs | 20118 ++++++++++++++++ ...40830210728_UpdateUnlistedCertification.cs | 28 + .../Migrations/ApiDbContextModelSnapshot.cs | 3 + .../Certifications/UnlistedCertification.cs | 1 + .../Services/EnrolleeService.cs | 52 + .../Services/interfaces/IEnrolleeService.cs | 1 + .../Enrollee/EnrolleeUpdateModel.cs | 4 +- .../UnlistedCertificationUpdateModel.cs | 13 + .../UnlistedCertificationViewModel.cs | 14 + .../Enrollee/_EnrolleeMappingProfile.cs | 2 + ...rEnrolleeUnlistedCertificationViewModel.cs | 1 + 25 files changed, 20385 insertions(+), 56 deletions(-) create mode 100644 prime-dotnet-webapi/Migrations/20240830210728_UpdateUnlistedCertification.Designer.cs create mode 100644 prime-dotnet-webapi/Migrations/20240830210728_UpdateUnlistedCertification.cs create mode 100644 prime-dotnet-webapi/ViewModels/Enrollee/UnlistedCertificationUpdateModel.cs create mode 100644 prime-dotnet-webapi/ViewModels/Enrollee/UnlistedCertificationViewModel.cs diff --git a/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/enrolment-regulatory-form.model.ts b/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/enrolment-regulatory-form.model.ts index a4b28316a7..f50c8653f9 100644 --- a/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/enrolment-regulatory-form.model.ts +++ b/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/enrolment-regulatory-form.model.ts @@ -1,3 +1,3 @@ import { Enrolment } from '@shared/models/enrolment.model'; -export interface EnrolmentRegulatoryForm extends Pick { } +export interface EnrolmentRegulatoryForm extends Pick { } diff --git a/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory-form-state.ts b/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory-form-state.ts index b6a5c0244e..e4c0b36652 100644 --- a/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory-form-state.ts +++ b/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory-form-state.ts @@ -7,6 +7,7 @@ import { ConfigService } from '@config/config.service'; import { CollegeLicenceClassEnum } from '@shared/enums/college-licence-class.enum'; import { EnrolmentRegulatoryForm } from './enrolment-regulatory-form.model'; +import { UnlistedCertification } from '@paper-enrolment/shared/models/unlisted-certification.model'; export class RegulatoryFormState extends AbstractFormState { public colleges: CollegeConfig[]; @@ -39,6 +40,10 @@ export class RegulatoryFormState extends AbstractFormState { const { category, ...collegeCertification } = c; return collegeCertification; @@ -69,7 +74,7 @@ export class RegulatoryFormState extends AbstractFormState c.code === collegeCode); return college ? college.collegeLicenses.some((l) => l.collegeLicenseGroupingCode) : false; } + + + public buildUnlistedCollegeCertificationForm(): FormGroup { + return this.fb.group({ + collegeName: ['', []], + licenceNumber: ['', []], + licenceClass: ['', []], + renewalDate: ['', []] + }) + } + + public addUnlistedCertification(unlistedCertification?: UnlistedCertification): void { + const unlistedCert = this.buildUnlistedCollegeCertificationForm(); + unlistedCert.patchValue({ ...unlistedCertification }); + this.unlistedCertifications.push(unlistedCert); + } + + public addEmptyUnlistedCollegeCertification(): void { + this.addUnlistedCertification(); + } + } diff --git a/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory.component.html b/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory.component.html index 9e85196c68..1859efa31c 100644 --- a/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory.component.html +++ b/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory.component.html @@ -141,6 +141,39 @@ +
+ +
+ + + + + + + + + + + +
+
+ + diff --git a/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory.component.ts b/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory.component.ts index 1c025e33d8..066cef9a0f 100644 --- a/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory.component.ts +++ b/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory.component.ts @@ -28,6 +28,7 @@ import { DeviceProviderSite } from '@shared/models/device-provider-site.model'; import { RegulatoryFormState } from './regulatory-form-state'; import { ConfigService } from '@config/config.service'; +import { ToggleContentChange } from '@shared/components/toggle-content/toggle-content.component'; @Component({ selector: 'app-regulatory', @@ -41,6 +42,7 @@ export class RegulatoryComponent extends BaseEnrolmentProfilePage implements OnI public hasOtherCareSetting: boolean; public deviceProviderRoles: DeviceProviderRoleConfig[]; public deviceProviderSite: DeviceProviderSite; + public hasUnlistedCertification: boolean; constructor( protected route: ActivatedRoute, protected router: Router, @@ -100,7 +102,12 @@ export class RegulatoryComponent extends BaseEnrolmentProfilePage implements OnI this.hasOtherCareSetting = this.enrolmentService.enrolment.careSettings.some((careSetting) => careSetting.careSettingCode !== CareSettingEnum.DEVICE_PROVIDER); this.createFormInstance(); - this.patchForm().subscribe(() => this.initForm()); + this.patchForm().subscribe(() => { + this.initForm(); + if (this.formState.json.unlistedCertifications.length > 0) { + this.hasUnlistedCertification = true; + } + }); } public ngOnDestroy() { @@ -166,8 +173,8 @@ export class RegulatoryComponent extends BaseEnrolmentProfilePage implements OnI } // Replace previous values on deactivation so updates are discarded - const { certifications, enrolleeDeviceProviders } = this.enrolmentService.enrolment; - this.formState.patchValue({ certifications, enrolleeDeviceProviders }); + const { certifications, enrolleeDeviceProviders, unlistedCertifications } = this.enrolmentService.enrolment; + this.formState.patchValue({ certifications, enrolleeDeviceProviders, unlistedCertifications }); } public onSubmit() { @@ -310,4 +317,23 @@ export class RegulatoryComponent extends BaseEnrolmentProfilePage implements OnI this.formState.certificationNumber.disable(); } } + + public onUnlistedCertification({ checked }: ToggleContentChange) { + if (!checked) { + this.hasUnlistedCertification = false; + this.formState.json.unlistedCertifications = []; + } else { + this.hasUnlistedCertification = true; + if (!this.formState.unlistedCertifications.length) { + this.formState.addEmptyUnlistedCollegeCertification(); + } + } + } + + public removeUnlistedCertification(index: number): void { + this.formState.unlistedCertifications.removeAt(index); + if (!this.formState.unlistedCertifications.length) { + this.hasUnlistedCertification = false; + } + } } diff --git a/prime-angular-frontend/src/app/modules/enrolment/shared/services/enrolment-form-state.service.ts b/prime-angular-frontend/src/app/modules/enrolment/shared/services/enrolment-form-state.service.ts index 4c465f513b..f56a89a967 100644 --- a/prime-angular-frontend/src/app/modules/enrolment/shared/services/enrolment-form-state.service.ts +++ b/prime-angular-frontend/src/app/modules/enrolment/shared/services/enrolment-form-state.service.ts @@ -210,8 +210,8 @@ export class EnrolmentFormStateService extends AbstractFormStateService) => response.result)), certifications: this.apiResource.get(`enrollees/${enrollee.id}/certifications`) .pipe(map((response: ApiHttpResponse) => response.result)), + unlistedCertifications: this.apiResource.get(`enrollees/${enrollee.id}/unlisted-certifications`) + .pipe(map((response: ApiHttpResponse) => response.result)), enrolleeDeviceProviders: this.apiResource.get(`enrollees/${enrollee.id}/device-providers`) .pipe(map((response: ApiHttpResponse) => response.result)), enrolleeRemoteUsers: this.apiResource.get(`enrollees/${enrollee.id}/remote-users`) diff --git a/prime-angular-frontend/src/app/modules/paper-enrolment/pages/care-setting-page/care-setting-page.component.ts b/prime-angular-frontend/src/app/modules/paper-enrolment/pages/care-setting-page/care-setting-page.component.ts index b39a58278f..fc7b791ead 100644 --- a/prime-angular-frontend/src/app/modules/paper-enrolment/pages/care-setting-page/care-setting-page.component.ts +++ b/prime-angular-frontend/src/app/modules/paper-enrolment/pages/care-setting-page/care-setting-page.component.ts @@ -122,22 +122,10 @@ export class CareSettingPageComponent extends AbstractEnrolmentPage implements O // When an individual health authority is deselected the OBO Sites should be removed oboSites = this.removeUnselectedHealthAuthOboSites(payload.healthAuthorities, oboSites); - return this.paperEnrolmentResource.updateCareSettings(this.enrollee.id, payload) - .pipe( - // Remove device provider identifier when care setting no longer selected - exhaustMap(() => - (!payload.careSettings.some((careSetting) => careSetting.careSettingCode === CareSettingEnum.DEVICE_PROVIDER)) - ? this.paperEnrolmentResource.updateDeviceProvider(this.enrollee.id, []) - : of(null) - ), - exhaustMap(() => - (this.enrollee.oboSites.length !== oboSites.length) - ? this.paperEnrolmentResource.updateOboSites(this.enrollee.id, oboSites) - // Refresh obo sites for routing to the next view - .pipe(tap(() => this.enrollee.oboSites = oboSites)) - : of(null) - ) - ); + this.paperEnrolmentResource.updateCareSettings(this.enrollee.id, payload) + .subscribe(); + + return of(null); } protected afterSubmitIsSuccessful(): void { diff --git a/prime-angular-frontend/src/app/modules/paper-enrolment/pages/regulatory-page/regulatory-form-state.class.ts b/prime-angular-frontend/src/app/modules/paper-enrolment/pages/regulatory-page/regulatory-form-state.class.ts index c68d0f93da..08793a66f5 100644 --- a/prime-angular-frontend/src/app/modules/paper-enrolment/pages/regulatory-page/regulatory-form-state.class.ts +++ b/prime-angular-frontend/src/app/modules/paper-enrolment/pages/regulatory-page/regulatory-form-state.class.ts @@ -101,6 +101,7 @@ export class RegulatoryFormState extends BaseRegulatoryPageFormState { return this.fb.group({ collegeName: ['', []], licenceNumber: ['', []], + licenceClass: ['', []], renewalDate: ['', []] }) } diff --git a/prime-angular-frontend/src/app/modules/paper-enrolment/shared/models/unlisted-certification.model.ts b/prime-angular-frontend/src/app/modules/paper-enrolment/shared/models/unlisted-certification.model.ts index b9e3edc68a..c83eb74bf2 100644 --- a/prime-angular-frontend/src/app/modules/paper-enrolment/shared/models/unlisted-certification.model.ts +++ b/prime-angular-frontend/src/app/modules/paper-enrolment/shared/models/unlisted-certification.model.ts @@ -1,5 +1,6 @@ export interface UnlistedCertification { collegeName: string; licenceNumber: string; + licenceClass: string; renewalDate: string; } diff --git a/prime-angular-frontend/src/app/shared/components/enrollee/enrollee-review/enrollee-review.component.html b/prime-angular-frontend/src/app/shared/components/enrollee/enrollee-review/enrollee-review.component.html index a883ec6eef..42a2e778b8 100644 --- a/prime-angular-frontend/src/app/shared/components/enrollee/enrollee-review/enrollee-review.component.html +++ b/prime-angular-frontend/src/app/shared/components/enrollee/enrollee-review/enrollee-review.component.html @@ -310,7 +310,7 @@ - + Other College Licence Information @@ -337,6 +337,11 @@ {{ unlistedCertification.collegeName | default }} + + {{ unlistedCertification.licenceClass | default }} + + {{ unlistedCertification.licenceNumber | default }} diff --git a/prime-angular-frontend/src/app/shared/components/forms/unlisted-college-licence-form/unlisted-college-licence-form.component.html b/prime-angular-frontend/src/app/shared/components/forms/unlisted-college-licence-form/unlisted-college-licence-form.component.html index 097b468069..312490ad3d 100644 --- a/prime-angular-frontend/src/app/shared/components/forms/unlisted-college-licence-form/unlisted-college-licence-form.component.html +++ b/prime-angular-frontend/src/app/shared/components/forms/unlisted-college-licence-form/unlisted-college-licence-form.component.html @@ -1,8 +1,7 @@ - + (event)="removeUnlistedCertification()">
@@ -16,6 +15,17 @@
+
+
+ + + + Required + +
+
@@ -29,7 +39,6 @@ Must contain only alphanumeric characters -
@@ -53,6 +62,6 @@
-
+
diff --git a/prime-dotnet-webapi/ApiDbContext.cs b/prime-dotnet-webapi/ApiDbContext.cs index df75ba62f6..baa3a0b8f5 100644 --- a/prime-dotnet-webapi/ApiDbContext.cs +++ b/prime-dotnet-webapi/ApiDbContext.cs @@ -83,6 +83,7 @@ IHttpContextAccessor context public DbSet RemoteAccessSites { get; set; } public DbSet EnrolleeAbsences { get; set; } public DbSet Certifications { get; set; } + public DbSet UnlistedCertifications { get; set; } // Site Registration public DbSet Organizations { get; set; } diff --git a/prime-dotnet-webapi/Controllers/EnrolleePaperSubmissionsController.cs b/prime-dotnet-webapi/Controllers/EnrolleePaperSubmissionsController.cs index e267aa19e0..b98da937d7 100644 --- a/prime-dotnet-webapi/Controllers/EnrolleePaperSubmissionsController.cs +++ b/prime-dotnet-webapi/Controllers/EnrolleePaperSubmissionsController.cs @@ -166,31 +166,6 @@ public async Task UpdateEnrolleePaperSubmissionUnlistedCertificati return Ok(); } - // GET: api/enrollees/5/unlisted-certifications - /// - /// Gets an Enrollee's Unlisted Certifications. - /// - /// - [HttpGet("{enrolleeId}/unlisted-certifications", Name = nameof(GetUnlistedCertifications))] - [ProducesResponseType(StatusCodes.Status401Unauthorized)] - [ProducesResponseType(StatusCodes.Status403Forbidden)] - [ProducesResponseType(typeof(ApiMessageResponse), StatusCodes.Status404NotFound)] - [ProducesResponseType(typeof(ApiResultResponse>), StatusCodes.Status200OK)] - public async Task GetUnlistedCertifications(int enrolleeId) - { - var record = await _enrolleeService.GetPermissionsRecordAsync(enrolleeId); - if (record == null) - { - return NotFound($"Enrollee not found with id {enrolleeId}"); - } - if (!record.AccessableBy(User)) - { - return Forbid(); - } - - return Ok(await _enrolleePaperSubmissionService.GetUnlistedCertificationsAsync(enrolleeId)); - } - // PUT: api/enrollees/5/paper-submissions/demographics /// /// Updates a Paper Submission's demographic information. diff --git a/prime-dotnet-webapi/Controllers/EnrolleesController.cs b/prime-dotnet-webapi/Controllers/EnrolleesController.cs index 418db2e088..e53c8cda1b 100644 --- a/prime-dotnet-webapi/Controllers/EnrolleesController.cs +++ b/prime-dotnet-webapi/Controllers/EnrolleesController.cs @@ -332,6 +332,31 @@ public async Task GetCertifications(int enrolleeId) return Ok(await _enrolleeService.GetCertificationsAsync(enrolleeId)); } + // GET: api/enrollees/5/unlisted-certifications + /// + /// Gets an Enrollee's Unlisted Certifications. + /// + /// + [HttpGet("{enrolleeId}/unlisted-certifications", Name = nameof(GetUnlistedCertifications))] + [ProducesResponseType(StatusCodes.Status401Unauthorized)] + [ProducesResponseType(StatusCodes.Status403Forbidden)] + [ProducesResponseType(typeof(ApiMessageResponse), StatusCodes.Status404NotFound)] + [ProducesResponseType(typeof(ApiResultResponse>), StatusCodes.Status200OK)] + public async Task GetUnlistedCertifications(int enrolleeId) + { + var record = await _enrolleeService.GetPermissionsRecordAsync(enrolleeId); + if (record == null) + { + return NotFound($"Enrollee not found with id {enrolleeId}"); + } + if (!record.AccessableBy(User)) + { + return Forbid(); + } + + return Ok(await _enrolleeService.GetUnlistedCertificationsAsync(enrolleeId)); + } + // GET: api/enrollees/5/device-provider /// /// Gets an Enrollee's device providers. diff --git a/prime-dotnet-webapi/Migrations/20240830210728_UpdateUnlistedCertification.Designer.cs b/prime-dotnet-webapi/Migrations/20240830210728_UpdateUnlistedCertification.Designer.cs new file mode 100644 index 0000000000..07e7696c55 --- /dev/null +++ b/prime-dotnet-webapi/Migrations/20240830210728_UpdateUnlistedCertification.Designer.cs @@ -0,0 +1,20118 @@ +// +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("20240830210728_UpdateUnlistedCertification")] + partial class UpdateUnlistedCertification + { + /// + 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("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 = 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 = 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 = 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 = 6 + }, + new + { + Code = 33, + Name = "Provisional Registered Nurse", + Weight = 7 + }, + new + { + Code = 39, + Name = "Temporary Registered Nurse (Emergency)", + Weight = 9 + }, + new + { + Code = 34, + Name = "Non-Practicing Registered Nurse", + Weight = 10 + }, + new + { + Code = 40, + Name = "Employed Student Nurse", + Weight = 11 + }, + new + { + Code = 35, + Name = "Practicing Licensed Graduate Nurse", + Weight = 12 + }, + new + { + Code = 36, + Name = "Provisional Licensed Graduate Nurse", + Weight = 13 + }, + new + { + Code = 37, + Name = "Non-Practicing Licensed Graduate Nurse", + Weight = 14 + }, + new + { + Code = 41, + Name = "Practicing Registered Psychiatric Nurse", + Weight = 15 + }, + new + { + Code = 42, + Name = "Provisional Registered Psychiatric Nurse", + Weight = 16 + }, + new + { + Code = 45, + Name = "Temporary Registered Psychiatric Nurse (Emergency)", + Weight = 18 + }, + new + { + Code = 43, + Name = "Non-Practicing Registered Psychiatric Nurse", + Weight = 19 + }, + new + { + Code = 46, + Name = "Employed Student Psychiatric Nurse", + Weight = 20 + }, + new + { + Code = 52, + Name = "Practicing Licensed Practical Nurse", + Weight = 21 + }, + new + { + Code = 53, + Name = "Provisional Licensed Practical Nurse", + Weight = 22 + }, + new + { + Code = 55, + Name = "Temporary Licensed Practical Nurse (Emergency)", + Weight = 23 + }, + new + { + Code = 54, + Name = "Non-Practicing Licensed Practical Nurse", + Weight = 25 + }, + new + { + Code = 60, + Name = "Practising Midwife", + Weight = 28 + }, + new + { + Code = 61, + Name = "Provisional Midwife", + Weight = 29 + }, + new + { + Code = 62, + Name = "Temporary Midwife (Emergency)", + Weight = 30 + }, + new + { + Code = 63, + Name = "Non-Practising Midwife", + Weight = 31 + }, + new + { + Code = 69, + Name = "Student Midwife", + Weight = 32 + }, + 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 + }); + }); + + 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("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("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.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" + }); + }); + + 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("LicenceClass") + .HasColumnType("text"); + + 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() + .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"); + }); + + 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/20240830210728_UpdateUnlistedCertification.cs b/prime-dotnet-webapi/Migrations/20240830210728_UpdateUnlistedCertification.cs new file mode 100644 index 0000000000..3e3f8e159c --- /dev/null +++ b/prime-dotnet-webapi/Migrations/20240830210728_UpdateUnlistedCertification.cs @@ -0,0 +1,28 @@ +using Microsoft.EntityFrameworkCore.Migrations; + +#nullable disable + +namespace Prime.Migrations +{ + /// + public partial class UpdateUnlistedCertification : Migration + { + /// + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.AddColumn( + name: "LicenceClass", + table: "UnlistedCertification", + type: "text", + nullable: true); + } + + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropColumn( + name: "LicenceClass", + table: "UnlistedCertification"); + } + } +} diff --git a/prime-dotnet-webapi/Migrations/ApiDbContextModelSnapshot.cs b/prime-dotnet-webapi/Migrations/ApiDbContextModelSnapshot.cs index 8aa53952f2..a5b4dea0ce 100644 --- a/prime-dotnet-webapi/Migrations/ApiDbContextModelSnapshot.cs +++ b/prime-dotnet-webapi/Migrations/ApiDbContextModelSnapshot.cs @@ -18080,6 +18080,9 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.Property("EnrolleeId") .HasColumnType("integer"); + b.Property("LicenceClass") + .HasColumnType("text"); + b.Property("LicenceNumber") .HasColumnType("text"); diff --git a/prime-dotnet-webapi/Models/Certifications/UnlistedCertification.cs b/prime-dotnet-webapi/Models/Certifications/UnlistedCertification.cs index a2be87999e..a274d182c1 100644 --- a/prime-dotnet-webapi/Models/Certifications/UnlistedCertification.cs +++ b/prime-dotnet-webapi/Models/Certifications/UnlistedCertification.cs @@ -14,6 +14,7 @@ public class UnlistedCertification : BaseAuditable, IEnrolleeNavigationProperty public int EnrolleeId { get; set; } public string CollegeName { get; set; } public string LicenceNumber { get; set; } + public string LicenceClass { get; set; } public DateTimeOffset? RenewalDate { get; set; } public Enrollee Enrollee { get; set; } } diff --git a/prime-dotnet-webapi/Services/EnrolleeService.cs b/prime-dotnet-webapi/Services/EnrolleeService.cs index 11b6d8dc3a..157c417d3b 100644 --- a/prime-dotnet-webapi/Services/EnrolleeService.cs +++ b/prime-dotnet-webapi/Services/EnrolleeService.cs @@ -18,6 +18,8 @@ using Prime.Models.Api; using Prime.Models.VerifiableCredentials; using Prime.ViewModels; +using Prime.Migrations; +using RazorEngine.Compilation.ImpromptuInterface; namespace Prime.Services { @@ -369,6 +371,7 @@ public async Task UpdateEnrolleeAsync(int enrolleeId, EnrolleeUpdateModel u UpdateRemoteAccessLocations(enrollee, updateModel); UpdateOboSites(enrollee, updateModel); + await UpdateUnlistedCertification(enrollee, updateModel); // If profileCompleted is true, this is the first time the enrollee // has completed their profile by traversing the wizard, and indicates @@ -573,6 +576,47 @@ private void UpdateRemoteAccessSites(Enrollee dbEnrollee, EnrolleeUpdateModel up } } + private async Task UpdateUnlistedCertification(Enrollee enrollee, EnrolleeUpdateModel enrolleeUpdateModel) + { + var enrolleeUnlistedCertifications = await _context.UnlistedCertifications + .Where(uc => uc.EnrolleeId == enrollee.Id).ToListAsync(); + + if (enrolleeUpdateModel.UnlistedCertifications != null && enrolleeUpdateModel.UnlistedCertifications.Count > 0) + { + foreach (var unlistedCert in enrolleeUpdateModel.UnlistedCertifications) + { + var matchingUnlistedCert = enrolleeUnlistedCertifications.Where(uc => uc.LicenceClass == unlistedCert.LicenceClass && + uc.CollegeName == unlistedCert.CollegeName && + uc.LicenceNumber == unlistedCert.LicenceNumber && + uc.RenewalDate == unlistedCert.RenewalDate).SingleOrDefault(); + + if (matchingUnlistedCert == null) + { + await _context.AddAsync(new Models.UnlistedCertification + { + EnrolleeId = enrollee.Id, + CollegeName = unlistedCert.CollegeName, + LicenceNumber = unlistedCert.LicenceNumber, + RenewalDate = unlistedCert.RenewalDate, + LicenceClass = unlistedCert.LicenceClass + }); + } + else + { + enrolleeUnlistedCertifications.Remove(matchingUnlistedCert); + } + } + if (enrolleeUnlistedCertifications.Count > 0) + { + _context.Remove(enrolleeUnlistedCertifications); + } + } + else + { + _context.Remove(enrolleeUnlistedCertifications); + } + } + private void UpdateOboSites(Enrollee dbEnrollee, EnrolleeUpdateModel updateEnrollee) { // Wholesale replace the obo sites @@ -695,6 +739,14 @@ public async Task> GetCertificationsAsync(in .ToListAsync(); } + public async Task> GetUnlistedCertificationsAsync(int enrolleeId) + { + return await _context.UnlistedCertifications + .Where(c => c.EnrolleeId == enrolleeId) + .ProjectTo(_mapper.ConfigurationProvider) + .ToListAsync(); + } + public async Task> GetEnrolleeDeviceProvidersAsync(int enrolleeId) { return await _context.Set() diff --git a/prime-dotnet-webapi/Services/interfaces/IEnrolleeService.cs b/prime-dotnet-webapi/Services/interfaces/IEnrolleeService.cs index b4bf4990df..204f1c352c 100644 --- a/prime-dotnet-webapi/Services/interfaces/IEnrolleeService.cs +++ b/prime-dotnet-webapi/Services/interfaces/IEnrolleeService.cs @@ -28,6 +28,7 @@ public interface IEnrolleeService Task GetAccessAgreementNoteAsync(int enrolleeId); Task GetCareSettingsAsync(int enrolleeId); Task> GetCertificationsAsync(int enrolleeId); + Task> GetUnlistedCertificationsAsync(int enrolleeId); Task> GetEnrolleeDeviceProvidersAsync(int enrolleeId); Task> GetEnrolleeRemoteUsersAsync(int enrolleeId); Task> GetOboSitesAsync(int enrolleeId); diff --git a/prime-dotnet-webapi/ViewModels/Enrollee/EnrolleeUpdateModel.cs b/prime-dotnet-webapi/ViewModels/Enrollee/EnrolleeUpdateModel.cs index 2b2e78a324..86939218ad 100644 --- a/prime-dotnet-webapi/ViewModels/Enrollee/EnrolleeUpdateModel.cs +++ b/prime-dotnet-webapi/ViewModels/Enrollee/EnrolleeUpdateModel.cs @@ -37,10 +37,12 @@ public class EnrolleeUpdateModel public string PhoneExtension { get; set; } - public ICollection EnrolleeDeviceProviders { get; set;} + public ICollection EnrolleeDeviceProviders { get; set; } public ICollection Certifications { get; set; } + public ICollection UnlistedCertifications { get; set; } + public ICollection EnrolleeRemoteUsers { get; set; } public ICollection RemoteAccessSites { get; set; } diff --git a/prime-dotnet-webapi/ViewModels/Enrollee/UnlistedCertificationUpdateModel.cs b/prime-dotnet-webapi/ViewModels/Enrollee/UnlistedCertificationUpdateModel.cs new file mode 100644 index 0000000000..075a7e14f0 --- /dev/null +++ b/prime-dotnet-webapi/ViewModels/Enrollee/UnlistedCertificationUpdateModel.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; + +namespace Prime.ViewModels +{ + public class UnlistedCertificationUpdateModel + { + public string CollegeName { get; set; } + public string LicenceNumber { get; set; } + public string LicenceClass { get; set; } + public DateTimeOffset RenewalDate { get; set; } + } +} diff --git a/prime-dotnet-webapi/ViewModels/Enrollee/UnlistedCertificationViewModel.cs b/prime-dotnet-webapi/ViewModels/Enrollee/UnlistedCertificationViewModel.cs new file mode 100644 index 0000000000..4bacd01607 --- /dev/null +++ b/prime-dotnet-webapi/ViewModels/Enrollee/UnlistedCertificationViewModel.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; + +namespace Prime.ViewModels +{ + public class UnlistedCertificationViewModel + { + public int Id { get; set; } + public string CollegeName { get; set; } + public string LicenceNumber { get; set; } + public string LicenceClass { get; set; } + public DateTimeOffset RenewalDate { get; set; } + } +} diff --git a/prime-dotnet-webapi/ViewModels/Enrollee/_EnrolleeMappingProfile.cs b/prime-dotnet-webapi/ViewModels/Enrollee/_EnrolleeMappingProfile.cs index 993b410b5a..089f9673e4 100644 --- a/prime-dotnet-webapi/ViewModels/Enrollee/_EnrolleeMappingProfile.cs +++ b/prime-dotnet-webapi/ViewModels/Enrollee/_EnrolleeMappingProfile.cs @@ -85,6 +85,8 @@ public EnrolleeMappingProfile() CreateMap(); CreateMap(); + + CreateMap(); } } } diff --git a/prime-dotnet-webapi/ViewModels/Paper Enrollees/PaperEnrolleeUnlistedCertificationViewModel.cs b/prime-dotnet-webapi/ViewModels/Paper Enrollees/PaperEnrolleeUnlistedCertificationViewModel.cs index 30cb06a1aa..6cfe040a0d 100644 --- a/prime-dotnet-webapi/ViewModels/Paper Enrollees/PaperEnrolleeUnlistedCertificationViewModel.cs +++ b/prime-dotnet-webapi/ViewModels/Paper Enrollees/PaperEnrolleeUnlistedCertificationViewModel.cs @@ -6,6 +6,7 @@ public class PaperEnrolleeUnlistedCertificationViewModel { public string CollegeName { get; set; } public string LicenceNumber { get; set; } + public string LicenceClass { get; set; } public DateTimeOffset RenewalDate { get; set; } } } From 207ce587288390852f9b81d3f826dea360b469a7 Mon Sep 17 00:00:00 2001 From: Jack Wong <108699279+bergomi02@users.noreply.github.com> Date: Tue, 3 Sep 2024 15:17:04 -0700 Subject: [PATCH 2/9] fix unit test --- prime-dotnet-webapi-tests/Unit Tests/MinorUpdateRules.Tests.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/prime-dotnet-webapi-tests/Unit Tests/MinorUpdateRules.Tests.cs b/prime-dotnet-webapi-tests/Unit Tests/MinorUpdateRules.Tests.cs index 13c8fca2fe..44568079c7 100644 --- a/prime-dotnet-webapi-tests/Unit Tests/MinorUpdateRules.Tests.cs +++ b/prime-dotnet-webapi-tests/Unit Tests/MinorUpdateRules.Tests.cs @@ -326,7 +326,8 @@ public void TestAllowableChangesRule_SPEC() typeof(ICollection), typeof(ICollection), typeof(ICollection), - typeof(ICollection) + typeof(ICollection), + typeof(ICollection) }; var unknownTypes = typeof(EnrolleeUpdateModel) From 83194d92449c2d4922a69f36f5936465f86bddc6 Mon Sep 17 00:00:00 2001 From: Jack Wong <108699279+bergomi02@users.noreply.github.com> Date: Wed, 4 Sep 2024 13:45:46 -0700 Subject: [PATCH 3/9] update --- .../enrolment/pages/regulatory/regulatory-form-state.ts | 5 ++++- prime-dotnet-webapi/Services/EnrolleeService.cs | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory-form-state.ts b/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory-form-state.ts index e4c0b36652..6eab870d41 100644 --- a/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory-form-state.ts +++ b/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory-form-state.ts @@ -77,7 +77,7 @@ export class RegulatoryFormState extends AbstractFormState this.addCollegeCertification(c)); } + if (unlistedCertifications.length) { + unlistedCertifications.forEach((c: UnlistedCertification) => this.addUnlistedCertification(c)); + } if (enrolleeDeviceProviders && enrolleeDeviceProviders.length) { const { deviceProviderId, deviceProviderRoleCode, certificationNumber } = enrolleeDeviceProviders[0]; this.formInstance.patchValue({ certifications, deviceProviderId, deviceProviderRoleCode, certificationNumber }); diff --git a/prime-dotnet-webapi/Services/EnrolleeService.cs b/prime-dotnet-webapi/Services/EnrolleeService.cs index 157c417d3b..67fa220a66 100644 --- a/prime-dotnet-webapi/Services/EnrolleeService.cs +++ b/prime-dotnet-webapi/Services/EnrolleeService.cs @@ -608,12 +608,12 @@ await _context.AddAsync(new Models.UnlistedCertification } if (enrolleeUnlistedCertifications.Count > 0) { - _context.Remove(enrolleeUnlistedCertifications); + enrolleeUnlistedCertifications.ForEach(uc => _context.Remove(uc)); } } else { - _context.Remove(enrolleeUnlistedCertifications); + enrolleeUnlistedCertifications.ForEach(uc => _context.Remove(uc)); } } From edbb7b52ffc9f04002f873fb733bfb054ab80858 Mon Sep 17 00:00:00 2001 From: Jack Wong <108699279+bergomi02@users.noreply.github.com> Date: Wed, 4 Sep 2024 14:50:31 -0700 Subject: [PATCH 4/9] fix unit test --- .../enrolment/pages/regulatory/regulatory.component.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory.component.spec.ts b/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory.component.spec.ts index 44724951a4..170c08106d 100644 --- a/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory.component.spec.ts +++ b/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory.component.spec.ts @@ -167,6 +167,7 @@ describe('RegulatoryComponent', () => { licenseCode: 1, licenseNumber: "12345" }], + unlistedCertifications: [], enrolleeDeviceProviders: [], } as EnrolmentRegulatoryForm; @@ -191,6 +192,7 @@ describe('RegulatoryComponent', () => { licenseCode: 1, licenseNumber: "12345" }], + unlistedCertifications: [], enrolleeDeviceProviders: [], } as EnrolmentRegulatoryForm; From 3ac90d519cb10ff722f9e85dab3bd297185dc850 Mon Sep 17 00:00:00 2001 From: Jack Wong <108699279+bergomi02@users.noreply.github.com> Date: Thu, 5 Sep 2024 11:09:10 -0700 Subject: [PATCH 5/9] update label --- .../unlisted-college-licence-form.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prime-angular-frontend/src/app/shared/components/forms/unlisted-college-licence-form/unlisted-college-licence-form.component.html b/prime-angular-frontend/src/app/shared/components/forms/unlisted-college-licence-form/unlisted-college-licence-form.component.html index 312490ad3d..4f4e938eda 100644 --- a/prime-angular-frontend/src/app/shared/components/forms/unlisted-college-licence-form/unlisted-college-licence-form.component.html +++ b/prime-angular-frontend/src/app/shared/components/forms/unlisted-college-licence-form/unlisted-college-licence-form.component.html @@ -7,7 +7,7 @@ Required From 8110c72cfc9a70eab49e98a9ad681838298b5cb8 Mon Sep 17 00:00:00 2001 From: Jack Wong <108699279+bergomi02@users.noreply.github.com> Date: Mon, 9 Sep 2024 16:25:07 -0700 Subject: [PATCH 6/9] update --- .../src/app/config/config.model.ts | 1 + ...se-classes-maintenance-page.component.html | 16 +- ...ense-classes-maintenance-page.component.ts | 3 +- .../regulatory/regulatory.component.html | 2 + .../pages/regulatory/regulatory.component.ts | 38 +- .../college-certification-form.component.ts | 5 + ...unlisted-college-licence-form.component.ts | 19 +- .../toggle-content.component.html | 1 + .../toggle-content.component.ts | 1 + .../LicenseDetailConfiguration.cs | 7 + ...40830210728_UpdateUnlistedCertification.cs | 28 - ...dateForUnlistedCollegeLicence.Designer.cs} | 563 +++- ...6160249_UpdateForUnlistedCollegeLicence.cs | 2453 +++++++++++++++++ .../Migrations/ApiDbContextModelSnapshot.cs | 420 ++- .../Models/Certifications/LicenseDetail.cs | 2 + .../ViewModels/Enrollee/LicenseViewModel.cs | 2 + 16 files changed, 3496 insertions(+), 65 deletions(-) delete mode 100644 prime-dotnet-webapi/Migrations/20240830210728_UpdateUnlistedCertification.cs rename prime-dotnet-webapi/Migrations/{20240830210728_UpdateUnlistedCertification.Designer.cs => 20240906160249_UpdateForUnlistedCollegeLicence.Designer.cs} (98%) create mode 100644 prime-dotnet-webapi/Migrations/20240906160249_UpdateForUnlistedCollegeLicence.cs diff --git a/prime-angular-frontend/src/app/config/config.model.ts b/prime-angular-frontend/src/app/config/config.model.ts index de39f12dd1..1f8c8b6593 100644 --- a/prime-angular-frontend/src/app/config/config.model.ts +++ b/prime-angular-frontend/src/app/config/config.model.ts @@ -48,6 +48,7 @@ export class LicenseConfig extends Config implements IWeightedConfig { validate: boolean; manual: boolean; prescriberIdType: PrescriberIdTypeEnum; + multijurisdictional: boolean; } export interface CollegeLicenseConfig { diff --git a/prime-angular-frontend/src/app/modules/adjudication/pages/license-classes-maintenance-page/license-classes-maintenance-page.component.html b/prime-angular-frontend/src/app/modules/adjudication/pages/license-classes-maintenance-page/license-classes-maintenance-page.component.html index 56de2d51cd..5a62db070b 100644 --- a/prime-angular-frontend/src/app/modules/adjudication/pages/license-classes-maintenance-page/license-classes-maintenance-page.component.html +++ b/prime-angular-frontend/src/app/modules/adjudication/pages/license-classes-maintenance-page/license-classes-maintenance-page.component.html @@ -130,7 +130,7 @@ *matHeaderCellDef scope="col" class="prefix-header pl-3"> - ARRA + Remote Access + + + Multijur. + + + {{ row.multijurisdictional }} + + + ([]); this.routeUtils = new RouteUtils(route, router, AdjudicationRoutes.routePath(AdjudicationRoutes.ENROLLEES)); diff --git a/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory.component.html b/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory.component.html index 1859efa31c..0a85d52dad 100644 --- a/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory.component.html +++ b/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory.component.html @@ -125,6 +125,7 @@ [index]="i" [total]="formState.certifications.controls.length" [selectedColleges]="selectedCollegeCodes" + (licenceCodeSelected)="licenceCodeSelected($event)" (remove)="removeCertification($event)"> @@ -147,6 +148,7 @@ formArrayName="unlistedCertifications"> l.code === code)) { + this.hasUnlistedCertification = true; + this.disableUnlistedCertificationToggle = true; + if (!this.formState.unlistedCertifications.length) { + this.formState.addEmptyUnlistedCollegeCertification(); + } + } else { + this.hasUnlistedCertification = false; + this.disableUnlistedCertificationToggle = false; + if (this.formState.unlistedCertifications.length) { + this.formState.json.unlistedCertifications = []; + } + } + } + public ngOnInit() { this.isDeviceProvider = this.enrolmentService.enrolment.careSettings.some((careSetting) => careSetting.careSettingCode === CareSettingEnum.DEVICE_PROVIDER); @@ -108,10 +129,12 @@ export class RegulatoryComponent extends BaseEnrolmentProfilePage implements OnI this.hasUnlistedCertification = true; } }); + this.multijurisdictionalLicenceCode = this.configService.licenses.filter(l => l.multijurisdictional); } public ngOnDestroy() { this.removeIncompleteCertifications(true); + this.removeIncompleteUnlistedCertification(); } protected createFormInstance() { @@ -221,6 +244,7 @@ export class RegulatoryComponent extends BaseEnrolmentProfilePage implements OnI protected afterSubmitIsSuccessful() { this.removeIncompleteCertifications(true); + this.removeIncompleteUnlistedCertification(); } protected nextRouteAfterSubmit() { @@ -261,6 +285,16 @@ export class RegulatoryComponent extends BaseEnrolmentProfilePage implements OnI } } + private removeIncompleteUnlistedCertification() { + this.formState.unlistedCertifications.controls + .forEach((control: FormGroup, index: number) => { + // Remove if college code is "None" or the group is invalid + if (!control.get('collegeName').value || (control.invalid && !this.enrolmentService.isProfileComplete)) { + this.formState.unlistedCertifications.removeAt(index); + } + }); + } + /** * @description * Remove obo sites from the enrolment as enrollees can not have diff --git a/prime-angular-frontend/src/app/shared/components/forms/college-certification-form/college-certification-form.component.ts b/prime-angular-frontend/src/app/shared/components/forms/college-certification-form/college-certification-form.component.ts index 86f6504801..f4221ac8c5 100644 --- a/prime-angular-frontend/src/app/shared/components/forms/college-certification-form/college-certification-form.component.ts +++ b/prime-angular-frontend/src/app/shared/components/forms/college-certification-form/college-certification-form.component.ts @@ -33,6 +33,8 @@ export class CollegeCertificationFormComponent implements OnInit { @Input() public condensed: boolean; @Input() public defaultOption: boolean; @Output() public remove: EventEmitter; + @Output() public licenceCodeSelected: EventEmitter; + public isPrescribing: boolean; public colleges: CollegeConfig[]; public licenses: LicenseConfig[]; @@ -70,6 +72,8 @@ export class CollegeCertificationFormComponent implements OnInit { private enrolmentService: EnrolmentService ) { this.remove = new EventEmitter(); + this.licenceCodeSelected = new EventEmitter(); + // copy the master list of license lookup from configService to local this.licenses = this.configService.licenses.map(x => Object.assign({}, x)); @@ -215,6 +219,7 @@ export class CollegeCertificationFormComponent implements OnInit { .subscribe((licenseCode: number) => { if (licenseCode) { this.setPractitionerInformation(licenseCode); + this.licenceCodeSelected.emit(licenseCode); } }); diff --git a/prime-angular-frontend/src/app/shared/components/forms/unlisted-college-licence-form/unlisted-college-licence-form.component.ts b/prime-angular-frontend/src/app/shared/components/forms/unlisted-college-licence-form/unlisted-college-licence-form.component.ts index e9b3494155..610d5fef9e 100644 --- a/prime-angular-frontend/src/app/shared/components/forms/unlisted-college-licence-form/unlisted-college-licence-form.component.ts +++ b/prime-angular-frontend/src/app/shared/components/forms/unlisted-college-licence-form/unlisted-college-licence-form.component.ts @@ -48,22 +48,25 @@ export class UnlistedCollegeLicenceFormComponent implements OnInit, OnChanges { return this.form.get('renewalDate') as FormControl; } + public get licenceClass(): FormControl { + return this.form.get('licenceClass') as FormControl; + } + public removeUnlistedCertification(): void { this.remove.emit(this.index); } public ngOnChanges(changes: SimpleChanges): void { - if (this.form && changes && !this.validate) { - this.removeValidations(); + if (this.form) { + if (this.validate) { + this.setUnlistedCollegeCertificationValidators() + } else { + this.removeValidations(); + } } } public ngOnInit(): void { - if (this.validate) { - this.setUnlistedCollegeCertificationValidators() - } else { - this.removeValidations(); - } } private setUnlistedCollegeCertificationValidators(): void { @@ -73,6 +76,7 @@ export class UnlistedCollegeLicenceFormComponent implements OnInit, OnChanges { FormControlValidators.alphanumeric ]); this.formUtilsService.setValidators(this.renewalDate, [Validators.required]); + this.formUtilsService.setValidators(this.licenceClass, [Validators.required]); } private removeValidations(): void { @@ -80,5 +84,6 @@ export class UnlistedCollegeLicenceFormComponent implements OnInit, OnChanges { this.formUtilsService.setValidators(this.collegeName, []); this.formUtilsService.setValidators(this.licenceNumber, []); this.formUtilsService.setValidators(this.renewalDate, []); + this.formUtilsService.setValidators(this.licenceClass, []); } } diff --git a/prime-angular-frontend/src/app/shared/components/toggle-content/toggle-content.component.html b/prime-angular-frontend/src/app/shared/components/toggle-content/toggle-content.component.html index ef24c0b46f..6732dd9295 100644 --- a/prime-angular-frontend/src/app/shared/components/toggle-content/toggle-content.component.html +++ b/prime-angular-frontend/src/app/shared/components/toggle-content/toggle-content.component.html @@ -2,6 +2,7 @@ {{ label }} diff --git a/prime-angular-frontend/src/app/shared/components/toggle-content/toggle-content.component.ts b/prime-angular-frontend/src/app/shared/components/toggle-content/toggle-content.component.ts index 2f14db3850..38c2592d9c 100644 --- a/prime-angular-frontend/src/app/shared/components/toggle-content/toggle-content.component.ts +++ b/prime-angular-frontend/src/app/shared/components/toggle-content/toggle-content.component.ts @@ -12,6 +12,7 @@ export class ToggleContentComponent implements OnInit { @Input() public color: 'primary' | 'accent' | 'warn'; @Input() public label: string; @Input() public checked: boolean; + @Input() public disabled: boolean; @Output() public toggle: EventEmitter; constructor() { diff --git a/prime-dotnet-webapi/Configuration/Database/Seeded Tables/LicenseDetailConfiguration.cs b/prime-dotnet-webapi/Configuration/Database/Seeded Tables/LicenseDetailConfiguration.cs index 19d59df134..1df5bf02bd 100644 --- a/prime-dotnet-webapi/Configuration/Database/Seeded Tables/LicenseDetailConfiguration.cs +++ b/prime-dotnet-webapi/Configuration/Database/Seeded Tables/LicenseDetailConfiguration.cs @@ -27,6 +27,7 @@ public class LicenseDetailConfiguration : SeededTable public static readonly DateTime ProvisionalPhysiciansMay3rd2024 = new(2024, 5, 3, 8, 0, 0, DateTimeKind.Utc); public static readonly DateTime NewCollegeLicenseChangeJune252024 = new(2024, 6, 25, 8, 0, 0, DateTimeKind.Utc); public static readonly DateTime NewMultijurisdictionalBccnmLicenceClasses = new(2024, 8, 27, 8, 0, 0, DateTimeKind.Utc); + public static readonly DateTime AddMultijurisdictionalFlag = new(2024, 9, 6, 8, 0, 0, DateTimeKind.Utc); public override IEnumerable SeedData { @@ -456,6 +457,12 @@ public override IEnumerable SeedData new LicenseDetail { Id = 367, LicenseCode = 175, Prefix = "R9", Manual = true, Validate = true, LicensedToProvideCare = true, NamedInImReg = true, PrescriberIdType = PrescriberIdType.Mandatory, AllowRequestRemoteAccess = false, NonPrescribingPrefix = "RX", EffectiveDate = NewMultijurisdictionalBccnmLicenceClasses, CreatedTimeStamp = SEEDING_DATE, UpdatedTimeStamp = SEEDING_DATE}, new LicenseDetail { Id = 368, LicenseCode = 176, Prefix = "Y9", Manual = true, Validate = true, LicensedToProvideCare = true, NamedInImReg = true, PrescriberIdType = PrescriberIdType.Mandatory, AllowRequestRemoteAccess = false, NonPrescribingPrefix = "YX", EffectiveDate = NewMultijurisdictionalBccnmLicenceClasses, CreatedTimeStamp = SEEDING_DATE, UpdatedTimeStamp = SEEDING_DATE}, new LicenseDetail { Id = 369, LicenseCode = 177, Prefix = "L9", Manual = true, Validate = true, LicensedToProvideCare = true, NamedInImReg = true, PrescriberIdType = PrescriberIdType.Mandatory, AllowRequestRemoteAccess = false, EffectiveDate = NewMultijurisdictionalBccnmLicenceClasses, CreatedTimeStamp = SEEDING_DATE, UpdatedTimeStamp = SEEDING_DATE }, + + + new LicenseDetail { Id = 370, LicenseCode = 175, Prefix = "R9", Manual = true, Validate = true, LicensedToProvideCare = true, NamedInImReg = true, PrescriberIdType = PrescriberIdType.Mandatory, AllowRequestRemoteAccess = false, NonPrescribingPrefix = "RX", EffectiveDate = AddMultijurisdictionalFlag, CreatedTimeStamp = SEEDING_DATE, UpdatedTimeStamp = SEEDING_DATE, Multijurisdictional = true}, + new LicenseDetail { Id = 371, LicenseCode = 176, Prefix = "Y9", Manual = true, Validate = true, LicensedToProvideCare = true, NamedInImReg = true, PrescriberIdType = PrescriberIdType.Mandatory, AllowRequestRemoteAccess = false, NonPrescribingPrefix = "YX", EffectiveDate = AddMultijurisdictionalFlag, CreatedTimeStamp = SEEDING_DATE, UpdatedTimeStamp = SEEDING_DATE, Multijurisdictional = true}, + new LicenseDetail { Id = 372, LicenseCode = 177, Prefix = "L9", Manual = true, Validate = true, LicensedToProvideCare = true, NamedInImReg = true, PrescriberIdType = PrescriberIdType.Mandatory, AllowRequestRemoteAccess = false, EffectiveDate = AddMultijurisdictionalFlag, CreatedTimeStamp = SEEDING_DATE, UpdatedTimeStamp = SEEDING_DATE, Multijurisdictional = true}, + new LicenseDetail { Id = 373, LicenseCode = 89, Prefix = "91", Manual = true, Validate = true, LicensedToProvideCare = true, NamedInImReg = true, PrescriberIdType = null, AllowRequestRemoteAccess = true, EffectiveDate = AddMultijurisdictionalFlag, CreatedTimeStamp = SEEDING_DATE, UpdatedTimeStamp = SEEDING_DATE, Multijurisdictional = true }, }; } } diff --git a/prime-dotnet-webapi/Migrations/20240830210728_UpdateUnlistedCertification.cs b/prime-dotnet-webapi/Migrations/20240830210728_UpdateUnlistedCertification.cs deleted file mode 100644 index 3e3f8e159c..0000000000 --- a/prime-dotnet-webapi/Migrations/20240830210728_UpdateUnlistedCertification.cs +++ /dev/null @@ -1,28 +0,0 @@ -using Microsoft.EntityFrameworkCore.Migrations; - -#nullable disable - -namespace Prime.Migrations -{ - /// - public partial class UpdateUnlistedCertification : Migration - { - /// - protected override void Up(MigrationBuilder migrationBuilder) - { - migrationBuilder.AddColumn( - name: "LicenceClass", - table: "UnlistedCertification", - type: "text", - nullable: true); - } - - /// - protected override void Down(MigrationBuilder migrationBuilder) - { - migrationBuilder.DropColumn( - name: "LicenceClass", - table: "UnlistedCertification"); - } - } -} diff --git a/prime-dotnet-webapi/Migrations/20240830210728_UpdateUnlistedCertification.Designer.cs b/prime-dotnet-webapi/Migrations/20240906160249_UpdateForUnlistedCollegeLicence.Designer.cs similarity index 98% rename from prime-dotnet-webapi/Migrations/20240830210728_UpdateUnlistedCertification.Designer.cs rename to prime-dotnet-webapi/Migrations/20240906160249_UpdateForUnlistedCollegeLicence.Designer.cs index 07e7696c55..3c2d3a1469 100644 --- a/prime-dotnet-webapi/Migrations/20240830210728_UpdateUnlistedCertification.Designer.cs +++ b/prime-dotnet-webapi/Migrations/20240906160249_UpdateForUnlistedCollegeLicence.Designer.cs @@ -12,8 +12,8 @@ namespace Prime.Migrations { [DbContext(typeof(ApiDbContext))] - [Migration("20240830210728_UpdateUnlistedCertification")] - partial class UpdateUnlistedCertification + [Migration("20240906160249_UpdateForUnlistedCollegeLicence")] + partial class UpdateForUnlistedCollegeLicence { /// protected override void BuildTargetModel(ModelBuilder modelBuilder) @@ -152,6 +152,9 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) .IsRequired() .HasColumnType("text"); + b.Property("Status") + .HasColumnType("integer"); + b.Property("UpdatedTimeStamp") .HasColumnType("timestamp with time zone"); @@ -1636,6 +1639,13 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) Discontinued = false }, new + { + CollegeCode = 3, + LicenseCode = 175, + CollegeLicenseGroupingCode = 2, + Discontinued = false + }, + new { CollegeCode = 3, LicenseCode = 41, @@ -1671,6 +1681,13 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) Discontinued = false }, new + { + CollegeCode = 3, + LicenseCode = 176, + CollegeLicenseGroupingCode = 3, + Discontinued = false + }, + new { CollegeCode = 3, LicenseCode = 47, @@ -1727,6 +1744,13 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) Discontinued = false }, new + { + CollegeCode = 3, + LicenseCode = 177, + CollegeLicenseGroupingCode = 1, + Discontinued = false + }, + new { CollegeCode = 3, LicenseCode = 60, @@ -7002,133 +7026,151 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) { Code = 32, Name = "Practicing Registered Nurse", - Weight = 6 + Weight = 11 }, new { Code = 33, Name = "Provisional Registered Nurse", - Weight = 7 + Weight = 12 }, new { Code = 39, Name = "Temporary Registered Nurse (Emergency)", - Weight = 9 + Weight = 13 + }, + new + { + Code = 175, + Name = "RN – Multijurisdictional", + Weight = 14 }, new { Code = 34, Name = "Non-Practicing Registered Nurse", - Weight = 10 + Weight = 15 }, new { Code = 40, Name = "Employed Student Nurse", - Weight = 11 + Weight = 16 }, new { Code = 35, Name = "Practicing Licensed Graduate Nurse", - Weight = 12 + Weight = 17 }, new { Code = 36, Name = "Provisional Licensed Graduate Nurse", - Weight = 13 + Weight = 18 }, new { Code = 37, Name = "Non-Practicing Licensed Graduate Nurse", - Weight = 14 + Weight = 19 }, new { Code = 41, Name = "Practicing Registered Psychiatric Nurse", - Weight = 15 + Weight = 21 }, new { Code = 42, Name = "Provisional Registered Psychiatric Nurse", - Weight = 16 + Weight = 22 }, new { Code = 45, Name = "Temporary Registered Psychiatric Nurse (Emergency)", - Weight = 18 + Weight = 23 + }, + new + { + Code = 176, + Name = "RPN – Multijurisdictional", + Weight = 24 }, new { Code = 43, Name = "Non-Practicing Registered Psychiatric Nurse", - Weight = 19 + Weight = 25 }, new { Code = 46, Name = "Employed Student Psychiatric Nurse", - Weight = 20 + Weight = 26 }, new { Code = 52, Name = "Practicing Licensed Practical Nurse", - Weight = 21 + Weight = 31 }, new { Code = 53, Name = "Provisional Licensed Practical Nurse", - Weight = 22 + Weight = 32 }, new { Code = 55, Name = "Temporary Licensed Practical Nurse (Emergency)", - Weight = 23 + Weight = 33 + }, + new + { + Code = 177, + Name = "LPN – Multijurisdictional", + Weight = 34 }, new { Code = 54, Name = "Non-Practicing Licensed Practical Nurse", - Weight = 25 + Weight = 35 }, new { Code = 60, Name = "Practising Midwife", - Weight = 28 + Weight = 41 }, new { Code = 61, Name = "Provisional Midwife", - Weight = 29 + Weight = 42 }, new { Code = 62, Name = "Temporary Midwife (Emergency)", - Weight = 30 + Weight = 43 }, new { Code = 63, Name = "Non-Practising Midwife", - Weight = 31 + Weight = 44 }, new { Code = 69, Name = "Student Midwife", - Weight = 32 + Weight = 45 }, new { @@ -7761,6 +7803,9 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b.Property("Manual") .HasColumnType("boolean"); + b.Property("Multijurisdictional") + .HasColumnType("boolean"); + b.Property("NamedInImReg") .HasColumnType("boolean"); @@ -7799,6 +7844,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 1, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -7815,6 +7861,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 2, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -7831,6 +7878,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 5, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -7847,6 +7895,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 6, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -7863,6 +7912,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 9, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -7879,6 +7929,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 8, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -7895,6 +7946,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 10, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -7911,6 +7963,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 22, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -7927,6 +7980,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 16, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -7943,6 +7997,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 7, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -7959,6 +8014,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 4, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -7975,6 +8031,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 3, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -7991,6 +8048,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 17, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -8007,6 +8065,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 12, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8023,6 +8082,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 13, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8039,6 +8099,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 14, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8055,6 +8116,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 15, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8071,6 +8133,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 11, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8087,6 +8150,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 23, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -8103,6 +8167,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 20, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -8119,6 +8184,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 24, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -8135,6 +8201,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 18, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8151,6 +8218,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 19, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8167,6 +8235,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 21, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -8183,6 +8252,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 59, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, 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)), @@ -8199,6 +8269,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 65, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, 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)), @@ -8215,6 +8286,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 66, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, 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)), @@ -8231,6 +8303,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 67, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, 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)), @@ -8247,6 +8320,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 25, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8263,6 +8337,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 26, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8279,6 +8354,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 28, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8295,6 +8371,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 27, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8311,6 +8388,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 30, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -8327,6 +8405,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 29, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8343,6 +8422,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 31, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -8359,6 +8439,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 68, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -8375,6 +8456,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 29, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8391,6 +8473,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 31, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -8407,6 +8490,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 68, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -8423,6 +8507,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 47, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "96", PrescriberIdType = 2, @@ -8440,6 +8525,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 48, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, 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)), @@ -8456,6 +8542,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 51, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "96", PrescriberIdType = 2, @@ -8473,6 +8560,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 49, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, 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)), @@ -8489,6 +8577,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 32, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "R9", PrescriberIdType = 1, @@ -8506,6 +8595,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 33, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8522,6 +8612,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 39, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "R9", PrescriberIdType = 1, @@ -8539,6 +8630,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 34, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -8555,6 +8647,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 40, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8571,6 +8664,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 35, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = false, Prefix = "R9", PrescriberIdType = 1, @@ -8588,6 +8682,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 36, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -8604,6 +8699,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 37, LicensedToProvideCare = false, Manual = false, + Multijurisdictional = 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)), @@ -8620,6 +8716,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 41, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "Y9", PrescriberIdType = 1, @@ -8637,6 +8734,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 42, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8653,6 +8751,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 45, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "Y9", PrescriberIdType = 1, @@ -8670,6 +8769,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 43, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -8686,6 +8786,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 46, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8702,6 +8803,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 52, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8718,6 +8820,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 53, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8734,6 +8837,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 55, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8750,6 +8854,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 54, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -8766,6 +8871,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 60, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8782,6 +8888,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 61, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8798,6 +8905,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 62, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8814,6 +8922,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 63, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -8830,6 +8939,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 69, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -8846,6 +8956,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 70, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8862,6 +8973,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 71, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8878,6 +8990,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 72, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8894,6 +9007,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 73, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8910,6 +9024,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 74, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8926,6 +9041,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 32, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "R9", PrescriberIdType = 1, @@ -8943,6 +9059,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 33, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -8959,6 +9076,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 34, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -8975,6 +9093,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 39, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "R9", PrescriberIdType = 2, @@ -8992,6 +9111,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 41, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "Y9", PrescriberIdType = 2, @@ -9009,6 +9129,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 42, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, 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)), @@ -9025,6 +9146,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 43, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, 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)), @@ -9041,6 +9163,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 45, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "Y9", PrescriberIdType = 2, @@ -9058,6 +9181,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 52, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9074,6 +9198,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 53, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -9090,6 +9215,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 54, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -9106,6 +9232,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 55, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9122,6 +9249,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 60, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "98", PrescriberIdType = 2, @@ -9139,6 +9267,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 61, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -9155,6 +9284,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 62, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "98", PrescriberIdType = 2, @@ -9172,6 +9302,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 63, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -9188,6 +9319,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 32, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "R9", PrescriberIdType = 1, @@ -9205,6 +9337,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 33, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9221,6 +9354,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 34, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -9237,6 +9371,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 39, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "R9", PrescriberIdType = 1, @@ -9254,6 +9389,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 41, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "Y9", PrescriberIdType = 1, @@ -9271,6 +9407,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 42, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9287,6 +9424,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 43, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -9303,6 +9441,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 45, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "Y9", PrescriberIdType = 1, @@ -9320,6 +9459,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 52, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9336,6 +9476,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 53, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9352,6 +9493,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 54, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -9368,6 +9510,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 55, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9384,6 +9527,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 60, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9400,6 +9544,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 61, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9416,6 +9561,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 63, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -9432,6 +9578,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 62, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9448,6 +9595,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 48, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, 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)), @@ -9464,6 +9612,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 59, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9480,6 +9629,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 65, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9496,6 +9646,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 66, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9512,6 +9663,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 67, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9528,6 +9680,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 70, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9544,6 +9697,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 75, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9560,6 +9714,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 76, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9576,6 +9731,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 77, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9592,6 +9748,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 78, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9608,6 +9765,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 79, LicensedToProvideCare = false, Manual = false, + Multijurisdictional = 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)), @@ -9624,6 +9782,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 80, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9640,6 +9799,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 81, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9656,6 +9816,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 64, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -9672,6 +9833,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 1, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9688,6 +9850,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 2, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9704,6 +9867,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 3, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -9720,6 +9884,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 4, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9736,6 +9901,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 5, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9752,6 +9918,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 6, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9768,6 +9935,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 8, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -9784,6 +9952,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 9, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -9800,6 +9969,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 10, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -9816,6 +9986,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 12, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9832,6 +10003,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 13, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9848,6 +10020,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 14, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9864,6 +10037,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 18, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9880,6 +10054,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 19, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9896,6 +10071,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 22, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9912,6 +10088,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 47, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "96", PrescriberIdType = 2, @@ -9929,6 +10106,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 48, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, 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)), @@ -9945,6 +10123,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 51, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "96", PrescriberIdType = 2, @@ -9962,6 +10141,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 59, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9978,6 +10158,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 60, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9994,6 +10175,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 61, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -10010,6 +10192,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 62, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -10026,6 +10209,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 66, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -10042,6 +10226,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 67, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -10058,6 +10243,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 41, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "Y9", PrescriberIdType = 2, @@ -10075,6 +10261,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 42, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = true, Prefix = "Y9", PrescriberIdType = 2, @@ -10092,6 +10279,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 43, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, Prefix = "Y9", PrescriberIdType = 2, @@ -10109,6 +10297,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 45, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = true, Prefix = "Y9", PrescriberIdType = 2, @@ -10126,6 +10315,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 46, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = true, Prefix = "Y9", PrescriberIdType = 2, @@ -10143,6 +10333,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 65, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -10159,6 +10350,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 32, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "R9", PrescriberIdType = 1, @@ -10176,6 +10368,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 33, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "R9", PrescriberIdType = 1, @@ -10193,6 +10386,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 34, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -10209,6 +10403,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 35, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = true, Prefix = "R9", PrescriberIdType = 1, @@ -10226,6 +10421,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 36, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = false, Prefix = "R9", PrescriberIdType = 1, @@ -10243,6 +10439,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 37, LicensedToProvideCare = false, Manual = false, + Multijurisdictional = 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)), @@ -10259,6 +10456,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 39, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "R9", PrescriberIdType = 1, @@ -10276,6 +10474,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 41, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "Y9", PrescriberIdType = 1, @@ -10293,6 +10492,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 42, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = false, Prefix = "Y9", PrescriberIdType = 1, @@ -10310,6 +10510,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 43, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, 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)), @@ -10326,6 +10527,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 45, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = true, Prefix = "Y9", PrescriberIdType = 1, @@ -10343,6 +10545,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 46, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -10359,6 +10562,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 47, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "96", PrescriberIdType = 1, @@ -10376,6 +10580,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 48, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = false, Prefix = "96", PrescriberIdType = 1, @@ -10393,6 +10598,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 49, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, 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)), @@ -10409,6 +10615,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 51, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "96", PrescriberIdType = 1, @@ -10426,6 +10633,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 52, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "L9", PrescriberIdType = 1, @@ -10443,6 +10651,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 53, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "L9", PrescriberIdType = 1, @@ -10460,6 +10669,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 54, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -10476,6 +10686,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 55, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "L9", PrescriberIdType = 1, @@ -10493,6 +10704,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 60, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "98", PrescriberIdType = 1, @@ -10510,6 +10722,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 61, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "98", PrescriberIdType = 1, @@ -10527,6 +10740,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 62, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "98", PrescriberIdType = 1, @@ -10544,6 +10758,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 63, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -10560,6 +10775,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 47, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "NX", Prefix = "96", @@ -10578,6 +10794,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 48, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "NX", Prefix = "96", @@ -10596,6 +10813,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 49, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "NX", Prefix = "96", @@ -10613,6 +10831,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 51, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "NX", Prefix = "96", @@ -10631,6 +10850,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 32, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -10649,6 +10869,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 33, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -10667,6 +10888,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 34, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -10684,6 +10906,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 35, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -10702,6 +10925,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 36, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -10720,6 +10944,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 37, LicensedToProvideCare = false, Manual = false, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -10737,6 +10962,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 39, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -10755,6 +10981,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 40, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -10772,6 +10999,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 41, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "YX", Prefix = "Y9", @@ -10790,6 +11018,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 42, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "YX", Prefix = "Y9", @@ -10808,6 +11037,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 43, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "YX", Prefix = "Y9", @@ -10825,6 +11055,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 45, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "YX", Prefix = "Y9", @@ -10843,6 +11074,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 46, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "YX", Prefix = "Y9", @@ -10860,6 +11092,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 41, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "YX", Prefix = "Y9", @@ -10878,6 +11111,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 42, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "YX", Prefix = "Y9", @@ -10896,6 +11130,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 45, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "YX", Prefix = "Y9", @@ -10914,6 +11149,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 47, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "NX", Prefix = "96", @@ -10932,6 +11168,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 48, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "NX", Prefix = "96", @@ -10950,6 +11187,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 51, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "NX", Prefix = "96", @@ -10968,6 +11206,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 60, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "98", PrescriberIdType = 2, @@ -10985,6 +11224,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 61, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "98", PrescriberIdType = 2, @@ -11002,6 +11242,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 62, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "98", PrescriberIdType = 2, @@ -11019,6 +11260,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 32, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11037,6 +11279,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 33, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11055,6 +11298,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 34, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11073,6 +11317,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 35, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11091,6 +11336,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 36, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11109,6 +11355,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 37, LicensedToProvideCare = false, Manual = false, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11127,6 +11374,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 39, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11145,6 +11393,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 40, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11163,6 +11412,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 43, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "YX", Prefix = "Y9", @@ -11181,6 +11431,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 46, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "YX", Prefix = "Y9", @@ -11199,6 +11450,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 49, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "NX", Prefix = "96", @@ -11217,6 +11469,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 52, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "L9", PrescriberIdType = 2, @@ -11234,6 +11487,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 53, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "L9", PrescriberIdType = 2, @@ -11251,6 +11505,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 54, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, Prefix = "L9", PrescriberIdType = 2, @@ -11268,6 +11523,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 55, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "L9", PrescriberIdType = 2, @@ -11285,6 +11541,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 63, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, Prefix = "98", PrescriberIdType = 2, @@ -11302,6 +11559,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 33, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11320,6 +11578,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 34, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11338,6 +11597,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 35, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11356,6 +11616,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 36, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11374,6 +11635,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 37, LicensedToProvideCare = false, Manual = false, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11392,6 +11654,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 40, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11410,6 +11673,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 43, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "YX", Prefix = "Y9", @@ -11428,6 +11692,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 46, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "YX", Prefix = "Y9", @@ -11446,6 +11711,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 49, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "NX", Prefix = "96", @@ -11464,6 +11730,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 52, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "L9", PrescriberIdType = 2, @@ -11481,6 +11748,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 53, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "L9", PrescriberIdType = 2, @@ -11498,6 +11766,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 54, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, Prefix = "L9", PrescriberIdType = 2, @@ -11515,6 +11784,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 55, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "L9", PrescriberIdType = 2, @@ -11532,6 +11802,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 63, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, Prefix = "98", PrescriberIdType = 2, @@ -11549,6 +11820,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 82, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -11565,6 +11837,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 83, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -11581,6 +11854,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 84, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -11597,6 +11871,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 85, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -11613,6 +11888,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 86, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -11629,6 +11905,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 72, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -11645,6 +11922,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 73, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -11661,6 +11939,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 74, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -11677,6 +11956,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 87, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -11693,6 +11973,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 88, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -11709,6 +11990,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 89, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -11725,6 +12007,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 90, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -11741,6 +12024,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 91, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -11757,6 +12041,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 7, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -11773,6 +12058,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 9, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -11789,6 +12075,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 15, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -11805,6 +12092,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 16, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -11821,6 +12109,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 17, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -11837,6 +12126,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 22, LicensedToProvideCare = false, Manual = false, + Multijurisdictional = 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)), @@ -11853,6 +12143,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 40, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11871,6 +12162,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 92, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, 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)), @@ -11887,6 +12179,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 93, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -11903,6 +12196,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 94, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -11919,6 +12213,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 95, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -11935,6 +12230,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 96, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -11951,6 +12247,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 97, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -11967,6 +12264,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 98, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -11983,6 +12281,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 99, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -11999,6 +12298,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 100, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12015,6 +12315,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 101, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12031,6 +12332,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 102, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -12047,6 +12349,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 103, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12063,6 +12366,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 104, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12079,6 +12383,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 105, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12095,6 +12400,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 106, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12111,6 +12417,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 107, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -12127,6 +12434,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 108, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -12143,6 +12451,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 109, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -12159,6 +12468,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 110, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12175,6 +12485,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 111, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -12191,6 +12502,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 112, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12207,6 +12519,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 113, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12223,6 +12536,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 114, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12239,6 +12553,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 115, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12255,6 +12570,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 116, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12271,6 +12587,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 117, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -12287,6 +12604,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 118, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12303,6 +12621,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 119, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12319,6 +12638,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 5, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12335,6 +12655,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 6, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12351,6 +12672,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 48, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "NX", Prefix = "96", @@ -12369,6 +12691,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 60, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "98", PrescriberIdType = 2, @@ -12386,6 +12709,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 61, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "98", PrescriberIdType = 2, @@ -12403,6 +12727,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 62, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "98", PrescriberIdType = 2, @@ -12420,6 +12745,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 5, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12436,6 +12762,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 6, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12452,6 +12779,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 120, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12468,6 +12796,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 121, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12484,6 +12813,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 122, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12500,6 +12830,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 123, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12516,6 +12847,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 124, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12532,6 +12864,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 125, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12548,6 +12881,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 126, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12564,6 +12898,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 127, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12580,6 +12915,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 128, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12596,6 +12932,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 129, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12612,6 +12949,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 130, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12628,6 +12966,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 131, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12644,6 +12983,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 132, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12660,6 +13000,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 133, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12676,6 +13017,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 134, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -12692,6 +13034,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 135, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -12708,6 +13051,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 136, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -12724,6 +13068,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 137, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12740,6 +13085,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 138, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12756,6 +13102,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 139, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12772,6 +13119,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 140, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12788,6 +13136,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 141, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12804,6 +13153,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 142, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12820,6 +13170,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 143, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12836,6 +13187,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 144, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12852,6 +13204,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 145, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12868,6 +13221,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 146, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12884,6 +13238,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 147, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12900,6 +13255,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 148, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12916,6 +13272,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 149, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12932,6 +13289,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 150, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12948,6 +13306,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 151, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12964,6 +13323,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 152, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12980,6 +13340,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 153, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12996,6 +13357,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 154, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13012,6 +13374,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 155, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13028,6 +13391,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 156, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13044,6 +13408,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 157, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13060,6 +13425,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 158, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13076,6 +13442,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 159, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13092,6 +13459,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 160, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13108,6 +13476,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 161, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13124,6 +13493,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 162, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13140,6 +13510,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 163, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13156,6 +13527,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 164, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13172,6 +13544,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 165, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13188,6 +13561,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 166, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -13204,6 +13578,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 167, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -13220,6 +13595,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 168, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -13236,6 +13612,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 169, LicensedToProvideCare = false, Manual = false, + Multijurisdictional = 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)), @@ -13252,6 +13629,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 170, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13268,6 +13646,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 171, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13284,6 +13663,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 172, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13300,6 +13680,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 173, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13316,11 +13697,141 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) LicenseCode = 174, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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 = 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, + Multijurisdictional = 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 = 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, + Multijurisdictional = 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 = 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, + Multijurisdictional = 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 = 370, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 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, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 175, + LicensedToProvideCare = true, + Manual = true, + Multijurisdictional = 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 = 371, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 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, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 176, + LicensedToProvideCare = true, + Manual = true, + Multijurisdictional = 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 = 372, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 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, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 177, + LicensedToProvideCare = true, + Manual = true, + Multijurisdictional = 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 = 373, + 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, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 89, + LicensedToProvideCare = true, + Manual = true, + Multijurisdictional = 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 }); }); @@ -19590,7 +20101,7 @@ protected override void BuildTargetModel(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") @@ -19888,6 +20399,8 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b.Navigation("Enrollees"); b.Navigation("EnrolmentStatusReference"); + + b.Navigation("Sites"); }); modelBuilder.Entity("Prime.Models.Agreement", b => diff --git a/prime-dotnet-webapi/Migrations/20240906160249_UpdateForUnlistedCollegeLicence.cs b/prime-dotnet-webapi/Migrations/20240906160249_UpdateForUnlistedCollegeLicence.cs new file mode 100644 index 0000000000..b6e990756e --- /dev/null +++ b/prime-dotnet-webapi/Migrations/20240906160249_UpdateForUnlistedCollegeLicence.cs @@ -0,0 +1,2453 @@ +using System; +using Microsoft.EntityFrameworkCore.Migrations; + +#nullable disable + +#pragma warning disable CA1814 // Prefer jagged arrays over multidimensional + +namespace Prime.Migrations +{ + /// + public partial class UpdateForUnlistedCollegeLicence : Migration + { + /// + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.AddColumn( + name: "LicenceClass", + table: "UnlistedCertification", + type: "text", + nullable: true); + + migrationBuilder.AddColumn( + name: "Multijurisdictional", + table: "LicenseDetail", + type: "boolean", + nullable: false, + defaultValue: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 1, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 2, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 3, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 4, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 5, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 6, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 7, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 8, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 9, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 10, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 11, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 12, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 13, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 14, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 15, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 16, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 17, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 18, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 19, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 20, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 21, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 22, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 23, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 24, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 25, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 26, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 27, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 28, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 29, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 30, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 31, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 32, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 33, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 34, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 35, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 36, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 37, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 39, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 40, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 41, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 42, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 43, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 45, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 46, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 47, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 48, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 49, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 51, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 52, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 53, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 54, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 55, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 59, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 60, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 61, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 62, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 63, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 64, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 65, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 66, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 67, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 68, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 69, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 70, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 71, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 72, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 73, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 74, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 75, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 76, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 77, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 78, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 79, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 80, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 81, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 82, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 83, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 84, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 85, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 86, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 87, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 88, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 89, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 90, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 91, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 92, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 93, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 94, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 95, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 96, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 97, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 98, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 99, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 100, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 101, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 102, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 103, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 104, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 105, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 106, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 107, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 108, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 109, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 110, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 111, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 112, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 113, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 114, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 115, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 116, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 117, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 118, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 119, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 120, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 121, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 122, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 123, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 124, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 125, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 126, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 127, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 128, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 129, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 130, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 131, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 132, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 133, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 134, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 135, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 136, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 137, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 138, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 139, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 140, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 141, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 142, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 143, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 144, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 145, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 146, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 147, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 148, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 149, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 150, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 151, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 152, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 153, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 154, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 155, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 156, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 157, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 158, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 159, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 160, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 161, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 162, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 163, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 164, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 165, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 166, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 167, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 168, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 169, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 170, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 171, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 172, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 173, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 174, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 175, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 176, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 177, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 178, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 179, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 180, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 181, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 182, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 183, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 184, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 185, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 186, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 187, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 188, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 189, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 190, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 191, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 192, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 193, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 194, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 195, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 196, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 197, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 198, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 199, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 200, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 201, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 202, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 203, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 204, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 205, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 206, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 207, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 208, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 209, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 210, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 211, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 212, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 213, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 214, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 215, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 216, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 217, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 218, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 219, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 220, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 221, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 222, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 223, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 224, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 225, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 226, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 227, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 228, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 229, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 230, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 231, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 232, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 233, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 234, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 235, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 236, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 237, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 261, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 262, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 263, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 264, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 265, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 266, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 267, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 268, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 269, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 270, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 271, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 272, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 273, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 274, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 275, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 276, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 277, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 278, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 279, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 280, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 281, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 282, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 283, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 284, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 285, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 286, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 287, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 288, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 289, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 290, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 291, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 292, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 293, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 294, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 295, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 296, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 297, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 298, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 299, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 300, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 301, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 302, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 303, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 304, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 305, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 306, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 307, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 308, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 309, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 310, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 311, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 312, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 313, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 314, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 315, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 316, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 317, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 318, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 319, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 320, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 321, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 322, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 323, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 324, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 325, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 326, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 327, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 328, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 329, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 330, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 331, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 332, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 333, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 334, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 335, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 336, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 337, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 338, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 339, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 340, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 341, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 342, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 343, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 344, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 345, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 346, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 347, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 348, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 349, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 350, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 351, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 352, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 353, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 354, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 355, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 356, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 357, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 358, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 359, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 360, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 361, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 362, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 363, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 364, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 365, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 366, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 367, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 368, + column: "Multijurisdictional", + value: false); + + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 369, + column: "Multijurisdictional", + value: false); + + migrationBuilder.InsertData( + table: "LicenseDetail", + columns: new[] { "Id", "AllowRequestRemoteAccess", "CreatedTimeStamp", "CreatedUserId", "EffectiveDate", "LicenseCode", "LicensedToProvideCare", "Manual", "Multijurisdictional", "NamedInImReg", "NonPrescribingPrefix", "Prefix", "PrescriberIdType", "UpdatedTimeStamp", "UpdatedUserId", "Validate" }, + values: new object[,] + { + { 370, false, new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), new Guid("00000000-0000-0000-0000-000000000000"), new DateTime(2024, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), 175, true, true, true, true, "RX", "R9", 2, new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), new Guid("00000000-0000-0000-0000-000000000000"), true }, + { 371, false, new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), new Guid("00000000-0000-0000-0000-000000000000"), new DateTime(2024, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), 176, true, true, true, true, "YX", "Y9", 2, new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), new Guid("00000000-0000-0000-0000-000000000000"), true }, + { 372, false, new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), new Guid("00000000-0000-0000-0000-000000000000"), new DateTime(2024, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), 177, true, true, true, true, null, "L9", 2, new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), new Guid("00000000-0000-0000-0000-000000000000"), true }, + { 373, true, new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), new Guid("00000000-0000-0000-0000-000000000000"), new DateTime(2024, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), 89, true, true, true, true, null, "91", null, new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), new Guid("00000000-0000-0000-0000-000000000000"), true } + }); + } + + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DeleteData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 370); + + migrationBuilder.DeleteData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 371); + + migrationBuilder.DeleteData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 372); + + migrationBuilder.DeleteData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 373); + + migrationBuilder.DropColumn( + name: "LicenceClass", + table: "UnlistedCertification"); + + migrationBuilder.DropColumn( + name: "Multijurisdictional", + table: "LicenseDetail"); + } + } +} diff --git a/prime-dotnet-webapi/Migrations/ApiDbContextModelSnapshot.cs b/prime-dotnet-webapi/Migrations/ApiDbContextModelSnapshot.cs index cd0ad0228b..16727e1d06 100644 --- a/prime-dotnet-webapi/Migrations/ApiDbContextModelSnapshot.cs +++ b/prime-dotnet-webapi/Migrations/ApiDbContextModelSnapshot.cs @@ -7800,6 +7800,9 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.Property("Manual") .HasColumnType("boolean"); + b.Property("Multijurisdictional") + .HasColumnType("boolean"); + b.Property("NamedInImReg") .HasColumnType("boolean"); @@ -7838,6 +7841,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 1, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -7854,6 +7858,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 2, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -7870,6 +7875,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 5, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -7886,6 +7892,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 6, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -7902,6 +7909,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 9, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -7918,6 +7926,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 8, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -7934,6 +7943,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 10, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -7950,6 +7960,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 22, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -7966,6 +7977,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 16, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -7982,6 +7994,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 7, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -7998,6 +8011,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 4, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8014,6 +8028,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 3, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -8030,6 +8045,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 17, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -8046,6 +8062,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 12, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8062,6 +8079,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 13, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8078,6 +8096,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 14, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8094,6 +8113,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 15, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8110,6 +8130,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 11, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8126,6 +8147,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 23, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -8142,6 +8164,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 20, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -8158,6 +8181,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 24, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -8174,6 +8198,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 18, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8190,6 +8215,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 19, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8206,6 +8232,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 21, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -8222,6 +8249,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 59, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, 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)), @@ -8238,6 +8266,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 65, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, 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)), @@ -8254,6 +8283,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 66, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, 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)), @@ -8270,6 +8300,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 67, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, 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)), @@ -8286,6 +8317,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 25, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8302,6 +8334,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 26, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8318,6 +8351,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 28, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8334,6 +8368,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 27, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8350,6 +8385,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 30, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -8366,6 +8402,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 29, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8382,6 +8419,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 31, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -8398,6 +8436,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 68, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -8414,6 +8453,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 29, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8430,6 +8470,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 31, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -8446,6 +8487,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 68, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -8462,6 +8504,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 47, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "96", PrescriberIdType = 2, @@ -8479,6 +8522,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 48, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, 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)), @@ -8495,6 +8539,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 51, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "96", PrescriberIdType = 2, @@ -8512,6 +8557,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 49, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, 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)), @@ -8528,6 +8574,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 32, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "R9", PrescriberIdType = 1, @@ -8545,6 +8592,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 33, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8561,6 +8609,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 39, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "R9", PrescriberIdType = 1, @@ -8578,6 +8627,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 34, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -8594,6 +8644,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 40, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8610,6 +8661,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 35, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = false, Prefix = "R9", PrescriberIdType = 1, @@ -8627,6 +8679,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 36, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -8643,6 +8696,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 37, LicensedToProvideCare = false, Manual = false, + Multijurisdictional = 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)), @@ -8659,6 +8713,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 41, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "Y9", PrescriberIdType = 1, @@ -8676,6 +8731,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 42, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8692,6 +8748,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 45, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "Y9", PrescriberIdType = 1, @@ -8709,6 +8766,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 43, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -8725,6 +8783,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 46, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8741,6 +8800,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 52, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8757,6 +8817,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 53, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8773,6 +8834,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 55, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8789,6 +8851,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 54, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -8805,6 +8868,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 60, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8821,6 +8885,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 61, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8837,6 +8902,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 62, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8853,6 +8919,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 63, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -8869,6 +8936,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 69, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -8885,6 +8953,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 70, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8901,6 +8970,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 71, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8917,6 +8987,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 72, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8933,6 +9004,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 73, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8949,6 +9021,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 74, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -8965,6 +9038,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 32, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "R9", PrescriberIdType = 1, @@ -8982,6 +9056,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 33, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -8998,6 +9073,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 34, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -9014,6 +9090,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 39, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "R9", PrescriberIdType = 2, @@ -9031,6 +9108,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 41, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "Y9", PrescriberIdType = 2, @@ -9048,6 +9126,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 42, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, 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)), @@ -9064,6 +9143,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 43, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, 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)), @@ -9080,6 +9160,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 45, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "Y9", PrescriberIdType = 2, @@ -9097,6 +9178,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 52, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9113,6 +9195,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 53, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -9129,6 +9212,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 54, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -9145,6 +9229,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 55, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9161,6 +9246,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 60, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "98", PrescriberIdType = 2, @@ -9178,6 +9264,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 61, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -9194,6 +9281,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 62, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "98", PrescriberIdType = 2, @@ -9211,6 +9299,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 63, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -9227,6 +9316,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 32, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "R9", PrescriberIdType = 1, @@ -9244,6 +9334,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 33, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9260,6 +9351,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 34, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -9276,6 +9368,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 39, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "R9", PrescriberIdType = 1, @@ -9293,6 +9386,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 41, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "Y9", PrescriberIdType = 1, @@ -9310,6 +9404,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 42, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9326,6 +9421,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 43, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -9342,6 +9438,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 45, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "Y9", PrescriberIdType = 1, @@ -9359,6 +9456,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 52, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9375,6 +9473,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 53, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9391,6 +9490,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 54, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -9407,6 +9507,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 55, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9423,6 +9524,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 60, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9439,6 +9541,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 61, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9455,6 +9558,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 63, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -9471,6 +9575,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 62, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9487,6 +9592,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 48, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, 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)), @@ -9503,6 +9609,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 59, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9519,6 +9626,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 65, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9535,6 +9643,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 66, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9551,6 +9660,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 67, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9567,6 +9677,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 70, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9583,6 +9694,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 75, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9599,6 +9711,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 76, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9615,6 +9728,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 77, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9631,6 +9745,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 78, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9647,6 +9762,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 79, LicensedToProvideCare = false, Manual = false, + Multijurisdictional = 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)), @@ -9663,6 +9779,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 80, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9679,6 +9796,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 81, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9695,6 +9813,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 64, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -9711,6 +9830,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 1, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9727,6 +9847,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 2, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9743,6 +9864,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 3, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -9759,6 +9881,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 4, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9775,6 +9898,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 5, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9791,6 +9915,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 6, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9807,6 +9932,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 8, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -9823,6 +9949,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 9, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -9839,6 +9966,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 10, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -9855,6 +9983,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 12, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9871,6 +10000,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 13, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9887,6 +10017,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 14, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9903,6 +10034,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 18, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9919,6 +10051,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 19, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9935,6 +10068,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 22, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -9951,6 +10085,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 47, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "96", PrescriberIdType = 2, @@ -9968,6 +10103,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 48, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, 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)), @@ -9984,6 +10120,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 51, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "96", PrescriberIdType = 2, @@ -10001,6 +10138,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 59, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -10017,6 +10155,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 60, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -10033,6 +10172,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 61, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -10049,6 +10189,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 62, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -10065,6 +10206,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 66, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -10081,6 +10223,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 67, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -10097,6 +10240,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 41, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "Y9", PrescriberIdType = 2, @@ -10114,6 +10258,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 42, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = true, Prefix = "Y9", PrescriberIdType = 2, @@ -10131,6 +10276,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 43, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, Prefix = "Y9", PrescriberIdType = 2, @@ -10148,6 +10294,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 45, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = true, Prefix = "Y9", PrescriberIdType = 2, @@ -10165,6 +10312,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 46, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = true, Prefix = "Y9", PrescriberIdType = 2, @@ -10182,6 +10330,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 65, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -10198,6 +10347,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 32, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "R9", PrescriberIdType = 1, @@ -10215,6 +10365,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 33, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "R9", PrescriberIdType = 1, @@ -10232,6 +10383,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 34, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -10248,6 +10400,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 35, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = true, Prefix = "R9", PrescriberIdType = 1, @@ -10265,6 +10418,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 36, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = false, Prefix = "R9", PrescriberIdType = 1, @@ -10282,6 +10436,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 37, LicensedToProvideCare = false, Manual = false, + Multijurisdictional = 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)), @@ -10298,6 +10453,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 39, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "R9", PrescriberIdType = 1, @@ -10315,6 +10471,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 41, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "Y9", PrescriberIdType = 1, @@ -10332,6 +10489,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 42, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = false, Prefix = "Y9", PrescriberIdType = 1, @@ -10349,6 +10507,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 43, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, 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)), @@ -10365,6 +10524,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 45, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = true, Prefix = "Y9", PrescriberIdType = 1, @@ -10382,6 +10542,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 46, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -10398,6 +10559,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 47, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "96", PrescriberIdType = 1, @@ -10415,6 +10577,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 48, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = false, Prefix = "96", PrescriberIdType = 1, @@ -10432,6 +10595,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 49, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, 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)), @@ -10448,6 +10612,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 51, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "96", PrescriberIdType = 1, @@ -10465,6 +10630,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 52, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "L9", PrescriberIdType = 1, @@ -10482,6 +10648,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 53, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "L9", PrescriberIdType = 1, @@ -10499,6 +10666,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 54, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -10515,6 +10683,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 55, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "L9", PrescriberIdType = 1, @@ -10532,6 +10701,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 60, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "98", PrescriberIdType = 1, @@ -10549,6 +10719,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 61, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "98", PrescriberIdType = 1, @@ -10566,6 +10737,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 62, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "98", PrescriberIdType = 1, @@ -10583,6 +10755,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 63, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -10599,6 +10772,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 47, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "NX", Prefix = "96", @@ -10617,6 +10791,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 48, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "NX", Prefix = "96", @@ -10635,6 +10810,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 49, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "NX", Prefix = "96", @@ -10652,6 +10828,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 51, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "NX", Prefix = "96", @@ -10670,6 +10847,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 32, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -10688,6 +10866,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 33, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -10706,6 +10885,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 34, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -10723,6 +10903,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 35, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -10741,6 +10922,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 36, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -10759,6 +10941,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 37, LicensedToProvideCare = false, Manual = false, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -10776,6 +10959,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 39, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -10794,6 +10978,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 40, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -10811,6 +10996,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 41, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "YX", Prefix = "Y9", @@ -10829,6 +11015,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 42, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "YX", Prefix = "Y9", @@ -10847,6 +11034,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 43, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "YX", Prefix = "Y9", @@ -10864,6 +11052,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 45, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "YX", Prefix = "Y9", @@ -10882,6 +11071,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 46, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "YX", Prefix = "Y9", @@ -10899,6 +11089,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 41, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "YX", Prefix = "Y9", @@ -10917,6 +11108,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 42, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "YX", Prefix = "Y9", @@ -10935,6 +11127,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 45, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "YX", Prefix = "Y9", @@ -10953,6 +11146,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 47, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "NX", Prefix = "96", @@ -10971,6 +11165,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 48, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "NX", Prefix = "96", @@ -10989,6 +11184,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 51, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "NX", Prefix = "96", @@ -11007,6 +11203,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 60, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "98", PrescriberIdType = 2, @@ -11024,6 +11221,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 61, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "98", PrescriberIdType = 2, @@ -11041,6 +11239,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 62, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "98", PrescriberIdType = 2, @@ -11058,6 +11257,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 32, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11076,6 +11276,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 33, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11094,6 +11295,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 34, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11112,6 +11314,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 35, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11130,6 +11333,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 36, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11148,6 +11352,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 37, LicensedToProvideCare = false, Manual = false, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11166,6 +11371,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 39, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11184,6 +11390,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 40, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11202,6 +11409,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 43, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "YX", Prefix = "Y9", @@ -11220,6 +11428,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 46, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "YX", Prefix = "Y9", @@ -11238,6 +11447,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 49, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "NX", Prefix = "96", @@ -11256,6 +11466,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 52, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "L9", PrescriberIdType = 2, @@ -11273,6 +11484,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 53, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "L9", PrescriberIdType = 2, @@ -11290,6 +11502,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 54, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, Prefix = "L9", PrescriberIdType = 2, @@ -11307,6 +11520,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 55, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "L9", PrescriberIdType = 2, @@ -11324,6 +11538,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 63, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, Prefix = "98", PrescriberIdType = 2, @@ -11341,6 +11556,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 33, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11359,6 +11575,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 34, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11377,6 +11594,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 35, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11395,6 +11613,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 36, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11413,6 +11632,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 37, LicensedToProvideCare = false, Manual = false, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11431,6 +11651,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 40, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11449,6 +11670,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 43, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "YX", Prefix = "Y9", @@ -11467,6 +11689,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 46, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "YX", Prefix = "Y9", @@ -11485,6 +11708,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 49, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "NX", Prefix = "96", @@ -11503,6 +11727,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 52, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "L9", PrescriberIdType = 2, @@ -11520,6 +11745,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 53, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "L9", PrescriberIdType = 2, @@ -11537,6 +11763,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 54, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, Prefix = "L9", PrescriberIdType = 2, @@ -11554,6 +11781,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 55, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "L9", PrescriberIdType = 2, @@ -11571,6 +11799,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 63, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = false, NamedInImReg = true, Prefix = "98", PrescriberIdType = 2, @@ -11588,6 +11817,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 82, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -11604,6 +11834,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 83, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -11620,6 +11851,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 84, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -11636,6 +11868,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 85, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -11652,6 +11885,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 86, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -11668,6 +11902,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 72, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -11684,6 +11919,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 73, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -11700,6 +11936,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 74, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -11716,6 +11953,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 87, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -11732,6 +11970,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 88, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -11748,6 +11987,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 89, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -11764,6 +12004,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 90, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -11780,6 +12021,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 91, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -11796,6 +12038,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 7, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -11812,6 +12055,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 9, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -11828,6 +12072,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 15, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -11844,6 +12089,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 16, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -11860,6 +12106,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 17, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -11876,6 +12123,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 22, LicensedToProvideCare = false, Manual = false, + Multijurisdictional = 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)), @@ -11892,6 +12140,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 40, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -11910,6 +12159,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 92, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, 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)), @@ -11926,6 +12176,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 93, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -11942,6 +12193,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 94, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -11958,6 +12210,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 95, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -11974,6 +12227,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 96, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -11990,6 +12244,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 97, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12006,6 +12261,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 98, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12022,6 +12278,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 99, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12038,6 +12295,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 100, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12054,6 +12312,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 101, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12070,6 +12329,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 102, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -12086,6 +12346,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 103, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12102,6 +12363,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 104, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12118,6 +12380,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 105, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12134,6 +12397,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 106, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12150,6 +12414,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 107, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -12166,6 +12431,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 108, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -12182,6 +12448,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 109, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -12198,6 +12465,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 110, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12214,6 +12482,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 111, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -12230,6 +12499,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 112, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12246,6 +12516,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 113, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12262,6 +12533,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 114, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12278,6 +12550,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 115, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12294,6 +12567,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 116, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12310,6 +12584,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 117, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -12326,6 +12601,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 118, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12342,6 +12618,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 119, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12358,6 +12635,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 5, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12374,6 +12652,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 6, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12390,6 +12669,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 48, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = false, NonPrescribingPrefix = "NX", Prefix = "96", @@ -12408,6 +12688,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 60, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "98", PrescriberIdType = 2, @@ -12425,6 +12706,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 61, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = false, Prefix = "98", PrescriberIdType = 2, @@ -12442,6 +12724,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 62, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = false, NamedInImReg = true, Prefix = "98", PrescriberIdType = 2, @@ -12459,6 +12742,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 5, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12475,6 +12759,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 6, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12491,6 +12776,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 120, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12507,6 +12793,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 121, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12523,6 +12810,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 122, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12539,6 +12827,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 123, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12555,6 +12844,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 124, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12571,6 +12861,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 125, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12587,6 +12878,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 126, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12603,6 +12895,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 127, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12619,6 +12912,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 128, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12635,6 +12929,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 129, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12651,6 +12946,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 130, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12667,6 +12963,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 131, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12683,6 +12980,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 132, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12699,6 +12997,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 133, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -12715,6 +13014,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 134, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -12731,6 +13031,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 135, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -12747,6 +13048,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 136, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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)), @@ -12763,6 +13065,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 137, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12779,6 +13082,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 138, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12795,6 +13099,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 139, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12811,6 +13116,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 140, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12827,6 +13133,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 141, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12843,6 +13150,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 142, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12859,6 +13167,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 143, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12875,6 +13184,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 144, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12891,6 +13201,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 145, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12907,6 +13218,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 146, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12923,6 +13235,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 147, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12939,6 +13252,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 148, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12955,6 +13269,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 149, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12971,6 +13286,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 150, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -12987,6 +13303,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 151, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13003,6 +13320,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 152, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13019,6 +13337,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 153, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13035,6 +13354,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 154, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13051,6 +13371,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 155, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13067,6 +13388,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 156, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13083,6 +13405,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 157, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13099,6 +13422,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 158, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13115,6 +13439,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 159, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13131,6 +13456,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 160, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13147,6 +13473,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 161, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13163,6 +13490,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 162, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13179,6 +13507,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 163, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13195,6 +13524,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 164, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13211,6 +13541,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 165, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13227,6 +13558,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 166, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -13243,6 +13575,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 167, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -13259,6 +13592,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 168, LicensedToProvideCare = true, Manual = false, + Multijurisdictional = 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)), @@ -13275,6 +13609,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 169, LicensedToProvideCare = false, Manual = false, + Multijurisdictional = 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)), @@ -13291,6 +13626,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 170, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13307,6 +13643,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 171, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13323,6 +13660,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 172, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13339,6 +13677,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 173, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13355,6 +13694,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 174, LicensedToProvideCare = false, Manual = true, + Multijurisdictional = 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)), @@ -13371,6 +13711,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 175, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "RX", Prefix = "R9", @@ -13389,6 +13730,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 176, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = false, NamedInImReg = true, NonPrescribingPrefix = "YX", Prefix = "Y9", @@ -13407,12 +13749,86 @@ protected override void BuildModel(ModelBuilder modelBuilder) LicenseCode = 177, LicensedToProvideCare = true, Manual = true, + Multijurisdictional = 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 = 370, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 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, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 175, + LicensedToProvideCare = true, + Manual = true, + Multijurisdictional = 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 = 371, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 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, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 176, + LicensedToProvideCare = true, + Manual = true, + Multijurisdictional = 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 = 372, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 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, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 177, + LicensedToProvideCare = true, + Manual = true, + Multijurisdictional = 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 = 373, + 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, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 89, + LicensedToProvideCare = true, + Manual = true, + Multijurisdictional = 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 }); }); @@ -19682,7 +20098,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") @@ -19980,6 +20396,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/Certifications/LicenseDetail.cs b/prime-dotnet-webapi/Models/Certifications/LicenseDetail.cs index 9f0053fa04..3ba911cf82 100644 --- a/prime-dotnet-webapi/Models/Certifications/LicenseDetail.cs +++ b/prime-dotnet-webapi/Models/Certifications/LicenseDetail.cs @@ -32,5 +32,7 @@ public class LicenseDetail : BaseAuditable public bool AllowRequestRemoteAccess { get; set; } public string NonPrescribingPrefix { get; set; } + + public bool Multijurisdictional { get; set; } } } diff --git a/prime-dotnet-webapi/ViewModels/Enrollee/LicenseViewModel.cs b/prime-dotnet-webapi/ViewModels/Enrollee/LicenseViewModel.cs index 5d57113ab9..a11745bce9 100644 --- a/prime-dotnet-webapi/ViewModels/Enrollee/LicenseViewModel.cs +++ b/prime-dotnet-webapi/ViewModels/Enrollee/LicenseViewModel.cs @@ -26,5 +26,7 @@ public class LicenseViewModel public PrescriberIdType? PrescriberIdType { get; set; } public ICollection CollegeLicenses { get; set; } + + public bool Multijurisdictional { get; set; } } } From 3be26e3540a69eab999637b06ad3b01f87f7d818 Mon Sep 17 00:00:00 2001 From: Jack Wong <108699279+bergomi02@users.noreply.github.com> Date: Mon, 9 Sep 2024 17:30:23 -0700 Subject: [PATCH 7/9] fix unit tests and other issues --- ...se-classes-maintenance-page.component.html | 2 +- ...ense-classes-maintenance-page.component.ts | 1 + .../src/test/mocks/mock-config.ts | 63 +++++++++++++++++++ 3 files changed, 65 insertions(+), 1 deletion(-) diff --git a/prime-angular-frontend/src/app/modules/adjudication/pages/license-classes-maintenance-page/license-classes-maintenance-page.component.html b/prime-angular-frontend/src/app/modules/adjudication/pages/license-classes-maintenance-page/license-classes-maintenance-page.component.html index 5a62db070b..02aec4b67a 100644 --- a/prime-angular-frontend/src/app/modules/adjudication/pages/license-classes-maintenance-page/license-classes-maintenance-page.component.html +++ b/prime-angular-frontend/src/app/modules/adjudication/pages/license-classes-maintenance-page/license-classes-maintenance-page.component.html @@ -139,7 +139,7 @@ - + Date: Mon, 16 Sep 2024 16:36:00 -0700 Subject: [PATCH 8/9] bug fix --- .../modules/enrolment/pages/regulatory/regulatory-form-state.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory-form-state.ts b/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory-form-state.ts index 6eab870d41..5cd0802f39 100644 --- a/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory-form-state.ts +++ b/prime-angular-frontend/src/app/modules/enrolment/pages/regulatory/regulatory-form-state.ts @@ -88,7 +88,7 @@ export class RegulatoryFormState extends AbstractFormState this.addCollegeCertification(c)); } - if (unlistedCertifications.length) { + if (unlistedCertifications && unlistedCertifications.length) { unlistedCertifications.forEach((c: UnlistedCertification) => this.addUnlistedCertification(c)); } if (enrolleeDeviceProviders && enrolleeDeviceProviders.length) { From 0f028b8c2e3e730e1d8627099f61793a1ed8bc24 Mon Sep 17 00:00:00 2001 From: Jack Wong <108699279+bergomi02@users.noreply.github.com> Date: Fri, 8 Nov 2024 17:12:32 -0800 Subject: [PATCH 9/9] re-generate migration to solve conflict --- ...39_addMultijurisdictionalFlag.Designer.cs} | 63 ++++++++++--- ...41109010639_addMultijurisdictionalFlag.cs} | 25 +++-- .../Migrations/ApiDbContextModelSnapshot.cs | 91 +++++++++++++++++++ 3 files changed, 157 insertions(+), 22 deletions(-) rename prime-dotnet-webapi/Migrations/{20240906160249_UpdateForUnlistedCollegeLicence.Designer.cs => 20241109010639_addMultijurisdictionalFlag.Designer.cs} (99%) rename prime-dotnet-webapi/Migrations/{20240906160249_UpdateForUnlistedCollegeLicence.cs => 20241109010639_addMultijurisdictionalFlag.cs} (99%) diff --git a/prime-dotnet-webapi/Migrations/20240906160249_UpdateForUnlistedCollegeLicence.Designer.cs b/prime-dotnet-webapi/Migrations/20241109010639_addMultijurisdictionalFlag.Designer.cs similarity index 99% rename from prime-dotnet-webapi/Migrations/20240906160249_UpdateForUnlistedCollegeLicence.Designer.cs rename to prime-dotnet-webapi/Migrations/20241109010639_addMultijurisdictionalFlag.Designer.cs index 3c2d3a1469..a0f44dcc73 100644 --- a/prime-dotnet-webapi/Migrations/20240906160249_UpdateForUnlistedCollegeLicence.Designer.cs +++ b/prime-dotnet-webapi/Migrations/20241109010639_addMultijurisdictionalFlag.Designer.cs @@ -12,8 +12,8 @@ namespace Prime.Migrations { [DbContext(typeof(ApiDbContext))] - [Migration("20240906160249_UpdateForUnlistedCollegeLicence")] - partial class UpdateForUnlistedCollegeLicence + [Migration("20241109010639_addMultijurisdictionalFlag")] + partial class addMultijurisdictionalFlag { /// protected override void BuildTargetModel(ModelBuilder modelBuilder) @@ -1583,6 +1583,12 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) Discontinued = false }, new + { + CollegeCode = 2, + LicenseCode = 178, + Discontinued = false + }, + new { CollegeCode = 3, LicenseCode = 32, @@ -6954,49 +6960,55 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) { Code = 25, Name = "Full Pharmacist", - Weight = 1 + Weight = 10 }, new { Code = 26, Name = "Limited Pharmacist", - Weight = 2 + Weight = 20 }, new { Code = 28, Name = "Student Pharmacist", - Weight = 3 + Weight = 30 }, new { Code = 27, Name = "Temporary Pharmacist", - Weight = 4 + Weight = 40 + }, + new + { + Code = 178, + Name = "Temporary Limited Pharmacist", + Weight = 45 }, new { Code = 30, Name = "Non-Practicing Pharmacist", - Weight = 5 + Weight = 50 }, new { Code = 29, Name = "Pharmacy Technician", - Weight = 6 + Weight = 60 }, new { Code = 31, Name = "Non-Practicing Pharmacy Technician", - Weight = 7 + Weight = 70 }, new { Code = 68, Name = "Temporary Pharmacy Technician", - Weight = 8 + Weight = 80 }, new { @@ -13766,6 +13778,23 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) AllowRequestRemoteAccess = false, CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 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, 10, 22, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 178, + LicensedToProvideCare = true, + Manual = false, + Multijurisdictional = 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 = 371, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 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, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), LicenseCode = 175, LicensedToProvideCare = true, @@ -13781,7 +13810,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) }, new { - Id = 371, + Id = 372, AllowRequestRemoteAccess = false, CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), @@ -13800,7 +13829,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) }, new { - Id = 372, + Id = 373, AllowRequestRemoteAccess = false, CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), CreatedUserId = new Guid("00000000-0000-0000-0000-000000000000"), @@ -13818,7 +13847,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) }, new { - Id = 373, + Id = 374, 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"), @@ -18068,6 +18097,9 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b.Property("ApprovedDate") .HasColumnType("timestamp with time zone"); + b.Property("ArchivedDate") + .HasColumnType("timestamp with time zone"); + b.Property("CareSettingCode") .HasColumnType("integer"); @@ -18402,6 +18434,11 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) { Code = 6, Name = "Disabled" + }, + new + { + Code = 8, + Name = "Archived" }); }); diff --git a/prime-dotnet-webapi/Migrations/20240906160249_UpdateForUnlistedCollegeLicence.cs b/prime-dotnet-webapi/Migrations/20241109010639_addMultijurisdictionalFlag.cs similarity index 99% rename from prime-dotnet-webapi/Migrations/20240906160249_UpdateForUnlistedCollegeLicence.cs rename to prime-dotnet-webapi/Migrations/20241109010639_addMultijurisdictionalFlag.cs index b6e990756e..2122138120 100644 --- a/prime-dotnet-webapi/Migrations/20240906160249_UpdateForUnlistedCollegeLicence.cs +++ b/prime-dotnet-webapi/Migrations/20241109010639_addMultijurisdictionalFlag.cs @@ -8,7 +8,7 @@ namespace Prime.Migrations { /// - public partial class UpdateForUnlistedCollegeLicence : Migration + public partial class addMultijurisdictionalFlag : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) @@ -2406,15 +2406,22 @@ protected override void Up(MigrationBuilder migrationBuilder) column: "Multijurisdictional", value: false); + migrationBuilder.UpdateData( + table: "LicenseDetail", + keyColumn: "Id", + keyValue: 370, + column: "Multijurisdictional", + value: false); + migrationBuilder.InsertData( table: "LicenseDetail", columns: new[] { "Id", "AllowRequestRemoteAccess", "CreatedTimeStamp", "CreatedUserId", "EffectiveDate", "LicenseCode", "LicensedToProvideCare", "Manual", "Multijurisdictional", "NamedInImReg", "NonPrescribingPrefix", "Prefix", "PrescriberIdType", "UpdatedTimeStamp", "UpdatedUserId", "Validate" }, values: new object[,] { - { 370, false, new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), new Guid("00000000-0000-0000-0000-000000000000"), new DateTime(2024, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), 175, true, true, true, true, "RX", "R9", 2, new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), new Guid("00000000-0000-0000-0000-000000000000"), true }, - { 371, false, new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), new Guid("00000000-0000-0000-0000-000000000000"), new DateTime(2024, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), 176, true, true, true, true, "YX", "Y9", 2, new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), new Guid("00000000-0000-0000-0000-000000000000"), true }, - { 372, false, new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), new Guid("00000000-0000-0000-0000-000000000000"), new DateTime(2024, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), 177, true, true, true, true, null, "L9", 2, new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), new Guid("00000000-0000-0000-0000-000000000000"), true }, - { 373, true, new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), new Guid("00000000-0000-0000-0000-000000000000"), new DateTime(2024, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), 89, true, true, true, true, null, "91", null, new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), new Guid("00000000-0000-0000-0000-000000000000"), true } + { 371, false, new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), new Guid("00000000-0000-0000-0000-000000000000"), new DateTime(2024, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), 175, true, true, true, true, "RX", "R9", 2, new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), new Guid("00000000-0000-0000-0000-000000000000"), true }, + { 372, false, new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), new Guid("00000000-0000-0000-0000-000000000000"), new DateTime(2024, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), 176, true, true, true, true, "YX", "Y9", 2, new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), new Guid("00000000-0000-0000-0000-000000000000"), true }, + { 373, false, new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), new Guid("00000000-0000-0000-0000-000000000000"), new DateTime(2024, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), 177, true, true, true, true, null, "L9", 2, new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), new Guid("00000000-0000-0000-0000-000000000000"), true }, + { 374, true, new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), new Guid("00000000-0000-0000-0000-000000000000"), new DateTime(2024, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), 89, true, true, true, true, null, "91", null, new DateTimeOffset(new DateTime(2019, 9, 16, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, -7, 0, 0, 0)), new Guid("00000000-0000-0000-0000-000000000000"), true } }); } @@ -2424,22 +2431,22 @@ protected override void Down(MigrationBuilder migrationBuilder) migrationBuilder.DeleteData( table: "LicenseDetail", keyColumn: "Id", - keyValue: 370); + keyValue: 371); migrationBuilder.DeleteData( table: "LicenseDetail", keyColumn: "Id", - keyValue: 371); + keyValue: 372); migrationBuilder.DeleteData( table: "LicenseDetail", keyColumn: "Id", - keyValue: 372); + keyValue: 373); migrationBuilder.DeleteData( table: "LicenseDetail", keyColumn: "Id", - keyValue: 373); + keyValue: 374); migrationBuilder.DropColumn( name: "LicenceClass", diff --git a/prime-dotnet-webapi/Migrations/ApiDbContextModelSnapshot.cs b/prime-dotnet-webapi/Migrations/ApiDbContextModelSnapshot.cs index 78b2919fc6..e309380406 100644 --- a/prime-dotnet-webapi/Migrations/ApiDbContextModelSnapshot.cs +++ b/prime-dotnet-webapi/Migrations/ApiDbContextModelSnapshot.cs @@ -13767,6 +13767,97 @@ protected override void BuildModel(ModelBuilder modelBuilder) 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 = 370, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 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, 10, 22, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 178, + LicensedToProvideCare = true, + Manual = false, + Multijurisdictional = 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 = 371, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 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, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 175, + LicensedToProvideCare = true, + Manual = true, + Multijurisdictional = 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 = 372, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 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, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 176, + LicensedToProvideCare = true, + Manual = true, + Multijurisdictional = 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 = 373, + AllowRequestRemoteAccess = false, + CreatedTimeStamp = new DateTimeOffset(new DateTime(2019, 9, 16, 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, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 177, + LicensedToProvideCare = true, + Manual = true, + Multijurisdictional = 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 = 374, + 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, 9, 6, 8, 0, 0, 0, DateTimeKind.Utc), + LicenseCode = 89, + LicensedToProvideCare = true, + Manual = true, + Multijurisdictional = 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 }); });