openreferral / specification

The Human Services Data Specification - a data exchange format developed by the Open Referral Initiative
https://openreferral.org
Other
117 stars 49 forks source link

holiday schedule and organization relationship #93

Closed MaxWhitney closed 7 years ago

MaxWhitney commented 8 years ago

There is no key linking holiday_schedule to organizations. In airtable, I've added an organization_id field to holiday_schedule table in order to create example data.

monfresh commented 8 years ago

holiday_schedule is an attribute of a Location or a Service, not an Organization. There is no direct relationship between an Organization and a schedule. An Organization could potentially operate at many different Locations, each with its own Holiday Schedule.

monfresh commented 8 years ago

I updated my previous comment to add Services. A Schedule can be tied to either a Location or a Service (or both), but not to an Organization.

NeilMcKLogic commented 7 years ago

I agree with Monfresh - these should not be children of Organization as they relate to service delivery.

timgdavies commented 7 years ago

This was based on a reading of the database diagram from the logical model, which appears to include more relationships that are present or intended in HSDS.