Minified json responses?

50 views
Skip to first unread message

Erik Brakke

unread,
Jan 12, 2024, 4:47:12 PM1/12/24
to GCP Healthcare Discuss
Is there a way to request minified application/fhir+json responses from HCA?  Looking at an example ConceptMap response that is content length 13.3 MB, but 5.7 MB when minified.  It piqued our interested when troubleshooting an Apigee issue.  Thanks! -Erik

Paul Church

unread,
Jan 15, 2024, 12:41:54 PM1/15/24
to Erik Brakke, GCP Healthcare Discuss
I don't believe there is - we made the json marshaller use pretty (non-minified) formatting almost everywhere (ListResourceVersions and GetPatientEverything are exceptions for historical reasons).

It looks like there is a _pretty=[true,false] parameter in the fhir spec. We can take this as a feature request.

On Fri, Jan 12, 2024 at 4:47 PM 'Erik Brakke' via GCP Healthcare Discuss <gcp-healthc...@googlegroups.com> wrote:
Is there a way to request minified application/fhir+json responses from HCA?  Looking at an example ConceptMap response that is content length 13.3 MB, but 5.7 MB when minified.  It piqued our interested when troubleshooting an Apigee issue.  Thanks! -Erik

--
You received this message because you are subscribed to the Google Groups "GCP Healthcare Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gcp-healthcare-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gcp-healthcare-discuss/f20b9e72-c3d6-4600-a6bb-69b0f7f07280n%40googlegroups.com.

Erik Brakke

unread,
Jan 15, 2024, 4:15:50 PM1/15/24
to GCP Healthcare Discuss
Thank you for the quick insights!  Much appreciated.  -Erik
Reply all
Reply to author
Forward
0 new messages