I am trying to define a structure that can create a one-to-many relationship, sort of. For example, let's say an organization named "ACO" has some stuff:
KEY_PERF_INDS = [ {'ACO' => [2,3,4] , [2,34,5]} ]
But this is syntactically wrong. Is it possible to write something that achieves this?
ACOsupposed to be an array of sub-arrays?'ACO' => [ [2,3,4], [2,34,5] ]HOSPITAL,BLAHare at the same level asACO? That's just more keys in the hash...[{ 'ACO' => [[2,3,4],[3,4,5]], 'HOSPITAL' => [[1,2,3],[9,8]] }]KEY_PERF_INDSitself should be a hash{}not an array.KEY_PERF_INDS = { 'ACO' => [[1,2,3],[4,5,6]], 'HOSPITAL' => [[3,2,1],[9,8,7]] }