Skip to content

Commit

Permalink
add post example in docs
Browse files Browse the repository at this point in the history
Signed-off-by: Hunter Achieng <[email protected]>
  • Loading branch information
hunterachieng committed Oct 31, 2024
1 parent 0a2ca2c commit 6099bf7
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions adaptors/satusehat.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ FHIR (Fast Healthcare Interoperability Resources) is a global (international) st
Here is an example of how a POST HTTP request for creating an `Encounter` resource looks like in Satusehat with the FHIR format:


```json
```
// The data below is an example as stated in the postman collection
post('Encounter',
{
"resourceType": "Encounter",
"status": "arrived",
Expand Down Expand Up @@ -73,16 +76,20 @@ Here is an example of how a POST HTTP request for creating an `Encounter` resour
}
],
"serviceProvider": {
"reference": "Organization/{{Org_id}}"
"reference": "Organization/aewertyur34rg343t4v34r"
},
"identifier": [
{
"system": "http://sys-ids.kemkes.go.id/encounter/{{Org_id}}",
"system": "http://sys-ids.kemkes.go.id/encounter/aewertyur34rg343t4v34r",
"value": "P20240001"
}
]
}
)
```

Checkout Satusehat's [Postman Collection](https://satusehat.kemkes.go.id/platform/docs/id/postman-workshop/) for more examples and resources.
Expand Down

0 comments on commit 6099bf7

Please sign in to comment.