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
Version 1
Next »
| SD+Validation | Comments |
---|
1 | id - is sent
- validate condition_id is UUID
- validate that $.{collection}[*].id from the payload are all unique among themselves
- validate there is no entity with such id in the corresponding Medical events collection
| |
2 | subject - is sent
- validate patient_id is UUID
- validate patient exists in DB
- validate patient is active and is_active=true
| |
3 | partOf - is reference to procedure or medication_administration
- procedure or medication_administration is made for the same patient
- procedure or medication_administration is not in status `entered_in_error`
| |
4 | status - is sent
- by dictionary eHealth/medication_administration_statuses
| |
5 | statusReason - by dictionary eHealth/medication_administration_status_reasons
| |
6 | category - is sent
- by dictionary eHealth/SNOMED/medication_administration_categories
| |
7 | medication - is sent
- medication is of type 'BRAND'
- medication corresponds to the INNM_DOSAGE medication from request.medication
| |
8 | context - is sent
- is reference to encounter
- encounter is made for the same patient
| |
9 | effectiveDateTime performed_date_time | |
10 | performer - is sent
- is reference to employee
- is an active doctor from current legal_entity
- employee_type in ("DOCTOR","SPECIALIST"))
| |
11 | managing_organization | |
12 | reasonReferences - is a reference to Condition|Observation|DiagnosticReport
- is not in status "entered_in_error"
- is made for the same person
- exist in DB or in payload
| |
13 | request - is a reference to medication_request
- status='ACTIVE' and is_active=true
- is made for the same person
- medication_request.started_at < now()
| |
14 | note | |
15 | dosage - by dictionary eHealth/SNOMED/anatomical_structure_administration_site_codes
- by dictionary eHealth/SNOMED/route_codes
- by dictionary eHealth/SNOMED/administration_methods
| |