generate_sample_message
Generate realistic HL7 test messages for healthcare integration scenarios like patient admissions, orders, and results to validate system interoperability.
Instructions
[Premium] Generate realistic sample HL7 messages for testing. Supports ADT^A01, ADT^A04, ADT^A08, ADT^A03, ADT^A34, ADT^A40, ORM^O01, ORU^R01, MDM^T02, SIU^S12, DFT^P03.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"message_type": "<message_type>"
},
"name": "generate_sample_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_type | Yes | HL7 message type (e.g., 'ADT^A01', 'ORM^O01', 'ORU^R01'). | |
| scenario | No | Optional scenario description (e.g., 'emergency CT', 'routine MRI', 'outpatient X-ray'). |