All Downloads are FREE. Search and download functionalities are using the official Maven repository.

redox.datamodel.common.Patient Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version

package redox.datamodel.common;

import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import redox.datamodel.common.Demographics;
import redox.datamodel.common.Identifier;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
        "Identifiers",
        "Demographics",
        "Notes"
})
public class Patient {

    @JsonProperty("Identifiers")
    private List identifiers = null;
    //optional
    @JsonProperty("Demographics")
    private Demographics demographics;
    @JsonProperty("Notes")
    private List notes = null;
    @JsonIgnore
    private Map additionalProperties = new HashMap();

    @JsonProperty("Identifiers")
    public List getIdentifiers() {
        return identifiers;
    }

    @JsonProperty("Identifiers")
    public void setIdentifiers(List identifiers) {
        this.identifiers = identifiers;
    }

    @JsonProperty("Demographics")
    public Demographics getDemographics() {
        return demographics;
    }

    @JsonProperty("Demographics")
    public void setDemographics(Demographics demographics) {
        this.demographics = demographics;
    }

    @JsonProperty("Notes")
    public List getNotes() {
        return notes;
    }

    @JsonProperty("Notes")
    public void setNotes(List notes) {
        this.notes = notes;
    }

    @JsonAnyGetter
    public Map getAdditionalProperties() {
        return this.additionalProperties;
    }

    @JsonAnySetter
    public void setAdditionalProperty(String name, Object value) {
        this.additionalProperties.put(name, value);
    }

}