Closed f-peverali closed 7 months ago
@f-peverali: ich habe gerade kurz drüber geschaut und jetzt auf die schnelle keine Abweichung zum IG gesehen.
nochmal automatisiert prüfen (codfsh, Referenzvalidator) für beide Stufe 2 und 3. FYI wie eben besprochen @alexey-tschudnowsky , @f.busch ... ggf. auch für dich als Hintergrund relevant @MaxMTheilig
Sichtprüfung und Prüfung mittels Referenzvalidator ergab keinen Fehler. Rückfrage wird gestellt.
Ggf. muss Bundle-Example aus Basis (3) in die Entsprechende IG-Passage (Bericht-Subsystem)?
The MedicationStatement resource only has Patient reference. The bundle does not have the Patient resource. the details of which are required for Patient matching
@vivekr2001 do you have an Error-Message from a validation process? From the mere perspective of the Spcification's status quo I do not see the necessity to provide the Patient as an own Entry within the bundle. If you have good reasons to think it should be a requirement, then the problem would be the Spec itself and not the example ...
The IG says Patient "shall" be part of the bundle and Shall in FHIR terminology is must. Please correct me if my interpretation is wrong
This SHALL only means that you must support creating a Patient resource via the transaction. However the client decides which resources to include in the transaction. It doesn’t not have any influence on the cardinality of resources within the transaction.
Additionally, the requirement to do a match on the patient reference only exists for Document bundles, not transaction bundles.
@f-peverali I can see the confusion here. We should add a note about this in the base IG.
That's because in a FHIR CababilityStatement are "interaction" (mean which of transaction | batch | search-system | history-system operations are supportet) and which ressource (and which interaction per ressource are supportet) are two different things.
The first SHALL only says, that the Server has to support transactional (whatever) instead of batch* for example).
Which type of Ressource with wich Request you can write in your Transaction Bundle is defined within the Ressource interactions. For the Patient Ressource-type a server only needs to support Read and Search, so in this case a server don't need to support any writing-operations on this ressource. In the real world it would be bad, if with a e.g. a MedicationAdministration also a Create or Update for a Patient-Ressource is includet. Those Systems are typically not allowed to change a Patient - as it is a transaction Bundle failing this request will make the whole transaction fail.
@f-peverali: i also see a need for some more information
we clarified this in the Basismodul as 'only for document bundles' and therefore, the above mentioned example is still correct. clarification added https://github.com/gematik/spec-ISiK-Medikation/commit/300557d6166ca9d9acf717fe22837c50b90b2bf9
Das Beispiel prüfen und ggf. Anpassen.
Anfrage: " The samples here https://github.com/gematik/spec-ISiK-Medikation/blob/main-stufe-3/Resources/fsh-generated/resources/Bundle-ExampleISiKMedikationTransaction.json dont conform with the IG" https://chat.fhir.org/#narrow/stream/287581-german.2Fisik/topic/MedicationAdministration.20use.20cases