简体   繁体   中英

NHAPI 2.5.1 VXU missing RXA segment

It appears that NHAPI VXU_V04 (Unsolicited Vaccination Record Update) class is missing support for the RXA segment (Pharmacy/Treatment Administration) for 2.5.1 version of HL7.

Am I somehow choosing the wrong class for VXU?

VXU_V04 vxu = new VXU_V04();
vxu.MSH - works
vxu.PID - works
no vxu.RXA???

Gina

It looks like you have to add an Order first. Then on the Order you can add the RXA segment.

        VXU_V04 vxu = new VXU_V04();
        var order = vxu.AddORDER();
        var rxa = order.RXA;
        rxa.AdministeredAmount.Value = "xxx";

Geez NHapi is a tough act to figure out. I would pay for a reasonable commercial library. ;)

Gina

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM