Careplan - planned procedure Validation error [message #1803392] |
Wed, 27 February 2019 14:37  |
Eclipse User |
|
|
|
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 15:37] by Moderator
|
|
|
|
Re: Careplan - planned procedure Validation error [message #1803395 is a reply to message #1803392] |
Wed, 27 February 2019 17:17  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.05161 seconds