Skip to content

Commit

Permalink
re-add Allscripts endpoints (broken due to 429 Too Many response from…
Browse files Browse the repository at this point in the history
… Allscripts /metadata requests)
  • Loading branch information
AnalogJ committed Aug 8, 2023
1 parent 54873e8 commit 25454da
Show file tree
Hide file tree
Showing 1,798 changed files with 61,006 additions and 1 deletion.
897 changes: 897 additions & 0 deletions SOURCE_LIST.md

Large diffs are not rendered by default.

1,794 changes: 1,794 additions & 0 deletions clients/factory/factory.go

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions clients/internal/source/10066006.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// 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 (
"context"
platform "github.com/fastenhealth/fasten-sources/clients/internal/platform"
models "github.com/fastenhealth/fasten-sources/clients/models"
pkg "github.com/fastenhealth/fasten-sources/pkg"
logrus "github.com/sirupsen/logrus"
"net/http"
)

// https://fhir.fhirpoint.open.allscripts.com/fhirroute/open/10066006/metadata
func GetSourceClient10066006(env pkg.FastenLighthouseEnvType, ctx context.Context, globalLogger logrus.FieldLogger, sourceCreds models.SourceCredential, testHttpClient ...*http.Client) (models.SourceClient, error) {
baseClient, err := platform.GetSourceClientAllscripts(env, ctx, globalLogger, sourceCreds, testHttpClient...)
if err != nil {
return nil, err
}

return struct {
models.SourceClient
}{baseClient}, err
}
27 changes: 27 additions & 0 deletions clients/internal/source/a_kagan_orthopedics_sports_medicine.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// 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 (
"context"
platform "github.com/fastenhealth/fasten-sources/clients/internal/platform"
models "github.com/fastenhealth/fasten-sources/clients/models"
pkg "github.com/fastenhealth/fasten-sources/pkg"
logrus "github.com/sirupsen/logrus"
"net/http"
)

// https://fhir.fhirpoint.open.allscripts.com/fhirroute/open/1421/metadata
func GetSourceClientAKaganOrthopedicsSportsMedicine(env pkg.FastenLighthouseEnvType, ctx context.Context, globalLogger logrus.FieldLogger, sourceCreds models.SourceCredential, testHttpClient ...*http.Client) (models.SourceClient, error) {
baseClient, err := platform.GetSourceClientAllscripts(env, ctx, globalLogger, sourceCreds, testHttpClient...)
if err != nil {
return nil, err
}

return struct {
models.SourceClient
}{baseClient}, err
}
28 changes: 28 additions & 0 deletions clients/internal/source/a_squared_primary_care_pllc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// 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 (
"context"
platform "github.com/fastenhealth/fasten-sources/clients/internal/platform"
models "github.com/fastenhealth/fasten-sources/clients/models"
pkg "github.com/fastenhealth/fasten-sources/pkg"
logrus "github.com/sirupsen/logrus"
"net/http"
)

// https://fhir.fhirpoint.open.allscripts.com/fhirroute/open/10171749/.well-known/smart-configuration
// https://fhir.fhirpoint.open.allscripts.com/fhirroute/open/10171749/metadata
func GetSourceClientASquaredPrimaryCarePllc(env pkg.FastenLighthouseEnvType, ctx context.Context, globalLogger logrus.FieldLogger, sourceCreds models.SourceCredential, testHttpClient ...*http.Client) (models.SourceClient, error) {
baseClient, err := platform.GetSourceClientAllscripts(env, ctx, globalLogger, sourceCreds, testHttpClient...)
if err != nil {
return nil, err
}

return struct {
models.SourceClient
}{baseClient}, err
}
28 changes: 28 additions & 0 deletions clients/internal/source/abdul_s_thannoun_md.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// 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 (
"context"
platform "github.com/fastenhealth/fasten-sources/clients/internal/platform"
models "github.com/fastenhealth/fasten-sources/clients/models"
pkg "github.com/fastenhealth/fasten-sources/pkg"
logrus "github.com/sirupsen/logrus"
"net/http"
)

// https://fhir.fhirpoint.open.allscripts.com/fhirroute/open/75114/.well-known/smart-configuration
// https://fhir.fhirpoint.open.allscripts.com/fhirroute/open/75114/metadata
func GetSourceClientAbdulSThannounMd(env pkg.FastenLighthouseEnvType, ctx context.Context, globalLogger logrus.FieldLogger, sourceCreds models.SourceCredential, testHttpClient ...*http.Client) (models.SourceClient, error) {
baseClient, err := platform.GetSourceClientAllscripts(env, ctx, globalLogger, sourceCreds, testHttpClient...)
if err != nil {
return nil, err
}

return struct {
models.SourceClient
}{baseClient}, err
}
27 changes: 27 additions & 0 deletions clients/internal/source/abhay_g_kemkar_md.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// 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 (
"context"
platform "github.com/fastenhealth/fasten-sources/clients/internal/platform"
models "github.com/fastenhealth/fasten-sources/clients/models"
pkg "github.com/fastenhealth/fasten-sources/pkg"
logrus "github.com/sirupsen/logrus"
"net/http"
)

