openapi: 3.1.0 info: title: Children's Hospital of Philadelphia FHIR R4 Bulk Data API description: 'The Children''s Hospital of Philadelphia (CHOP) FHIR Server is an Epic-backed HL7 FHIR R4 implementation exposing CMS-mandated Patient Access and Provider Directory data, plus broader SMART on FHIR clinical resources. It conforms to US Core 6.1.0 and the HL7 FHIR Bulk Data Access (Flat FHIR) capability statement. Software: Epic (November 2025 release). Authorization is OAuth 2.0 / SMART-on-FHIR (authorization code, refresh token, client credentials, JWT bearer). PKCE (S256) is supported. App registration is performed through Epic on FHIR (https://fhir.epic.com) by selecting Children''s Hospital of Philadelphia (Organization ID 332) as the target endpoint. ' version: 4.0.1 contact: name: CHOP FHIR API url: https://www.chop.edu/health-resources/cms-interoperability-and-patient-access license: name: Epic FHIR Terms of Use url: https://fhir.epic.com servers: - url: https://epicnsproxy.chop.edu/fhir/api/FHIR/R4 description: CHOP FHIR R4 production endpoint (Epic NS Proxy) security: - smartOnFhir: [] tags: - name: Bulk Data description: HL7 FHIR Bulk Data Access (Flat FHIR) Group-level export. paths: /Group/{id}/$export: get: tags: - Bulk Data summary: Export Group Bulk Data description: 'Initiates a Bulk Data (Flat FHIR) export for a Group of patients per HL7 FHIR Bulk Data Access IG. Requires client_credentials authentication and the `system/*.read` scope. Status is polled at the Content-Location URL. ' operationId: exportGroup parameters: - name: id in: path required: true schema: type: string - name: _type in: query schema: type: string responses: '202': description: Export accepted; poll Content-Location header for status. components: securitySchemes: smartOnFhir: type: oauth2 flows: authorizationCode: authorizationUrl: https://epicnsproxy.chop.edu/fhir/oauth2/authorize tokenUrl: https://epicnsproxy.chop.edu/fhir/oauth2/token scopes: launch: SMART app launch context openid: OpenID Connect fhirUser: Current FHIR user identity profile: User profile claims offline_access: Refresh token issuance clientCredentials: tokenUrl: https://epicnsproxy.chop.edu/fhir/oauth2/token scopes: system/*.read: System-level read of all resources (Bulk Data)