Observation codes

Get observation codes

get
Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Responses
200Success
application/json
get
/api/observation-codes
200Success

Create a new observation code

post
Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Body
namestringOptional

Name of the observation code

Example: BP
codestringOptional

Observation code

Example: Spirometer
labelstringOptional

Label of the observation code

Example: Breathing Rate
unitstringOptional

Unit of the observation code

Example: mg/dL
entitystringOptional

Entity of the observation code

Example: GENERAL
isWearablebooleanOptional

Is wearable observation code

Example: true
sourceTypestringOptional

The source where the observation got from

Example: APPLE_WATCH
organizationIdnumberOptional

Organization ID associated with the observation

Example: 123
observationGroupIdnumberOptional

Observation group ID

Example: 456
observationGroupNamestringOptional

Observation group name

Example: Vitals
attributesanyOptional

Attributes of the observation code

Example: {"formatCode":"3","checkedForSame":true}
purposeIdsanyOptional
templateIdnumberOptional

Template ID

Example: 123
Responses
200Success
application/json
post
/api/observation-codes

Get observation code by ID

get
Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
idnumberRequiredPattern: [^\/#\?]+?
Responses
200Success
application/json
get
/api/observation-codes/{id}
200Success

Update an observation code by ID

put
Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
idnumberRequiredPattern: [^\/#\?]+?
Body
namestringOptional

Name of the observation code

Example: BP
codestringOptional

Observation code

Example: Spirometer
labelstringOptional

Label of the observation code

Example: Breathing Rate
unitstringOptional

Unit of the observation code

Example: mg/dL
entitystringOptional

Entity of the observation code

Example: GENERAL
isWearablebooleanOptional

Is wearable observation code

Example: true
sourceTypestringOptional

The source where the observation got from

Example: APPLE_WATCH
organizationIdnumberOptional

Organization ID associated with the observation

Example: 123
observationGroupIdnumberOptional

Observation group ID

Example: 456
observationGroupNamestringOptional

Observation group name

Example: Vitals
attributesanyOptional

Attributes of the observation code

Example: {"formatCode":"3","checkedForSame":true}
purposeIdsanyOptional
templateIdnumberOptional

Template ID

Example: 123
Responses
200Success
application/json
put
/api/observation-codes/{id}
200Success

Delete an observation code by ID

delete
Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
idnumberRequiredPattern: [^\/#\?]+?
Responses
200Success
application/json
delete
/api/observation-codes/{id}
200Success