Site Tools


Observation Input Service

The Observation Input Service exposes a RESTful interface through which it is able to receive FHIR Observation resources. The service forwards the FHIR Observation resource itself (JSON encoded) to a Kafka topic called observation.

Project status

4S maturity level: Prototyping


Service RESTful API

The Observation Input Service exposes a HL7 FHIR RESTful interface for creating FHIR Observation resources.

Observation Input Service FHIR API (conformance statement)

FHIR Observation resources can be posted at '/Observation'. Example:

curl --request POST \
  --url http://localhost:8087/Observation \
  --header 'cache-control: no-cache' \
  --header 'content-type: application/json' \
  --header 'postman-token: c1ef3c51-d69c-d70f-9d5b-41fa30289191' \
  --data '{  "resourceType": "Observation",  "identifier": [    {      "type": {        "text": "PHMR id"      },      "system": "urn:oid:",      "value": "b6a079b0-89ab-11e3-baa8-0800200c9a66"    }  ],  "status": "final",  "category": {    "coding": [      {        "system": "",        "code": "vital-signs",        "display": "Vital Signs"      }    ]  },  "code": {    "coding": [      {        "system": "urn:oid:",        "code": "NPU21692",        "display": "Puls;Hjerte"      }    ]  },  "subject": {    "reference": "http://localhost:8081/Patient/52"  },  "effectiveDateTime": "2017-01-17T09:20:30+01:00",  "valueQuantity": {    "value": "80.0",    "unit": "× 1/min",    "system": "urn:oid:",    "code": "NPU21692"  }}'

Service Messaging

Kafka producer_

Source code

Issue Tracking


The Observation Input Service source code is licensed under the Apache 2.0 license.

4smicroservices/obsinputservice.txt · Last modified: 2018/12/12 13:27 (external edit)