🏥 Healthcare - Patient Records

Complete patient management with enum-validated gender, blood type, and status fields.

@dtlv1.0^dtHC^pHospitalEMR^c0^s2^w1^blake3hash
@sec^blake3^0xHospitalWallet^0xSignature^ETH

# Patient demographics with medical enums
PATIENTS|id:s,mrn:s,name:s,dob:D,gender:e(M,F,O),blood:e(A+,A-,B+,B-,AB+,AB-,O+,O-),phone:s,status:e(active,inactive,deceased)|4|S2|W1|C0
P001|MRN-10001|Ahmed Al-Rashid|1985-03-15|M|O+|+971-50-123-4567|active
P002|MRN-10002|Fatima Hassan|1990-07-22|F|A-|+971-55-234-5678|active
P003|MRN-10003|John Smith|1978-11-08|M|B+|+971-52-345-6789|active
P004|MRN-10004|Maria Garcia|1965-01-30|F|AB+|+971-56-456-7890|inactive

# Emergency triage with CTAS levels
TRIAGE|id:s,patient:s,arrival:T,ctas:e(1,2,3,4,5),chief_complaint:s,vitals:j|3|S1|W0|C0
T001|P001|2025-01-03T08:30:00Z|3|Chest pain|{"bp":"130/85","hr":88,"temp":37.2}
T002|P002|2025-01-03T09:15:00Z|2|Severe headache|{"bp":"150/95","hr":102,"temp":38.5}
T003|P003|2025-01-03T10:00:00Z|4|Minor laceration|{"bp":"120/80","hr":72,"temp":36.8}

# Medications with frequency enum
MEDICATIONS|id:s,patient:s,drug:s,dose:s,frequency:e(once,daily,bid,tid,qid,prn),start:D|4|S1|W0|C0
M001|P001|Aspirin|81mg|daily|2025-01-01
M002|P001|Metoprolol|50mg|bid|2025-01-01
M003|P002|Ibuprofen|400mg|prn|2025-01-03
M004|P003|Amoxicillin|500mg|tid|2025-01-03

💰 Finance - Transactions

Financial transactions with currency and status validation.

@dtlv1.0^dtFN^pBankCore^c0^s2^w2^txhash
@sec^blake3^0xBankWallet^0xBankSig^POLYGON

# Accounts with type and status enums
ACCOUNTS|id:s,holder:s,type:e(savings,checking,investment,loan),currency:e(USD,EUR,AED,GBP),balance:f,status:e(active,frozen,closed)|4|S2|W1|C0
ACC001|Ahmed Ali|checking|AED|25000.00|active
ACC002|Ahmed Ali|savings|AED|150000.00|active
ACC003|Sara Khan|checking|USD|5000.00|active
ACC004|John Doe|investment|EUR|75000.00|frozen

# Transactions with status workflow
TRANSACTIONS|id:s,from:s,to:s,amount:f,currency:e(USD,EUR,AED,GBP),status:e(pending,processing,completed,failed,reversed),type:e(transfer,deposit,withdrawal,payment),timestamp:T|5|S2|W2|C0
TXN001|ACC001|ACC003|1000.00|AED|completed|transfer|2025-01-03T10:30:00Z
TXN002|EXTERNAL|ACC002|5000.00|AED|completed|deposit|2025-01-03T11:00:00Z
TXN003|ACC003|EXTERNAL|200.00|USD|pending|withdrawal|2025-01-03T11:30:00Z
TXN004|ACC001|MERCHANT|150.00|AED|processing|payment|2025-01-03T12:00:00Z
TXN005|ACC004|ACC001|500.00|EUR|failed|transfer|2025-01-03T12:30:00Z

🛒 E-Commerce - Orders

Order management with status tracking and payment validation.

@dtlv1.0^dtWEB^pShopify^c0^s1^w0^orderhash
@sec^blake3^0x0^none^0

# Products with category and size enums
PRODUCTS|sku:s,name:s,price:f,category:e(electronics,clothing,home,sports,beauty),size:e(XS,S,M,L,XL,XXL,NA),stock:i|5|S0|W0|C0
SKU001|Wireless Earbuds|79.99|electronics|NA|150
SKU002|Cotton T-Shirt|29.99|clothing|M|500
SKU003|Yoga Mat|45.00|sports|NA|200
SKU004|Face Cream|35.00|beauty|NA|300
SKU005|Running Shoes|120.00|sports|L|75

# Orders with comprehensive status tracking
ORDERS|id:s,customer:s,total:f,status:e(pending,confirmed,processing,shipped,delivered,cancelled,returned),payment:e(pending,paid,failed,refunded),shipping:e(standard,express,overnight),created:T|4|S1|W0|C0
ORD001|CUST001|109.98|shipped|paid|express|2025-01-02T14:00:00Z
ORD002|CUST002|45.00|processing|paid|standard|2025-01-03T09:00:00Z
ORD003|CUST003|155.00|pending|pending|overnight|2025-01-03T11:00:00Z
ORD004|CUST001|29.99|cancelled|refunded|standard|2025-01-01T16:00:00Z

# Order items
ORDER_ITEMS|order:s,sku:s,quantity:i,price:f|5|S0|W0|C0
ORD001|SKU001|1|79.99
ORD001|SKU002|1|29.99
ORD002|SKU003|1|45.00
ORD003|SKU005|1|120.00
ORD003|SKU004|1|35.00

