Skip to content

Commit a7d0433

Browse files
committed
dcm4che/dcm4chee-arc-light#37: IHE-ITI-20: Record Audit Event
1 parent 065c7a4 commit a7d0433

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dcm4che-audit/src/main/java/org/dcm4che3/audit/AuditMessages.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ public static ParticipantObjectIdentification createParticipantObjectIdentificat
680680
poi.setParticipantObjectDataLifeCycle(lifeCycle);
681681
poi.setParticipantObjectSensitivity(sensitivity);
682682
poi.setParticipantObjectDescription(description);
683-
poi.getParticipantObjectDescriptionType().add(descriptionType);
683+
poi.setParticipantObjectDescriptionType(descriptionType);
684684
for (ParticipantObjectDetail detail : details)
685685
poi.getParticipantObjectDetail().add(detail);
686686
return poi;

dcm4che-audit/src/main/rnc/audit-message.rnc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ ParticipantObjectIdentificationType =
132132
| element ParticipantObjectQuery { xsd:base64Binary })?,
133133
element ParticipantObjectDetail { TypeValuePairType }*,
134134
element ParticipantObjectDescription { xsd:string },
135-
element ParticipantObjectDescriptionType { ParticipantObjectDescriptionType }*,
135+
element ParticipantObjectDescriptionType { ParticipantObjectDescriptionType },
136136
attribute ParticipantObjectID { xsd:string },
137137
attribute ParticipantObjectTypeCode {
138138
## Person

dcm4che-audit/src/main/xsd/audit-message.xsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@
221221
</xs:choice>
222222
<xs:element minOccurs="0" maxOccurs="unbounded" ref="ParticipantObjectDetail"/>
223223
<xs:element ref="ParticipantObjectDescription"/>
224-
<xs:element minOccurs="0" maxOccurs="unbounded" ref="ParticipantObjectDescriptionType"/>
224+
<xs:element ref="ParticipantObjectDescriptionType"/>
225225
</xs:sequence>
226226
<xs:attribute name="ParticipantObjectID" use="required" type="xs:string"/>
227227
<xs:attribute name="ParticipantObjectTypeCode">

0 commit comments

Comments
 (0)