Amazon HealthImaging · Arazzo Workflow

Amazon HealthImaging Find Image Set by Patient

Version 1.0.0

Search image sets by DICOM patient ID, then read the top match's properties and metadata.

1 workflow 1 source API 1 provider
View Spec View on GitHub HealthcareHIPAAMachine-LearningMedical ImagingDICOMArazzoWorkflows

Provider

amazon-healthimaging

Workflows

find-image-set-by-patient
Search for a patient's image set and inspect the first result.
Runs a patient-ID search against the data store, and when at least one image set is returned, reads the first match's properties and fetches its metadata blob.
3 steps inputs: datastoreId, dicomPatientId outputs: imageSetMetadataBlob, matchedImageSetId, versionId
1
searchByPatient
Search the data store for image sets whose DICOM patient ID equals the supplied value, returning at most one result.
2
getMatchedImageSet
Read the properties of the matched image set to confirm its state and capture its latest version identifier.
3
getMatchedMetadata
Download the aggregated metadata blob for the matched image set version.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon HealthImaging Find Image Set by Patient
  summary: Search image sets by DICOM patient ID, then read the top match's properties and metadata.
  description: >-
    Locates a patient's imaging data and drills into the first match. The
    workflow searches the data store using an EQUAL filter on the DICOM patient
    ID, branches on whether any image set was found, and when a match exists
    reads its properties and downloads its metadata blob. Every step spells out
    its request inline so the flow can be read and executed without opening the
    underlying OpenAPI description.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-2860.30
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-2860.30
      capability_name: Diagnostic Imaging Services
      spec: amazon-healthimaging-datastore-api-openapi.yml
      confidence: 0.85
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: datastoreApi
  url: ../openapi/amazon-healthimaging-datastore-api-openapi.yml
  type: openapi
workflows:
- workflowId: find-image-set-by-patient
  summary: Search for a patient's image set and inspect the first result.
  description: >-
    Runs a patient-ID search against the data store, and when at least one image
    set is returned, reads the first match's properties and fetches its metadata
    blob.
  inputs:
    type: object
    required:
    - datastoreId
    - dicomPatientId
    properties:
      datastoreId:
        type: string
        description: The identifier of the data store to search.
      dicomPatientId:
        type: string
        description: The DICOM patient ID to match on.
  steps:
  - stepId: searchByPatient
    description: >-
      Search the data store for image sets whose DICOM patient ID equals the
      supplied value, returning at most one result.
    operationId: SearchImageSets
    parameters:
    - name: datastoreId
      in: path
      value: $inputs.datastoreId
    - name: maxResults
      in: query
      value: 1
    requestBody:
      contentType: application/json
      payload:
        searchCriteria:
          filters:
          - operator: EQUAL
            values:
            - DICOMPatientId: $inputs.dicomPatientId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      matchedImageSetId: $response.body#/imageSetsMetadataSummaries/0/imageSetId
    onSuccess:
    - name: patientFound
      type: goto
      stepId: getMatchedImageSet
      criteria:
      - context: $response.body
        condition: $.imageSetsMetadataSummaries.length > 0
        type: jsonpath
    - name: patientMissing
      type: end
      criteria:
      - context: $response.body
        condition: $.imageSetsMetadataSummaries.length == 0
        type: jsonpath
  - stepId: getMatchedImageSet
    description: >-
      Read the properties of the matched image set to confirm its state and
      capture its latest version identifier.
    operationId: GetImageSet
    parameters:
    - name: datastoreId
      in: path
      value: $inputs.datastoreId
    - name: imageSetId
      in: path
      value: $steps.searchByPatient.outputs.matchedImageSetId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      versionId: $response.body#/versionId
      imageSetState: $response.body#/imageSetState
  - stepId: getMatchedMetadata
    description: >-
      Download the aggregated metadata blob for the matched image set version.
    operationId: GetImageSetMetadata
    parameters:
    - name: datastoreId
      in: path
      value: $inputs.datastoreId
    - name: imageSetId
      in: path
      value: $steps.searchByPatient.outputs.matchedImageSetId
    - name: version
      in: query
      value: $steps.getMatchedImageSet.outputs.versionId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      imageSetMetadataBlob: $response.body#/imageSetMetadataBlob
  outputs:
    matchedImageSetId: $steps.searchByPatient.outputs.matchedImageSetId
    versionId: $steps.getMatchedImageSet.outputs.versionId
    imageSetMetadataBlob: $steps.getMatchedMetadata.outputs.imageSetMetadataBlob

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/amazon-healthimaging-find-image-set-by-patient-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.