ЕСОЗ - публічна документація

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

  • Transaction is designed to create resources in e-Health.
  • As for now with the help of transaction could be created all resources that are connected with medical events
  • All resources have the reference to patient inside.
  • All resources are saved to DB separately and in addition the signed document is stored in a document storage as a whole.
  • There is no route to get or update original transaction, but there's a route to get the transaction response.

Transaction validations

  1. Validate access_token;
  2. Validate scopes. There should be validation for transaction:write and for each resource in the transaction validation should be performed (encounter:write, observation:write, etc.);
  3. Validate DS.


Validations of:



QuestionDecisions History
1

Is it allowed for a signed transaction to contain resources produced by other employees (where resource's performer/asserter isn't equal to the given user) 

Yes. The transaction is signed by one employee and may contain resources produced by employees from the same legal entity (14.11.2019). 
2

Could transaction consist of resources for different patient or not?

No, currently transaction only support resources for a single patient (14.11.2019). 
3

Is there a limit for resources number in one transaction?

Yes, there should be a limit. The exact amount is TBD (14.11.2019).
4Should we persist the person id in the ME DB?No, it should be a part of a signed content, but shouldn't be persisted. Instead patientId is persisted.
5Should only POST methods inside transaction be suppoted?Yes.
  • No labels