Skip to content

Commit

Permalink
enable PKCE mode for BlueButton.
Browse files Browse the repository at this point in the history
Adding additional fields for BCBSAL.
  • Loading branch information
AnalogJ committed Oct 4, 2023
1 parent 96c0d1b commit 753a65c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions clients/factory/factory.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion clients/internal/source/bcbsal.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ func GetSourceClientBcbsal(env pkg.FastenLighthouseEnvType, ctx context.Context,
// Operation-PatientEverything is not supported - https://build.fhir.org/operation-patient-everything.html
// Manually processing individual resources
func (c sourceClientBcbsal) SyncAll(db models.DatabaseRepository) (models.UpsertSummary, error) {
supportedResources := append(c.GetUsCoreResources(), []string{"Coverage", "ExplanationOfBenefit", "Medication", "DetectedIssue", "ResearchStudy", "ImmunizationRecommendation", "ServiceRequest", "MedicationStatement", "MedicationDispense", "InsurancePlan", "HealthcareService", "PractitionerRole"}...)
supportedResources := append(c.GetUsCoreResources(), []string{"Coverage", "DetectedIssue", "ExplanationOfBenefit", "HealthcareService", "ImmunizationRecommendation", "InsurancePlan", "Medication", "MedicationDispense", "MedicationStatement", "PractitionerRole", "ResearchStudy", "ServiceRequest"}...)
return c.SyncAllByResourceName(db, supportedResources)
}
1 change: 1 addition & 0 deletions definitions/internal/platform/bluebutton.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ func GetSourceBluebutton(env pkg.FastenLighthouseEnvType, clientIdLookup map[pkg
sourceDef.ResponseType = []string{"code"}
sourceDef.ResponseModesSupported = []string{"fragment", "query"}
sourceDef.Audience = "https://sandbox.bluebutton.cms.gov/v2/fhir"
sourceDef.CodeChallengeMethodsSupported = []string{"S256"}

sourceDef.ApiEndpointBaseUrl = "https://sandbox.bluebutton.cms.gov/v2/fhir"
// retrieve client-id, if available
Expand Down

0 comments on commit 753a65c

Please sign in to comment.