The doctor says an order was placed, yet the laboratory cannot find it. Suppose the ordering system assigns request number 17 and the laboratory assigns L91 upon receipt. To locate the problem, first establish what the lab should receive after the doctor clicks Order and where the results should go after testing.
The hospital information system (HIS) supports daily operations. The laboratory information system (LIS) receives orders and releases results. A hospital can use an integration engine to relay orders and result messages between the two. I wanted to understand the problems Chinese hospitals had encountered in connecting these systems, and how to estimate the work if AI-assisted programming was allowed.
After a doctor orders a test, how do we confirm the lab has the order and the doctor has the result?
Test with a complete blood count order. Follow the arrows: request 17 travels out, and the results for that request return.
sequenceDiagram
participant H as 医生的开单系统
participant E as 医院的集成引擎
participant L as 检验科系统
H->>E: 发送 17 号血常规申请
E->>L: 转送申请
L-->>E: 回复“已收到消息”
Note over L: 检验科在待检列表查到 L91<br/>并核对原申请号 17
L->>E: 发回 L91 的检验结果,附原申请号 17
E->>H: 转送结果
Note over H: 医生在 17 号申请下看到结果
If “message received” in the diagram is the last recorded event, first ask the lab to check its pending worklist. Finding L91 there and confirming that the patient and test match request 17 establishes that the order entered the laboratory workflow.
HL7 v2 specifies a format for communicating healthcare events. For example, when medication is ordered, the electronic medical record can notify the pharmacy of a new order. In his article on interface design, Tongji Hospital information center engineer Wu Kun gives an HL7 v2.6 message. The header identifies the electronic medical record (EMR) as sender and the intravenous medication preparation system (Pivas) as receiver. OMP^O09 indicates a pharmacy order. A lab can send results using a different message, ORU^R01. Reading the header tells the receiver whether this is an order to perform or a measurement already obtained. Wu also illustrates a push workflow: the ordering system notifies the platform of an event, the platform can query the details and package them according to the receiver’s agreement, then deliver them. The receiver sends an acknowledgment through the platform describing what it received or how processing went. The diagram shows one kind of acknowledgment confirming receipt only.1
Once the message reaches the lab, do both parties recognize the department and test inside it? A FHIR integration must answer that question as well. FHIR is another standard for exchanging healthcare data using structured records called resources. Both sides may be able to read an encounter record while still needing agreement about how to interpret its fields. Beijing Friendship Hospital’s localization project began there. The hospital and its partners worked on four scenarios covering patients, departments, encounter information, and the organizational unit requesting an examination. They defined 30 extensions and 21 value sets and performed development testing. Extensions express information missing from standard resources. A value set lists the codes permitted for a field.2
Think of request 17. If the ordering department says “Emergency Internal Medicine” and the receiver recognizes only department codes, both sides must still agree which number identifies it and how to update the mapping after mergers or name changes, even if both read FHIR. Have both sides check the same sample requests one by one to test local agreements. The scope of the localization project also illustrates why it is worth asking which workflows are connected before discussing a hospital-wide rollout.
Results return to the ordering clinician only if both systems recognize the same order. Replacing the ordering software makes this particularly easy to get wrong. Xu Zheng, head of intelligence and digitalization at China Resources WISCO General Hospital, explained that the hospital launched its integration platform in 2021. When the new HIS went live at the end of July 2024, the hospital ran the old and new systems in parallel and used the platform to connect both with other clinical systems. Imagine the lab still holding orders accepted yesterday while today’s orders come from the new HIS. Old results must return to their original destination and new requests must still arrive. This explains why acceptance testing must cover both directions. The interview documents the parallel strategy and platform responsibilities. Individual hospitals’ interface agreements are needed to establish exact message versions.3
Where should the IT department start if an order fails to arrive? A 2024 procurement document from Hohhot’s Mongolian and Traditional Chinese Medicine Hospital listed message engine receives, sends, receive exceptions, and send exceptions as separate monitoring indicators. It also required interface project errors and queue alarms to be visible. Those requirements show which records the hospital wanted for diagnosis. A tender requirement alone does not establish that a particular incident was resolved.4
For a post-launch incident where the medical record shows an order but the lab does not, use these points in a joint exercise. IT finds the send record for 17, platform operations checks whether the message entered the queue and whether the peer acknowledged it, and the LIS vendor checks L91 and business logs for actual order creation. Before an interface revision, agree on the field table version and run an old and a new message. During recovery, check whether the destination has already created the order before resending under a stable identifier, so the medical record system does not open a duplicate. Finally, have the lab return a test result and ask the doctor to verify it under request 17. If the lab corrects the result, make sure reopening the order displays the corrected value.
How much work would integration take for one laboratory across two hospital campuses?
Suppose two campuses of one hospital both use sample order 17 for acceptance: the lab must see the order and the doctor its matching result. At campus one, the vendors must enable test interfaces, staff at both ends verify the same sample, developers convert fields as agreed, and all parties rehearse ordering, returning results, and resending after interruption. If campus two uses the same vendors and interface versions, the conversion program can be reused. Local department codes still need checking and ordering and result return must be tested onsite. A budget starts with the hospital’s criteria for signing off, then counts the actual labor each party contributes from kickoff to signature.
Once the interface works, how long until hospital sign-off?
When order 17 first goes through, the lab can confirm that the route has worked once. The project lead still has questions to answer. Which requirements did the hospital and vendors sign? After correcting a test result, can doctors at both campuses see the revised value? Who can decide to revert to the old interface if a night-shift cutover fails? The answers dictate which people to schedule, how many rehearsals to run, and which records to keep.
A 2019 information systems software tender from Guangzhou Zengcheng District People’s Hospital provides a reference. The users and vendor first confirm the interface workflow and sign the requirements specification. Once workflows run normally after go-live, the supplier can apply for preliminary acceptance. Before final acceptance, all systems must run continuously on trial for at least four months. The supplier submits a written application and the purchaser signs an acceptance report. Four months was a contractual condition for that hospital-wide project. For a single laboratory interface change, the local hospital’s change procedures and contract determine the observation period and signatories.5
Apply staged acceptance to a hypothetical two-campus project. The budget begins after internal approval and contract entry into force. Both campuses already have integration platforms and use the same vendor and version of the LIS. Deliverables include order placement, cancellation, result return, and correction. Assume joint final acceptance and start the four-month shared observation period when the second campus passes preliminary acceptance. The calendar could be:
| When | Who must confirm what before the next step |
|---|---|
| Weeks 1–3 | IT brings together lab staff, clinical representatives, hospital security staff, and both vendors to confirm scope, test data, and access rights, then sign requirements and acceptance cases. |
| Weeks 4–9 | Set up the first campus environment, map test codes, and develop interfaces. Lab and clinical teams run joint integration tests, vendors fix problems, and the teams repeat testing. The hospital approves cutover and rollback, trains duty staff, goes live, and conducts preliminary acceptance. |
| Weeks 10–13 | Reuse the converter at campus two, checking local department and test codes. Repeat ordering, correction, post-disconnection retransmission, and rollback exercises. Go live in the local cutover window and complete preliminary acceptance. |
| Following four months | Check missing orders, corrections, and exceptional resends at both campuses weekly. Record issues, owners, and retest results. Allow another 1–2 weeks afterward to compile records, settle outstanding items, arrange final signatures, and hand over operations. |
This schedule takes about seven and a half months from contract start to final acceptance. It assumes fixes complete within two testing rounds and both campuses meet their cutover windows. If campus two misses its window, this example’s shared observation period and final acceptance shift too. Approval scheduling consumes calendar time. Preparing documents, answering reviewers, and rerunning tests also consume labor and must be counted separately.
How many person-days do both campuses need?
One person working for one day contributes one person-day. Suppose a joint test involves one person each from IT, the lab, the ordering system vendor, and the LIS vendor. Two days with four people is eight person-days. If the first round finds a corrected result still showing the old value, fixing it and retesting with the same people for two days makes 16 person-days over two rounds. That is integration testing at just one campus. The table estimates each activity on this basis and counts work shared across campuses only once. Staffing, days, and retest rounds are assumptions for this budget.
| Work and budgeting basis | Shared (person-days) | Campus 1 | Campus 2 |
|---|---|---|---|
| Confirm requirements, review access and security, sign acceptance cases. Four main participants each contribute 3–5 days in total. | 12–20 | — | — |
| Set up test environments and check patients, departments, tests, and sample orders. Three people each contribute 4–6 days at campus one and 3–4 days at campus two. | — | 12–18 | 9–12 |
| Conversion, automated tests, and fixes. Two technical staff each spend 8–12 days at campus one and 4–6 adapting differences at campus two. | — | 16–24 | 8–12 |
| Joint workflow testing and retesting. Two rounds per campus, four people for two days each round. | — | 16 | 16 |
| Training, cutover approval, rollback rehearsal, launch, and preliminary acceptance. Three main participants each contribute 3–4 days per campus. | — | 9–12 | 9–12 |
| Joint review of both campuses’ records during trial operation. Four sessions per month for four months, two people for half a day each time. | 16 | — | — |
| Compile final acceptance documents, sign, and hand over operations. Three people for 2–3 days each. | 6–9 | — | — |
| Subtotal | 34–45 | 53–70 | 42–52 |
The total is 129–167 person-days. What does that cost? To isolate direct personnel cost, assume a uniform RMB 300–400 per person-day. At the low end, 129 × 300 = RMB 38,700. At the high end, 167 × 400 = RMB 66,800. The combined estimate is RMB 38,700–66,800. For a procurement budget, use actual daily costs for hospital staff and contract quotes for vendors’ work. Itemize interface licensing, equipment, and long-term operations separately. If the vendor must be onsite throughout the four-month observation period, budget onsite coverage separately, subtracting review and support hours already counted. The weekly review allowance covers only agreed monitoring. Estimate major defect remediation separately based on the actual work.
I also asked how much AI-assisted coding could save. Developers could implement a sample set of conversions and automated tests, then replace the relevant estimates with recorded hours. Suppose both campuses together save four person-days net. At RMB 300–400 each, the personnel saving would be RMB 1,200–1,600. The hospital’s agreed four-month trial period remains. Faster development can bring final acceptance forward only if development would otherwise have delayed cutover.
For an extension to radiology, continue from the same budget. First have radiology and clinical users confirm two new deliverables: the report returns to the original order, and clicking it opens the correct images. If one round of imaging acceptance takes four people two days each, two rounds add 16 person-days. Estimate report mapping, viewer launch development, and new cutover windows separately. For hospital-level requirements already reviewed, add only the work affected by the scope change. This avoids charging the entire project initiation and acceptance cycle again for every department.
At pilot closeout, retain the samples both sides confirmed, mapping tables, exception records, and the people who signed acceptance. The next campus gets more than conversion code: it can identify each rule to reuse and each check that must be repeated.
Footnotes
-
吴坤. (2020, November 24). 全方位解读医疗信息集成平台系列之五:消息通信机制与数据交互模块设计. HIT专家网. v2.6 message in Message formats and transport protocols · Push model and processing feedback in Figure 3. ↩
-
InterSystems. (2019). 共推互联互通标准,加速 FHIR 本地化进程,InterSystems 携手合作伙伴共同助力北京友谊医院开展专项课题研究. InterSystems customer case study, Pages 2–3, value sets, four scenarios, and development testing. ↩
-
李崇铭、龚晨. (2024, August 7). 华润武钢总医院:集成平台为“四个一体化”打好基础. HIT专家网. Interview with Xu Zheng on cutover between the old and new HIS. ↩
-
呼和浩特市蒙医中医医院、呼和浩特市政府采购中心. (2024, July 26). 购买智慧医疗项目公开招标文件 (project 150101-HSZC-GK-20240064). Inner Mongolia government procurement portal. PDF page 103, throughput, exception, and queue monitoring for the integration message engine. ↩
-
广州公共资源交易中心. (2019, April 30). 广州市增城区人民医院信息系统软件建设采购项目招标文件(CZ2019-0454). Guangzhou Zengcheng District People’s Government. Page 106, §2.6 acceptance requirements. ↩