projectcypress/health-data-standards — pull request #71 by yoon (2013-11-09 00:03:03+00:00)
Title: correct xpath for encounter and reason. add admit_time to encounter

The cat1 encounter importer is using a c32 oid, but the export is using a new oid:

https://github.com/projectcypress/health-data-standards/blob/master/templates/cat1/_patient_data.cat1.erb#L4

Some measures (e.g. 0371, 0437, 0438, 0639) require admitTime to be set. admitTime is generated as the "low" value in:

https://github.com/projectcypress/health-data-standards/blob/master/templates/cat1/_2.16.840.1.113883.10.20.24.3.23.cat1.erb#L14

so extracting that value seems reasonable.