Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot remove service_at_location in a profile #8

Open
francois-travais opened this issue Feb 23, 2024 · 1 comment
Open

Cannot remove service_at_location in a profile #8

francois-travais opened this issue Feb 23, 2024 · 1 comment

Comments

@francois-travais
Copy link

Context

In my profile I would like to remove the service_at_location because I've no use for it.
In Soliguide our services are always linked to a physical location, therefore all the information that may live in service_at_location is either in service or location.

Problem

hsds_schema.py is expecting a service_at_location, otherwise it fails to compile the schema. I had to comment these lines.

Question

I'm wandering maybe the problem is that I shouldn't remove service_at_location in the first place. I can have one for sure, it's just that it would be a useless piece linking services and locations.

@devinbalkind
Copy link

The service directories we produce using the ORServices and HSDS Airtable templates also link services directly to address so we don't use service_at_location table. For ORServices exports we have generate data for an service_at_location table to pass validation and move data to other HSDS systems.

It might be worth considering making service_at_locations table optional in a future release of the standard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants