Site Tools


4smicroservices:questionnoreresponseservice

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
4smicroservices:questionnoreresponseservice [2017/03/17 13:50]
toby
4smicroservices:questionnoreresponseservice [2018/12/12 13:27] (current)
Line 1: Line 1:
 ====== QuestionnaireResponse Service ====== ====== QuestionnaireResponse Service ======
  
-The QuestionnaireResponse Service handles HL7 FHIR QuestionnaireResponse resources and stores them in a local database. The QuestionnaireResponse Service provides a REST interface for storing and retrieving FHIR Questionnaire ​resources.+The QuestionnaireResponse Service handles HL7 FHIR QuestionnaireResponse resources and stores them in a local database. The QuestionnaireResponse Service provides a REST interface for storing and retrieving FHIR QuestionnaireResponse ​resources.
  
 The service subscribes to Kafka on a specific topic in order to receive FHIR QuestionnaireResponse. When receiving a FHIR QuestionnaireResponse resource it is stored in the QuestionnaireResponse Service database. The service subscribes to Kafka on a specific topic in order to receive FHIR QuestionnaireResponse. When receiving a FHIR QuestionnaireResponse resource it is stored in the QuestionnaireResponse Service database.
Line 27: Line 27:
 __Kafka consumer:__ __Kafka consumer:__
  
-  * Topic: Topic: ​questionnaire +  * Topic: Topic: ​questionnaire_response 
-  * Payload: [[https://​www.hl7.org/​fhir/​questionnaire.html|HL7 FHIR Questionnaire ​resource]] in JSON format+  * Payload: [[https://​www.hl7.org/​fhir/​questionnaireresponse.html|HL7 FHIR QuestionnaireResponse ​resource]] in JSON format
  
 __Kafka producer:__ __Kafka producer:__
  
-  * Topic: ​questionnaire-service +  * Topic: ​qr-service 
-  * Payload: JSON on the form <​code>​{"​type":​ string, "​resource":​ string, "​message":​ string}</​code>​ where ''​type''​ is the type of operation that has been performed (e.g. "​created"​),​ ''​resource''​ is the resource type operated on (e.g. "observation") and ''​message''​ is the resource content operated on (in JSON format).+  * Payload: JSON on the form <​code>​{"​type":​ string, "​resource":​ string, "​message":​ string}</​code>​ where ''​type''​ is the type of operation that has been performed (e.g. "​created"​),​ ''​resource''​ is the resource type operated on (e.g. "questionnaire-response") and ''​message''​ is the resource content operated on (in JSON format).
  
  
4smicroservices/questionnoreresponseservice.txt · Last modified: 2018/12/12 13:27 (external edit)