
001package org.hl7.fhir.r5.utils.validation; 002 003import org.hl7.fhir.utilities.MarkedToMoveToAdjunctPackage; 004 005import com.fasterxml.jackson.annotation.JsonProperty; 006import com.google.gson.annotations.SerializedName; 007 008@MarkedToMoveToAdjunctPackage 009public class BundleValidationRule { 010 @JsonProperty("rule") 011 @SerializedName("rule") 012 private 013 String rule; 014 015 @JsonProperty("profile") 016 @SerializedName("profile") 017 private 018 String profile; 019 private boolean checked; 020 021 @SerializedName("rule") 022 @JsonProperty("rule") 023 public String getRule() { 024 return rule; 025 } 026 027 @SerializedName("rule") 028 @JsonProperty("rule") 029 public BundleValidationRule setRule(String rule) { 030 this.rule = rule; 031 return this; 032 } 033 034 @SerializedName("profile") 035 @JsonProperty("profile") 036 public String getProfile() { 037 return profile; 038 } 039 040 @SerializedName("profile") 041 @JsonProperty("profile") 042 public BundleValidationRule setProfile(String profile) { 043 this.profile = profile; 044 return this; 045 } 046 047 public boolean isChecked() { 048 return checked; 049 } 050 051 public void setChecked(boolean checked) { 052 this.checked = checked; 053 } 054}