# title
ArkPass FHIR Server Capability Statement

# description
FHIR R4 full-stack implementation for Infoway Projectathon 2026. Supports PS-CA Patient Summary generation, CA:FeX document exchange (Data Source, Data Recipient, Data Responder), and patient demographic queries with OAuth 2.0 authentication.

# implementation.description
ArkPass FHIR Server - Infoway Projectathon 2026 Full-Stack Implementation

# rest[].documentation
RESTful FHIR server supporting Patient resource operations and CA:FeX document exchange (Bundle submit, search, retrieve)

# rest[].security.description
OAuth 2.0 Bearer token authentication required for all resource operations. Obtain token via POST /auth/token with client_credentials grant.

# rest[].resource[].documentation
CA:FeX document exchange: submit (CA:FeX-1A), search (CA:FeX-2A), and retrieve (CA:FeX-3A) FHIR Document Bundles conforming to PS-CA Patient Summary.

# rest[].resource[].interaction[].documentation
CA:FeX-1A: Submit a FHIR Document Bundle (Data Recipient)

# rest[].resource[].interaction[].documentation
CA:FeX-3A: Retrieve a FHIR Document Bundle by ID (Data Responder)

# rest[].resource[].interaction[].documentation
CA:FeX-2A: Search for FHIR Document Bundles (Data Responder)

# rest[].resource[].searchParam[].documentation
Type of the Composition (LOINC code, e.g. 60591-5 for Patient Summary)

# rest[].resource[].searchParam[].documentation
Status of the Composition (e.g. final, preliminary)

# rest[].resource[].searchParam[].documentation
Patient reference in the Composition subject

# rest[].resource[].searchParam[].documentation
Patient identifier (system|value) for chained search

# rest[].resource[].searchParam[].documentation
Bundle timestamp (supports gt, lt, ge, le prefixes)

# rest[].resource[].documentation
Patient demographic information with Canadian baseline and PS-CA conformance. Supports $summary operation for PS-CA document generation.

# rest[].resource[].searchParam[].documentation
Patient identifier (e.g., health card number)

# rest[].resource[].searchParam[].documentation
Gender (male | female | other | unknown)

# rest[].resource[].operation[].documentation
Generate a PS-CA Patient Summary Document Bundle for a specific patient