projectcypress/health-data-standards — pull request #205 by okeefm (2014-09-17 16:43:37+00:00)
Title: Added some special cases for some of the fields needed for CMDs in Medic...

...ation: Administered

Specifically:

*FulfillmentHistory was a Hash wrapped in an Array, so if the method sees a `codes` value that is an Array, it will pull out the first element, and proceed on that element. This keeps the Array from just being turned into a String, without any processing.

*AdministrationTiming was a hash with a hash value for the only key, but without an `_id` attribute, so the code to deal with non-id-containing hashes now recurses into hashes in values.