Health Gorilla · Arazzo Workflow

Health Gorilla Patient Everything

Version 1.0.0

Locate a patient, read the Patient resource, then pull the complete US Core record with the Patient $everything operation.

1 workflow 1 source API 1 provider
View Spec View on GitHub HealthInteroperabilityFHIRClinical DataLab OrderingArazzoWorkflows

Provider

health-gorilla

Workflows

patient-everything
Retrieve the complete US Core record for a matched patient via Patient $everything.
Finds the patient by date of birth, reads the Patient resource, and invokes the Patient $everything operation to return the full clinical Bundle.
3 steps inputs: birthdate outputs: bundle, patient, patientId
1
findPatient
searchPatients
Locate the patient by date of birth.
2
readPatient
readPatient
Read the matched Patient resource by id.
3
everything
patientEverything
Invoke the Patient $everything operation to return the complete US Core Bundle.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Health Gorilla Patient Everything
  summary: Locate a patient, read the Patient resource, then pull the complete US Core record with the Patient $everything operation.
  description: >-
    A patient-record export flow against the Health Gorilla FHIR R4 clinical and
    lab network API. The patient is located by demographics, the Patient resource
    is read by id, and the Patient $everything operation returns the full US Core
    Bundle of clinical data for that patient. This mirrors the US Core
    patient-compartment retrieval pattern over the /fhir/R4 server base. Every
    step inlines its request so the flow is self-contained.
  version: 1.0.0
sourceDescriptions:
- name: healthGorillaFhir
  url: ../openapi/health-gorilla-openapi.yml
  type: openapi
workflows:
- workflowId: patient-everything
  summary: Retrieve the complete US Core record for a matched patient via Patient $everything.
  description: >-
    Finds the patient by date of birth, reads the Patient resource, and invokes
    the Patient $everything operation to return the full clinical Bundle.
  inputs:
    type: object
    required:
    - birthdate
    properties:
      birthdate:
        type: string
        description: Patient date of birth (YYYY-MM-DD) to locate the record subject.
  steps:
  - stepId: findPatient
    description: Locate the patient by date of birth.
    operationId: searchPatients
    parameters:
    - name: birthdate
      in: query
      value: $inputs.birthdate
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      patientId: $response.body#/entry/0/resource/id
  - stepId: readPatient
    description: Read the matched Patient resource by id.
    operationId: readPatient
    parameters:
    - name: id
      in: path
      value: $steps.findPatient.outputs.patientId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      patient: $response.body
  - stepId: everything
    description: Invoke the Patient $everything operation to return the complete US Core Bundle.
    operationId: patientEverything
    parameters:
    - name: id
      in: path
      value: $steps.findPatient.outputs.patientId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      bundle: $response.body
  outputs:
    patientId: $steps.findPatient.outputs.patientId
    patient: $steps.readPatient.outputs.patient
    bundle: $steps.everything.outputs.bundle