Hi Rostock,
1. If ENCNTR_TYPE_CLASS_CD is 0.0 then it will be considered as an invalid encounter by concept service team. And they also mentioned if we update the encounter in "add/modify encounter" section with proper encounter type(InPatient/OutPatient) then both ENCNTR_TYPE_CD,ENCNTR_TYPE_CLASS_CD will get updated to some appropriate values in the database and then we can expect 200 response from them.
2. For the concept service api request for any patient, fetches all the encounter(s) data (in a batch of 10 if no encounter count passed in request parameters). For ex say out of 10 if one encounter has missing encntr_type_class_cd it will skip such records, logs them as invalid encounter and continue to fetch others.After all valid encounters are retrieved, a validation check is performed on these encounters.Check if all encounters data are received (in our example it is 10 encounters data requested but received back data for only 9 encounters, as one was invalid).
If there's a mismatch on the requested encounters number vs the valid encounters number retrieved, they are throwing a HttpException 404.
There is an ongoing ticket logged for this issue, discussions are going on to remove this check and just send all the valid encounters related to that patient but they didn't come to any conclusion yet.
Thank You,
Sukesh Konjeti(Oracle Cerner)