Cypress API documentation version v1
https://{domain}
Vendors
A list of vendors undergoing certification
View a list of vendors
Create a new vendor
get /vendors
View a list of vendors
This API supports Basic Authentication.
HTTP status code 200
Body
Type: application/json
Schema:
{
"title": "Vendors",
"id": "http://cypress.healthit.gov/schemas/vendors.json",
"$schema": "http://json-schema.org/schema#",
"type": "array",
"items": { "$ref": "vendor" }
}
Secured by basic
post /vendors
Create a new vendor
This API supports Basic Authentication.
Body
Type: application/json
Schema:
{
"title": "Vendor",
"id": "http://cypress.healthit.gov/schemas/vendor.json",
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"vendor_id": {"type": "string"},
"name": {"type": "string"},
"url": {"type": "string"},
"address": {"type": "string"},
"zip": {"type": "string"},
"state": {"type": "string"},
"points_of_contact": { "type": "array", "items": { "$ref": "point_of_contact" } },
"created_at": {"type": "string", "format": "date-time"},
"updated_at": {"type": "string", "format": "date-time"}
},
"links": [
{
"rel": "self",
"href": "/vendors/{id}"
},
{
"rel": "products",
"href": "/vendors/{id}/products"
}
]
}
Type: application/xml
HTTP status code 201
Successfully created a new vendor
Body
Type: application/json
Schema:
{
"title": "Vendor",
"id": "http://cypress.healthit.gov/schemas/vendor.json",
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"vendor_id": {"type": "string"},
"name": {"type": "string"},
"url": {"type": "string"},
"address": {"type": "string"},
"zip": {"type": "string"},
"state": {"type": "string"},
"points_of_contact": { "type": "array", "items": { "$ref": "point_of_contact" } },
"created_at": {"type": "string", "format": "date-time"},
"updated_at": {"type": "string", "format": "date-time"}
},
"links": [
{
"rel": "self",
"href": "/vendors/{id}"
},
{
"rel": "products",
"href": "/vendors/{id}/products"
}
]
}
HTTP status code 422
Invalid vendor
Body
Type: application/json
Schema:
{
"title": "Errors",
"id": "http://cypress.healthit.gov/schemas/errors.json",
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"messages": {
"type": "array",
"items": { "type" : "string" }
}
}
}
}
}
}
Secured by basic
A Vendor undergoing certification
View information about a vendor
Update information about a vendor
Delete a vendor
get /vendors/{id}
View information about a vendor
This API supports Basic Authentication.
URI Parameters
- Vendor ID: required (string)
HTTP status code 200
Vendor object in JSON/XML
Body
Type: application/json
Schema:
{
"title": "Vendor",
"id": "http://cypress.healthit.gov/schemas/vendor.json",
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"vendor_id": {"type": "string"},
"name": {"type": "string"},
"url": {"type": "string"},
"address": {"type": "string"},
"zip": {"type": "string"},
"state": {"type": "string"},
"points_of_contact": { "type": "array", "items": { "$ref": "point_of_contact" } },
"created_at": {"type": "string", "format": "date-time"},
"updated_at": {"type": "string", "format": "date-time"}
},
"links": [
{
"rel": "self",
"href": "/vendors/{id}"
},
{
"rel": "products",
"href": "/vendors/{id}/products"
}
]
}
Secured by basic
put /vendors/{id}
Update information about a vendor
This API supports Basic Authentication.
URI Parameters
- Vendor ID: required (string)
Body
Type: application/json
Schema:
{
"title": "Vendor",
"id": "http://cypress.healthit.gov/schemas/vendor.json",
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"vendor_id": {"type": "string"},
"name": {"type": "string"},
"url": {"type": "string"},
"address": {"type": "string"},
"zip": {"type": "string"},
"state": {"type": "string"},
"points_of_contact": { "type": "array", "items": { "$ref": "point_of_contact" } },
"created_at": {"type": "string", "format": "date-time"},
"updated_at": {"type": "string", "format": "date-time"}
},
"links": [
{
"rel": "self",
"href": "/vendors/{id}"
},
{
"rel": "products",
"href": "/vendors/{id}/products"
}
]
}
Type: application/xml
HTTP status code 200
Vendor record updated
Secured by basic
A vendor's products
View a list of the vendor's products undergoing certification
Create a new product for this vendor
get /vendors/{id}/products
View a list of the vendor's products undergoing certification
This API supports Basic Authentication.
URI Parameters
- Vendor ID: required (string)
HTTP status code 200
Body
Type: application/json
Schema:
{
"title": "Products",
"id": "http://cypress.healthit.gov/schemas/products.json",
"$schema": "http://json-schema.org/schema#",
"type": "array",
"items": { "$ref": "product" }
}
Secured by basic
post /vendors/{id}/products
Create a new product for this vendor
This API supports Basic Authentication.
URI Parameters
- Vendor ID: required (string)
Body
Type: application/json
Schema:
{
"title": "Product",
"id": "http://cypress.healthit.gov/schemas/product.json",
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"name": {"type": "string"},
"version": {"type": "string"},
"description": {"type": "string"},
"bundle_id": {"type": "string"},
"c1_test": {"type": "boolean"},
"c2_test": {"type": "boolean"},
"c3_test": {"type": "boolean"},
"c4_test": {"type": "boolean"},
"cures_update": {"type": "boolean"},
"all_eh": {"type": "boolean"},
"all_ep": {"type": "boolean"},
"randomize_patients": {"type": "boolean"},
"duplicate_patients": {"type": "boolean"},
"shift_patients": {"type": "boolean"},
"measure_ids": {"type": "array"},
"created_at": {"type": "string", "format": "date-time"},
"updated_at": {"type": "string", "format": "date-time"}
},
"links": [
{
"rel": "self",
"href": "/vendors/{vendor_id}/products/{id}"
},
{
"rel": "product_tests",
"href": "/products/{id}/product_tests"
},
{
"rel": "patients",
"href": "/vendors/{vendor_id}/products/{id}/patients"
}
]
}
Type: application/xml
HTTP status code 201
Product has been created
Body
Type: application/json
Schema:
{
"title": "Product",
"id": "http://cypress.healthit.gov/schemas/product.json",
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"name": {"type": "string"},
"version": {"type": "string"},
"description": {"type": "string"},
"bundle_id": {"type": "string"},
"c1_test": {"type": "boolean"},
"c2_test": {"type": "boolean"},
"c3_test": {"type": "boolean"},
"c4_test": {"type": "boolean"},
"cures_update": {"type": "boolean"},
"all_eh": {"type": "boolean"},
"all_ep": {"type": "boolean"},
"randomize_patients": {"type": "boolean"},
"duplicate_patients": {"type": "boolean"},
"shift_patients": {"type": "boolean"},
"measure_ids": {"type": "array"},
"created_at": {"type": "string", "format": "date-time"},
"updated_at": {"type": "string", "format": "date-time"}
},
"links": [
{
"rel": "self",
"href": "/vendors/{vendor_id}/products/{id}"
},
{
"rel": "product_tests",
"href": "/products/{id}/product_tests"
},
{
"rel": "patients",
"href": "/vendors/{vendor_id}/products/{id}/patients"
}
]
}
HTTP status code 422
Invalid Product
Body
Type: application/json
Schema:
{
"title": "Errors",
"id": "http://cypress.healthit.gov/schemas/errors.json",
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"messages": {
"type": "array",
"items": { "type" : "string" }
}
}
}
}
}
}
Secured by basic
Product undergoing certification testing
View information about a Product
Delete a product
get /vendors/{id}/products/{product_id}
View information about a Product
This API supports Basic Authentication.
URI Parameters
- Vendor ID: required (string)
- Product ID: required (string)
HTTP status code 200
Product is available for testing
Body
Type: application/json
Schema:
{
"title": "Product",
"id": "http://cypress.healthit.gov/schemas/product.json",
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"name": {"type": "string"},
"version": {"type": "string"},
"description": {"type": "string"},
"bundle_id": {"type": "string"},
"c1_test": {"type": "boolean"},
"c2_test": {"type": "boolean"},
"c3_test": {"type": "boolean"},
"c4_test": {"type": "boolean"},
"cures_update": {"type": "boolean"},
"all_eh": {"type": "boolean"},
"all_ep": {"type": "boolean"},
"randomize_patients": {"type": "boolean"},
"duplicate_patients": {"type": "boolean"},
"shift_patients": {"type": "boolean"},
"measure_ids": {"type": "array"},
"created_at": {"type": "string", "format": "date-time"},
"updated_at": {"type": "string", "format": "date-time"}
},
"links": [
{
"rel": "self",
"href": "/vendors/{vendor_id}/products/{id}"
},
{
"rel": "product_tests",
"href": "/products/{id}/product_tests"
},
{
"rel": "patients",
"href": "/vendors/{vendor_id}/products/{id}/patients"
}
]
}
Secured by basic
Product Tests (Single Measure Testing and Filter Tests)
View list of a product's tests (One per measure for C1/C2, One for each C4 Filter)
get /products/{product_id}/product_tests
View list of a product's tests (One per measure for C1/C2, One for each C4 Filter)
This API supports Basic Authentication.
URI Parameters
- Parent Task ID: required (string)
HTTP status code 200
Product is available for testing
Body
Type: application/json
Schema:
{
"title": "Product Tests",
"id": "http://cypress.healthit.gov/schemas/product_tests.json",
"$schema": "http://json-schema.org/schema#",
"type": "array",
"items": { "$ref": "product_test" }
}
Secured by basic
View a product test (such as a Single Measure Test or a C4 Filter)
get /products/{product_id}/product_tests/{id}
View a product test (such as a Single Measure Test or a C4 Filter)
This API supports Basic Authentication.
URI Parameters
- Parent Task ID: required (string)
- Product test ID: required (string)
HTTP status code 200
Product is available for testing
Body
Type: application/json
Schema:
{
"title": "Product Test",
"id": "http://cypress.healthit.gov/schemas/product.json",
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"name": {"type": "string"},
"cms_id": {"type": "string"},
"measure_id": {"type": "string"},
"type": {"type": "string"},
"state": {"type": "string"},
"provider" : {
"type" : "object",
"properties" : {
"tin" : {"type": "string"},
"npi" : {"type": "string"},
"ccn" : {"type": "string"},
"name" : {"type": "string"}
}
},
"filters" : {
"type" : "object",
"properties" : {
"problem" : {"type": "string"},
"gender" : {"type": "string"},
"payer" : {"type": "string"},
"race" : {"type": "string"},
"ethnicity" : {"type": "string"},
"provider" : {
"type" : "object",
"properties" : {
"npi" : {"type": "string"},
"tin" : {"type": "string"},
"address" : {
"type" : "object",
"properties" : {
"street" : {"type": "string"},
"city" : {"type": "string"},
"state" : {"type": "string"},
"zip" : {"type": "string"},
"country" : {"type": "string"}
}
}
}
}
}
},
"created_at": {"type": "string", "format": "date-time"},
"updated_at": {"type": "string", "format": "date-time"}
},
"links": [
{
"rel": "self",
"href": "/products/{product_id}/product_tests/{id}"
},
{
"rel": "tasks",
"href": "/product_tests/{id}/tasks"
},
{
"rel": "patients",
"href": "/product_tests/{id}/patients"
}
]
}
Secured by basic
/product_tests/{product_test_id}/tasks
List of testing tasks for a product ID
get /product_tests/{product_test_id}/tasks
List of testing tasks for a product ID
This API supports Basic Authentication.
URI Parameters
- Parent resource product test ID: required (string)
HTTP status code 200
List of tasks for a product test
Body
Type: application/json
Schema:
{
"title": "Tasks",
"id": "http://cypress.healthit.gov/schemas/tasks.json",
"$schema": "http://json-schema.org/schema#",
"type": "array",
"items": { "$ref": "task" }
}
Secured by basic
A single task for a product test such as a single C1 measure task or a Filter task
get /product_tests/{product_test_id}/tasks/{id}
A single task for a product test such as a single C1 measure task or a Filter task
This API supports Basic Authentication.
URI Parameters
- Parent resource product test ID: required (string)
- Task ID: required (string)
HTTP status code 200
Body
Type: application/json
Schema:
{
"title": "Task",
"id": "http://cypress.healthit.gov/schemas/product.json",
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"type": {"type": "string"}
},
"links": [
{
"rel": "self",
"href": "/product_tests/{product_test_id}/tasks/{id}"
},
{
"rel": "executions",
"href": "/tasks/{task_id}/test_executions"
}
]
}
Secured by basic
Task
View a list of test executions
Upload a new test artifact
get /tasks/{task_id}/test_executions
View a list of test executions
This API supports Basic Authentication.
URI Parameters
- Parent Task ID: required (string)
HTTP status code 200
Body
Type: application/json
Schema:
{
"title": "Test Executions",
"id": "http://cypress.healthit.gov/schemas/test_executions.json",
"$schema": "http://json-schema.org/schema#",
"type": "array",
"items": { "$ref": "test_executions" }
}
Secured by basic
post /tasks/{task_id}/test_executions
Upload a new test artifact
This API supports Basic Authentication.
URI Parameters
- Parent Task ID: required (string)
Body
Type: multipart/form-data
Form Parameters- results: required (file)
Artifact to be tested
HTTP status code 201
File Uploaded Successfully. Cypress is checking data for accuracy and correctness
Body
Type: application/json
Schema:
{
"title": "Test Execution",
"id": "http://cypress.healthit.gov/schemas/test_execution.json",
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"state": {"type": "string"},
"execution_errors": {"type": "array", "items": { "$ref": "execution_error" } },
"created_at": {"type": "string", "format": "date-time"}
},
"links": [
{
"rel": "self",
"href": "/tasks{task_id}/test_executions/{id}"
}
]
}
HTTP status code 422
File uploaded is not processable by Cypress
Body
Type: application/json
Schema:
{
"title": "Errors",
"id": "http://cypress.healthit.gov/schemas/errors.json",
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"messages": {
"type": "array",
"items": { "type" : "string" }
}
}
}
}
}
}
Secured by basic
View information about a test execution
Delete a test execution
get /tasks/{task_id}/test_executions/{id}
View information about a test execution
This API supports Basic Authentication.
URI Parameters
- Parent Task ID: required (string)
- Test Execution ID: required (string)
HTTP status code 200
Body
Type: application/json
Schema:
{
"title": "Test Execution",
"id": "http://cypress.healthit.gov/schemas/test_execution.json",
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"state": {"type": "string"},
"execution_errors": {"type": "array", "items": { "$ref": "execution_error" } },
"created_at": {"type": "string", "format": "date-time"}
},
"links": [
{
"rel": "self",
"href": "/tasks{task_id}/test_executions/{id}"
}
]
}
Secured by basic
/bundles
Bundles installed on the system
View a list of all installed bundles
get /bundles
View a list of all installed bundles
This API supports Basic Authentication.
HTTP status code 200
Body
Type: application/json
Schema:
{
"title": "Bundles",
"id": "http://cypress.healthit.gov/schemas/bundles.json",
"$schema": "http://json-schema.org/schema#",
"type": "array",
"items": { "$ref": "bundle" }
}
Secured by basic
Annual Update Bundle
View a list of all installed bundles
get /bundles/{id}
View a list of all installed bundles
This API supports Basic Authentication.
URI Parameters
- Bundle ID: required (string)
HTTP status code 200
Body
Type: application/json
Schema:
{
"title": "Bundle",
"id": "http://cypress.healthit.gov/schemas/bundle.json",
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"title": {"type": "string"},
"version": {"type": "string"}
},
"links": [
{
"rel": "self",
"href": "/bundles/{id}"
}, {
"rel": "measures",
"href": "/bundles/{id}/measures"
}
]
}
Secured by basic
List of measure in the bundle
get /bundles/{id}/measures
List of measure in the bundle
This API supports Basic Authentication.
URI Parameters
- Bundle ID: required (string)
HTTP status code 200
Body
Type: application/json
Schema:
{
"title": "Measures",
"id": "http://cypress.healthit.gov/schemas/measures.json",
"$schema": "http://json-schema.org/schema#",
"type": "array",
"items": { "$ref": "measure" }
}
Secured by basic
/qrda_validation
QRDA Validations on the system
View a list of all avaliable QRDA Validations
get /qrda_validation
View a list of all avaliable QRDA Validations
This API supports Basic Authentication.
HTTP status code 200
Body
Type: application/json
Schema:
{
"title": "QRDA Validatons",
"id": "http://cypress.healthit.gov/schemas/qrda_validatons.json",
"$schema": "http://json-schema.org/schema#",
"type": "array",
"items": { "$ref": "qrda_validaton" }
}
Secured by basic
Upload a new test artifact
post /qrda_validation/{year}/{qrda_type}/{implementation_guide}
Upload a new test artifact
This API supports Basic Authentication.
URI Parameters
- Performance Period: required (string)
- QRDA Type (I or III): required (string)
- Implementation Guide (CMS or HL7): required (string)
Body
Type: multipart/form-data
Form Parameters- file: required (file)
Artifact to be tested
HTTP status code 201
File Uploaded Successfully. Cypress is checking data for accuracy and correctness
Body
Type: application/json
Schema:
{
"title": "QRDA Validation",
"id": "http://cypress.healthit.gov/schemas/qrda_validation.json",
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"validator": {"type": "string"},
"path": {"type": "string"},
"execution_errors": {"type": "array", "items": { "$ref": "execution_error" } }
}
}
HTTP status code 422
File uploaded is not processable by Cypress
Body
Type: application/json
Schema:
{
"title": "Errors",
"id": "http://cypress.healthit.gov/schemas/errors.json",
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"messages": {
"type": "array",
"items": { "type" : "string" }
}
}
}
}
}
}
Secured by basic
/version
Cypress Version
Get the version of the Cypress instance
get /version
Get the version of the Cypress instance
This API supports Basic Authentication.
HTTP status code 200
Body
Type: application/json
Schema:
{
"title": "Version",
"id": "http://cypress.healthit.gov/schemas/version.json",
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"version": {"type": "string"}
}
}