It might appear the same but it should be different.
The normal delete is just a logical delete - it creates a new revision of the composition with it’s lifecycle set to 523 deleted.
All of the original versions should still be there but normal querying will not find them.
If you run the Get Versioned History API call, you should be able to see them
(Better and , I think Ocean) support a CONTAINS VERSION v[all_versions] in AQL that also helps
openEHR REST API Get Versioned History
https://{baseUrl}/v1/ehr/{ehr_id}/versioned_composition/{versioned_object_uid}/version
{
"_type": "ORIGINAL_VERSION",
"contribution": {
"_type": "OBJECT_REF",
"id": {
"_type": "OBJECT_VERSION_ID",
"value": "6dad76a4-bd4c-4669-b5d1-ae609a91c3cc"
},
"namespace": "11ed4f4e-6a7f-4849-a03c-2c41333a15ec",
"type": "CONTRIBUTION"
},
"commit_audit": {
"_type": "AUDIT_DETAILS",
"system_id": "11ed4f4e-6a7f-4849-a03c-2c41333a15ec",
"committer": {
"_type": "PARTY_IDENTIFIED",
"name": "11ed4f4e-6a7f-4849-a03c-2c41333a15ec"
},
"time_committed": {
"_type": "DV_DATE_TIME",
"value": "2024-02-20T00:37:11.592Z"
},
"change_type": {
"_type": "DV_CODED_TEXT",
"value": "deleted",
"defining_code": {
"_type": "CODE_PHRASE",
"terminology_id": {
"_type": "TERMINOLOGY_ID",
"value": "openehr"
},
"code_string": "523"
}
}
},
"uid": {
"_type": "OBJECT_VERSION_ID",
"value": "18c0556a-7902-4206-b1d2-024d83700b5c::11ed4f4e-6a7f-4849-a03c-2c41333a15ec::2"
},
"preceding_version_uid": {
"_type": "OBJECT_VERSION_ID",
"value": "18c0556a-7902-4206-b1d2-024d83700b5c::11ed4f4e-6a7f-4849-a03c-2c41333a15ec::1"
},
"lifecycle_state": {
"_type": "DV_CODED_TEXT",
"value": "deleted",
"defining_code": {
"_type": "CODE_PHRASE",
"terminology_id": {
"_type": "TERMINOLOGY_ID",
"value": "openehr"
},
"code_string": "523"
}
}
}
OTOH if you have used the Admin DELETE, the entire version history should have been deleted, and you will get nothing back.