Skip to content

Commit

Permalink
replaced eClinicalWorks with Healow endpoints.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogJ committed Oct 10, 2023
1 parent 916be92 commit 324c2ac
Show file tree
Hide file tree
Showing 3,658 changed files with 110,008 additions and 2,012 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2,969 changes: 2,827 additions & 142 deletions SOURCE_LIST.md

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions clients/factory/factory.go

Large diffs are not rendered by default.

5,372 changes: 5,371 additions & 1 deletion definitions/factory/factory.go

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions definitions/internal/source/100_beautybymd.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ func GetSource100Beautybymd(env pkg.FastenLighthouseEnvType, clientIdLookup map[
sourceDef.SourceType = pkg.SourceType100Beautybymd
sourceDef.Category = []string{}
sourceDef.Aliases = []string{}
sourceDef.BrandLogo = "100beautybymd.webp"
sourceDef.PatientAccessUrl = "https://100beautymd.com/"
sourceDef.SecretKeyPrefix = "athena"

return sourceDef, err
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// Copyright (C) Fasten Health, Inc. - All Rights Reserved.
//
// THIS FILE IS GENERATED BY https://github.com/fastenhealth/fasten-sources-gen
// PLEASE DO NOT EDIT BY HAND

package source

import (
platform "github.com/fastenhealth/fasten-sources/definitions/internal/platform"
models "github.com/fastenhealth/fasten-sources/definitions/models"
pkg "github.com/fastenhealth/fasten-sources/pkg"
)

// https://fhir4.healow.com/fhir/r4/GJFBDD/metadata
func GetSource12ThStreetPllcDba12ThStreetInternalMAndPWaylandMi(env pkg.FastenLighthouseEnvType, clientIdLookup map[pkg.SourceType]string) (models.LighthouseSourceDefinition, error) {
sourceDef, err := platform.GetSourceEclinicalworks(env, clientIdLookup)
sourceDef.AuthorizationEndpoint = "https://oauthserver.eclinicalworks.com/oauth/oauth2/authorize"
sourceDef.TokenEndpoint = "https://oauthserver.eclinicalworks.com/oauth/oauth2/token"

sourceDef.Audience = "https://fhir4.healow.com/fhir/r4/GJFBDD"

sourceDef.ApiEndpointBaseUrl = "https://fhir4.healow.com/fhir/r4/GJFBDD"
// retrieve client-id, if available
if clientId, clientIdOk := clientIdLookup[pkg.SourceType12ThStreetPllcDba12ThStreetInternalMAndPWaylandMi]; clientIdOk {
sourceDef.ClientId = clientId
}
sourceDef.RedirectUri = pkg.GetCallbackEndpoint(string(pkg.SourceTypeEclinicalworks))

sourceDef.Display = "12th Street PLLC dba 12th Street Internal M and P WAYLAND MI"
sourceDef.SourceType = pkg.SourceType12ThStreetPllcDba12ThStreetInternalMAndPWaylandMi
sourceDef.Category = []string{}
sourceDef.Aliases = []string{}
sourceDef.SecretKeyPrefix = "eclinicalworks"

return sourceDef, err
}
36 changes: 36 additions & 0 deletions definitions/internal/source/139_medical_group.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// Copyright (C) Fasten Health, Inc. - All Rights Reserved.
//
// THIS FILE IS GENERATED BY https://github.com/fastenhealth/fasten-sources-gen
// PLEASE DO NOT EDIT BY HAND

package source

import (
platform "github.com/fastenhealth/fasten-sources/definitions/internal/platform"
models "github.com/fastenhealth/fasten-sources/definitions/models"
pkg "github.com/fastenhealth/fasten-sources/pkg"
)

// https://fhir4.healow.com/fhir/r4/FIFEAA/metadata
func GetSource139MedicalGroup(env pkg.FastenLighthouseEnvType, clientIdLookup map[pkg.SourceType]string) (models.LighthouseSourceDefinition, error) {
sourceDef, err := platform.GetSourceEclinicalworks(env, clientIdLookup)
sourceDef.AuthorizationEndpoint = "https://oauthserver.eclinicalworks.com/oauth/oauth2/authorize"
sourceDef.TokenEndpoint = "https://oauthserver.eclinicalworks.com/oauth/oauth2/token"

sourceDef.Audience = "https://fhir4.healow.com/fhir/r4/FIFEAA"

sourceDef.ApiEndpointBaseUrl = "https://fhir4.healow.com/fhir/r4/FIFEAA"
// retrieve client-id, if available
if clientId, clientIdOk := clientIdLookup[pkg.SourceType139MedicalGroup]; clientIdOk {
sourceDef.ClientId = clientId
}
sourceDef.RedirectUri = pkg.GetCallbackEndpoint(string(pkg.SourceTypeEclinicalworks))

sourceDef.Display = "139 Medical Group?"
sourceDef.SourceType = pkg.SourceType139MedicalGroup
sourceDef.Category = []string{}
sourceDef.Aliases = []string{}
sourceDef.SecretKeyPrefix = "eclinicalworks"

return sourceDef, err
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ func GetSource1488FamilyMedicineGroupPllc(env pkg.FastenLighthouseEnvType, clien
sourceDef.SourceType = pkg.SourceType1488FamilyMedicineGroupPllc
sourceDef.Category = []string{}
sourceDef.Aliases = []string{}
sourceDef.PatientAccessUrl = "http://1488familymedicinegroup.com/"
sourceDef.SecretKeyPrefix = "athena"

return sourceDef, err
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// Copyright (C) Fasten Health, Inc. - All Rights Reserved.
//
// THIS FILE IS GENERATED BY https://github.com/fastenhealth/fasten-sources-gen
// PLEASE DO NOT EDIT BY HAND

package source

import (
platform "github.com/fastenhealth/fasten-sources/definitions/internal/platform"
models "github.com/fastenhealth/fasten-sources/definitions/models"
pkg "github.com/fastenhealth/fasten-sources/pkg"
)

// https://fhir4.healow.com/fhir/r4/BAAJAD/metadata
func GetSource18102KioskMedicinePscLouisvilleKy(env pkg.FastenLighthouseEnvType, clientIdLookup map[pkg.SourceType]string) (models.LighthouseSourceDefinition, error) {
sourceDef, err := platform.GetSourceEclinicalworks(env, clientIdLookup)
sourceDef.AuthorizationEndpoint = "https://oauthserver.eclinicalworks.com/oauth/oauth2/authorize"
sourceDef.TokenEndpoint = "https://oauthserver.eclinicalworks.com/oauth/oauth2/token"

sourceDef.Audience = "https://fhir4.healow.com/fhir/r4/BAAJAD"

sourceDef.ApiEndpointBaseUrl = "https://fhir4.healow.com/fhir/r4/BAAJAD"
// retrieve client-id, if available
if clientId, clientIdOk := clientIdLookup[pkg.SourceType18102KioskMedicinePscLouisvilleKy]; clientIdOk {
sourceDef.ClientId = clientId
}
sourceDef.RedirectUri = pkg.GetCallbackEndpoint(string(pkg.SourceTypeEclinicalworks))

sourceDef.Display = "18102 Kiosk Medicine PSC Louisville KY"
sourceDef.SourceType = pkg.SourceType18102KioskMedicinePscLouisvilleKy
sourceDef.Category = []string{}
sourceDef.Aliases = []string{}
sourceDef.SecretKeyPrefix = "eclinicalworks"

return sourceDef, err
}
1 change: 1 addition & 0 deletions definitions/internal/source/1_cp_place_pllc.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ func GetSource1CpPlacePllc(env pkg.FastenLighthouseEnvType, clientIdLookup map[p
sourceDef.Category = []string{"2084N0402X"}
sourceDef.Aliases = []string{}
sourceDef.Identifiers = map[string][]string{"http://hl7.org/fhir/sid/us-npi": []string{"1134520182"}}
sourceDef.PatientAccessUrl = "https://www.1cpplace.com/"
sourceDef.SecretKeyPrefix = "athena"

return sourceDef, err
Expand Down
1 change: 1 addition & 0 deletions definitions/internal/source/1_north_texas_rheumatology.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ func GetSource1NorthTexasRheumatology(env pkg.FastenLighthouseEnvType, clientIdL
sourceDef.SourceType = pkg.SourceType1NorthTexasRheumatology
sourceDef.Category = []string{}
sourceDef.Aliases = []string{}
sourceDef.PatientAccessUrl = "http://www.northtexasrheumatology.com/index.php"
sourceDef.SecretKeyPrefix = "athena"

return sourceDef, err
Expand Down
1 change: 1 addition & 0 deletions definitions/internal/source/1_sandra_k_hutchison_md.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ func GetSource1SandraKHutchisonMd(env pkg.FastenLighthouseEnvType, clientIdLooku
sourceDef.SourceType = pkg.SourceType1SandraKHutchisonMd
sourceDef.Category = []string{}
sourceDef.Aliases = []string{}
sourceDef.PatientAccessUrl = "https://shutchisonmd.com/"
sourceDef.SecretKeyPrefix = "athena"

return sourceDef, err
Expand Down
1 change: 1 addition & 0 deletions definitions/internal/source/1_st_choice_urgent_care.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ func GetSource1StChoiceUrgentCare(env pkg.FastenLighthouseEnvType, clientIdLooku
sourceDef.Category = []string{"207R00000X", "261QM1300X", "261QP2300X", "261QU0200X", "363AM0700X", "363L00000X"}
sourceDef.Aliases = []string{"1ST CHOICE URGENT CARE"}
sourceDef.Identifiers = map[string][]string{"http://hl7.org/fhir/sid/us-npi": []string{"1447916044", "1639603897", "1740923572"}}
sourceDef.PatientAccessUrl = "https://www.1ucpc.com/"
sourceDef.SecretKeyPrefix = "athena"

return sourceDef, err
Expand Down
1 change: 1 addition & 0 deletions definitions/internal/source/1_st_med_pllc.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ func GetSource1StMedPllc(env pkg.FastenLighthouseEnvType, clientIdLookup map[pkg
sourceDef.SourceType = pkg.SourceType1StMedPllc
sourceDef.Category = []string{}
sourceDef.Aliases = []string{}
sourceDef.PatientAccessUrl = "https://www.1stmedelpaso.com/"
sourceDef.SecretKeyPrefix = "athena"

return sourceDef, err
Expand Down
36 changes: 36 additions & 0 deletions definitions/internal/source/1_st_priority_medical_llc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// Copyright (C) Fasten Health, Inc. - All Rights Reserved.
//
// THIS FILE IS GENERATED BY https://github.com/fastenhealth/fasten-sources-gen
// PLEASE DO NOT EDIT BY HAND

package source

import (
platform "github.com/fastenhealth/fasten-sources/definitions/internal/platform"
models "github.com/fastenhealth/fasten-sources/definitions/models"
pkg "github.com/fastenhealth/fasten-sources/pkg"
)

// https://fhir4.healow.com/fhir/r4/AIHICD/metadata
func GetSource1StPriorityMedicalLlc(env pkg.FastenLighthouseEnvType, clientIdLookup map[pkg.SourceType]string) (models.LighthouseSourceDefinition, error) {
sourceDef, err := platform.GetSourceEclinicalworks(env, clientIdLookup)
sourceDef.AuthorizationEndpoint = "https://oauthserver.eclinicalworks.com/oauth/oauth2/authorize"
sourceDef.TokenEndpoint = "https://oauthserver.eclinicalworks.com/oauth/oauth2/token"

sourceDef.Audience = "https://fhir4.healow.com/fhir/r4/AIHICD"

sourceDef.ApiEndpointBaseUrl = "https://fhir4.healow.com/fhir/r4/AIHICD"
// retrieve client-id, if available
if clientId, clientIdOk := clientIdLookup[pkg.SourceType1StPriorityMedicalLlc]; clientIdOk {
sourceDef.ClientId = clientId
}
sourceDef.RedirectUri = pkg.GetCallbackEndpoint(string(pkg.SourceTypeEclinicalworks))

sourceDef.Display = "1st Priority Medical LLC"
sourceDef.SourceType = pkg.SourceType1StPriorityMedicalLlc
sourceDef.Category = []string{}
sourceDef.Aliases = []string{}
sourceDef.SecretKeyPrefix = "eclinicalworks"

return sourceDef, err
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// Copyright (C) Fasten Health, Inc. - All Rights Reserved.
//
// THIS FILE IS GENERATED BY https://github.com/fastenhealth/fasten-sources-gen
// PLEASE DO NOT EDIT BY HAND

package source

import (
platform "github.com/fastenhealth/fasten-sources/definitions/internal/platform"
models "github.com/fastenhealth/fasten-sources/definitions/models"
pkg "github.com/fastenhealth/fasten-sources/pkg"
)

// https://fhir4.healow.com/fhir/r4/JDFHBD/metadata
func GetSource1TheDoctorIsAtYourDoorAustinTx(env pkg.FastenLighthouseEnvType, clientIdLookup map[pkg.SourceType]string) (models.LighthouseSourceDefinition, error) {
sourceDef, err := platform.GetSourceEclinicalworks(env, clientIdLookup)
sourceDef.AuthorizationEndpoint = "https://oauthserver.eclinicalworks.com/oauth/oauth2/authorize"
sourceDef.TokenEndpoint = "https://oauthserver.eclinicalworks.com/oauth/oauth2/token"

sourceDef.Audience = "https://fhir4.healow.com/fhir/r4/JDFHBD"

sourceDef.ApiEndpointBaseUrl = "https://fhir4.healow.com/fhir/r4/JDFHBD"
// retrieve client-id, if available
if clientId, clientIdOk := clientIdLookup[pkg.SourceType1TheDoctorIsAtYourDoorAustinTx]; clientIdOk {
sourceDef.ClientId = clientId
}
sourceDef.RedirectUri = pkg.GetCallbackEndpoint(string(pkg.SourceTypeEclinicalworks))

sourceDef.Display = "1 The Doctor Is At Your Door AUSTIN TX"
sourceDef.SourceType = pkg.SourceType1TheDoctorIsAtYourDoorAustinTx
sourceDef.Category = []string{}
sourceDef.Aliases = []string{}
sourceDef.SecretKeyPrefix = "eclinicalworks"

return sourceDef, err
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ func GetSource2020PrincetonRutgersNeurology(env pkg.FastenLighthouseEnvType, cli
sourceDef.SourceType = pkg.SourceType2020PrincetonRutgersNeurology
sourceDef.Category = []string{}
sourceDef.Aliases = []string{}
sourceDef.BrandLogo = "2020princeton-rutgers-neurology.svg"
sourceDef.PatientAccessUrl = "https://www.prneurology.com/"
sourceDef.SecretKeyPrefix = "athena"

return sourceDef, err
Expand Down
36 changes: 36 additions & 0 deletions definitions/internal/source/20_20_eye_specialists.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// Copyright (C) Fasten Health, Inc. - All Rights Reserved.
//
// THIS FILE IS GENERATED BY https://github.com/fastenhealth/fasten-sources-gen
// PLEASE DO NOT EDIT BY HAND

package source

import (
platform "github.com/fastenhealth/fasten-sources/definitions/internal/platform"
models "github.com/fastenhealth/fasten-sources/definitions/models"
pkg "github.com/fastenhealth/fasten-sources/pkg"
)

// https://fhir4.healow.com/fhir/r4/JACADA/metadata
func GetSource2020EyeSpecialists(env pkg.FastenLighthouseEnvType, clientIdLookup map[pkg.SourceType]string) (models.LighthouseSourceDefinition, error) {
sourceDef, err := platform.GetSourceEclinicalworks(env, clientIdLookup)
sourceDef.AuthorizationEndpoint = "https://oauthserver.eclinicalworks.com/oauth/oauth2/authorize"
sourceDef.TokenEndpoint = "https://oauthserver.eclinicalworks.com/oauth/oauth2/token"

sourceDef.Audience = "https://fhir4.healow.com/fhir/r4/JACADA"

sourceDef.ApiEndpointBaseUrl = "https://fhir4.healow.com/fhir/r4/JACADA"
// retrieve client-id, if available
if clientId, clientIdOk := clientIdLookup[pkg.SourceType2020EyeSpecialists]; clientIdOk {
sourceDef.ClientId = clientId
}
sourceDef.RedirectUri = pkg.GetCallbackEndpoint(string(pkg.SourceTypeEclinicalworks))

sourceDef.Display = "20/20 Eye Specialists"
sourceDef.SourceType = pkg.SourceType2020EyeSpecialists
sourceDef.Category = []string{}
sourceDef.Aliases = []string{}
sourceDef.SecretKeyPrefix = "eclinicalworks"

return sourceDef, err
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// Copyright (C) Fasten Health, Inc. - All Rights Reserved.
//
// THIS FILE IS GENERATED BY https://github.com/fastenhealth/fasten-sources-gen
// PLEASE DO NOT EDIT BY HAND

package source

import (
platform "github.com/fastenhealth/fasten-sources/definitions/internal/platform"
models "github.com/fastenhealth/fasten-sources/definitions/models"
pkg "github.com/fastenhealth/fasten-sources/pkg"
)

// https://fhir4.healow.com/fhir/r4/AGEGBD/metadata
func GetSource21StCenturyOncologyBrowardUrologyMiramarFl(env pkg.FastenLighthouseEnvType, clientIdLookup map[pkg.SourceType]string) (models.LighthouseSourceDefinition, error) {
sourceDef, err := platform.GetSourceEclinicalworks(env, clientIdLookup)
sourceDef.AuthorizationEndpoint = "https://oauthserver.eclinicalworks.com/oauth/oauth2/authorize"
sourceDef.TokenEndpoint = "https://oauthserver.eclinicalworks.com/oauth/oauth2/token"

sourceDef.Audience = "https://fhir4.healow.com/fhir/r4/AGEGBD"

sourceDef.ApiEndpointBaseUrl = "https://fhir4.healow.com/fhir/r4/AGEGBD"
// retrieve client-id, if available
if clientId, clientIdOk := clientIdLookup[pkg.SourceType21StCenturyOncologyBrowardUrologyMiramarFl]; clientIdOk {
sourceDef.ClientId = clientId
}
sourceDef.RedirectUri = pkg.GetCallbackEndpoint(string(pkg.SourceTypeEclinicalworks))

sourceDef.Display = "21st Century Oncology Broward Urology MIRAMAR FL"
sourceDef.SourceType = pkg.SourceType21StCenturyOncologyBrowardUrologyMiramarFl
sourceDef.Category = []string{}
sourceDef.Aliases = []string{}
sourceDef.SecretKeyPrefix = "eclinicalworks"

return sourceDef, err
}
36 changes: 36 additions & 0 deletions definitions/internal/source/2_ht_kidney_care.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// Copyright (C) Fasten Health, Inc. - All Rights Reserved.
//
// THIS FILE IS GENERATED BY https://github.com/fastenhealth/fasten-sources-gen
// PLEASE DO NOT EDIT BY HAND

package source

import (
platform "github.com/fastenhealth/fasten-sources/definitions/internal/platform"
models "github.com/fastenhealth/fasten-sources/definitions/models"
pkg "github.com/fastenhealth/fasten-sources/pkg"
)

// https://fhir4.healow.com/fhir/r4/GIJBBD/metadata
func GetSource2HtKidneyCare(env pkg.FastenLighthouseEnvType, clientIdLookup map[pkg.SourceType]string) (models.LighthouseSourceDefinition, error) {
sourceDef, err := platform.GetSourceEclinicalworks(env, clientIdLookup)
sourceDef.AuthorizationEndpoint = "https://oauthserver.eclinicalworks.com/oauth/oauth2/authorize"
sourceDef.TokenEndpoint = "https://oauthserver.eclinicalworks.com/oauth/oauth2/token"

sourceDef.Audience = "https://fhir4.healow.com/fhir/r4/GIJBBD"

sourceDef.ApiEndpointBaseUrl = "https://fhir4.healow.com/fhir/r4/GIJBBD"
// retrieve client-id, if available
if clientId, clientIdOk := clientIdLookup[pkg.SourceType2HtKidneyCare]; clientIdOk {
sourceDef.ClientId = clientId
}
sourceDef.RedirectUri = pkg.GetCallbackEndpoint(string(pkg.SourceTypeEclinicalworks))

sourceDef.Display = "2HT Kidney Care"
sourceDef.SourceType = pkg.SourceType2HtKidneyCare
sourceDef.Category = []string{}
sourceDef.Aliases = []string{}
sourceDef.SecretKeyPrefix = "eclinicalworks"

return sourceDef, err
}
1 change: 1 addition & 0 deletions definitions/internal/source/2_me_healthcare_llc.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ func GetSource2MeHealthcareLlc(env pkg.FastenLighthouseEnvType, clientIdLookup m
sourceDef.SourceType = pkg.SourceType2MeHealthcareLlc
sourceDef.Category = []string{}
sourceDef.Aliases = []string{}
sourceDef.PatientAccessUrl = "https://2mehealthcare.com/"
sourceDef.SecretKeyPrefix = "athena"

return sourceDef, err
Expand Down
1 change: 1 addition & 0 deletions definitions/internal/source/302_family_medicine_llc.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ func GetSource302FamilyMedicineLlc(env pkg.FastenLighthouseEnvType, clientIdLook
sourceDef.SourceType = pkg.SourceType302FamilyMedicineLlc
sourceDef.Category = []string{}
sourceDef.Aliases = []string{}
sourceDef.PatientAccessUrl = "https://www.302familymedicine.com/"
sourceDef.SecretKeyPrefix = "athena"

return sourceDef, err
Expand Down
1 change: 1 addition & 0 deletions definitions/internal/source/316_healthcare.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ func GetSource316Healthcare(env pkg.FastenLighthouseEnvType, clientIdLookup map[
sourceDef.SourceType = pkg.SourceType316Healthcare
sourceDef.Category = []string{}
sourceDef.Aliases = []string{}
sourceDef.PatientAccessUrl = "https://www.316familymedicine.us/"
sourceDef.SecretKeyPrefix = "athena"

return sourceDef, err
Expand Down
Loading

0 comments on commit 324c2ac

Please sign in to comment.