# FHIR GraphQL Schema. Version 6.0.0-ballot3 # import * from 'types.graphql' interface IPatient implements IDomainResource & IResource & IBase { id: ID meta: Meta implicitRules: uri _implicitRules: ElementBase language: code _language: ElementBase text: Narrative contained: [Resource] extension: [Extension] modifierExtension: [Extension] identifier: [Identifier] active: Boolean _active: ElementBase name: [HumanName] telecom: [ContactPoint] gender: code _gender: ElementBase birthDate: date _birthDate: ElementBase deceasedBoolean: Boolean _deceasedBoolean: ElementBase deceasedDateTime: dateTime _deceasedDateTime: ElementBase address: [Address] maritalStatus: CodeableConcept multipleBirthBoolean: Boolean _multipleBirthBoolean: ElementBase multipleBirthInteger: Int _multipleBirthInteger: ElementBase photo: [Attachment] contact: [PatientContact] communication: [PatientCommunication] generalPractitioner: [Reference] managingOrganization: Reference link: [PatientLink] } type Patient implements IDomainResource & IResource & IBase { id: ID meta: Meta implicitRules: uri _implicitRules: ElementBase language: code _language: ElementBase text: Narrative contained: [Resource] extension: [Extension] modifierExtension: [Extension] identifier: [Identifier] active: Boolean _active: ElementBase name: [HumanName] telecom: [ContactPoint] gender: code _gender: ElementBase birthDate: date _birthDate: ElementBase deceasedBoolean: Boolean _deceasedBoolean: ElementBase deceasedDateTime: dateTime _deceasedDateTime: ElementBase address: [Address] maritalStatus: CodeableConcept multipleBirthBoolean: Boolean _multipleBirthBoolean: ElementBase multipleBirthInteger: Int _multipleBirthInteger: ElementBase photo: [Attachment] contact: [PatientContact] communication: [PatientCommunication] generalPractitioner: [Reference] managingOrganization: Reference link: [PatientLink] } type PatientContact { id: String extension: [Extension] modifierExtension: [Extension] relationship: [CodeableConcept] role: [CodeableConcept] name: HumanName additionalName: [HumanName] telecom: [ContactPoint] address: Address additionalAddress: [Address] gender: code _gender: ElementBase organization: Reference period: Period } type PatientCommunication { id: String extension: [Extension] modifierExtension: [Extension] language: CodeableConcept! preferred: Boolean _preferred: ElementBase } type PatientLink { id: String extension: [Extension] modifierExtension: [Extension] other: Reference! type: code _type: ElementBase } input PatientInput { id: ID meta: MetaInput implicitRules: uri _implicitRules: ElementBaseInput language: code _language: ElementBaseInput text: NarrativeInput contained: [ResourceInput] extension: [ExtensionInput] modifierExtension: [ExtensionInput] identifier: [IdentifierInput] active: Boolean _active: ElementBaseInput name: [HumanNameInput] telecom: [ContactPointInput] gender: code _gender: ElementBaseInput birthDate: date _birthDate: ElementBaseInput deceasedBoolean: Boolean _deceasedBoolean: ElementBaseInput deceasedDateTime: dateTime _deceasedDateTime: ElementBaseInput address: [AddressInput] maritalStatus: CodeableConceptInput multipleBirthBoolean: Boolean _multipleBirthBoolean: ElementBaseInput multipleBirthInteger: Int _multipleBirthInteger: ElementBaseInput photo: [AttachmentInput] contact: [PatientContactInputInput] communication: [PatientCommunicationInputInput] generalPractitioner: [ReferenceInput] managingOrganization: ReferenceInput link: [PatientLinkInputInput] } input PatientContactInputInput { id: String extension: [ExtensionInput] modifierExtension: [ExtensionInput] relationship: [CodeableConceptInput] role: [CodeableConceptInput] name: HumanNameInput additionalName: [HumanNameInput] telecom: [ContactPointInput] address: AddressInput additionalAddress: [AddressInput] gender: code _gender: ElementBaseInput organization: ReferenceInput period: PeriodInput } input PatientCommunicationInputInput { id: String extension: [ExtensionInput] modifierExtension: [ExtensionInput] language: CodeableConceptInput! preferred: Boolean _preferred: ElementBaseInput } input PatientLinkInputInput { id: String extension: [ExtensionInput] modifierExtension: [ExtensionInput] other: ReferenceInput! type: code _type: ElementBaseInput } type PatientReadType { Patient(id: ID!): Patient } type PatientListType { PatientList(_filter: String active: [token] address: [String] address_city: [String] address_country: [String] address_postalcode: [String] address_state: [String] address_use: [token] birthdate: [date] death_date: [date] deceased: [token] email: [token] family: [String] gender: [token] general_practitioner: [reference] given: [String] identifier: [token] language: [token] link: [reference] name: [String] organization: [reference] phone: [token] phonetic: [String] telecom: [token] _text: [special] _content: [special] _filter: [special] _has: [special] _id: [token] _in: [reference] _language: [token] _lastUpdated: [date] _list: [special] _profile: [reference] _query: [special] _security: [token] _source: [uri] _tag: [token] _type: [special] _sort: String _count: Int _cursor: String): [Patient] } type PatientConnectionType { PatientConection(_filter: String active: [token] address: [String] address_city: [String] address_country: [String] address_postalcode: [String] address_state: [String] address_use: [token] birthdate: [date] death_date: [date] deceased: [token] email: [token] family: [String] gender: [token] general_practitioner: [reference] given: [String] identifier: [token] language: [token] link: [reference] name: [String] organization: [reference] phone: [token] phonetic: [String] telecom: [token] _text: [special] _content: [special] _filter: [special] _has: [special] _id: [token] _in: [reference] _language: [token] _lastUpdated: [date] _list: [special] _profile: [reference] _query: [special] _security: [token] _source: [uri] _tag: [token] _type: [special] _sort: String _count: Int _cursor: String): PatientConnection } type PatientConnection { count: Int offset: Int pagesize: Int first: ID previous: ID next: ID last: ID edges: [PatientEdge] } type PatientEdge { mode: String score: Float resource: Patient } type PatientCreateType { PatientCreate(resource: PatientInput): PatientCreation } type PatientCreation { location: String resource: Patient information: OperationOutcome } type PatientUpdateType { PatientUpdate(id: ID, resource: PatientInput): PatientUpdate } type PatientUpdate { resource: Patient information: OperationOutcome } type PatientDeleteType { PatientDelete(id: ID): PatientDelete } type PatientDelete { information: OperationOutcome }