PatientApi class

Available extensions

Constructors

PatientApi([ApiClient? apiClient])

Properties

apiClient ApiClient
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createPatient(UserDto user, DecryptedPatientDto patient, CryptoConfig<DecryptedPatientDto, PatientDto> config) Future<DecryptedPatientDto?>

Available on PatientApi, provided by the PatientApiCrypto extension

createPatients(UserDto user, List<DecryptedPatientDto> patients, CryptoConfig<DecryptedPatientDto, PatientDto> config) Future<List<IdWithRevDto>>

Available on PatientApi, provided by the PatientApiCrypto extension

deletePatients(UserDto user, List<DecryptedPatientDto> patients, CryptoConfig<DecryptedPatientDto, PatientDto> config) Future<List<IdWithRevDto>>

Available on PatientApi, provided by the PatientApiCrypto extension

filterPatientsBy(UserDto user, FilterChain<PatientDto> filterChain, String? startKey, String? startDocumentId, int? limit, CryptoConfig<DecryptedPatientDto, PatientDto> config) Future<DecryptedPaginatedListPatientDto?>

Available on PatientApi, provided by the PatientApiCrypto extension

findByAccessLogUserAfterDate(UserDto user, String userId, String? accessType, int? startDate, String? startDocumentId, int? limit, CryptoConfig<DecryptedPatientDto, PatientDto> config) Future<DecryptedPaginatedListPatientDto?>

Available on PatientApi, provided by the PatientApiCrypto extension

findByExternalId(UserDto user, String externalId, CryptoConfig<DecryptedPatientDto, PatientDto> config) Future<DecryptedPatientDto?>

Available on PatientApi, provided by the PatientApiCrypto extension

findByNameBirthSsinAuto(UserDto user, String? healthcarePartyId, String? filterValue, String? startKey, String? startDocumentId, int? limit, String? sortDirection, CryptoConfig<DecryptedPatientDto, PatientDto> config) Future<DecryptedPaginatedListPatientDto?>

Available on PatientApi, provided by the PatientApiCrypto extension

fuzzySearch(UserDto user, String? firstName, String? lastName, int? dateOfBirth, CryptoConfig<DecryptedPatientDto, PatientDto> config) Future<List<DecryptedPatientDto>>

Available on PatientApi, provided by the PatientApiCrypto extension

getPatient(UserDto user, String patientId, CryptoConfig<DecryptedPatientDto, PatientDto> config) Future<DecryptedPatientDto?>

Available on PatientApi, provided by the PatientApiCrypto extension

getPatients(UserDto user, ListOfIdsDto listOfIdsDto, CryptoConfig<DecryptedPatientDto, PatientDto> config) Future<List<DecryptedPatientDto>>

Available on PatientApi, provided by the PatientApiCrypto extension

listAllDeleted(UserDto user, int? startDate, int? endDate, bool? desc, String? startDocumentId, int? limit, CryptoConfig<DecryptedPatientDto, PatientDto> config) Future<DecryptedPaginatedListPatientDto?>

Available on PatientApi, provided by the PatientApiCrypto extension

listByHealthcareParty(UserDto user, String hcPartyId, String? sortField, String? startKey, String? startDocumentId, int? limit, String? sortDirection, CryptoConfig<DecryptedPatientDto, PatientDto> config) Future<DecryptedPaginatedListPatientDto?>

Available on PatientApi, provided by the PatientApiCrypto extension

listDeletedByName(UserDto user, String? firstName, String? lastName, CryptoConfig<DecryptedPatientDto, PatientDto> config) Future<List<DecryptedPatientDto>>

Available on PatientApi, provided by the PatientApiCrypto extension

listModifiedAfter(UserDto user, int date, int? startKey, String? startDocumentId, int? limit, CryptoConfig<DecryptedPatientDto, PatientDto> config) Future<DecryptedPaginatedListPatientDto?>

Available on PatientApi, provided by the PatientApiCrypto extension

listOfMergesAfter(UserDto user, int date, CryptoConfig<DecryptedPatientDto, PatientDto> config) Future<List<DecryptedPatientDto>>

Available on PatientApi, provided by the PatientApiCrypto extension

listPatients(UserDto user, String? hcPartyId, String? sortField, String? startKey, String? startDocumentId, int? limit, String? sortDirection, CryptoConfig<DecryptedPatientDto, PatientDto> config) Future<DecryptedPaginatedListPatientDto?>

Available on PatientApi, provided by the PatientApiCrypto extension

mergeInto(UserDto user, String toId, String fromIds, CryptoConfig<DecryptedPatientDto, PatientDto> config) Future<DecryptedPatientDto?>

Available on PatientApi, provided by the PatientApiCrypto extension

modifyPatient(UserDto user, DecryptedPatientDto patientDto, CryptoConfig<DecryptedPatientDto, PatientDto> config) Future<DecryptedPatientDto?>

Available on PatientApi, provided by the PatientApiCrypto extension

