restful-atna-simulator (RAS) project is a simulator for RestfulATNA transaction.
The objective is to simulate Audit Record Repository for ITI-20 transaction through RESTful transactions based on FHIR standard using HAPI FHIR server:
The project shall do this following action :
Audit Resource Request is sent to the RAS. –> The RAS shall return an
Audit Resource Response with a HTTP 2xx code.
Audit Bundle Request is sent to the RAS. –> The RAS shall return an
Audit Bundle Response with a HTTP 2xx code. The Audit Bundle Request shall respect these constraints :
If no resource, an empty one, another FHIR resource or a non-existant FHIR Resource is provided, the RAS shall return a HTTP 400, 422 or 500 error.
Audit Bundle Request cases, when a
entry.resource is declared a resourceType SHALL BE present, if not a error “theResource is empty” with a stack java errors appears.
Once the application is deployed, the endpoint is constructed like below :
endpoint: where the application is deployed
type: The type of the resource you want to send
mime-type: The format of your response sent by the application
For example if the application is deployed on
example.com, and a
sent in JSON and the
response must be returned in XML, the endpoint and content-type should be :
The RAS ONLY accept
POST request and
AuditEvent FHIR resources.