{ "opencollection": "1.0.0", "info": { "name": "HL7 FHIR R4 Healthcare Bundle Patient API", "version": "4.0.1" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.example.com/authorize", "accessTokenUrl": "https://auth.example.com/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Patient", "type": "folder" }, "items": [ { "info": { "name": "Search patients", "type": "http" }, "http": { "method": "GET", "url": "https://fhir-server.example.com/fhir/R4/Patient", "params": [ { "name": "_id", "value": "", "type": "query", "description": "Logical id of the patient" }, { "name": "identifier", "value": "", "type": "query", "description": "Patient identifier (e.g., \"http://hospital.example.org/patients|12345\")" }, { "name": "family", "value": "", "type": "query", "description": "A portion of the family name of the patient" }, { "name": "given", "value": "", "type": "query", "description": "A portion of the given name of the patient" }, { "name": "birthdate", "value": "", "type": "query", "description": "The patient's date of birth (e.g., \"1990-01-15\" or \"ge1990\")" }, { "name": "gender", "value": "", "type": "query" }, { "name": "_count", "value": "", "type": "query", "description": "Number of results per page" }, { "name": "_sort", "value": "", "type": "query", "description": "Sort criteria (e.g., \"family,-birthdate\")" }, { "name": "_include", "value": "", "type": "query", "description": "Include related resources (e.g., \"Patient:general-practitioner\")" } ] }, "docs": "Searches for Patient resources matching the specified search parameters. Supports name, identifier (MRN), birthdate, gender, and address searches. Returns a Bundle containing matching Patient resources." }, { "info": { "name": "Create a patient", "type": "http" }, "http": { "method": "POST", "url": "https://fhir-server.example.com/fhir/R4/Patient", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new Patient resource. The server assigns the logical ID." }, { "info": { "name": "Read a patient", "type": "http" }, "http": { "method": "GET", "url": "https://fhir-server.example.com/fhir/R4/Patient/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Logical ID of the patient" } ] }, "docs": "Returns the current version of a Patient resource by its logical ID." }, { "info": { "name": "Update a patient", "type": "http" }, "http": { "method": "PUT", "url": "https://fhir-server.example.com/fhir/R4/Patient/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates an existing Patient resource using a complete replacement (PUT semantics)." } ] } ], "bundled": true }