scandihealth / lpr3-docs

https://scandihealth.github.io/lpr3-docs/
MIT License
11 stars 7 forks source link

Main and minor condition observations = Aktionsdiagnose/Bidiagnose? #223

Closed metodikamikaelnilsson closed 5 years ago

metodikamikaelnilsson commented 5 years ago

Is a main condition observation an aktionsdiagnose and a minor condition observation a bidiagnose?

TueCN commented 5 years ago

Yes

metodikamikaelnilsson commented 5 years ago

Then why is the DK Minor Condition Observation example set to ALGA01 (aktionsdiagnose)?

<code codeSystemName="Sundhedsvæsenets Klassifikations System" codeSystem="1.2.208.176.2.4" displayName="aktionsdiagnose" code="ALGA01"/>

DK Minor Condition Observation

TueCN commented 5 years ago

In general, the examples on art-decor should have no XSD or SCHEMATRON validation errors if sent to the test service, but they are not guaranteed to not have any BUSINESS_RULE validation errors. See https://scandihealth.github.io/lpr3-docs/aspects/index.html#what-rules-apply-and-what-errors-can-be-reported-and-how

Using ALGA01 in a minor condition will likely result in a business rule validation error

metodikamikaelnilsson commented 5 years ago

So the example is incorrect?

TueCN commented 5 years ago

The example should be correct in the sense that it is a submission that can be registered in LPR. It should not generate any XSD or SCHEMATRON validation errors. (I have not actually tested the XML snippet)

But it will probably generate BUSINESS_RULE validation errors.

TueCN commented 5 years ago

@metodikamikaelnilsson I assume my answers to your questions were satisfactory. I am closing the issue, but feel free to reopen it if you have further questions on the topic