pablo.pazos
05/16/2025, 9:41 PMit.registerObjectMarshaller(AuditDetails) { audit ->
def a = [
system_id: audit.systemId,
committer: audit.committer, // PartyProxy
time_committed: {
value: audit.timeCommitted
}
]
if (audit.changeType) a << [changeType: audit.changeType.toString()] // TODO: transform to coded text
return a
}
that printed EVERYTHING out!
"time_committed": {
"audit": {
"_ref": "../..",
"class": "com.cabolabs.ehrserver.openehr.common.generic.AuditDetails$HibernateProxy$quMc648M"
},
"delegate": {
"delegate": {
"delegate": {
"PS": "/",
"configurationService": {
"applicationContext": {
"active": true,
"applicationListeners": [ ....