7.1 EDI Transaction Standards
| Transaction |
Code |
Purpose |
| 837 |
Claim submission |
Provider → Payer |
| 835 |
Payment/remittance |
Payer → Provider |
| 270/271 |
Eligibility inquiry/response |
Provider ↔ Payer |
| 276/277 |
Claim status inquiry/response |
Provider ↔ Payer |
| 278 |
Prior authorization |
Provider → Payer |
| 834 |
Enrollment |
Employer/Payer |
7.2 HL7 FHIR (Fast Healthcare Interoperability Resources)
Modern REST/JSON standard for exchanging health data. Key FHIR resources for an architect to know:
- Patient — demographics, identifiers
- Observation — vital signs, lab results
- MedicationRequest — prescriptions
- Condition — diagnoses
- Encounter — visit records
- DiagnosticReport — lab/imaging reports
- Claim — structured claim data (diagnosis codes, procedure codes, pricing)
{
"resourceType": "Claim",
"status": "active",
"type": {"coding": [{"code": "professional"}]},
"patient": {"reference": "Patient/123"},
"provider": {"reference": "Practitioner/456"},
"diagnosis": [{"sequence": 1, "diagnosisCodeableConcept":
{"coding": [{"system": "http://hl7.org/fhir/sid/icd-10-cm", "code": "E11.9"}]}}],
"item": [{"sequence": 1, "productOrService":
{"coding": [{"system": "http://www.ama-assn.org/go/cpt", "code": "99213"}]},
"unitPrice": {"value": 150.00, "currency": "USD"}}]
}
7.3 Healthcare Data Standards Summary
| Standard |
Purpose |
Format |
AI Integration |
| HL7 v2 |
Legacy messaging |
Pipe-delimited |
Parse for data extraction |
| HL7 FHIR |
Modern REST API |
JSON/XML |
Native API integration |
| X12 EDI |
Claims/payments (837/835) |
Fixed-format |
Parser + AI processing |
| CCD/CDA |
Clinical document exchange |
XML |
NLP for extraction |
| DICOM |
Medical imaging |
Binary |
Computer vision |
| SNOMED CT |
Clinical terminology |
Ontology |
NER mapping |
| LOINC |
Lab/clinical observations |
Codes |
Lab result processing |
| RxNorm |
Medication terminology |
Codes |
Drug interaction checks |
7.4 HIPAA Essentials (Compliance Layer)
- Privacy Rule — governs use/disclosure of PHI
- Security Rule — administrative, physical, technical safeguards for ePHI
- PHI — health info + 18 identifiers (name, DOB, MRN, address, etc.)
- Minimum necessary principle; access controls / least privilege; mandatory audit logging of PHI access (6-year retention)
- BAA (Business Associate Agreement) — required with any vendor, including cloud/AI providers, touching PHI
- Engineering implications: encryption at rest + in transit, RBAC, audit trails, de-identification for analytics/AI, retention policies, environment separation (no PHI in dev/test)