Skip to content

Commit

Permalink
Added a BundleQuerierParser for WRS Health source endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
rishi-salunkhe-mettle committed Dec 2, 2024
1 parent 5c2b28f commit 6b31df1
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ var abeoURL = "https://www.crystalpm.com/FHIRServiceURLs.csv"
var nextechURL2 = "https://www.nextech.com/developers-portal"
var icareURL = "https://www.icare.com/endpoints.csv"
var ezemrxURL = "https://www.ezemrx.com/fhir"
var wrshealthURL = "https://fhir-server.sam.wrs.dev/r4/ServiceBase"

func contains(arr [30]string, str string) bool {
for _, v := range arr {
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, wrshealthURL) {
BundleQuerierParser(wrshealthURL, fileToWriteTo)
} else {
log.Warnf("Handler is required for url %s", chplURL)
}
Expand Down

0 comments on commit 6b31df1

Please sign in to comment.