- validate primary_source is sent
|
|
one_of | performer - validate performer is a reference to employee
- validate employee is active and is_active=true
- validate employee.legal_entity_id belong to MEDICATION_REQUEST_REQUEST_LEGAL_ENTITY_TYPES
- validate performer is sent if primary_source=true
|
|
report_origin - validate report_origin is a codable concept
- validate report_origin is sent if primary_source=false
|
|
| interpretation. Validate - as codeable_concept
- by dictionary eHealth/observation_interpretations
|
|
| note (comment). Validate - as a string with max length = 2000
|
|
| bodySite (body_site). Validate - as codeable_concept
- by dictionary eHealth/body_sites
|
|
| method. Validate - as codeable_concept
- by dictionary eHealth/observation_methods
|
|
one_of
| value[x]. |
|
Quantity (value_quantity) | |
CodeableConcept (value_codeable_concept) - as codeable_concept
- by dictionary eHealth/body_sites
| |
SampledData (value_sampled_data) | |
| |
| |
| |
| |
| |
dateTime (value_date_time) | |
| |
| referenceRange (reference_ranges) | |
| reaction_on. Validate - as reference to immunization
- immunization is sent in payload or exists in DB
- immunization is made for the same person
- immunization is not in status 'entered_in_error'
|
|
| components - $.observations[*].components[*].value_period as a Period
|
|