Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Model Driven Health Tools » Exception in Medical Equipment section(Adding product to suppy)
Exception in Medical Equipment section [message #1766103] Thu, 15 June 2017 17:47 Go to next message
Larry Kline is currently offline Larry KlineFriend
Messages: 13
Registered: April 2017
Junior Member
I get this exception:
ERROR [AbstractSectionBuilder:build(79)] - java.lang.UnsupportedOperationException: Unrecognized variable: (participant)
java.lang.UnsupportedOperationException: Unrecognized variable: (participant)
	at org.eclipse.mdht.uml.cda.operations.ClinicalStatementOperations.getParticipantRoles(ClinicalStatementOperations.java:872)
	at org.eclipse.mdht.uml.cda.impl.ClinicalStatementImpl.getParticipantRoles(ClinicalStatementImpl.java:365)
	at com.mscs.emr.ejb.ccd.mdht.MedicalEquipmentSectionBuilder.createSupplyActivity(MedicalEquipmentSectionBuilder.java:48)


when I try to do this:

NonMedicinalSupplyActivity supplyAct = consolFactory.createNonMedicinalSupplyActivity2().init();
ProductInstance product = consolFactory.createProductInstance().init();
supplyAct.getParticipantRoles().add(product);



I'm doing this in the Medical Equipment section.
Re: Exception in Medical Equipment section [message #1766105 is a reply to message #1766103] Thu, 15 June 2017 18:07 Go to previous message
Larry Kline is currently offline Larry KlineFriend
Messages: 13
Registered: April 2017
Junior Member
I did this instead and it works:

            ProductInstance product = consolFactory.createProductInstance().init();
            Participant2 participant = cdaFactory.createParticipant2();
            participant.setParticipantRole(product);
            supplyAct.getParticipants().add(participant);
Previous Topic:ContinuityOfCareDocument2
Next Topic:Initialization issues
Goto Forum:
  


Current Time: Sat Nov 17 04:12:46 GMT 2018

Powered by FUDForum. Page generated in 0.02784 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top