Skip to main content

Overview

Patient type represents demographic and identification information. The code snippet below shows how to use the Patient type to create a patient object.
JavaScript
type Patient = {
  identifier: string;
  kind?: string;
  name: {
    use: string;
    family: string;
    given: string[];
    suffix: string[];
  };
  birthDate: string;
  gender: "MALE" | "FEMALE" | "UNKNOWN";
};

Properties