// https://fhir.fhirpoint.open.allscripts.com/fhirroute/open/72250FS/metadata
func GetSourceClientAbhayGKemkarMd(env pkg.FastenLighthouseEnvType, ctx context.Context, globalLogger logrus.FieldLogger, sourceCreds models.SourceCredential, testHttpClient ...*http.Client) (models.SourceClient, error) {
baseClient, err := platform.GetSourceClientAllscripts(env, ctx, globalLogger, sourceCreds, testHttpClient...)
if err != nil {
return nil, err
}

return struct {
models.SourceClient
}{baseClient}, err
}
27 changes: 27 additions & 0 deletions clients/internal/source/about_women_obgyn_pc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// 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 (
"context"
platform "github.com/fastenhealth/fasten-sources/clients/internal/platform"
models "github.com/fastenhealth/fasten-sources/clients/models"
pkg "github.com/fastenhealth/fasten-sources/pkg"
logrus "github.com/sirupsen/logrus"
"net/http"
)

// https://fhir.fhirpoint.open.allscripts.com/fhirroute/open/57529/metadata
func GetSourceClientAboutWomenObgynPc(env pkg.FastenLighthouseEnvType, ctx context.Context, globalLogger logrus.FieldLogger, sourceCreds models.SourceCredential, testHttpClient ...*http.Client) (models.SourceClient, error) {
baseClient, err := platform.GetSourceClientAllscripts(env, ctx, globalLogger, sourceCreds, testHttpClient...)
if err != nil {
return nil, err
}

return struct {
models.SourceClient
}{baseClient}, err
}
27 changes: 27 additions & 0 deletions clients/internal/source/abraham_medical_clinic.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// 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 (
"context"
platform "github.com/fastenhealth/fasten-sources/clients/internal/platform"
models "github.com/fastenhealth/fasten-sources/clients/models"
pkg "github.com/fastenhealth/fasten-sources/pkg"
logrus "github.com/sirupsen/logrus"
"net/http"
)

// https://fhir.fhirpoint.open.allscripts.com/fhirroute/open/10027358/metadata
func GetSourceClientAbrahamMedicalClinic(env pkg.FastenLighthouseEnvType, ctx context.Context, globalLogger logrus.FieldLogger, sourceCreds models.SourceCredential, testHttpClient ...*http.Client) (models.SourceClient, error) {
baseClient, err := platform.GetSourceClientAllscripts(env, ctx, globalLogger, sourceCreds, testHttpClient...)
if err != nil {
return nil, err
}

return struct {
models.SourceClient
}{baseClient}, err
}
27 changes: 27 additions & 0 deletions clients/internal/source/accent_family_healthcare.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// 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 (
"context"
platform "github.com/fastenhealth/fasten-sources/clients/internal/platform"
models "github.com/fastenhealth/fasten-sources/clients/models"
pkg "github.com/fastenhealth/fasten-sources/pkg"
logrus "github.com/sirupsen/logrus"
"net/http"
)

// https://fhir.fhirpoint.open.allscripts.com/fhirroute/open/1700131A/metadata
func GetSourceClientAccentFamilyHealthcare(env pkg.FastenLighthouseEnvType, ctx context.Context, globalLogger logrus.FieldLogger, sourceCreds models.SourceCredential, testHttpClient ...*http.Client) (models.SourceClient, error) {
baseClient, err := platform.GetSourceClientAllscripts(env, ctx, globalLogger, sourceCreds, testHttpClient...)
if err != nil {
return nil, err
}

return struct {
models.SourceClient
}{baseClient}, err
}
27 changes: 27 additions & 0 deletions clients/internal/source/ace_cardiovascular_associates_llc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// 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 (
"context"
platform "github.com/fastenhealth/fasten-sources/clients/internal/platform"
models "github.com/fastenhealth/fasten-sources/clients/models"
pkg "github.com/fastenhealth/fasten-sources/pkg"
logrus "github.com/sirupsen/logrus"
"net/http"
)

// https://fhir.fhirpoint.open.allscripts.com/fhirroute/open/1700027C/metadata
func GetSourceClientAceCardiovascularAssociatesLlc(env pkg.FastenLighthouseEnvType, ctx context.Context, globalLogger logrus.FieldLogger, sourceCreds models.SourceCredential, testHttpClient ...*http.Client) (models.SourceClient, error) {
baseClient, err := platform.GetSourceClientAllscripts(env, ctx, globalLogger, sourceCreds, testHttpClient...)
if err != nil {
return nil, err
}

return struct {
models.SourceClient
}{baseClient}, err
}
28 changes: 28 additions & 0 deletions clients/internal/source/adams_stephens_pa.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// 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 (
"context"
platform "github.com/fastenhealth/fasten-sources/clients/internal/platform"
models "github.com/fastenhealth/fasten-sources/clients/models"
pkg "github.com/fastenhealth/fasten-sources/pkg"
logrus "github.com/sirupsen/logrus"
"net/http"
)

