V2

Get v2 observations for a patient

get
Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
patientIdForObservationstringRequiredPattern: [^\/#\?]+?
Query parameters
observationCodeNameanyOptional
observationGroupNameanyOptional
draftbooleanOptional

Draft status of the observation

Example: true
sourceTypestring · enumOptional

Source type of the observation

Example: type1Possible values:
sourceIdnumber[]Optional

Source ID of the observation

Example: 123
observationCodeIdnumber[]Optional

IDs of the observation codes

Default: []Example: [1,2]
observationGroupIdnumber[]Optional

IDs of the observation groups

Default: []Example: [1,2]
organizationIdnumberOptional

Organization ID associated with the observation

Example: 100
startDateone ofOptional

Start date of the observation

Example: 2023-01-01T00:00:00.000Z
string · dateOptional
or
string · date-timeOptional
dateone ofOptional

Date of the observation

Example: 2023-01-01T00:00:00.000Z
string · dateOptional
or
string · date-timeOptional
patientIdstringOptional

Patient ID associated with the observation

Example: patient123
isWearablebooleanOptional

Indicates if the observation is from a wearable device

Example: true
personIdnumberOptional

Person ID associated with the observation

Example: 456
endDateone ofOptional

End date of the observation

Example: 2023-12-31T23:59:59.999Z
string · dateOptional
or
string · date-timeOptional
skipnumberOptional

Number of records to skip

Example: 10
limitnumberOptional

Limit on the number of records to retrieve

Default: 10Example: 50
sortstringOptional

Sort order of the results

Default: descExample: asc
sortFieldstringOptional
latestbooleanOptional

If true, returns only the latest observation for each code

Example: true
Responses
chevron-right
200Success
application/json
get
/api/patients/{patientIdForObservation}/observations/v2
200Success

Create v2 observations for a patient

post
Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
patientIdForObservationstringRequiredPattern: [^\/#\?]+?
Bodyobject[]
object[]Optional
Responses
chevron-right
200Success
application/json
post
/api/patients/{patientIdForObservation}/observations/v2
200Success

Get v2 observation by ID for a patient

get
Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
patientIdForObservationstringRequiredPattern: [^\/#\?]+?
idstringRequiredPattern: [^\/#\?]+?
Responses
chevron-right
200Success
application/json
get
/api/patients/{patientIdForObservation}/observations/v2/{id}
200Success

Update v2 observation by ID for a patient

put
Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
patientIdForObservationstringRequiredPattern: [^\/#\?]+?
idstringRequiredPattern: [^\/#\?]+?
Body
patientIdnumberOptional
organizationIdnumberOptional
namestringRequired
keystringOptional
observationCodeNamestringOptional
observationCodeIdnumberOptional
observationGroupIdnumberOptional
observationGroupNamestringOptional
valuestringRequired
sourceTypestringOptional
sourceIdnumberOptional
statusstringOptional
draftbooleanOptional
rangeanyOptional
unitstringOptional
dateone ofRequired
string · dateOptional
or
string · date-timeOptional
observationPurposeRangeLabelIdnumberOptional
remarksstringOptional
Responses
chevron-right
200Success
application/json
put
/api/patients/{patientIdForObservation}/observations/v2/{id}
200Success

Delete v2 observation by ID for a patient

delete
Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
patientIdForObservationstringRequiredPattern: [^\/#\?]+?
idstringRequiredPattern: [^\/#\?]+?
Responses
chevron-right
200Success
application/json
delete
/api/patients/{patientIdForObservation}/observations/v2/{id}
200Success

Was this helpful?