Closed dvribeira closed 8 months ago
@dvribeira I am not sure, if I understand the use case correct. Could you maybe make an example (e.g. use case description) how it would work for the existing use case https://fhir.ch/ig/ch-emed/usecase-german.html?
@ziegm Absolutely:
Doc type | Operation | Document identifier | Entries |
---|---|---|---|
MTP | Export | c9f758a1-296c-4710-84d4-e181db8c7478 | MedicationStatement Triatec |
DIS | Export | 488bd23a-20c6-11e6-b67b-9e71128cae77 | MedicationDispense Triatec |
Doc type | Operation | Document identifier | Entries | Entry meta.source? |
---|---|---|---|---|
PMLC | Import | 17931678-20b4-11e6-b67b-9e71128cae77 | MedicationStatement Triatec | 488bd23a-20c6-11e6-b67b-9e71128cae77 |
PADV | Export | 8ed02d0a-2971-11e6-b67b-9e71128cae77 | Observation CANCEL | N/A |
MTP | Export | 17931678-20b4-11e6-b67b-9e71128cca77 | MedicationStatement Beloc Zok | N/A |
DIS | Export | d8143fea-4778-11e6-beb8-9e71128cae77 | MedicationDispense Beloc Zok | N/A |
MTP | Export | 5712fffe-20c6-11e6-b67b-9e71128cae77 | MedicationStatement Norvasc | N/A |
PRE | Export | d41d72ba-2100-11e6-b67b-9e71128cae77 | MedicationRequest Norvasc | N/A |
Doc type | Operation | Document identifier | Entries | Entry meta.source? |
---|---|---|---|---|
PMLC | Import | 6b6ed376-a7da-44cb-92d1-e75ce1ae73b0 | --- | --- |
---------- | ----------- | ------------------- | MedicationStatement Beloc Zok | d8143fea-4778-11e6-beb8-9e71128cae77 |
---------- | ----------- | ------------------- | MedicationStatement Norvasc | d41d72ba-2100-11e6-b67b-9e71128cae77 |
Since the IPAG use case does not really showcase the issue under discussion in which different systems work on the same treatment plan, I am providing the following sequence:
Doc type | Operation | Document identifier | Entries |
---|---|---|---|
MTP | Export | c9f758a1-296c-4710-84d4-e181db8c7478 | MedicationStatement Triatec |
DIS | Export | 488bd23a-20c6-11e6-b67b-9e71128cae77 | MedicationDispense Triatec |
MTP | Export | 17931678-20b4-11e6-b67b-9e71128cca77 | MedicationStatement Dafalgan |
The hospital system stores, among other information, the id of the last document/intervention they have done per treatment, that is the Triatec's DIS id and the Dafalgan's MTP id.
Doc type | Operation | Document identifier | Entries | Entry meta.source? |
---|---|---|---|---|
PMLC | Import | 6b6ed376-a7da-44cb-92d1-e75ce1ae73b0 | --- | --- |
---------- | ----------- | ------------------- | MedicationStatement Triatec | 488bd23a-20c6-11e6-b67b-9e71128cae77 |
---------- | ----------- | ------------------- | MedicationStatement Dafalgan | 17931678-20b4-11e6-b67b-9e71128cca77 |
The hospital system knows there have been no changes performed on these treatments since the last to touch ids match the ones stored by itself. No changes on the patient's treatments are performed at this time.
Doc type | Operation | Document identifier | Entries | Entry meta.source? |
---|---|---|---|---|
PMLC | Import | 6b6ed376-a7da-44cb-92d1-e75ce1ae73b0 | --- | --- |
---------- | ----------- | ------------------- | MedicationStatement Triatec | 488bd23a-20c6-11e6-b67b-9e71128cae77 |
---------- | ----------- | ------------------- | MedicationStatement Dafalgan | 17931678-20b4-11e6-b67b-9e71128cca77 |
PADV | Export | d41d72ba-2100-11e6-b67b-9e71128cae77 | Observation (CHANGE) Dafalgan | N/A |
Doc type | Operation | Document identifier | Entries | Entry meta.source? |
---|---|---|---|---|
PMLC | Import | 6b6ed376-a7da-44cb-92d1-e75ce1ae73b0 | --- | --- |
---------- | ----------- | ------------------- | MedicationStatement Triatec | 488bd23a-20c6-11e6-b67b-9e71128cae77 |
---------- | ----------- | ------------------- | MedicationStatement Dafalgan | d41d72ba-2100-11e6-b67b-9e71128cae77 |
The hospital system detects that the last to touch id for the dafalgan treatment does not match the stored one so it will offer the healthcare professional to import the new data (or perform it automatically and display some graphical indicator of this).
I hope this helps a bit to understand one of the use cases in which this information might come handy or might be needed. In our case this seems to be needed by the HUG to reliably integrate their software within our eMedication service. I have used meta.source to illustrate the use cases but as said could be an extension or any other solution.
21.03.2024 Telco PJ, DV, QL, MZ, AB
Var 1:
Var 2:
@pjolo @dvribeira please review the changes:
@ziegm The changes are good for me, thanks! :)
The changes are also good for me
Within the frame of CARA's eMedication project, we have encountered that one of the systems is basing their synchronization with the eMedication on reading PMLC documents. On this regard, some mechanism to know whether a treatment [instance] has been touched (either changed, commented or any other action) would be needed or at least very nice to have: https://github.com/CARA-ch/ch-emed-epr/issues/62
We thought of adding a reference containing the last document to have touched the treatment instance to be enough for this purpose and we saw in principle two ways of doing this:
treatmentplan
andprescription
extensions) to contain the references to the last document/entry to have touched the treatment instance.meta.source
to containg the id of the last document to have touched the treatment instance.The very idea of just using the id of the last document to have touched a treatment for this purpose is also not without cons:
In principle, at HUG we are inclined towards the
meta.source
solution but we would also like to consider any other feedback other people might want to provide on this issue.