STARS Implementation Guide
0.3.0 - ci-build
STARS Implementation Guide - Local Development build (v0.3.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
This will show the usage steps to use the API directly rather than the client. the same steps are followed internally by the client.
The STARS Client provides a wrapper to communicate with the FHIR server using a simpler file system. This allows a basic integration for non-FHIR based systems to be able to send and receive messages using a simple interface based simple data structure models such as CSV.
The client is built to match the release of the FHIR server and profiles.
The individual Api endpoints are fully documented using Swagger OpenApi format available on starsapi.csiro.au
Authentication, OpenIdConect JWT authenticate first time with username/password to retrieve access_toekn and refresh_token.
POST https://auth.acdp.csiro.au/realms/csiro/protocol/openid-connect/token
x-www-form-urlencoded body
| grant_type | password |
| client_id | starsapi |
| username | [username] |
| password | [password] |
| scope | offline_access |
authenticate with access_token for each request. if access_token as expired, request a new access_token using the refresh_token authentication mechanism.
POST https://auth.acdp.csiro.au/realms/csiro/protocol/openid-connect/token
x-www-form-urlencoded body
| grant_type | password |
| client_id | starsapi |
| username | [username] |
| password | [password] |
| scope | offline_access |
messages are accessed by their message_id (UUID)
all messages on the server are in FHIR JSON format will be validated for conformity on message send
all pending messages single message_id
remember to update the status of the message to Completed
after successfully receiving the message.