Skip to content

Instantly share code, notes, and snippets.

@ryukzak
Created April 10, 2025 07:44
Show Gist options
  • Select an option

  • Save ryukzak/b6004a18700ebcee35a79a7817d17c55 to your computer and use it in GitHub Desktop.

Select an option

Save ryukzak/b6004a18700ebcee35a79a7817d17c55 to your computer and use it in GitHub Desktop.
// WARNING: This file is autogenerated by FHIR Schema Codegen.
// https://github.com/fhir-schema/fhir-schema-codegen
// Any manual changes made to this file may be overwritten.
import { Address } from './Address';
import { Attachment } from './Attachment';
import { BackboneElement } from './BackboneElement';
import { CodeableConcept } from './CodeableConcept';
import { ContactPoint } from './ContactPoint';
import { DomainResource } from './DomainResource';
import { HumanName } from './HumanName';
import { Identifier } from './Identifier';
import { Period } from './Period';
import { Reference } from './Reference';
export interface PatientLink extends BackboneElement {
other?: Reference<'Patient' | 'RelatedPerson'>;
type?: 'replaced-by' | 'replaces' | 'refer' | 'seealso';
}
export interface PatientCommunication extends BackboneElement {
language?: CodeableConcept;
preferred?: boolean;
}
export interface PatientContact extends BackboneElement {
address?: Address;
gender?: 'male' | 'female' | 'other' | 'unknown';
name?: HumanName;
organization?: Reference<'Organization'>;
period?: Period;
relationship?: CodeableConcept[];
telecom?: ContactPoint[];
}
export interface Patient extends DomainResource {
active?: boolean;
_active?: Element;
address?: Address[];
birthDate?: string;
_birthDate?: Element;
communication?: PatientCommunication[];
contact?: PatientContact[];
deceasedBoolean?: boolean;
_deceasedBoolean?: Element;
deceasedDateTime?: string;
_deceasedDateTime?: Element;
gender?: 'male' | 'female' | 'other' | 'unknown';
_gender?: Element;
generalPractitioner?: Reference<'Organization' | 'Practitioner' | 'PractitionerRole'>[];
identifier?: Identifier[];
link?: PatientLink[];
managingOrganization?: Reference<'Organization'>;
maritalStatus?: CodeableConcept;
multipleBirthBoolean?: boolean;
_multipleBirthBoolean?: Element;
multipleBirthInteger?: number;
_multipleBirthInteger?: Element;
name?: HumanName[];
photo?: Attachment[];
telecom?: ContactPoint[];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment