Input Object

ImportFromDocumentInput

Unified input for importing entities from a patient document. The entity_type must match the provided data field.

Usage Example
query {
# Use this type in your queries
someQuery {
customPatientProtocol
entityType
immunization
medication
sourceDocumentId
}
}

Fields

customPatientProtocolCustomPatientProtocolInput
entityTypeImportEntityType!required

Type of entity being imported

immunizationImmunizationInput
medicationMedicationInput
sourceDocumentIdID!required

ID of the source patient document

sourceIdxInt!required

Index within ai_import_extract for matching source data