MSC4302: Exchanging FHIR resources via Matrix events#4302
MSC4302: Exchanging FHIR resources via Matrix events#4302Johennes wants to merge 23 commits intomatrix-org:mainfrom
Conversation
Signed-off-by: Johannes Marbach <[email protected]>
76f53cc to
2c81e3f
Compare
There was a problem hiding this comment.
Implementation requirements:
- Demonstration of use
… convey the motivation
Signed-off-by: Johannes Marbach <[email protected]>
Signed-off-by: Johannes Marbach <[email protected]>
Signed-off-by: Johannes Marbach <[email protected]>
Signed-off-by: Johannes Marbach <[email protected]>
Signed-off-by: Johannes Marbach <[email protected]>
Signed-off-by: Johannes Marbach <[email protected]>
Signed-off-by: Johannes Marbach <[email protected]>
Signed-off-by: Johannes Marbach <[email protected]>
8a5bbb4 to
1d3004c
Compare
Signed-off-by: Johannes Marbach <[email protected]>
…the structure definition Signed-off-by: Johannes Marbach <[email protected]>
Signed-off-by: Johannes Marbach <[email protected]>
|
I am not sure, if it is a good idea to introduce a deep coupling to a specialized feature into a public standard. I know that there are also other use cases where custom room events are used (for instance in German BOS communication systems). If they would also contribute their custom types, wouldn't it dilute the matrix standard too much in future? This MSC would conflict with the generalization (matrix)/ specialization (fhir) concept of the specification. |
|
When describing the alternative the risk of “leaking metadata to the home server” is being mentioned. How does the proposed solution mitigate that risk? |
| [RFC 2045] allows MIME types to include modifying parameters. The contents of | ||
| `m.fhir.structure_definition` could, therefore, be included alongside the media type[^1]. | ||
|
|
||
| ``` http | ||
| Content-type: application/fhir+json; url="https://gematik.de/fhir/isik/StructureDefinition/ISiKFormularDefinition"; ... | ||
| ``` | ||
|
|
||
| This would allow reusing the `m.file` message type but leaks metadata to the home server in | ||
| [`POST /_matrix/media/v3/upload`]. |
There was a problem hiding this comment.
(Copying the comment here because we're encouraged to keep discussions in threads on the diff so that they can more easily be split-tracked.)
When describing the alternative the risk of “leaking metadata to the home server” is being mentioned.
How does the proposed solution mitigate that risk?
There was a problem hiding this comment.
The proposed solution encapsulates all information related to the FHIR resource in a room event. In encrypted rooms, this event will be end-to-end encrypted. So unless the event is used in public rooms, there should be no additional metadata leakage introduced by this proposal.
There was a problem hiding this comment.
(Copying the comment here because we're encouraged to keep discussions in threads on the diff so that they can more easily be split-tracked.)
I am not sure, if it is a good idea to introduce a deep coupling to a specialized feature into a public standard. I know that there are also other use cases where custom room events are used (for instance in German BOS communication systems). If they would also contribute their custom types, wouldn't it dilute the matrix standard too much in future?
This MSC would conflict with the generalization (matrix)/ specialization (fhir) concept of the specification.
It's a fair question whether or not the use case is large enough to warrant inclusion into Matrix.
That being said, I don't think this proposal introduces a "deep coupling" between Matrix and FHIR. It's already possible to exchange FHIR via Matrix today. All this proposal does is add a handful of metadata properties to facility that. This doesn't feel much different from how URL previews include properties from the Open Graph standard just that Open Graph is probably more widely known.
added textual fallback and optional alternative file representation of the fhir content.
Signed-off-by: Johannes Marbach <[email protected]>
Signed-off-by: Johannes Marbach <[email protected]>
Signed-off-by: Johannes Marbach <[email protected]>
Rendered