Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed README formattting #9

Merged
merged 1 commit into from Mar 11, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
24 changes: 12 additions & 12 deletions README.md
Expand Up @@ -12,7 +12,7 @@ None
None

## Services
###ClaimConsumer, websocket service responsible for AI evaluation
### ClaimConsumer, websocket service responsible for AI evaluation
Websocket connection is available at `claim_ai/ws/Claim/<process_id>/`. It accepts bytes which payloads which after
decoding utf-8 decoding are in format:
```json
Expand All @@ -21,18 +21,18 @@ decoding utf-8 decoding are in format:
'content': <payload_content>
}
```
###Payload types:
* ###'claim.bundle.payload'
### Payload types:
* ### 'claim.bundle.payload'

#####Request:
##### Request:
```json
{
'type': 'claim.bundle.payload',
'content': <FHIR Claim Bundle>,
'bundle_id': <bundle_id> // Optional argument with bundle id used for bundle distinction
}
```
#####Response:
##### Response:
```json
{
'type': 'claim.bundle.payload',
Expand All @@ -45,16 +45,16 @@ decoding utf-8 decoding are in format:
proper 'claim.bundle.payload' response with evaluation result is sent.


* ###'claim.bundle.acceptance'
* ### 'claim.bundle.acceptance'

#####Request:
##### Request:
```json
{
'type': 'claim.bundle.acceptance',
'content': <bundle_id> // index receieved from claim.bundle.payload
}
```
#####Response:
##### Response:
```json
{
'type': 'claim.bundle.acceptance',
Expand All @@ -66,8 +66,8 @@ decoding utf-8 decoding are in format:
receieved. Response is sent after claim.bundle.payload was receieved from the server.


* ###'claim.bundle.authentication_exception'
#####Response:
* ### 'claim.bundle.authentication_exception'
##### Response:
```json
{
'type': 'claim.bundle.authentication_exception',
Expand All @@ -76,8 +76,8 @@ decoding utf-8 decoding are in format:
```
If token authentication is used and invalid token was provided by client this payload
is sent and connection is closed immediately.
* ###'claim.bundle.authentication_exception'
#####Response:
* ### 'claim.bundle.authentication_exception'
##### Response:
```json
{
'type': 'claim.bundle.evaluation_exception',
Expand Down