001/*-
002 * #%L
003 * Smile CDR - CDR
004 * %%
005 * Copyright (C) 2016 - 2026 Smile CDR, Inc.
006 * %%
007 * All rights reserved.
008 * #L%
009 */
010package ca.cdr.api.model.json;
011
012import ca.uhn.fhir.model.api.IModelJson;
013import com.fasterxml.jackson.annotation.JsonProperty;
014import io.swagger.v3.oas.annotations.media.Schema;
015
016@Schema(name = "Coding", description = "Represents a coded value using a specific system")
017public class CodingJson implements IModelJson {
018
019        @Schema(description = "The code")
020        @JsonProperty("code")
021        private String myCode;
022
023        @Schema(description = "The system")
024        @JsonProperty("system")
025        private String mySystem;
026
027        public String getCode() {
028                return myCode;
029        }
030
031        public String getSystem() {
032                return mySystem;
033        }
034
035        public void setCode(String theCode) {
036                myCode = theCode;
037        }
038
039        public void setSystem(String theSystem) {
040                mySystem = theSystem;
041        }
042}