001/*-
002 * #%L
003 * Smile CDR - CDR
004 * %%
005 * Copyright (C) 2016 - 2025 Smile CDR, Inc.
006 * %%
007 * All rights reserved.
008 * #L%
009 */
010package ca.cdr.api.priorauth;
011
012import ca.cdr.api.model.json.AbstractModelJson;
013import com.fasterxml.jackson.annotation.JsonProperty;
014import io.swagger.v3.oas.annotations.media.Schema;
015import jakarta.annotation.Nonnull;
016import org.apache.commons.lang3.StringUtils;
017
018@Schema(name = "PriorAuthCrdContext", description = "Prior Auth CRD Context")
019public class PriorAuthCrdContextJson extends AbstractModelJson {
020
021        @Schema(description = "Patient ID for the payer system in context.")
022        @JsonProperty("payerPatientId")
023        private String myPayerPatientId;
024
025        public String getPayerPatientId() {
026                return myPayerPatientId;
027        }
028
029        public void setPayerPatientId(@Nonnull String thePayerPatientId) {
030                myPayerPatientId = thePayerPatientId;
031        }
032
033        public boolean hasPayerPatientId() {
034                return StringUtils.isNotBlank(myPayerPatientId);
035        }
036}