fix getSecurity

This commit is contained in:
Grahame Grieve 2020-02-13 21:19:04 +11:00
parent dcb1240e66
commit bd40310684
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@
* <code>null</code> if none
*/
public Coding getSecurity(String theSystem, String theCode) {
for (Coding next : getTag()) {
for (Coding next : getSecurity()) {
if (ca.uhn.fhir.util.ObjectUtil.equals(next.getSystem(), theSystem) && ca.uhn.fhir.util.ObjectUtil.equals(next.getCode(), theCode)) {
return next;
}