The MEDITECH connector lets your AI agent act in each user's MEDITECH account. Each user signs in to MEDITECH once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 61 tools.
- Tools
- 61
- What they doRead · write · destructive
- 59 · 2 · 059 read2 write0 destructive
- Users sign in with
- SMART on FHIR
Setup
Install the SDK
Terminal window npm install @scalekit-sdk/node dotenvTerminal window pip install scalekit-sdk-python python-dotenvSet your credentials
Add your Scalekit credentials to your
.envfile. Find values in app.scalekit.com > Developers > API Credentials..env SCALEKIT_ENVIRONMENT_URL=<your-environment-url>SCALEKIT_CLIENT_ID=<your-client-id>SCALEKIT_CLIENT_SECRET=<your-client-secret>Create the MEDITECH connection
In AgentKit > Connections, create a MEDITECH connection. The name you give it is the
connection_nameyour code passes. See Configure connections.Console steps with screenshots
MEDITECH connections use SMART on FHIR and act as the signed-in clinician, through MEDITECH Expanse’s provider-facing FHIR API. Every hospital runs its own MEDITECH API host, so each connection carries that host’s authorization endpoint, token endpoint, audience (
aud) and FHIR server domain, plus the client ID and secret the hospital issues for your app.-
Create the connection and copy the redirect URI
In the Scalekit dashboard, go to AgentKit > Connections > Create Connection, find MEDITECH and click Create. Copy the Redirect URI.
-
Get a client from the hospital
Each hospital approves your app and onboards it with MEDITECH. The hospital’s MEDITECH system administrator issues the client ID and client secret:
- Register the redirect URI you copied.
- Request refresh tokens (
offline_access).
For development, MEDITECH’s Greenfield Workspace provides a sandbox with test clinicians.
-
Find the hospital’s endpoints
The FHIR base is
https://<hospital-api-host>/v2/uscore/STU6. MEDITECH lists hospital API hosts athttps://fhir-apis.meditech.com/v1/brands; that list shows each host’sv1/uscore/R4base, so replace that path withv2/uscore/STU6. Which versions a hospital enables is confirmed at onboarding.Open
https://<hospital-api-host>/.well-known/smart-configurationand copyauthorization_endpointandtoken_endpoint. -
Enter the values on the connection
Back on the MEDITECH connection, enter:
- Client ID and Client Secret: from the hospital.
- Authorization Endpoint and Token Endpoint: from
.well-known/smart-configuration. - Audience (aud): the full FHIR base URL, ending in
/v2/uscore/STU6. - FHIR Server Domain: the FHIR base without
https://, including its path, such as<hospital-api-host>/v2/uscore/STU6.
Select
openid,fhirUserandoffline_access, plus the resource scopes your agent needs. Click Save.To test against the Greenfield Workspace sandbox, use these values:
Field Sandbox value Authorization Endpoint https://greenfield-apis.meditech.com/oauth/authorizeToken Endpoint https://greenfield-apis.meditech.com/oauth/tokenAudience (aud) https://greenfield-apis.meditech.com/v2/uscore/STU6FHIR Server Domain greenfield-apis.meditech.com/v2/uscore/STU6
-
Tools
Pass the exact name toexecute_toolmeditech_allergy_intolerance_readGet one allergy from MEDITECH by its FHIR ID.Read-onlyGet Allergy Intolerance
Get one allergy from MEDITECH by its FHIR ID. Returns a FHIR AllergyIntolerance resource with substance code, clinical and verification status, criticality, reactions, and recorded date. Use meditech_allergy_intolerance_read to fetch one known ID. Use meditech_allergy_intolerance_search to find allergies.
Inputs
allergy_intolerance_idstringrequired- FHIR logical ID of the allergy, without the 'AllergyIntolerance/' prefix. Example: 12345
meditech_allergy_intolerance_searchSearch a patient's allergies and intolerances in MEDITECH.Read-onlySearch Allergy Intolerances
Search a patient's allergies and intolerances in MEDITECH. Returns a FHIR Bundle of AllergyIntolerance resources (substance code, clinical and verification status, criticality, reactions, and recorded date). If the result has a `next` link, use `meditech_next_page` to get more. Use meditech_allergy_intolerance_search to find or list records. Use meditech_allergy_intolerance_read to fetch one known ID.
Inputs
_idstring- Logical ID of a single allergy to return. Use it on its own, without the other filters. Example: 12345
patientstring- FHIR logical ID of the patient whose allergies to return, without the 'Patient/' prefix. Required unless _id is given. Find it with meditech_patient_search. Example: 12345
meditech_appointment_readGet one appointment from MEDITECH by its FHIR ID.Read-onlyGet Appointment
Get one appointment from MEDITECH by its FHIR ID. Returns a FHIR Appointment resource with status, start and end time, appointment type, participants (patient, practitioner, location), and reason. Use meditech_appointment_read to fetch one known ID. Use meditech_appointment_search to find appointments.
Inputs
appointment_idstringrequired- FHIR logical ID of the appointment, without the 'Appointment/' prefix. Example: 12345
meditech_appointment_searchSearch appointments in MEDITECH by patient, practitioner, location, date, or status.Read-onlySearch Appointments
Search appointments in MEDITECH by patient, practitioner, location, date, or status. Returns a FHIR Bundle of Appointment resources (status, start and end time, appointment type, participants (patient, practitioner, location), and reason). If the result has a `next` link, use `meditech_next_page` to get more. Use meditech_appointment_search to find or list records. Use meditech_appointment_read to fetch one known ID.
Inputs
_countinteger- Maximum number of appointments to return on one page. MEDITECH sets the default page size. Example: 20
_idstring- Logical ID of a single appointment to return. Use it on its own, without the other filters. Example: 12345
datearray- Filter appointments by appointment date. Pass one or two values as a JSON array; each value can start with a FHIR prefix (eq, ge, gt, le, lt) and is sent as a repeated query parameter. Use ge and le together for a range. Example: ["ge2024-01-01", "le2024-12-31"]
locationstring- FHIR logical ID of the location where the appointments take place. Example: 24680
patientstring- FHIR logical ID of the patient whose appointments to return, without the 'Patient/' prefix. Required unless _id is given. Find it with meditech_patient_search. Example: 12345
practitionerstring- FHIR logical ID of a practitioner taking part in the appointments. Example: 67890
statusstring- Appointment status to filter by. Example: bookedone of
proposedpendingbookedarrivedfulfilledcancellednoshowentered-in-errorchecked-inwaitlist
meditech_binary_readGet one binary file from MEDITECH by its FHIR ID.Read-onlyGet Binary
Get one binary file from MEDITECH by its FHIR ID. Returns a FHIR Binary resource with the content type and base64-encoded data of a document attachment. Use meditech_binary_read to download an attachment that a document or report links to as Binary/<id>. Use meditech_document_reference_search to find documents first.
Inputs
binary_idstringrequired- FHIR logical ID of the binary file, without the 'Binary/' prefix. Example: 12345
meditech_care_plan_readGet one care plan from MEDITECH by its FHIR ID.Read-onlyGet Care Plan
Get one care plan from MEDITECH by its FHIR ID. Returns a FHIR CarePlan resource with category, status, intent, narrative text, period, and linked goals and activities. Use meditech_care_plan_read to fetch one known ID. Use meditech_care_plan_search to find care plans.
Inputs
care_plan_idstringrequired- FHIR logical ID of the care plan, without the 'CarePlan/' prefix. Example: 12345
meditech_care_plan_searchSearch a patient's care plans in MEDITECH, optionally by category or status.Read-onlySearch Care Plans
Search a patient's care plans in MEDITECH, optionally by category or status. Returns a FHIR Bundle of CarePlan resources (category, status, intent, narrative text, period, and linked goals and activities). If the result has a `next` link, use `meditech_next_page` to get more. Use meditech_care_plan_search to find or list records. Use meditech_care_plan_read to fetch one known ID.
Inputs
_countinteger- Maximum number of care plans to return on one page. MEDITECH sets the default page size. Example: 20
_idstring- Logical ID of a single care plan to return. Use it on its own, without the other filters. Example: 12345
categorystring- Care plan category code. US Core care plans use assess-plan. Example: assess-plan
patientstring- FHIR logical ID of the patient whose care plans to return, without the 'Patient/' prefix. Required unless _id is given. Find it with meditech_patient_search. Example: 12345
statusstring- Care plan status to filter by. Example: activeone of
draftactiveon-holdrevokedcompletedentered-in-errorunknown
meditech_care_team_readGet one care team from MEDITECH by its FHIR ID.Read-onlyGet Care Team
Get one care team from MEDITECH by its FHIR ID. Returns a FHIR CareTeam resource with status, the patient, and participants with their roles. Use meditech_care_team_read to fetch one known ID. Use meditech_care_team_search to find care teams.
Inputs
care_team_idstringrequired- FHIR logical ID of the care team, without the 'CareTeam/' prefix. Example: 12345
meditech_care_team_searchSearch a patient's care teams in MEDITECH, optionally by status.Read-onlySearch Care Teams
Search a patient's care teams in MEDITECH, optionally by status. Returns a FHIR Bundle of CareTeam resources (status, the patient, and participants with their roles). If the result has a `next` link, use `meditech_next_page` to get more. Use meditech_care_team_search to find or list records. Use meditech_care_team_read to fetch one known ID.
Inputs
_countinteger- Maximum number of care teams to return on one page. MEDITECH sets the default page size. Example: 20
_idstring- Logical ID of a single care team to return. Use it on its own, without the other filters. Example: 12345
patientstring- FHIR logical ID of the patient whose care teams to return, without the 'Patient/' prefix. Required unless _id is given. Find it with meditech_patient_search. Example: 12345
statusstring- Care team status to filter by. Example: activeone of
proposedactivesuspendedinactiveentered-in-error
meditech_communication_readGet one message from MEDITECH by its FHIR ID.Read-onlyGet Communication
Get one message from MEDITECH by its FHIR ID. Returns a FHIR Communication resource with status, sender, recipients, sent time, subject patient, topic, thread links, and the message payload. Use meditech_communication_read to fetch one known ID. Use meditech_communication_search to find messages.
Inputs
communication_idstringrequired- FHIR logical ID of the message, without the 'Communication/' prefix. Example: 12345
meditech_communication_searchSearch clinical messages in MEDITECH by patient, sender, recipient, sent date, or thread.Read-onlySearch Communications
Search clinical messages in MEDITECH by patient, sender, recipient, sent date, or thread. Returns a FHIR Bundle of Communication resources (status, sender, recipients, sent time, subject patient, topic, thread links, and the message payload). If the result has a `next` link, use `meditech_next_page` to get more. Use meditech_communication_search to find or list records. Use meditech_communication_read to fetch one known ID.
Inputs
_countinteger- Maximum number of messages to return on one page. MEDITECH sets the default page size. Example: 20
_idstring- Logical ID of a single message to return. Use it on its own, without the other filters. Example: 12345
in_response_tostring- Reference to a message; returns only its direct replies. Example: Communication/11111
in_response_to_belowstring- Reference to a message; returns every reply below it in the thread. Example: Communication/11111
in_response_to_missingboolean- Set true to return only top-level messages (thread starters), or false to return only replies. Example: true
part_ofstring- Reference to the root message of a thread; returns every message in that thread. Example: Communication/11111
patientstring- FHIR logical ID of the patient the messages are about. Example: 12345
recipientstring- Reference to a patient or practitioner who is one of the recipients. Example: Practitioner/67890
senderstring- Reference to the message sender: a Patient, Practitioner or RelatedPerson reference or ID. Example: Practitioner/67890
sentarray- Filter messages by the date and time they were sent. Pass one or two values as a JSON array; each value can start with a FHIR prefix (eq, ge, gt, le, lt) and is sent as a repeated query parameter. Use ge and le together for a range. Example: ["ge2024-01-01", "le2024-12-31"]
subjectstring- Reference to the patient the messages are about, as an ID or Patient/<id>. Use patient or subject, not both. Example: Patient/12345
meditech_condition_readGet one condition from MEDITECH by its FHIR ID.Read-onlyGet Condition
Get one condition from MEDITECH by its FHIR ID. Returns a FHIR Condition resource with condition code, category (problem list item, encounter diagnosis or health concern), clinical and verification status, onset, and recorded date. Use meditech_condition_read to fetch one known ID. Use meditech_condition_search to find conditions.
Inputs
condition_idstringrequired- FHIR logical ID of the condition, without the 'Condition/' prefix. Example: 12345
meditech_condition_searchSearch a patient's conditions in MEDITECH (problem list, encounter diagnoses, health concerns), optionally by category, clinical status, code, or date.Read-onlySearch Conditions
Search a patient's conditions in MEDITECH (problem list, encounter diagnoses, health concerns), optionally by category, clinical status, code, or date. Returns a FHIR Bundle of Condition resources (condition code, category (problem list item, encounter diagnosis or health concern), clinical and verification status, onset, and recorded date). If the result has a `next` link, use `meditech_next_page` to get more. Use meditech_condition_search to find or list records. Use meditech_condition_read to fetch one known ID.
Inputs
_countinteger- Maximum number of conditions to return on one page. MEDITECH sets the default page size. Example: 20
_idstring- Logical ID of a single condition to return. Use it on its own, without the other filters. Example: 12345
categorystring- Condition category code. Example: problem-list-itemone of
problem-list-itemencounter-diagnosishealth-concern clinical_statusstring- Clinical status to filter by. Example: activeone of
activerecurrencerelapseinactiveremissionresolved codestring- Condition code as system|code or a bare code (SNOMED CT or ICD-10-CM). Example: http://snomed.info/sct|44054006
onset_datearray- Filter conditions by onset date. Pass one or two values as a JSON array; each value can start with a FHIR prefix (eq, ge, gt, le, lt) and is sent as a repeated query parameter. Use ge and le together for a range. Example: ["ge2024-01-01", "le2024-12-31"]
patientstring- FHIR logical ID of the patient whose conditions to return, without the 'Patient/' prefix. Required unless _id is given. Find it with meditech_patient_search. Example: 12345
recorded_datearray- Filter conditions by the date they were recorded. Pass one or two values as a JSON array; each value can start with a FHIR prefix (eq, ge, gt, le, lt) and is sent as a repeated query parameter. Use ge and le together for a range. Example: ["ge2024-01-01", "le2024-12-31"]
meditech_coverage_readGet one insurance coverage from MEDITECH by its FHIR ID.Read-onlyGet Coverage
Get one insurance coverage from MEDITECH by its FHIR ID. Returns a FHIR Coverage resource with status, payer, subscriber and beneficiary, relationship, plan identifiers, and coverage period. Use meditech_coverage_read to fetch one known ID. Use meditech_coverage_search to find insurance coverages.
Inputs
coverage_idstringrequired- FHIR logical ID of the insurance coverage, without the 'Coverage/' prefix. Example: 12345
meditech_coverage_searchSearch a patient's insurance coverage in MEDITECH.Read-onlySearch Coverages
Search a patient's insurance coverage in MEDITECH. Returns a FHIR Bundle of Coverage resources (status, payer, subscriber and beneficiary, relationship, plan identifiers, and coverage period). If the result has a `next` link, use `meditech_next_page` to get more. Use meditech_coverage_search to find or list records. Use meditech_coverage_read to fetch one known ID.
Inputs
_idstring- Logical ID of a single insurance coverage to return. Use it on its own, without the other filters. Example: 12345
patientstring- FHIR logical ID of the patient whose insurance coverages to return, without the 'Patient/' prefix. Required unless _id is given. Find it with meditech_patient_search. Example: 12345
meditech_device_readGet one implantable device from MEDITECH by its FHIR ID.Read-onlyGet Device
Get one implantable device from MEDITECH by its FHIR ID. Returns a FHIR Device resource with device type, UDI carrier, status, expiration and manufacture dates, and the patient. Use meditech_device_read to fetch one known ID. Use meditech_device_search to find implantable devices.
Inputs
device_idstringrequired- FHIR logical ID of the implantable device, without the 'Device/' prefix. Example: 12345
meditech_device_searchSearch a patient's implantable devices in MEDITECH, optionally by device type.Read-onlySearch Devices
Search a patient's implantable devices in MEDITECH, optionally by device type. Returns a FHIR Bundle of Device resources (device type, UDI carrier, status, expiration and manufacture dates, and the patient). If the result has a `next` link, use `meditech_next_page` to get more. Use meditech_device_search to find or list records. Use meditech_device_read to fetch one known ID.
Inputs
_idstring- Logical ID of a single implantable device to return. Use it on its own, without the other filters. Example: 12345
patientstring- FHIR logical ID of the patient whose implantable devices to return, without the 'Patient/' prefix. Required unless _id is given. Find it with meditech_patient_search. Example: 12345
typestring- Device type code as system|code or a bare SNOMED CT code. Example: http://snomed.info/sct|14106009
meditech_diagnostic_report_readGet one diagnostic report from MEDITECH by its FHIR ID.Read-onlyGet Diagnostic Report
Get one diagnostic report from MEDITECH by its FHIR ID. Returns a FHIR DiagnosticReport resource with category, report code, status, effective and issued times, results references, and presented report content. Use meditech_diagnostic_report_read to fetch one known ID. Use meditech_diagnostic_report_search to find diagnostic reports.
Inputs
diagnostic_report_idstringrequired- FHIR logical ID of the diagnostic report, without the 'DiagnosticReport/' prefix. Example: 12345
meditech_diagnostic_report_searchSearch a patient's diagnostic reports in MEDITECH (lab, radiology, cardiology, pathology), optionally by category, code, or date.Read-onlySearch Diagnostic Reports
Search a patient's diagnostic reports in MEDITECH (lab, radiology, cardiology, pathology), optionally by category, code, or date. Returns a FHIR Bundle of DiagnosticReport resources (category, report code, status, effective and issued times, results references, and presented report content). If the result has a `next` link, use `meditech_next_page` to get more. Use meditech_diagnostic_report_search to find or list records. Use meditech_diagnostic_report_read to fetch one known ID.
Inputs
_countinteger- Maximum number of diagnostic reports to return on one page. MEDITECH sets the default page size. Example: 20
_idstring- Logical ID of a single diagnostic report to return. Use it on its own, without the other filters. Example: 12345
categorystring- Report category as system|code or a bare code: LAB for laboratory, or the LOINC codes LP29684-5 (radiology), LP29708-2 (cardiology) or LP7839-6 (pathology). Example: LAB
codestring- Report code as system|code or a bare LOINC code. Example: http://loinc.org|58410-2
datearray- Filter diagnostic reports by clinically relevant date. Pass one or two values as a JSON array; each value can start with a FHIR prefix (eq, ge, gt, le, lt) and is sent as a repeated query parameter. Use ge and le together for a range. Example: ["ge2024-01-01", "le2024-12-31"]
patientstring- FHIR logical ID of the patient whose diagnostic reports to return, without the 'Patient/' prefix. Required unless _id is given. Find it with meditech_patient_search. Example: 12345
meditech_document_reference_docrefAsk MEDITECH for a patient's C-CDA summary document, such as a Continuity of Care Document, for a date range or encounter (US Core DocumentReference $docref).Read-onlyGenerate Patient Summary Document
Ask MEDITECH for a patient's C-CDA summary document, such as a Continuity of Care Document, for a date range or encounter (US Core DocumentReference $docref). Returns a FHIR Bundle of DocumentReference resources whose attachments link to the generated C-CDA XML; fetch it with meditech_binary_read. Use meditech_document_reference_docref to get a summary of care. Use meditech_document_reference_search to list notes and documents already on file.
Inputs
patientstringrequired- FHIR logical ID of the patient, without the 'Patient/' prefix. Find it with meditech_patient_search. Example: 12345
encounterstring- FHIR logical ID of the encounter, for the visit-specific document types 18842-5 and 57133-1. Example: 67890
endstring- End of the date range the document covers (YYYY-MM-DD). Example: 2024-12-31
on_demandboolean- Set true to ask MEDITECH to assemble a new document now; leave empty to also get documents it already stored. Example: true
startstring- Start of the date range the document covers (YYYY-MM-DD). Example: 2024-01-01
typestring- LOINC code of the document to generate. Leave empty for the default Continuity of Care Document (34133-9). The visit-specific types 18842-5 (discharge summary) and 57133-1 (referral note) also need encounter. Example: 34133-9
meditech_document_reference_readGet one clinical document from MEDITECH by its FHIR ID.Read-onlyGet Document Reference
Get one clinical document from MEDITECH by its FHIR ID. Returns a FHIR DocumentReference resource with document type and category, status, author, date, encounter context, and attachment content (inline data or a Binary URL). Use meditech_document_reference_read to fetch one known ID. Use meditech_document_reference_search to find clinical documents.
Inputs
document_reference_idstringrequired- FHIR logical ID of the clinical document, without the 'DocumentReference/' prefix. Example: 12345
meditech_document_reference_searchSearch a patient's clinical documents and notes in MEDITECH by category, type, date, status, or encounter.Read-onlySearch Document References
Search a patient's clinical documents and notes in MEDITECH by category, type, date, status, or encounter. Returns a FHIR Bundle of DocumentReference resources (document type and category, status, author, date, encounter context, and attachment content (inline data or a Binary URL)). If the result has a `next` link, use `meditech_next_page` to get more. Use meditech_document_reference_search to find or list records. Use meditech_document_reference_read to fetch one known ID.
Inputs
_idstring- Logical ID of a single clinical document to return. Use it on its own, without the other filters. Example: 12345
categorystring- Document category code. US Core clinical notes use clinical-note. Example: clinical-note
datearray- Filter clinical documents by the date they were created. Pass one or two values as a JSON array; each value can start with a FHIR prefix (eq, ge, gt, le, lt) and is sent as a repeated query parameter. Use ge and le together for a range. Example: ["ge2024-01-01", "le2024-12-31"]
encounterstring- FHIR logical ID of the encounter the documents belong to. Example: 67890
endstring- Return documents whose clinical period ends on or before this date (YYYY-MM-DD). Example: 2024-12-31
patientstring- FHIR logical ID of the patient whose clinical documents to return, without the 'Patient/' prefix. Required unless _id is given. Find it with meditech_patient_search. Example: 12345
periodarray- Filter clinical documents by the clinical period they cover. Pass one or two values as a JSON array; each value can start with a FHIR prefix (eq, ge, gt, le, lt) and is sent as a repeated query parameter. Use ge and le together for a range. Example: ["ge2024-01-01", "le2024-12-31"]
startstring- Return documents whose clinical period starts on or after this date (YYYY-MM-DD). Example: 2024-01-01
statusstring- Document status to filter by. Example: currentone of
currentsupersededentered-in-error typestring- Document type as system|code or a bare LOINC code. Example: http://loinc.org|11506-3
meditech_encounter_readGet one encounter from MEDITECH by its FHIR ID.Read-onlyGet Encounter
Get one encounter from MEDITECH by its FHIR ID. Returns a FHIR Encounter resource with status, class, type, period, participants, location, reason, and discharge disposition. Use meditech_encounter_read to fetch one known ID. Use meditech_encounter_search to find encounters.
Inputs
encounter_idstringrequired- FHIR logical ID of the encounter, without the 'Encounter/' prefix. Example: 12345
meditech_encounter_searchSearch a patient's encounters (visits and admissions) in MEDITECH by date, class, type, status, or identifier.Read-onlySearch Encounters
Search a patient's encounters (visits and admissions) in MEDITECH by date, class, type, status, or identifier. Returns a FHIR Bundle of Encounter resources (status, class, type, period, participants, location, reason, and discharge disposition). If the result has a `next` link, use `meditech_next_page` to get more. Use meditech_encounter_search to find or list records. Use meditech_encounter_read to fetch one known ID.
Inputs
_countinteger- Maximum number of encounters to return on one page. MEDITECH sets the default page size. Example: 20
_idstring- Logical ID of a single encounter to return. Use it on its own, without the other filters. Example: 12345
classstring- Encounter class code such as AMB (ambulatory), IMP (inpatient) or EMER (emergency). Example: IMP
datearray- Filter encounters by encounter date. Pass one or two values as a JSON array; each value can start with a FHIR prefix (eq, ge, gt, le, lt) and is sent as a repeated query parameter. Use ge and le together for a range. Example: ["ge2024-01-01", "le2024-12-31"]
identifierstring- Encounter identifier such as a visit or account number, as system|value or a bare value. Example: 12345678
patientstring- FHIR logical ID of the patient whose encounters to return, without the 'Patient/' prefix. Required unless _id is given. Find it with meditech_patient_search. Example: 12345
statusstring- Encounter status to filter by. Example: finishedone of
plannedarrivedtriagedin-progressonleavefinishedcancelledentered-in-errorunknown typestring- Encounter type as system|code or a bare code. Example: http://snomed.info/sct|185349003
meditech_goal_readGet one goal from MEDITECH by its FHIR ID.Read-onlyGet Goal
Get one goal from MEDITECH by its FHIR ID. Returns a FHIR Goal resource with lifecycle status, description, target dates and measures, and the patient. Use meditech_goal_read to fetch one known ID. Use meditech_goal_search to find goals.
Inputs
goal_idstringrequired- FHIR logical ID of the goal, without the 'Goal/' prefix. Example: 12345
meditech_goal_searchSearch a patient's goals in MEDITECH, optionally by lifecycle status or target date.Read-onlySearch Goals
Search a patient's goals in MEDITECH, optionally by lifecycle status or target date. Returns a FHIR Bundle of Goal resources (lifecycle status, description, target dates and measures, and the patient). If the result has a `next` link, use `meditech_next_page` to get more. Use meditech_goal_search to find or list records. Use meditech_goal_read to fetch one known ID.
Inputs
_countinteger- Maximum number of goals to return on one page. MEDITECH sets the default page size. Example: 20
_idstring- Logical ID of a single goal to return. Use it on its own, without the other filters. Example: 12345
lifecycle_statusstring- Goal lifecycle status to filter by. Example: activeone of
proposedplannedacceptedactiveon-holdcompletedcancelledentered-in-errorrejected patientstring- FHIR logical ID of the patient whose goals to return, without the 'Patient/' prefix. Required unless _id is given. Find it with meditech_patient_search. Example: 12345
target_datearray- Filter goals by target date. Pass one or two values as a JSON array; each value can start with a FHIR prefix (eq, ge, gt, le, lt) and is sent as a repeated query parameter. Use ge and le together for a range. Example: ["ge2024-01-01", "le2024-12-31"]
meditech_immunization_readGet one immunization from MEDITECH by its FHIR ID.Read-onlyGet Immunization
Get one immunization from MEDITECH by its FHIR ID. Returns a FHIR Immunization resource with vaccine code, status, occurrence date, lot number, performer, and location. Use meditech_immunization_read to fetch one known ID. Use meditech_immunization_search to find immunizations.
Inputs
immunization_idstringrequired- FHIR logical ID of the immunization, without the 'Immunization/' prefix. Example: 12345
meditech_immunization_searchSearch a patient's immunizations in MEDITECH, optionally by status or date.Read-onlySearch Immunizations
Search a patient's immunizations in MEDITECH, optionally by status or date. Returns a FHIR Bundle of Immunization resources (vaccine code, status, occurrence date, lot number, performer, and location). If the result has a `next` link, use `meditech_next_page` to get more. Use meditech_immunization_search to find or list records. Use meditech_immunization_read to fetch one known ID.
Inputs
_idstring- Logical ID of a single immunization to return. Use it on its own, without the other filters. Example: 12345
datearray- Filter immunizations by administration date. Pass one or two values as a JSON array; each value can start with a FHIR prefix (eq, ge, gt, le, lt) and is sent as a repeated query parameter. Use ge and le together for a range. Example: ["ge2024-01-01", "le2024-12-31"]
patientstring- FHIR logical ID of the patient whose immunizations to return, without the 'Patient/' prefix. Required unless _id is given. Find it with meditech_patient_search. Example: 12345
statusstring- Immunization status to filter by. Example: completedone of
completedentered-in-errornot-done
meditech_location_readGet one location from MEDITECH by its FHIR ID.Read-onlyGet Location
Get one location from MEDITECH by its FHIR ID. Returns a FHIR Location resource with name, status, type, address, telecom, and managing organization. Use meditech_location_read to fetch one known ID. Use meditech_location_search to find locations.
Inputs
location_idstringrequired- FHIR logical ID of the location, without the 'Location/' prefix. Example: 12345
meditech_location_searchSearch locations in MEDITECH by name or address.Read-onlySearch Locations
Search locations in MEDITECH by name or address. Returns a FHIR Bundle of Location resources (name, status, type, address, telecom, and managing organization). If the result has a `next` link, use `meditech_next_page` to get more. Use meditech_location_search to find or list records. Use meditech_location_read to fetch one known ID.
Inputs
_countinteger- Maximum number of locations to return on one page. MEDITECH sets the default page size. Example: 20
_idstring- Logical ID of a single location to return. Use it on its own, without the other filters. Example: 12345
addressstring- Text that matches any part of the location address. Example: 7 Main Street
address_citystring- City of the location. Example: Boston
address_postalcodestring- Postal code of the location. Example: 02021
address_statestring- State of the location, usually a two-letter code. Example: MA
namestring- Text that matches the location name. Example: Main Campus
meditech_media_readGet one media item from MEDITECH by its FHIR ID.Read-onlyGet Media
Get one media item from MEDITECH by its FHIR ID. Returns a FHIR Media resource with media type, status, content attachment, and the patient. Use meditech_media_read to fetch one known ID; MEDITECH offers no search for media items, so take the ID from a reference in another resource.
Inputs
media_idstringrequired- FHIR logical ID of the media item, without the 'Media/' prefix. Example: 12345
meditech_medication_dispense_readGet one medication dispense from MEDITECH by its FHIR ID.Read-onlyGet Medication Dispense
Get one medication dispense from MEDITECH by its FHIR ID. Returns a FHIR MedicationDispense resource with medication, status, type, quantity, days supply, dosage instructions, and handed-over time. Use meditech_medication_dispense_read to fetch one known ID. Use meditech_medication_dispense_search to find medication dispenses.
Inputs
medication_dispense_idstringrequired- FHIR logical ID of the medication dispense, without the 'MedicationDispense/' prefix. Example: 12345
meditech_medication_dispense_searchSearch a patient's medication dispenses in MEDITECH, optionally by status or type.Read-onlySearch Medication Dispenses
Search a patient's medication dispenses in MEDITECH, optionally by status or type. Returns a FHIR Bundle of MedicationDispense resources (medication, status, type, quantity, days supply, dosage instructions, and handed-over time). If the result has a `next` link, use `meditech_next_page` to get more. Use meditech_medication_dispense_search to find or list records. Use meditech_medication_dispense_read to fetch one known ID.
Inputs
_countinteger- Maximum number of medication dispenses to return on one page. MEDITECH sets the default page size. Example: 20
_idstring- Logical ID of a single medication dispense to return. Use it on its own, without the other filters. Example: 12345
patientstring- FHIR logical ID of the patient whose medication dispenses to return, without the 'Patient/' prefix. Required unless _id is given. Find it with meditech_patient_search. Example: 12345
statusstring- Dispense status to filter by. Example: completed
typestring- Dispense type code, for example DF (daily fill) or EM (emergency supply). Example: DF
meditech_medication_readGet one medication from MEDITECH by its FHIR ID.Read-onlyGet Medication
Get one medication from MEDITECH by its FHIR ID. Returns a FHIR Medication resource with medication code, form, ingredients, and manufacturer. Use meditech_medication_read to fetch one known ID; MEDITECH offers no search for medications, so take the ID from a reference in another resource.
Inputs
medication_idstringrequired- FHIR logical ID of the medication, without the 'Medication/' prefix. Example: 12345
meditech_medication_request_readGet one medication order from MEDITECH by its FHIR ID.Read-onlyGet Medication Request
Get one medication order from MEDITECH by its FHIR ID. Returns a FHIR MedicationRequest resource with medication, status, intent, category, authored date, requester, dosage instructions, and dispense request. Use meditech_medication_request_read to fetch one known ID. Use meditech_medication_request_search to find medication orders.
Inputs
medication_request_idstringrequired- FHIR logical ID of the medication order, without the 'MedicationRequest/' prefix. Example: 12345
meditech_medication_request_searchSearch a patient's medication orders in MEDITECH, optionally by intent, status, encounter, or date written.Read-onlySearch Medication Requests
Search a patient's medication orders in MEDITECH, optionally by intent, status, encounter, or date written. Returns a FHIR Bundle of MedicationRequest resources (medication, status, intent, category, authored date, requester, dosage instructions, and dispense request). If the result has a `next` link, use `meditech_next_page` to get more. Use meditech_medication_request_search to find or list records. Use meditech_medication_request_read to fetch one known ID.
Inputs
_countinteger- Maximum number of medication orders to return on one page. MEDITECH sets the default page size. Example: 20
_idstring- Logical ID of a single medication order to return. Use it on its own, without the other filters. Example: 12345
authoredonarray- Filter medication orders by the date they were written. Pass one or two values as a JSON array; each value can start with a FHIR prefix (eq, ge, gt, le, lt) and is sent as a repeated query parameter. Use ge and le together for a range. Example: ["ge2024-01-01", "le2024-12-31"]
encounterstring- FHIR logical ID of the encounter the orders were placed in. MEDITECH accepts it only together with intent. Example: 67890
intentstring- Order intent to filter by. Example: orderone of
proposalplanorderoriginal-orderreflex-orderfiller-orderinstance-orderoption patientstring- FHIR logical ID of the patient whose medication orders to return, without the 'Patient/' prefix. Required unless _id is given. Find it with meditech_patient_search. Example: 12345
statusstring- Order status to filter by. Example: activeone of
activeon-holdcancelledcompletedentered-in-errorstoppeddraftunknown
meditech_next_pageFetch the next page of results from a previous MEDITECH search tool by following its Bundle's next link.Read-onlyGet Next Page of Search Results
Fetch the next page of results from a previous MEDITECH search tool by following its Bundle's next link. Returns a FHIR Bundle of the same resource type; when that Bundle has no next link, it is the last page. Use meditech_next_page only to continue a search. Start a new search with the matching meditech_*_search tool.
Inputs
next_page_pathstringrequired- The part of the search result's next link (the Bundle link with relation "next") that comes after the connection's FHIR base, which ends in /v2/uscore/STU6/. Start with the resource type, with no leading slash, and copy the rest exactly, including MEDITECH's continue paging token; don't decode, rebuild, or edit it. Example: for the next link https://greenfield-apis.meditech.com/v2/uscore/STU6/Observation?patient=12345&category=laboratory&continue=abc123 pass Observation?patient=12345&category=laboratory&continue=abc123
meditech_observation_readGet one observation from MEDITECH by its FHIR ID.Read-onlyGet Observation
Get one observation from MEDITECH by its FHIR ID. Returns a FHIR Observation resource with category, code, status, effective time, value with units, interpretation, reference ranges, and components such as blood pressure parts. Use meditech_observation_read to fetch one known ID. Use meditech_observation_search to find observations.
Inputs
observation_idstringrequired- FHIR logical ID of the observation, without the 'Observation/' prefix. Example: 12345
meditech_observation_searchSearch a patient's observations in MEDITECH, such as vital signs, lab results, and social history, by category, code, or date.Read-onlySearch Observations
Search a patient's observations in MEDITECH, such as vital signs, lab results, and social history, by category, code, or date. Returns a FHIR Bundle of Observation resources (category, code, status, effective time, value with units, interpretation, reference ranges, and components such as blood pressure parts). If the result has a `next` link, use `meditech_next_page` to get more. Use meditech_observation_search to find or list records. Use meditech_observation_read to fetch one known ID.
Inputs
_countinteger- Maximum number of observations to return on one page. MEDITECH sets the default page size. Example: 20
_idstring- Logical ID of a single observation to return. Use it on its own, without the other filters. Example: 12345
categorystring- Observation category code. Example: vital-signs
codestring- Observation code as system|code or a bare LOINC code; separate several with commas. Example: http://loinc.org|8867-4
datearray- Filter observations by effective date. Pass one or two values as a JSON array; each value can start with a FHIR prefix (eq, ge, gt, le, lt) and is sent as a repeated query parameter. Use ge and le together for a range. Example: ["ge2024-01-01", "le2024-12-31"]
patientstring- FHIR logical ID of the patient whose observations to return, without the 'Patient/' prefix. Required unless _id is given. Find it with meditech_patient_search. Example: 12345
meditech_organization_readGet one organization from MEDITECH by its FHIR ID.Read-onlyGet Organization
Get one organization from MEDITECH by its FHIR ID. Returns a FHIR Organization resource with name, identifiers (such as NPI), type, address, and telecom. Use meditech_organization_read to fetch one known ID. Use meditech_organization_search to find organizations.
Inputs
organization_idstringrequired- FHIR logical ID of the organization, without the 'Organization/' prefix. Example: 12345
meditech_organization_searchSearch organizations in MEDITECH by name or address.Read-onlySearch Organizations
Search organizations in MEDITECH by name or address. Returns a FHIR Bundle of Organization resources (name, identifiers (such as NPI), type, address, and telecom). If the result has a `next` link, use `meditech_next_page` to get more. Use meditech_organization_search to find or list records. Use meditech_organization_read to fetch one known ID.
Inputs
_countinteger- Maximum number of organizations to return on one page. MEDITECH sets the default page size. Example: 20
_idstring- Logical ID of a single organization to return. Use it on its own, without the other filters. Example: 12345
addressstring- Text that matches any part of the organization address. Example: Boston
namestring- Text that matches the organization name. Example: Community Hospital
meditech_patient_everythingGet a patient's whole record from MEDITECH in one call (FHIR Patient $everything), optionally limited to some resource types or a date range.Read-onlyGet Patient Everything
Get a patient's whole record from MEDITECH in one call (FHIR Patient $everything), optionally limited to some resource types or a date range. Returns a FHIR Bundle with the Patient and the clinical resources that reference them. If the result has a `next` link, use `meditech_next_page` to get more. Use meditech_patient_everything for a full chart summary. Use the resource search tools, such as meditech_condition_search, for one kind of record.
Inputs
patient_idstringrequired- FHIR logical ID of the patient, without the 'Patient/' prefix. Find it with meditech_patient_search. Example: 12345
_typestring- Comma-separated FHIR resource types to include; leave empty for every type the server returns. Example: Condition,MedicationRequest,AllergyIntolerance
endstring- Only include care records dated on or before this date (YYYY-MM-DD). Example: 2024-12-31
startstring- Only include care records dated on or after this date (YYYY-MM-DD). Example: 2024-01-01
meditech_patient_readGet one patient from MEDITECH by its FHIR ID.Read-onlyGet Patient
Get one patient from MEDITECH by its FHIR ID. Returns a FHIR Patient resource with identifiers such as the MRN, name, birth date, gender, address, telecom, race and ethnicity extensions, and communication language. Use meditech_patient_read to fetch one known ID. Use meditech_patient_search to find patients.
Inputs
patient_idstringrequired- FHIR logical ID of the patient, without the 'Patient/' prefix. Example: 12345
meditech_patient_searchSearch patients in MEDITECH by identifier (such as MRN), name, birth date, gender, email, or phone.Read-onlySearch Patients
Search patients in MEDITECH by identifier (such as MRN), name, birth date, gender, email, or phone. Returns a FHIR Bundle of Patient resources (identifiers such as the MRN, name, birth date, gender, address, telecom, race and ethnicity extensions, and communication language). If the result has a `next` link, use `meditech_next_page` to get more. Use meditech_patient_search to find or list records. Use meditech_patient_read to fetch one known ID. Use the patient's FHIR ID from this result as the patient input of the other meditech search tools.
Inputs
_countinteger- Maximum number of patients to return on one page. MEDITECH sets the default page size. Example: 20
_idstring- Logical ID of a single patient to return. Use it on its own, without the other filters. Example: 12345
birthdatestring- Patient date of birth (YYYY-MM-DD). Example: 1980-01-01
emailstring- Patient email address. Example: patient@example.com
familystring- Patient last name. Example: Doe
genderstring- Administrative gender. Example: femaleone of
malefemaleotherunknown identifierstring- Patient identifier such as the medical record number, as system|value or a bare value. Example: 1234567
namestring- Patient name as "Last,First" (MEDITECH's format). Example: Doe,Jane
phonestring- Patient phone number. Example: 555-555-0100
meditech_practitioner_readGet one practitioner from MEDITECH by its FHIR ID.Read-onlyGet Practitioner
Get one practitioner from MEDITECH by its FHIR ID. Returns a FHIR Practitioner resource with identifiers such as the NPI, name, telecom, address, and qualifications. Use meditech_practitioner_read to fetch one known ID. Use meditech_practitioner_search to find practitioners.
Inputs
practitioner_idstringrequired- FHIR logical ID of the practitioner, without the 'Practitioner/' prefix. Example: 12345
meditech_practitioner_role_readGet one practitioner role from MEDITECH by its FHIR ID.Read-onlyGet Practitioner Role
Get one practitioner role from MEDITECH by its FHIR ID. Returns a FHIR PractitionerRole resource with practitioner, organization, role code, specialty, locations, and telecom. Use meditech_practitioner_role_read to fetch one known ID. Use meditech_practitioner_role_search to find practitioner roles.
Inputs
practitioner_role_idstringrequired- FHIR logical ID of the practitioner role, without the 'PractitionerRole/' prefix. Example: 12345
meditech_practitioner_role_searchSearch practitioner roles in MEDITECH by specialty or practitioner.Read-onlySearch Practitioner Roles
Search practitioner roles in MEDITECH by specialty or practitioner. Returns a FHIR Bundle of PractitionerRole resources (practitioner, organization, role code, specialty, locations, and telecom). If the result has a `next` link, use `meditech_next_page` to get more. Use meditech_practitioner_role_search to find or list records. Use meditech_practitioner_role_read to fetch one known ID.
Inputs
_countinteger- Maximum number of practitioner roles to return on one page. MEDITECH sets the default page size. Example: 20
_idstring- Logical ID of a single practitioner role to return. Use it on its own, without the other filters. Example: 12345
practitionerstring- The practitioner: a reference (Practitioner/<id>), an identifier (system|value) or a name. Example: Practitioner/67890
specialtystring- Specialty code as system|code or a bare code (NUCC taxonomy). Example: http://nucc.org/provider-taxonomy|207Q00000X
meditech_practitioner_searchSearch practitioners in MEDITECH by name, identifier (NPI, license or DEA number), or active state.Read-onlySearch Practitioners
Search practitioners in MEDITECH by name, identifier (NPI, license or DEA number), or active state. Returns a FHIR Bundle of Practitioner resources (identifiers such as the NPI, name, telecom, address, and qualifications). If the result has a `next` link, use `meditech_next_page` to get more. Use meditech_practitioner_search to find or list records. Use meditech_practitioner_read to fetch one known ID.
Inputs
_countinteger- Maximum number of practitioners to return on one page. MEDITECH sets the default page size. Example: 20
_idstring- Logical ID of a single practitioner to return. Use it on its own, without the other filters. Example: 12345
activestring- Set true for active practitioners only, or false for inactive ones. Example: true
familystring- Practitioner last name. Don't combine with given. Example: Smith
givenstring- Practitioner first name. Don't combine with family or identifier. Example: Alex
identifierstring- Practitioner identifier: NPI, license number or DEA number, as system|value or a bare value. Example: http://hl7.org/fhir/sid/us-npi|1234567893
namestring- Text that matches the practitioner's last or first name. Example: Smith
meditech_procedure_readGet one procedure from MEDITECH by its FHIR ID.Read-onlyGet Procedure
Get one procedure from MEDITECH by its FHIR ID. Returns a FHIR Procedure resource with procedure code, status, performed date or period, performer, and reason. Use meditech_procedure_read to fetch one known ID. Use meditech_procedure_search to find procedures.
Inputs
procedure_idstringrequired- FHIR logical ID of the procedure, without the 'Procedure/' prefix. Example: 12345
meditech_procedure_searchSearch a patient's procedures in MEDITECH, optionally by date, code, or status.Read-onlySearch Procedures
Search a patient's procedures in MEDITECH, optionally by date, code, or status. Returns a FHIR Bundle of Procedure resources (procedure code, status, performed date or period, performer, and reason). If the result has a `next` link, use `meditech_next_page` to get more. Use meditech_procedure_search to find or list records. Use meditech_procedure_read to fetch one known ID.
Inputs
_countinteger- Maximum number of procedures to return on one page. MEDITECH sets the default page size. Example: 20
_idstring- Logical ID of a single procedure to return. Use it on its own, without the other filters. Example: 12345
codestring- Procedure code as system|code or a bare code (SNOMED CT, CPT or ICD-10-PCS). Example: http://snomed.info/sct|80146002
datearray- Filter procedures by performed date. Pass one or two values as a JSON array; each value can start with a FHIR prefix (eq, ge, gt, le, lt) and is sent as a repeated query parameter. Use ge and le together for a range. Example: ["ge2024-01-01", "le2024-12-31"]
patientstring- FHIR logical ID of the patient whose procedures to return, without the 'Patient/' prefix. Required unless _id is given. Find it with meditech_patient_search. Example: 12345
statusstring- Procedure status to filter by. Example: completedone of
preparationin-progressnot-doneon-holdstoppedcompletedentered-in-errorunknown
meditech_provenance_readGet one provenance record from MEDITECH by its FHIR ID.Read-onlyGet Provenance
Get one provenance record from MEDITECH by its FHIR ID. Returns a FHIR Provenance resource with the target resources, recorded time, and agents (author and transmitter) with their organizations. Use meditech_provenance_read to fetch one known ID; MEDITECH offers no search for provenance records, so take the ID from a reference in another resource.
Inputs
provenance_idstringrequired- FHIR logical ID of the provenance record, without the 'Provenance/' prefix. Example: 12345
meditech_questionnaire_response_readGet one questionnaire response from MEDITECH by its FHIR ID.Read-onlyGet Questionnaire Response
Get one questionnaire response from MEDITECH by its FHIR ID. Returns a FHIR QuestionnaireResponse resource with questionnaire canonical URL, status, subject, authored time, author, and the answered items. Use meditech_questionnaire_response_read to fetch one known ID. Use meditech_questionnaire_response_search to find questionnaire responses.
Inputs
questionnaire_response_idstringrequired- FHIR logical ID of the questionnaire response, without the 'QuestionnaireResponse/' prefix. Example: 12345
meditech_questionnaire_response_searchSearch questionnaire responses (completed forms) in MEDITECH by patient, questionnaire, status, date, or context.Read-onlySearch Questionnaire Responses
Search questionnaire responses (completed forms) in MEDITECH by patient, questionnaire, status, date, or context. Returns a FHIR Bundle of QuestionnaireResponse resources (questionnaire canonical URL, status, subject, authored time, author, and the answered items). If the result has a `next` link, use `meditech_next_page` to get more. Use meditech_questionnaire_response_search to find or list records. Use meditech_questionnaire_response_read to fetch one known ID.
Inputs
_countinteger- Maximum number of questionnaire responses to return on one page. MEDITECH sets the default page size. Example: 20
_idstring- Logical ID of a single questionnaire response to return. Use it on its own, without the other filters. Example: 12345
authoredarray- Filter questionnaire responses by the date the answers were gathered. Pass one or two values as a JSON array; each value can start with a FHIR prefix (eq, ge, gt, le, lt) and is sent as a repeated query parameter. Use ge and le together for a range. Example: ["ge2024-01-01", "le2024-12-31"]
contextstring- Reference to the resource the responses are associated with, such as an encounter. Example: Encounter/67890
patientstring- FHIR logical ID of the patient whose questionnaire responses to return, without the 'Patient/' prefix. Required unless _id is given. Find it with meditech_patient_search. Example: 12345
questionnairestring- Canonical URL of the questionnaire that was answered. Example: http://example.org/Questionnaire/phq-9
statusstring- Response status to filter by. Example: completedone of
in-progresscompletedamendedentered-in-errorstopped
meditech_service_request_readGet one service request from MEDITECH by its FHIR ID.Read-onlyGet Service Request
Get one service request from MEDITECH by its FHIR ID. Returns a FHIR ServiceRequest resource with status, intent, category, order code, authored date, requester, and the encounter. Use meditech_service_request_read to fetch one known ID. Use meditech_service_request_search to find service requests.
Inputs
service_request_idstringrequired- FHIR logical ID of the service request, without the 'ServiceRequest/' prefix. Example: 12345
meditech_service_request_searchSearch a patient's service requests (lab, imaging and other orders) in MEDITECH by category, code, status, date, or encounter.Read-onlySearch Service Requests
Search a patient's service requests (lab, imaging and other orders) in MEDITECH by category, code, status, date, or encounter. Returns a FHIR Bundle of ServiceRequest resources (status, intent, category, order code, authored date, requester, and the encounter). If the result has a `next` link, use `meditech_next_page` to get more. Use meditech_service_request_search to find or list records. Use meditech_service_request_read to fetch one known ID.
Inputs
_countinteger- Maximum number of service requests to return on one page. MEDITECH sets the default page size. Example: 20
_idstring- Logical ID of a single service request to return. Use it on its own, without the other filters. Example: 12345
authoredarray- Filter service requests by the date they were written. Pass one or two values as a JSON array; each value can start with a FHIR prefix (eq, ge, gt, le, lt) and is sent as a repeated query parameter. Use ge and le together for a range. Example: ["ge2024-01-01", "le2024-12-31"]
categorystring- Service request category as system|code or a bare code, for example the SNOMED CT codes 108252007 (laboratory) or 363679005 (imaging). Example: http://snomed.info/sct|108252007
codestring- Order code as system|code or a bare code. Example: http://loinc.org|24323-8
encounterstring- FHIR logical ID of the encounter the requests belong to. Example: 67890
patientstring- FHIR logical ID of the patient whose service requests to return, without the 'Patient/' prefix. Required unless _id is given. Find it with meditech_patient_search. Example: 12345
statusstring- Request status to filter by. Example: activeone of
draftactiveon-holdrevokedcompletedentered-in-errorunknown
meditech_specimen_readGet one specimen from MEDITECH by its FHIR ID.Read-onlyGet Specimen
Get one specimen from MEDITECH by its FHIR ID. Returns a FHIR Specimen resource with specimen type, collection time and method, and the patient. Use meditech_specimen_read to fetch one known ID; MEDITECH offers no search for specimens, so take the ID from a reference in another resource.
Inputs
specimen_idstringrequired- FHIR logical ID of the specimen, without the 'Specimen/' prefix. Example: 12345
meditech_task_readGet one task from MEDITECH by its FHIR ID.Read-onlyGet Task
Get one task from MEDITECH by its FHIR ID. Returns a FHIR Task resource with status, intent, code, description, focus, owner, and the patient it is for. Use meditech_task_read to fetch one known ID; MEDITECH offers no search for tasks, so take the ID from a reference in another resource.
Inputs
task_idstringrequired- FHIR logical ID of the task, without the 'Task/' prefix. Example: 12345
meditech_questionnaire_response_createSave a completed or in-progress form (questionnaire response) for a patient in MEDITECH.WriteCreate Questionnaire Response
Save a completed or in-progress form (questionnaire response) for a patient in MEDITECH. Returns the stored QuestionnaireResponse with its new FHIR ID (HTTP 201; the Location header points to it). Needs QuestionnaireResponse write scope. Use meditech_questionnaire_response_create for a new response. Use meditech_questionnaire_response_update to change one that exists.
Inputs
resourceobjectrequired- The QuestionnaireResponse resource as JSON, following the US Core QuestionnaireResponse profile: questionnaire (canonical URL), status (in-progress or completed), subject (the patient reference), authored (date-time), author, and item (the answers, each with linkId and answer values). resourceType is set by the tool. Example: {"questionnaire": "http://example.org/Questionnaire/phq-9", "status": "completed", "subject": {"reference": "Patient/12345"}, "authored": "2024-05-01T10:00:00Z", "item": [{"linkId": "1", "answer": [{"valueInteger": 2}]}]}
meditech_questionnaire_response_updateReplace an existing questionnaire response in MEDITECH with an edited copy (FHIR update), for example to complete or amend a form.WriteUpdate Questionnaire Response
Replace an existing questionnaire response in MEDITECH with an edited copy (FHIR update), for example to complete or amend a form. Returns the stored QuestionnaireResponse. Needs QuestionnaireResponse write scope. Use it after meditech_questionnaire_response_read: change the fields you need and send the whole resource back. Use meditech_questionnaire_response_create for a new response.
- Idempotent
Inputs
questionnaire_response_idstringrequired- FHIR logical ID of the questionnaire response to update. Example: 12345
resourceobjectrequired- The complete QuestionnaireResponse resource as JSON, usually the output of meditech_questionnaire_response_read with your changes applied. The server replaces the whole record, so any field you leave out is cleared. resourceType and id are set by the tool. Example: {"questionnaire": "http://example.org/Questionnaire/phq-9", "status": "amended", "subject": {"reference": "Patient/12345"}, "item": [{"linkId": "1", "answer": [{"valueInteger": 3}]}]}
No tools match.