WCES is an open clinical exchange standard developed by the WellSpr.ing network. It defines seven document types for encrypted, structured clinical data exchange between practitioners and patients. WCES is implemented by LiteEHR (reference implementation) and is freely available for any EHR to implement.
WCES uses a Two-Zone Architecture that separates patient identity (PII) from clinical data. PII stays in the originating EHR and never travels the wire. Clinical data is de-identified through a six-pass pipeline before exchange.
Every WCES case_briefing document is processed through this pipeline before transmission:
[PATIENT]40-49)[LOCATION]wces_document_type: case_briefing, wces_deidentified: trueWCES is designed around patient control. The reference implementation (LiteEHR) implements this flow:
{
"wces_document_type": "case_briefing",
"wces_version": "1.0",
"share_token": "shr_...",
"anonymous": true,
"issued_at": "2026-04-28T00:00:00Z",
"clinical_data": {
"patient": {
"given_name": "[PATIENT]",
"family_name": "[PATIENT]",
"age_bracket": "40-49",
"sex": "F"
},
"encounter": {
"date": "2026-04-15",
"type": "office_visit",
"chief_complaint": "Fatigue and brain fog",
"subjective": "Patient reports 6-month history of fatigue...",
"objective": "Well-appearing adult female...",
"assessment": "Suspected hypothyroidism, evaluate for autoimmune etiology",
"plan": "Order TSH, free T4, TPO antibodies..."
},
"vitals": {
"bp_systolic": 118, "bp_diastolic": 76,
"heart_rate": 68, "temp_f": 97.8, "weight_lbs": 142
},
"medications": [
{ "name": "Levothyroxine", "dose": "50 mcg", "frequency": "daily", "status": "active" }
],
"conditions": [
{ "code": "E03.9", "name": "Hypothyroidism, unspecified", "status": "active" }
],
"__wces_deidentified": true,
"__wces_document_type": "case_briefing",
"__wces_version": "1.0"
}
}
The LiteEHR reference implementation exposes WCES-compatible REST endpoints and MCP tools:
POST /api/ehr/ingest — Upload WCES-format encounter (requires lk_... API key)POST /api/ehr/import/fhir — Import FHIR R4 BundleGET /api/ehr/records — List patient recordsPOST /api/ehr/share — Create share token (anonymous: true|false)DELETE /api/ehr/share/:token — Revoke share immediatelyGET /api/ehr/shares — List active consent grantsGET /api/ehr/shared/:token — Fetch shared record (WCES)GET /api/ehr/shared/:token/export?format=fhir_r4 — Export for EHR importFull MCP interface at POST https://liteehr.com/api/ehr/mcp: create_share_token, revoke_share, fetch_shared_record, list_shares, and all ingest tools.
WCES is an open standard. Any EHR vendor may implement the document types and API patterns described here. The specification is maintained by WellSpr.ing under the WellSpr.ing Commerce License 1.1.
Reference implementation (LiteEHR) is MIT-licensed. Implementations that transmit patient data must comply with applicable local privacy law (HIPAA in the US, GDPR in the EU).