As far as I know EHRbase doesn’t have the selfComposition placeholder support. However, following the discussion in REST API for creating compositions with id, we changed so EHRbase respects the provided composition uid during create, so this should allow you to reference the same id somewhere else in the composition. This works regardless of the format you use, JSON, FLAT.
vidi42
(Alex Vidrean)
5
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Could the specs group consider making uid mandatory? | 20 | 38 | 20 December 2016 | |
| REST API for creating compositions with id | 52 | 1420 | 24 March 2023 | |
| FLAT Contributions | 10 | 155 | 28 April 2026 | |
| Return=minimal - 204 no-content is confusing | 18 | 2700 | 26 March 2021 | |
| Cross-reference, citations and a solution for managed lists | 24 | 1745 | 12 February 2024 | |
| Inconsistency in REST API Create EHR implementations -needs spec clarification? | 27 | 895 | 9 October 2024 | |
| CONTRIBUTION `UPDATE_AUDIT.change_type` in REST API vs vendor implementations | 17 | 122 | 14 June 2026 | |
| Duplicate check during composition upload | 9 | 703 | 28 April 2023 | |
| Linking multiple compositions with a "compound composition" | 14 | 381 | 10 April 2025 | |
| Missing fields in uploaded composition | 4 | 1001 | 16 August 2022 |