Mediloop
OPERATIONS CONNECTORS

Data Mapping & Transformation

4 of 7

Convert heterogeneous operational data into a consistent Mediloop operational model while preserving source semantics, identifiers, traceability, mapping versions and data quality.

Mapping ProcessCanonical ModelCode TranslationReference DataTransformation RulesData QualityExamples
Mapping Process
1
Source Payload
JSON, XML, CSV, EDI, SOAP/OData or vendor-specific data
2
Validation
Schema, required fields, type checks and business rules
3
Mapping Rules
Field mapping, code translation, unit/currency conversion and enrichment
4
Canonical Model
Normalized operational entities and relationships
5
Business Rules
Deduplication, source-of-truth and consistency checks
6
Mediloop Services
Operational workflows, events, dashboards and audit
Canonical Model
Product / SKU

Products, catalogs, barcodes, attributes

Supplier

Suppliers, contracts, performance and risk

Inventory

Stock, locations, warehouses and batches

Purchase Order

Orders, lines, approvals, status and timelines

Invoice

Invoices, payments and reconciliation

Cost Center

Departments, budgets and projects

Facility

Sites, buildings, rooms and resources

Asset / Equipment

Assets, maintenance and calibration

Workforce

Staff references, roles, schedules and skills

Contract

Commercial agreements and renewal metadata

Payer / Insurer

Operational payer/contract/remittance references

Delivery

Shipments, tracking and proof of delivery

Field Mapping
Source fieldCanonical fieldRulePreserve source?
vendor_idsupplier.externalIdTrim + validate uniquenessYes
namesupplier.nameDirect mappingYes
address.countrysupplier.address.countryISO country normalizationYes
vat_numbersupplier.taxIdFormat validationYes
currencysupplier.preferredCurrencyISO 4217 validationYes
payment_termssupplier.paymentTermsReference-data mappingYes
Code Translation
DomainSource valueMapped valueStandard / rule
CountryLUXLUISO 3166-1 alpha-2
Currency€ / EUROEURISO 4217
Payment terms30NET30Versioned business reference data
UnitPCEpieceCanonical unit/reference data
Order statusAactiveSource-system mapping table
BooleanYtrueTyped normalization
Reference Data
Keep reference datasets versioned and tenant-aware when required
Resolve supplier/product/site identifiers without silently creating duplicates
Use authoritative ISO/industry code sets where they exist
Store the source value alongside translated values for traceability
Treat clinical terminology as a separate MSIS responsibility, not an ERP mapping table
Business Rules
Define source-of-truth per field/domain
Use idempotency and duplicate-detection keys
Validate cross-field consistency such as amount/currency/date relationships
Apply approval and exception rules after schema validation
Keep derived values distinguishable from source values
Record rule version and mapping version on transformed records/events
Data Quality
Quality checkExampleHandling
Required fieldsMissing supplier IDReject/quarantine with actionable error
Reference integrityUnknown facility or SKUResolve or route to exception workflow
Duplicate detectionSame PO resentIdempotent success / deduplicate
Semantic consistencyCurrency/unit incompatible with ruleReject or flag for review
FreshnessStale stock snapshotMark timestamp/age and reconcile
CompletenessPartial batchPer-record status + retry remainder
Developer Integration Surface
SurfaceOperation / resourceUseStatus
Mapping configVersioned JSON/YAML mapping definitionField/reference transformationImplementation contract evolving
Validation APISchema + business rule validationPre-ingestion quality checksPlanned generalized surface
Domain APIsSupplier/Procurement/Delivery APIsWrite/read canonical operational dataSee domain docs
Batch ingestionSFTP/files + manifest/resultsHigh-volume master dataConnector-specific
Eventsmapping.failed / reconciliation.required patternsException automationEvent names not frozen
Examples
Source payload
jsonCopy
{
  "vendor_id": "V12345",
  "name": "Acme Medical Supplies",
  "country": "LUX",
  "currency": "€",
  "payment_terms": "30"
}
Canonical result
jsonCopy
{
  "externalId": "V12345",
  "name": "Acme Medical Supplies",
  "address": { "country": "LU" },
  "preferredCurrency": "EUR",
  "paymentTerms": "NET30",
  "provenance": { "source": "sap-erp", "mappingVersion": "1.3" }
}
Next Steps
After mapping is validated, implement the operational workflow in Use Cases & Workflow Automation and define reconciliation ownership.