// https://fhir.fhirpoint.open.allscripts.com/fhirroute/open/73916G/.well-known/smart-configuration
// https://fhir.fhirpoint.open.allscripts.com/fhirroute/open/73916G/metadata
func GetSourceClientAdamsStephensPa(env pkg.FastenLighthouseEnvType, ctx context.Context, globalLogger logrus.FieldLogger, sourceCreds models.SourceCredential, testHttpClient ...*http.Client) (models.SourceClient, error) {
baseClient, err := platform.GetSourceClientAllscripts(env, ctx, globalLogger, sourceCreds, testHttpClient...)
if err != nil {
return nil, err
}

return struct {
models.SourceClient
}{baseClient}, err
}
27 changes: 27 additions & 0 deletions clients/internal/source/adnan_kaleli_md_pc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// 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 (
"context"
platform "github.com/fastenhealth/fasten-sources/clients/internal/platform"
models "github.com/fastenhealth/fasten-sources/clients/models"
pkg "github.com/fastenhealth/fasten-sources/pkg"
logrus "github.com/sirupsen/logrus"
"net/http"
)

// https://fhir.fhirpoint.open.allscripts.com/fhirroute/open/61980/metadata
func GetSourceClientAdnanKaleliMdPc(env pkg.FastenLighthouseEnvType, ctx context.Context, globalLogger logrus.FieldLogger, sourceCreds models.SourceCredential, testHttpClient ...*http.Client) (models.SourceClient, error) {
baseClient, err := platform.GetSourceClientAllscripts(env, ctx, globalLogger, sourceCreds, testHttpClient...)
if err != nil {
return nil, err
}

return struct {
models.SourceClient
}{baseClient}, err
}
27 changes: 27 additions & 0 deletions clients/internal/source/adolfo_c_fernandezobregon_md.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// 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 (
"context"
platform "github.com/fastenhealth/fasten-sources/clients/internal/platform"
models "github.com/fastenhealth/fasten-sources/clients/models"
pkg "github.com/fastenhealth/fasten-sources/pkg"
logrus "github.com/sirupsen/logrus"
"net/http"
)

// https://fhir.fhirpoint.open.allscripts.com/fhirroute/open/76777/metadata
func GetSourceClientAdolfoCFernandezobregonMd(env pkg.FastenLighthouseEnvType, ctx context.Context, globalLogger logrus.FieldLogger, sourceCreds models.SourceCredential, testHttpClient ...*http.Client) (models.SourceClient, error) {
baseClient, err := platform.GetSourceClientAllscripts(env, ctx, globalLogger, sourceCreds, testHttpClient...)
if err != nil {
return nil, err
}

return struct {
models.SourceClient
}{baseClient}, err
}
28 changes: 28 additions & 0 deletions clients/internal/source/advanced_cardio_and_vein_care.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// 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 (
"context"
platform "github.com/fastenhealth/fasten-sources/clients/internal/platform"
models "github.com/fastenhealth/fasten-sources/clients/models"
pkg "github.com/fastenhealth/fasten-sources/pkg"
logrus "github.com/sirupsen/logrus"
"net/http"
)

// https://fhir.fhirpoint.open.allscripts.com/fhirroute/open/10066070/.well-known/smart-configuration
// https://fhir.fhirpoint.open.allscripts.com/fhirroute/open/10066070/metadata
func GetSourceClientAdvancedCardioAndVeinCare(env pkg.FastenLighthouseEnvType, ctx context.Context, globalLogger logrus.FieldLogger, sourceCreds models.SourceCredential, testHttpClient ...*http.Client) (models.SourceClient, error) {
baseClient, err := platform.GetSourceClientAllscripts(env, ctx, globalLogger, sourceCreds, testHttpClient...)
if err != nil {
return nil, err
}

return struct {
models.SourceClient
}{baseClient}, err
}
27 changes: 27 additions & 0 deletions clients/internal/source/advanced_internal_medicine.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// 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 (
"context"
platform "github.com/fastenhealth/fasten-sources/clients/internal/platform"
models "github.com/fastenhealth/fasten-sources/clients/models"
pkg "github.com/fastenhealth/fasten-sources/pkg"
logrus "github.com/sirupsen/logrus"
"net/http"
)

// https://fhir.fhirpoint.open.allscripts.com/fhirroute/open/73504/metadata
func GetSourceClientAdvancedInternalMedicine(env pkg.FastenLighthouseEnvType, ctx context.Context, globalLogger logrus.FieldLogger, sourceCreds models.SourceCredential, testHttpClient ...*http.Client) (models.SourceClient, error) {
baseClient, err := platform.GetSourceClientAllscripts(env, ctx, globalLogger, sourceCreds, testHttpClient...)
if err != nil {
return nil, err
}

return struct {
models.SourceClient
}{baseClient}, err
}
Loading

0 comments on commit 25454da

Please sign in to comment.