DocumentReference does not return Total

18 views
Skip to first unread message

Cerner EMR

unread,
Apr 20, 2022, 8:51:31 AM4/20/22
to Cerner FHIR Developers
Hi 

The document reference documentation (https://fhir.cerner.com/millennium/dstu2/infrastructure/document-reference/states) includes the “total” field in response. However, the response when calling the API (https://fhir-open.cerner.com/dstu2/ec2458f2-1e24-41c8-b71b-0e701af7583d/DocumentReference?patient=12724066&created=ge2020-01-01&created=le2020-12-31) does not have a “total” field in response. 

Does DocumentReference response JSON return 'total' or not?

Fenil Desani (Cerner)

unread,
Apr 21, 2022, 11:46:43 AM4/21/22
to Cerner FHIR Developers
Hello,

While this is a known issue, 'total' is returned when the response contains a single page. If you get paged results, 'total' won't be available.
The long term strategy is to remove the total field.

Thanks,
Fenil

Reply all
Reply to author
Forward
0 new messages