...
Page Properties | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||
|
...
This method allows to get the context of Immunization Medication Statement in order to create approval on episode and receive access to other medical events.
...
Service returns context (episode), immunization medication statement based on:
Get Immunization Medication Statement object byimmunizationmedication_statement_id from immunizations medication_statements (MongoDB)
Get immunizationmedication_statement.context.identifier from Immunization Medication Statement object
Call Get Encounter context :
Get Encounter objectby immunizationmedication_statement.context.identifier (immunizationmedication_statement.context.identifier = encounter._id)
AFTERGet encounter.episode from Encounter object
Render a response according to specification
...
Input parameter | Mandatory | Type | Description | Example | |
---|---|---|---|---|---|
1 | patient_id |
| String | Patient identifier |
|
2 | immunizationmedication_statement_id |
| String | Immunization Medication Statement identifier |
|
Request structure
See on API-specification
Expand | |||||
---|---|---|---|---|---|
| |||||
|
...
Get Person identifier from the URL
Check it exists in DB
Return 404 ('not_found') in case of error
Validate Encounter
Get Immunization Medication Statement identifier from the URL
Check it exists in DB
Return 404 ('not_found') in case of error
Check Immunization Medication Statement belongs to patient
Return 404 ('not_found') in case of error
...
Response structure examples
See on API-specification
Expand | |||||
---|---|---|---|---|---|
| |||||
|
...