📋 Task Management

Project and task tracking with priority and status enums.

@dtlv1.0^dtWEB^pProjectMgmt^c0^s0^w0^taskhash
@sec^none^0x0^none^0

# Projects
PROJECTS|id:s,name:s,status:e(planning,active,on_hold,completed,archived),owner:s,deadline:D|3|S0|W0|C0
PRJ001|Website Redesign|active|alice@company.com|2025-03-31
PRJ002|Mobile App v2|planning|bob@company.com|2025-06-30
PRJ003|API Integration|on_hold|carol@company.com|2025-04-15

# Tasks with priority and status
TASKS|id:s,project:s,title:s,assignee:s,status:e(todo,in_progress,review,blocked,done),priority:e(low,medium,high,critical),due:D|6|S0|W0|C0
TSK001|PRJ001|Design homepage mockup|alice@company.com|done|high|2025-01-15
TSK002|PRJ001|Implement responsive nav|bob@company.com|in_progress|high|2025-01-20
TSK003|PRJ001|Write copy for about page|carol@company.com|todo|medium|2025-01-25
TSK004|PRJ002|Define app requirements|bob@company.com|in_progress|critical|2025-01-10
TSK005|PRJ002|Create wireframes|alice@company.com|todo|high|2025-01-30
TSK006|PRJ003|Document API endpoints|carol@company.com|blocked|medium|2025-02-15

# Time tracking
TIME_ENTRIES|id:s,task:s,user:s,hours:f,date:D,type:e(development,design,meeting,review)|4|S0|W0|C0
TE001|TSK001|alice@company.com|4.5|2025-01-10|design
TE002|TSK002|bob@company.com|3.0|2025-01-12|development
TE003|TSK004|bob@company.com|2.0|2025-01-08|meeting
TE004|TSK002|carol@company.com|1.5|2025-01-13|review

🔐 DTLAuth - Identity Token

Complete authentication token with role-based access control.

@dtlv1.0^dtID^pDTLAuthID1^c0^s2^w1^tokenhash123
@sec^blake3_abc^0xUserWallet123^0xSignature456^ETH

# User identity
USER|uid:s,name:s,email:s,role:e(admin,moderator,user,guest),mfa:e(verified,pending,disabled),aud:a(s)|1|S2|W1|C0
u-12345|Padam Kafle|padam@dtlaz.org|admin|verified|api.axz.si,web.axz.si,admin.axz.si

# Token claims
CLAIMS|uid:s,iss:s,iat:T,exp:T,nbf:T,jti:s|1|S2|W1|C0
u-12345|auth.dtlaz.org|2025-01-03T10:00:00Z|2025-01-03T22:00:00Z|2025-01-03T10:00:00Z|jwt-abc123

# Permissions with scope enum
PERMS|uid:s,resource:s,scope:e(read,write,admin,delete,none),exp:T|4|S2|W1|C0
u-12345|api.axz.si/*|admin|2025-01-03T22:00:00Z
u-12345|files.axz.si/*|write|2025-01-03T22:00:00Z
u-12345|public.axz.si/*|read|2099-12-31T23:59:59Z
u-12345|billing.axz.si/*|none|2025-01-03T22:00:00Z

📡 IoT - Sensor Data

IoT sensor readings with device status and unit validation.

@dtlv1.0^dtIOT^pSmartFactory^c3^s1^w0^iothash
@sec^blake3^0x0^none^0

# Devices with status enum
DEVICES|id:s,name:s,location:s,type:e(temperature,humidity,pressure,motion,camera),status:e(online,offline,maintenance,error),last_seen:T|4|S1|W0|C0
DEV001|Temp-Floor1|Building A, Floor 1|temperature|online|2025-01-03T14:30:00Z
DEV002|Humid-Floor1|Building A, Floor 1|humidity|online|2025-01-03T14:30:00Z
DEV003|Press-Tank1|Building B, Tank Room|pressure|maintenance|2025-01-03T10:00:00Z
DEV004|Motion-Gate|Building A, Main Gate|motion|error|2025-01-03T12:00:00Z

# Sensor readings with unit enum
READINGS|id:s,device:s,value:f,unit:e(celsius,fahrenheit,percent,psi,bar,boolean),timestamp:T,quality:e(good,uncertain,bad)|6|S1|W0|C0
R001|DEV001|23.5|celsius|2025-01-03T14:30:00Z|good
R002|DEV001|23.7|celsius|2025-01-03T14:31:00Z|good
R003|DEV002|45.2|percent|2025-01-03T14:30:00Z|good
R004|DEV002|46.1|percent|2025-01-03T14:31:00Z|uncertain
R005|DEV003|2.5|bar|2025-01-03T10:00:00Z|bad
R006|DEV004|1|boolean|2025-01-03T12:00:00Z|good

# Alerts
ALERTS|id:s,device:s,severity:e(info,warning,critical),message:s,timestamp:T,acknowledged:b|2|S0|W0|C0
ALT001|DEV003|warning|Sensor offline for maintenance|2025-01-03T10:00:00Z|1
ALT002|DEV004|critical|Motion sensor communication failure|2025-01-03T12:00:00Z|0