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?
If your other groups
HOSPITAL, BLAH, ETC(per the comments) are all to be at the same level asACO, then the entire structureKEY_PERF_INDSshould be a hash{}rather than an array[]. Make each of those a key to the main hash, and each is an array containing sub-arrays.Access these then as: