request_observation_resource
Execute CRUD operations on FHIR Observation resources. Use with get_loinc_code to ensure correct LOINC codes when retrieving observations.
Instructions
Makes an HTTP request to the FHIR server. Use this tool to perform CRUD operations only on the FHIR Observation resource.
IMPORTANT: Before fetching observations that require LOINC codes:
First use get_loinc_code() tool to find appropriate LOINC codes
Then use this tool to fetch the observation with the LOINC code
Rules: - When creating or updating an observation, use only the data explicitly provided by the user. - Do not guess, auto-fill, or assume any missing data. - When deleting an observation, ask the user for confirmation with details of the observation and wait for the user's confirmation. - Provide links to the app (not api) observation resource in the final response.
Args: method: HTTP method (GET, POST, PUT, DELETE) path: Resource path (e.g., "/Observation?subject:Patient.name=Homer%20Simpson") body: Optional JSON data for POST/PUT requests)
Returns: JSON response from the FHIR server
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |