Skip to content

Commit

Permalink
LANTERN-804: Adding bundleparser for fhirpt
Browse files Browse the repository at this point in the history
  • Loading branch information
archita-ekkirala committed Dec 5, 2024
1 parent 5c2b28f commit d7938e0
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ var curemdURL = "https://www.curemd.com/developer/base-fhir-urls/"
var emdscloudURL = "https://identity.emdscloud.com/api/api-resource/fhir"
var betaAfoundriaURL = "https://beta.afoundria.com/api/fhir/urls"
var ehealthlineURL = "http://ehealthline.com/dev/pdf/FHIR%20API%20Endpoints.htm"
var fhirptURL = "https://fhirpt-stage.officeally.com/fhir/r4/endpoints"

var bundleQuerierArray = [30]string{"https://ac-fhir.harrisambulatory.com/endpoints/r4", "https://dynamicfhirpresentation.dynamicfhirsandbox.com/fhir/r4/endpoints",
"https://ct-fhir.harrisambulatory.com/Endpoints/R4", "https://kantime.com/wp-content/uploads/2024/03/fhir-base-urls.json",
Expand Down Expand Up @@ -588,6 +589,8 @@ func QueryCHPLEndpointList(chplURL string, fileToWriteTo string) {
CSVParser(chplURL, fileToWriteTo, "./endpoints.csv", -1, 0, true, 1, 0)
} else if URLsEqual(chplURL, ehealthlineURL) {
EhealthlineWebscraper(ehealthlineURL, fileToWriteTo)
} else if URLsEqual(chplURL, fhirptURL) {
BundleQuerierParser(chplURL, fileToWriteTo)
} else {
log.Warnf("Handler is required for url %s", chplURL)
}
Expand Down

0 comments on commit d7938e0

Please sign in to comment.