Stream: hapi
Topic: Print Resource's entry score from Meta
Christopher Schuler (Dec 19 2017 at 01:08):
I have this code:
Patient testPatient = new Patient(); testPatient.setId("PAT001"); ResourceMetadataKeyEnum.ENTRY_SCORE.put(testPatient, new DecimalDt(0.77)); FhirContext ctx = FhirContext.forDstu2(); System.out.println(ctx.newJsonParser().setPrettyPrint(true).encodeResourceToString(testPatient));
Which outputs:
{ "resourceType": "Patient", "id": "PAT001" }
I am outputting resources to files and don't want to lose the entry score data.
What I want is something like this:
{ "resourceType": "Patient", "id": "PAT001", "meta": { "entryScore": 0.77 } }
Is there a way to print this with the entry score included in the Meta?
shivnath shelake (Dec 20 2017 at 09:02):
Hi,
I am looking for Subscription resource we are looking for Rest-hook or Websocket (ping) option..
please help on this
Also I created Subscription resource on HAPI FHIR server with specified criteria after that I created the resource with subscription criteria details but not received any notification is there any configuration required do on FHIR server for notification part.
Last updated: Apr 12 2022 at 19:14 UTC