Contact

Close contacts for Healthcare Party and secret foreign keys.

PUT https://demo.icure.cloud/rest/v2/contact/byHcPartySecretForeignKeys/close

Keys must be delimited by coma

Query Parameters

NameTypeDescription

hcPartyId*

String

secretFKeys*

String

Create a contact with the current user

POST https://demo.icure.cloud/rest/v2/contact

Returns an instance of created contact.

Request Body

NameTypeDescription

body*

Contact

Create a batch of contacts

POST https://demo.icure.cloud/rest/v2/contact/batch

Returns the modified contacts.

Request Body

NameTypeDescription

body*

List

Delete contacts.

POST https://demo.icure.cloud/rest/v2/contact/delete/batch

Response is a set containing the ID's of deleted contacts.

Request Body

NameTypeDescription

body*

ListOfIds

List contacts for the current user (HcParty) or the given hcparty in the filter

POST https://demo.icure.cloud/rest/v2/contact/filter

Returns a list of contacts along with next start keys and Document ID. If the nextStartKey is Null it means that this is the last page.

Query Parameters

NameTypeDescription

startDocumentId

String

A Contact document ID

limit

Integer

Number of rows

Request Body

NameTypeDescription

body*

FilterChainContact

List services for the current user (HcParty) or the given hcparty in the filter

POST https://demo.icure.cloud/rest/v2/contact/service/filter

Returns a list of contacts along with next start keys and Document ID. If the nextStartKey is Null it means that this is the last page.

Query Parameters

NameTypeDescription

startDocumentId

String

A Contact document ID

limit

Integer

Number of rows

Request Body

NameTypeDescription

body*

FilterChainService

List contacts by opening date parties with(out) pagination

GET https://demo.icure.cloud/rest/v2/contact/byOpeningDate

Returns a list of contacts.

Query Parameters

NameTypeDescription

startKey*

Long

The contact openingDate

endKey*

Long

The contact max openingDate

hcpartyid*

String

hcpartyid

startDocumentId

String

A contact party document ID

limit

Integer

Number of rows

Get a contact

GET https://demo.icure.cloud/rest/v2/contact/{contactId}

Path Parameters

NameTypeDescription

contactId*

String

Get contacts

POST https://demo.icure.cloud/rest/v2/contact/byIds

Request Body

NameTypeDescription

body*

ListOfIds

Get an empty content

GET https://demo.icure.cloud/rest/v2/contact/service/content/empty

Get the list of all used codes frequencies in services

GET https://demo.icure.cloud/rest/v2/contact/service/codes/{codeType}/{minOccurences}

Path Parameters

NameTypeDescription

codeType*

String

minOccurences*

Long

List services with provided ids

POST https://demo.icure.cloud/rest/v2/contact/service

Returns a list of services

Request Body

NameTypeDescription

body*

ListOfIds

List services linked to provided ids

POST https://demo.icure.cloud/rest/v2/contact/service/linkedTo

Returns a list of services

Query Parameters

NameTypeDescription

linkType

String

The type of the link

Request Body

NameTypeDescription

body*

ListOfIds

List contacts found By Healthcare Party and service Id.

GET https://demo.icure.cloud/rest/v2/contact/byHcPartyServiceId

Query Parameters

NameTypeDescription

hcPartyId*

String

serviceId*

String

List contacts found By externalId.

POST https://demo.icure.cloud/rest/v2/contact/byExternalId

Query Parameters

NameTypeDescription

externalId*

String

List contacts found By Healthcare Party and form Id.

GET https://demo.icure.cloud/rest/v2/contact/byHcPartyFormId

Query Parameters

NameTypeDescription

hcPartyId*

String

formId*

String

List contacts found By Healthcare Party and form Id.

POST https://demo.icure.cloud/rest/v2/contact/byHcPartyFormIds

Query Parameters

NameTypeDescription

hcPartyId*

String

Request Body

NameTypeDescription

body*

ListOfIds

List contacts found By Healthcare Party and Patient foreign keys.

POST https://demo.icure.cloud/rest/v2/contact/byHcPartyPatientForeignKeys

Query Parameters

NameTypeDescription

hcPartyId*

String

Request Body

NameTypeDescription

body*

ListOfIds

List contacts found By Healthcare Party and secret foreign keys.

GET https://demo.icure.cloud/rest/v2/contact/byHcPartySecretForeignKeys

Keys must be delimited by coma

Query Parameters

NameTypeDescription

hcPartyId*

String

secretFKeys*

String

planOfActionsIds

String

skipClosedContacts

Boolean

List contacts found By Healthcare Party and secret foreign keys.

GET https://demo.icure.cloud/rest/v2/contact/byHcPartySecretForeignKeys/delegations

Keys must be delimited by coma

Query Parameters

NameTypeDescription

hcPartyId*

String

secretFKeys*

String

GET https://demo.icure.cloud/rest/v2/contact/service/associationId

Returns a list of services

Query Parameters

NameTypeDescription

associationId*

String

Get ids of contacts matching the provided filter for the current user (HcParty)

POST https://demo.icure.cloud/rest/v2/contact/match

Request Body

NameTypeDescription

body*

AbstractFilterContact

Modify a contact

PUT https://demo.icure.cloud/rest/v2/contact

Returns the modified contact.

Request Body

NameTypeDescription

body*

Contact

Modify a batch of contacts

PUT https://demo.icure.cloud/rest/v2/contact/batch

Returns the modified contacts.

Request Body

NameTypeDescription

body*

List

Update delegations in healthElements.

PUT https://demo.icure.cloud/rest/v2/contact/delegations

Keys must be delimited by coma

Request Body

NameTypeDescription

body*

List

Delegates a contact to a healthcare party

POST https://demo.icure.cloud/rest/v2/contact/{contactId}/delegate

It delegates a contact to a healthcare party (By current healthcare party). Returns the contact with new delegations.

Path Parameters

NameTypeDescription

contactId*

String

Request Body

NameTypeDescription

body*

Delegation

Update delegations in healthElements.

POST https://demo.icure.cloud/rest/v2/contact/delegations

Keys must be delimited by coma

Request Body

NameTypeDescription

body*

List

Last updated