EXAMPLE OUTPUTPopular
Patient Data Synchronization – Output
Results of the synchronization run and the data created in Mediloop.
Language
TypeScript
Use case
Patient data
Complexity
Intermediate
Updated
May 12, 2024
Overview
Code
Setup
Run
Output
Error handling
Synchronization completed successfully
225
Total processed
182
Created
35
Updated
8
Skipped
0
Errors
Synchronized records
| FHIR Resource Type | Created | Updated | Skipped | Total |
|---|---|---|---|---|
| Patient | 120 | 18 | 2 | 140 |
| Observation | 50 | 10 | 4 | 64 |
| Condition | 32 | 5 | 1 | 38 |
| AllergyIntolerance | 18 | 2 | 0 | 20 |
| Encounter | 15 | 0 | 1 | 16 |
| MedicationStatement | 12 | 0 | 0 | 12 |
What's next?
Query the data
Build workflows
Real-time sync
Sample synchronized patient
JSONFHIR Resource (Patient)
jsonCopy
{
"resourceType": "Patient",
"id": "pat_9f87...",
"identifier": [{
"system": "https://mediloop.com/identifiers/patient",
"value": "MLP-10002345"
}],
"name": [{ "family": "Doe", "given": ["John"] }],
"gender": "male",
"birthDate": "1980-01-01",
"active": true
}Output files
sync-summary.jsonSummary of synchronization5.2 KB
created-records.csvList of created records18.7 KB
updated-records.csvList of updated records6.1 KB
skipped-records.csvList of skipped records2.3 KB
execution-log.txtDetailed execution log12.4 KB