Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Model Driven Health Tools » Careplan - planned procedure Validation error
Careplan - planned procedure Validation error [message #1803392] Wed, 27 February 2019 19:37 Go to next message
Kalyan Dasika is currently offline Kalyan DasikaFriend
Messages: 7
Registered: August 2017
Junior Member
Hi,

While building the care plan CDA document, in the planned interventions section when I put a planned procedure I get the following validation error.

java.lang.AssertionError: Validation failed.
Consol Planned Procedure2 MAY contain zero or more [0..*] targetSiteCode, which SHALL be selected from ValueSet Body Site 2.16.840.1.113883.3.88.12.3221.8.9 DYNAMIC (CONF:1098-31981)

According to the implementation guide, this is a "MAY contain", so I wouldn't hav expected the validation to fail.

Any ideas?

Thanks,
Kalyan

[Updated on: Wed, 27 February 2019 20:37]

Report message to a moderator

Re: Careplan - planned procedure Validation error [message #1803393 is a reply to message #1803392] Wed, 27 February 2019 19:41 Go to previous messageGo to next message
Kalyan Dasika is currently offline Kalyan DasikaFriend
Messages: 7
Registered: August 2017
Junior Member
I think I found the answer, I had to clear the taretSitecode collection, looks like it got initialized in this call createPlannedProcedure2().init()
Re: Careplan - planned procedure Validation error [message #1803395 is a reply to message #1803392] Wed, 27 February 2019 22:17 Go to previous message
Dan Brown is currently offline Dan BrownFriend
Messages: 21
Registered: December 2015
Junior Member
The first half is MAY, 2nd is SHALL. So, you don' t need to include a targetSiteCode, but if you do, it the latter rule is enforced. and the entire string is returned in the message. Yes, the init() likely set it up for you but without a code set (just the targetSiteCode element) which led to the conformance error.

Thanks,
Dan
Previous Topic:how to install MDHT in eclipse
Next Topic:How do you parse the text using content Id?
Goto Forum:
  


Current Time: Sat Dec 21 16:24:07 GMT 2024

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

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

Back to the top