question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Google.Apis.CloudHealthcare.v1beta1 1.44.0.1885 Missing results in HttpBody response

See original GitHub issue

Hi, I am having little success in retrieving any FHIR resources using the .Net Healthcare client. The following returns a pretty slim object of type Google.Apis.CloudHealthcare.v1beta1.Data.HttpBody: {"contentType":null,"data":null,"extensions":null,"ETag":"\"MTU4MzMwNzgwMzIwNzY4NzAwMA\""}

In Fiddler I can see that more data is being retrieved:

{
  "id": "e896887e-c3ec-4c88-aa59-f17dc942ccd0",
  "meta": {
    "lastUpdated": "2020-03-04T07:43:23.207687+00:00",
    "versionId": "MTU4MzMwNzgwMzIwNzY4NzAwMA"
  },
  "mode": "instance",
  "name": "Bed #2",
  "operationalStatus": {
    "code": "U",
    "display": "Unoccupied",
    "system": "http://hl7.org/fhir/v2/0116",
    "version": "2.8.2"
  },
  "partOf": {
    "display": "Vollen",
    "reference": "Location/38d1495c-1e36-4789-91fc-bd09e7f42b3c"
  },
  "resourceType": "Location",
  "status": "active"
}

I am following the examples and using:

ProjectsResource.LocationsResource.DatasetsResource.FhirStoresResource.FhirResource.ReadRequest request = cloudHealthcareService.Projects.Locations.Datasets.FhirStores.Fhir.Read(name);
Data.HttpBody response = request.Execute();

The same goes for any other FHIR-resource method I have tried so far. I suspect the response is supposed to be of another derived type, but I can’t figure out how to do this.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14

github_iconTop GitHub Comments

1reaction
jskeetcommented, Mar 16, 2020

Sorry that we didn’t get to this before - I need to look into this in more detail; I hope I’ll be able to get to it this week.

0reactions
eivholtcommented, Mar 25, 2020

Sounds like a good idea. Thanks for the workaround!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Namespace Google.Apis.CloudHealthcare.v1beta1
Implements the FHIR standard $translate operation (DSTU2, STU3, R4). On success, the response body contains a JSON-encoded representation of a FHIR Parameters ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found