From cff35d7147ae466419cc09c3f389ef53c0a2968a Mon Sep 17 00:00:00 2001
From: Eline Brader <73945320+EBrader@users.noreply.github.com>
Date: Fri, 13 Dec 2024 10:06:58 +0100
Subject: [PATCH] Include constructor EVALUATION.class without the new
'time_asserted' for backwards compatibility (#645)
---
.../java/com/nedap/archie/rm/composition/Evaluation.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/openehr-rm/src/main/java/com/nedap/archie/rm/composition/Evaluation.java b/openehr-rm/src/main/java/com/nedap/archie/rm/composition/Evaluation.java
index d0bcc1c2c..195ccaa0e 100644
--- a/openehr-rm/src/main/java/com/nedap/archie/rm/composition/Evaluation.java
+++ b/openehr-rm/src/main/java/com/nedap/archie/rm/composition/Evaluation.java
@@ -38,6 +38,11 @@ public class Evaluation extends CareEntry {
public Evaluation() {
}
+ public Evaluation(@Nullable UIDBasedId uid, String archetypeNodeId, DvText name, @Nullable Archetyped archetypeDetails, @Nullable FeederAudit feederAudit, @Nullable List links, @Nullable Pathable parent, @Nullable String parentAttributeName, CodePhrase language, CodePhrase encoding, PartyProxy subject, @Nullable PartyProxy provider, @Nullable ObjectRef extends ObjectId> workflowId, @Nullable List otherParticipations, @Nullable ItemStructure protocol, @Nullable ObjectRef extends ObjectId> guidelineId, ItemStructure data) {
+ super(uid, archetypeNodeId, name, archetypeDetails, feederAudit, links, parent, parentAttributeName, language, encoding, subject, provider, workflowId, otherParticipations, protocol, guidelineId);
+ this.data = data;
+ }
+
public Evaluation(@Nullable UIDBasedId uid, String archetypeNodeId, DvText name, @Nullable Archetyped archetypeDetails, @Nullable FeederAudit feederAudit, @Nullable List links, @Nullable Pathable parent, @Nullable String parentAttributeName, CodePhrase language, CodePhrase encoding, PartyProxy subject, @Nullable PartyProxy provider, @Nullable ObjectRef extends ObjectId> workflowId, @Nullable List otherParticipations, @Nullable ItemStructure protocol, @Nullable ObjectRef extends ObjectId> guidelineId, @Nullable DvDateTime timeAsserted, ItemStructure data) {
super(uid, archetypeNodeId, name, archetypeDetails, feederAudit, links, parent, parentAttributeName, language, encoding, subject, provider, workflowId, otherParticipations, protocol, guidelineId);
this.timeAsserted = timeAsserted;