Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
DurationDt incorrectly encoded #233
Per email from Nehashri P L
I have been working with MedicationOrder resource using HAPI - DSTU2. There are a few problems that I am facing while parsing the resources. I see that the Duration resource which is a part of the Timing.repeat is not parsed consistently. It sometimes seems to be able parse it and sometimes fails to parse it. There are no errors thrown but the same resource is not parsed properly sometimes. Here is an example resource we are using:
This appears to be an HAPI encoding issue. The resource should be encoding boundsDuration as boundsQuantity, since duration is a profile on quantity.