Skip to content

Commit 3009b49

Browse files
authored
RESTWS-1001: Orders: make "fulfillerStatus" and "fulfillerComments" creatable (#681)
1 parent 65fd044 commit 3009b49

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

omod/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs2_2/OrderResource2_2.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,13 @@ public DelegatingResourceDescription getRepresentationDescription(Representation
3333
}
3434
return delegatingResourceDescription;
3535
}
36-
36+
37+
@Override
38+
public DelegatingResourceDescription getCreatableProperties() {
39+
DelegatingResourceDescription d = super.getCreatableProperties();
40+
d.addProperty("fulfillerStatus");
41+
d.addProperty("fulfillerComment");
42+
return d;
43+
}
44+
3745
}

0 commit comments

Comments
 (0)