Closed m-goggins closed 1 month ago
if we were to port over the code, with the new repo in mind, would we use the dibbs.cloud/
endpoint potentially for parsing the data we get back? Right now, the eRSD:
I'm pretty on the fence about whether to port the codes over vs. spinning up TCR. I think the benefit of spinning up TCR is that if other teams are using TCR, maintaining it is potentially easier. However, we already have a handful of custom codes that get away from the eRSD (newborn screening, added medication codes, etc.) that at least in the short run there will still be the need within TCR for some hardcoding.
soooo with that in mind, I come back around toward doing something specific to the query connector, whether that's writing something specific in typescript or porting over the python.
We will need some kind of persistent logging of eRSD versions, I think? Is the use case potentially different where we would only want the latest? in which case we could just use the API.
Because all migrations in flyway run one after another, we are currently importing all data from the TCR in migration 2 using a SQL script that is 175k lines long. We should consider looking into alternative methods to ensuring access to data in the TCR. This could be other forms of porting over the codes from the TCR or reconsidering whether we should spin up the TCR as a separate service and make calls to that service.