001package org.hl7.fhir.r5.utils.validation.constants; 002 003public enum ContainedReferenceValidationPolicy { 004 IGNORE, 005 CHECK_TYPE, 006 CHECK_VALID; 007 008 public boolean ignore() { 009 return this == IGNORE; 010 } 011 012 public boolean checkType() { 013 return this == CHECK_TYPE || this == CHECK_VALID; 014 } 015 016 public boolean checkValid() { 017 return this == CHECK_VALID; 018 } 019}