Retrieve Chart
Perform Retrieve Chart through Epic CareLink.
epic_carelink_retrieve_chartwrite
Inputs
- Account
accountselectrequiredRequired selected identifier or value.
Options: UNC CareLink ("unc"), Atrium Health CareLink ("atrium"), Cone Health CareLink ("cone")
- Patient First Name
patient_first_nameexpressionrequiredRequired literal value or workflow expression.
- Patient Last Name
patient_last_nameexpressionrequiredRequired literal value or workflow expression.
- Patient Dob
patient_dobexpressionrequiredRequired literal value or workflow expression.
- Patient Gender
patient_genderexpressionrequiredRequired literal value or workflow expression.
- Order Type
order_typeexpressionOptional literal value or workflow expression.
- Persist Documents
persist_documentsbooleanOptional true-or-false value.
Default:
true - Show Document In Inbox
show_document_in_inboxbooleanOptional true-or-false value.
Default:
false
Outputs
successSuccessstatusStatusaccountAccountpatient_foundPatient FoundmrnMrnduration_secondsDuration Secondsdocument_idDocument Iddocument_statusDocument Statusdemographics_document_idDemographics Document Iderror_messageError MessageerrorError
Output schema completeness: best_effort_declared
Safety
- External effect
- write
- Confirmation recommended
- No
- Retry safe
- No
- Dry run supported
- No
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"required": [
"account",
"patient_first_name",
"patient_last_name",
"patient_dob",
"patient_gender"
],
"properties": {
"account": {
"enum": [
"unc",
"atrium",
"cone"
],
"type": "string",
"description": "Required selected identifier or value.",
"x-workflow-field-type": "select"
},
"order_type": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"patient_dob": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"patient_gender": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"patient_last_name": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"persist_documents": {
"type": "boolean",
"default": true,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"patient_first_name": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"show_document_in_inbox": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"mrn": {},
"error": {},
"status": {},
"account": {},
"success": {},
"document_id": {},
"error_message": {},
"patient_found": {},
"document_status": {},
"duration_seconds": {},
"demographics_document_id": {}
},
"additionalProperties": true
}