modifyPatients(UserDto user, List<DecryptedPatientDto> patients, CryptoConfig<DecryptedPatientDto, PatientDto> config) Future<List<IdWithRevDto>>

Available on PatientApi, provided by the PatientApiCrypto extension

modifyReferral(UserDto user, String patientId, String referralId, int? start, int? end, CryptoConfig<DecryptedPatientDto, PatientDto> config) Future<DecryptedPatientDto?>

Available on PatientApi, provided by the PatientApiCrypto extension

newPatientDelegations(UserDto user, String patientId, List<DelegationDto> delegationDto, CryptoConfig<DecryptedPatientDto, PatientDto> config) Future<DecryptedPatientDto?>

Available on PatientApi, provided by the PatientApiCrypto extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rawCountOfPatients(String hcPartyId) Future<ContentDto?>
Get count of patients for a specific HcParty or for the current HcParty
rawCountOfPatientsWithHttpInfo(String hcPartyId) Future<Response>
Get count of patients for a specific HcParty or for the current HcParty
rawCreatePatient(PatientDto patientDto) Future<PatientDto?>
Create a patient
rawCreatePatients(List<PatientDto> patientDto) Future<List<IdWithRevDto>?>
Create patients in bulk
rawCreatePatientsWithHttpInfo(List<PatientDto> patientDto) Future<Response>
Create patients in bulk
rawCreatePatientWithHttpInfo(PatientDto patientDto) Future<Response>
Create a patient
rawDeletePatients(ListOfIdsDto listOfIdsDto) Future<List<DocIdentifier>?>
Delete patients.
rawDeletePatientsWithHttpInfo(ListOfIdsDto listOfIdsDto) Future<Response>
Delete patients.
rawFilterPatientsBy(FilterChain<PatientDto> filterChainPatient, {String? startKey, String? startDocumentId, int? limit, int? skip, String? sort, bool? desc}) Future<PaginatedListPatientDto?>
Filter patients for the current user (HcParty)
rawFilterPatientsByWithHttpInfo(FilterChain<PatientDto> filterChainPatient, {String? startKey, String? startDocumentId, int? limit, int? skip, String? sort, bool? desc}) Future<Response>
Filter patients for the current user (HcParty)
rawFindDeletedPatients({int? startDate, int? endDate, bool? desc, String? startDocumentId, int? limit}) Future<PaginatedListPatientDto?>
Find deleted patients
rawFindDeletedPatientsWithHttpInfo({int? startDate, int? endDate, bool? desc, String? startDocumentId, int? limit}) Future<Response>
Find deleted patients
rawFindDuplicatesByName(String hcPartyId, {String? startKey, String? startDocumentId, int? limit}) Future<PaginatedListPatientDto?>
Provides a paginated list of patients with duplicate name for an hecparty
rawFindDuplicatesByNameWithHttpInfo(String hcPartyId, {String? startKey, String? startDocumentId, int? limit}) Future<Response>
Provides a paginated list of patients with duplicate name for an hecparty
rawFindDuplicatesBySsin(String hcPartyId, {String? startKey, String? startDocumentId, int? limit}) Future<PaginatedListPatientDto?>
Provides a paginated list of patients with duplicate ssin for an hecparty
rawFindDuplicatesBySsinWithHttpInfo(String hcPartyId, {String? startKey, String? startDocumentId, int? limit}) Future<Response>
Provides a paginated list of patients with duplicate ssin for an hecparty
rawFindPatientsByAccessLogUserAfterDate(String userId, {String? accessType, int? startDate, String? startKey, String? startDocumentId, int? limit}) Future<PaginatedListPatientDto?>
Get Paginated List of Patients sorted by Access logs descending
rawFindPatientsByAccessLogUserAfterDateWithHttpInfo(String userId, {String? accessType, int? startDate, String? startKey, String? startDocumentId, int? limit}) Future<Response>
Get Paginated List of Patients sorted by Access logs descending
rawFindPatientsByHealthcareParty({String? hcPartyId, String? sortField, String? startKey, String? startDocumentId, int? limit, String? sortDirection}) Future<PaginatedListPatientDto?>
List patients for a specific HcParty
rawFindPatientsByHealthcarePartyWithHttpInfo({String? hcPartyId, String? sortField, String? startKey, String? startDocumentId, int? limit, String? sortDirection}) Future<Response>
List patients for a specific HcParty
rawFindPatientsByNameBirthSsinAuto({String? healthcarePartyId, String? filterValue, String? startKey, String? startDocumentId, int? limit, String? sortDirection}) Future<PaginatedListPatientDto?>
Find patients for the current user (HcParty)
rawFindPatientsByNameBirthSsinAutoWithHttpInfo({String? healthcarePartyId, String? filterValue, String? startKey, String? startDocumentId, int? limit, String? sortDirection}) Future<Response>
Find patients for the current user (HcParty)
rawFindPatientsIdsByHealthcareParty(String hcPartyId, {String? startKey, String? startDocumentId, int? limit}) Future<PaginatedListString?>
List patients by pages for a specific HcParty
rawFindPatientsIdsByHealthcarePartyWithHttpInfo(String hcPartyId, {String? startKey, String? startDocumentId, int? limit}) Future<Response>
List patients by pages for a specific HcParty
rawFindPatientsModifiedAfter(int date, {int? startKey, String? startDocumentId, int? limit}) Future<PaginatedListPatientDto?>
List patients that have been modified after the provided date
rawFindPatientsModifiedAfterWithHttpInfo(int date, {int? startKey, String? startDocumentId, int? limit}) Future<Response>
List patients that have been modified after the provided date
rawFuzzySearch({String? firstName, String? lastName, int? dateOfBirth}) Future<List<PatientDto>?>
Filter patients for the current user (HcParty)
rawFuzzySearchWithHttpInfo({String? firstName, String? lastName, int? dateOfBirth}) Future<Response>
Filter patients for the current user (HcParty)
rawGetPatient(String patientId) Future<PatientDto?>
Get patient
rawGetPatientByExternalId(String externalId) Future<PatientDto?>
Get the patient having the provided externalId
rawGetPatientByExternalIdWithHttpInfo(String externalId) Future<Response>
Get the patient having the provided externalId
rawGetPatientByHealthcarepartyAndIdentifier(String hcPartyId, String id, {String? system}) Future<PatientDto?>
Get patient by identifier
rawGetPatientByHealthcarepartyAndIdentifierWithHttpInfo(String hcPartyId, String id, {String? system}) Future<Response>
Get patient by identifier
rawGetPatientHcPartyKeysForDelegate(String patientId) Future<Map<String, String>?>
Get the patient (identified by patientId) hcparty keys. Those keys are AES keys (encrypted) used to share information between HCPs and a patient.
rawGetPatientHcPartyKeysForDelegateWithHttpInfo(String patientId) Future<Response>
Get the patient (identified by patientId) hcparty keys. Those keys are AES keys (encrypted) used to share information between HCPs and a patient.
rawGetPatients(ListOfIdsDto listOfIdsDto) Future<List<PatientDto>?>
Get patients by id
rawGetPatientsWithHttpInfo(ListOfIdsDto listOfIdsDto) Future<Response>
Get patients by id
rawGetPatientWithHttpInfo(String patientId) Future<Response>
Get patient
rawListDeletedPatientsByName({String? firstName, String? lastName}) Future<List<PatientDto>?>
Find deleted patients
rawListDeletedPatientsByNameWithHttpInfo({String? firstName, String? lastName}) Future<Response>
Find deleted patients
rawListOfMergesAfter(int date) Future<List<PatientDto>?>
List patients that have been merged towards another patient
rawListOfMergesAfterWithHttpInfo(int date) Future<Response>
List patients that have been merged towards another patient
rawMatchPatientsBy(AbstractFilterDto<PatientDto> abstractFilterDtoPatient) Future<List<String>?>
Get ids of patients matching the provided filter for the current user (HcParty)
rawMatchPatientsByWithHttpInfo(AbstractFilterDto<PatientDto> abstractFilterDtoPatient) Future<Response>
Get ids of patients matching the provided filter for the current user (HcParty)
rawMergeInto(String toId, String fromIds) Future<PatientDto?>
Merge a series of patients into another patient
rawMergeIntoWithHttpInfo(String toId, String fromIds) Future<Response>
Merge a series of patients into another patient
rawModifyPatient(PatientDto patientDto) Future<PatientDto?>
Modify a patient
rawModifyPatientReferral(String patientId, String referralId, {int? start, int? end}) Future<PatientDto?>
Set a patient referral doctor
rawModifyPatientReferralWithHttpInfo(String patientId, String referralId, {int? start, int? end}) Future<Response>
Set a patient referral doctor
rawModifyPatients(List<PatientDto> patientDto) Future<List<IdWithRevDto>?>
Modify patients in bulk
rawModifyPatientsWithHttpInfo(List<PatientDto> patientDto) Future<Response>
Modify patients in bulk
rawModifyPatientWithHttpInfo(PatientDto patientDto) Future<Response>
Modify a patient
rawNewPatientDelegations(String patientId, List<DelegationDto> delegationDto) Future<PatientDto?>
Delegates a patients to a healthcare party
rawNewPatientDelegationsWithHttpInfo(String patientId, List<DelegationDto> delegationDto) Future<Response>
Delegates a patients to a healthcare party
rawRegisterPatient(String hcPartyId, String groupId, PatientDto patientDto, {String? token, bool? useShortToken}) Future<PatientRegistrationSuccessDto?>
Register a patient
rawRegisterPatientWithHttpInfo(String hcPartyId, String groupId, PatientDto patientDto, {String? token, bool? useShortToken}) Future<Response>
Register a patient
rawUndeletePatient(String patientIds) Future<List<DocIdentifier>?>
undelete previously deleted patients
rawUndeletePatientWithHttpInfo(String patientIds) Future<Response>
undelete previously deleted patients
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited