openapi: 3.0.0 info: title: 'OpenEMR API' version: 7.0.0 servers: - url: /apis/default/ paths: /api/facility: get: tags: - standard description: 'Returns a single facility.' parameters: - name: name in: query description: 'The name for the facility.' required: false schema: type: string - name: facility_npi in: query description: 'The facility_npi for the facility.' required: false schema: type: string - name: phone in: query description: 'The phone for the facility.' required: false schema: type: string - name: fax in: query description: 'The fax for the facility.' required: false schema: type: string - name: street in: query description: 'The street for the facility.' required: false schema: type: string - name: city in: query description: 'The city for the facility.' required: false schema: type: string - name: state in: query description: 'The state for the facility.' required: false schema: type: string - name: postal_code in: query description: 'The postal_code for the facility.' required: false schema: type: string - name: country_code in: query description: 'The country_code for the facility.' required: false schema: type: string - name: federal_ein in: query description: 'The federal_ein for the facility.' required: false schema: type: string - name: website in: query description: 'The website for the facility.' required: false schema: type: string - name: email in: query description: 'The email for the facility.' required: false schema: type: string - name: domain_identifier in: query description: 'The domain_identifier for the facility.' required: false schema: type: string - name: facility_taxonomy in: query description: 'The facility_taxonomy for the facility.' required: false schema: type: string - name: facility_code in: query description: 'The facility_code for the facility.' required: false schema: type: string - name: billing_location in: query description: 'The billing_location setting for the facility.' required: false schema: type: string - name: accepts_assignment in: query description: 'The accepts_assignment setting for the facility.' required: false schema: type: string - name: oid in: query description: 'The oid for the facility.' required: false schema: type: string - name: service_location in: query description: 'The service_location setting for the facility.' required: false schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] post: tags: - standard description: 'Creates a facility in the system' requestBody: required: true content: application/json: schema: required: - name - facility_npi properties: name: description: 'The name for the facility.' type: string facility_npi: description: 'The facility_npi for the facility.' type: string phone: description: 'The phone for the facility.' type: string fax: description: 'The fax for the facility.' type: string street: description: 'The street for the facility.' type: string city: description: 'The city for the facility.' type: string state: description: 'The state for the facility.' type: string postal_code: description: 'The postal_code for the facility.' type: string country_code: description: 'The country_code for the facility.' type: string federal_ein: description: 'The federal_ein for the facility.' type: string website: description: 'The website for the facility.' type: string email: description: 'The email for the facility.' type: string domain_identifier: description: 'The domain_identifier for the facility.' type: string facility_taxonomy: description: 'The facility_taxonomy for the facility.' type: string facility_code: description: 'The facility_code for the facility.' type: string billing_location: description: 'The billing_location setting for the facility.' type: string accepts_assignment: description: 'The accepts_assignment setting for the facility.' type: string oid: description: 'The oid for the facility.' type: string service_location: description: 'The service_location setting for the facility.' type: string type: object example: name: Aquaria facility_npi: '123456789123' phone: 808-606-3030 fax: 808-606-3031 street: '1337 Bit Shifter Ln' city: 'San Lorenzo' state: ZZ postal_code: '54321' country_code: US federal_ein: '4343434' website: 'https://example.com' email: foo@bar.com domain_identifier: '' facility_taxonomy: '' facility_code: '' billing_location: '1' accepts_assignment: '1' oid: '' service_location: '1' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/facility/{fuuid}': get: tags: - standard description: 'Returns a single facility.' parameters: - name: fuuid in: path description: 'The uuid for the facility.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] put: tags: - standard description: 'Updates a facility in the system' parameters: - name: fuuid in: path description: 'The uuid for the facility.' required: true schema: type: string requestBody: required: true content: application/json: schema: properties: name: description: 'The name for the facility.' type: string facility_npi: description: 'The facility_npi for the facility.' type: string phone: description: 'The phone for the facility.' type: string fax: description: 'The fax for the facility.' type: string street: description: 'The street for the facility.' type: string city: description: 'The city for the facility.' type: string state: description: 'The state for the facility.' type: string postal_code: description: 'The postal_code for the facility.' type: string country_code: description: 'The country_code for the facility.' type: string federal_ein: description: 'The federal_ein for the facility.' type: string website: description: 'The website for the facility.' type: string email: description: 'The email for the facility.' type: string domain_identifier: description: 'The domain_identifier for the facility.' type: string facility_taxonomy: description: 'The facility_taxonomy for the facility.' type: string facility_code: description: 'The facility_code for the facility.' type: string billing_location: description: 'The billing_location setting for the facility.' type: string accepts_assignment: description: 'The accepts_assignment setting for the facility.' type: string oid: description: 'The oid for the facility.' type: string service_location: description: 'The service_location setting for the facility.' type: string type: object example: name: Aquaria facility_npi: '123456789123' phone: 808-606-3030 fax: 808-606-3031 street: '1337 Bit Shifter Ln' city: 'San Lorenzo' state: ZZ postal_code: '54321' country_code: US federal_ein: '4343434' website: 'https://example.com' email: foo@bar.com domain_identifier: '' facility_taxonomy: '' facility_code: '' billing_location: '1' accepts_assignment: '1' oid: '' service_location: '1' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] /api/patient: get: tags: - standard description: 'Retrieves a list of patients' parameters: - name: fname in: query description: 'The first name for the patient.' required: false schema: type: string - name: lname in: query description: 'The last name for the patient.' required: false schema: type: string - name: ss in: query description: 'The social security number for the patient.' required: false schema: type: string - name: street in: query description: 'The street for the patient.' required: false schema: type: string - name: postal_code in: query description: 'The postal code for the patient.' required: false schema: type: string - name: city in: query description: 'The city for the patient.' required: false schema: type: string - name: state in: query description: 'The state for the patient.' required: false schema: type: string - name: phone_home in: query description: 'The home phone for the patient.' required: false schema: type: string - name: phone_biz in: query description: 'The business phone for the patient.' required: false schema: type: string - name: phone_cell in: query description: 'The cell phone for the patient.' required: false schema: type: string - name: postal_contact in: query description: 'The postal_contact for the patient.' required: false schema: type: string - name: sex in: query description: 'The gender for the patient.' required: false schema: type: string - name: country_code in: query description: 'The country code for the patient.' required: false schema: type: string - name: email in: query description: 'The email for the patient.' required: false schema: type: string - name: DOB in: query description: 'The DOB for the patient.' required: false schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] post: tags: - standard description: 'Creates a new patient' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/api_patient_request' responses: '200': description: 'Standard response' content: application/json: schema: properties: validationErrors: { description: 'Validation errors.', type: array, items: { type: object } } internalErrors: { description: 'Internal errors.', type: array, items: { type: object } } data: { description: 'Returned data.', type: array, items: { properties: { pid: { description: 'patient pid', type: integer } }, type: object } } type: object example: validationErrors: [] error_description: [] data: { pid: 1 } '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/patient/{puuid}': get: tags: - standard description: 'Retrieves a single patient by their uuid' parameters: - name: puuid in: path description: 'The uuid for the patient.' required: true schema: type: string responses: '200': description: 'Standard response' content: application/json: schema: $ref: '#/components/schemas/api_patient_response' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] put: tags: - standard description: 'Updates a patient' parameters: - name: puuid in: path description: 'The uuid for the patient.' required: true schema: type: string requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/api_patient_request' responses: '200': description: 'Standard response' content: application/json: schema: $ref: '#/components/schemas/api_patient_response' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/patient/{puuid}/encounter': get: tags: - standard description: 'Retrieves a list of encounters for a single patient' parameters: - name: puuid in: path description: 'The uuid for the patient.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] post: tags: - standard description: 'Creates a new encounter' parameters: - name: puuid in: path description: 'The uuid for the patient.' required: true schema: type: string requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/api_encounter_request' responses: '200': description: 'Standard response' content: application/json: schema: properties: validationErrors: { description: 'Validation errors.', type: array, items: { type: object } } internalErrors: { description: 'Internal errors.', type: array, items: { type: object } } data: { description: 'Returned data.', type: array, items: { properties: { encounter: { description: 'encounter id', type: integer }, uuid: { description: 'encounter uuid', type: string } }, type: object } } type: object example: validationErrors: [] error_description: [] data: { encounter: 1, uuid: 90c196f2-51cc-4655-8858-3a80aebff3ef } '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/patient/{puuid}/encounter/{euuid}': get: tags: - standard description: 'Retrieves a single encounter for a patient' parameters: - name: puuid in: path description: 'The uuid for the patient.' required: true schema: type: string - name: euuid in: path description: 'The uuid for the encounter.' required: true schema: type: string responses: '200': description: 'Standard response' content: application/json: schema: $ref: '#/components/schemas/api_encounter_response' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] put: tags: - standard description: 'Modify a encounter' parameters: - name: puuid in: path description: 'The uuid for the patient.' required: true schema: type: string - name: euuid in: path description: 'The uuid for the encounter.' required: true schema: type: string requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/api_encounter_request' responses: '200': description: 'Standard response' content: application/json: schema: $ref: '#/components/schemas/api_encounter_response' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/patient/{pid}/encounter/{eid}/soap_note': get: tags: - standard description: 'Retrieves soap notes from an encounter for a patient' parameters: - name: pid in: path description: 'The pid for the patient.' required: true schema: type: string - name: eid in: path description: 'The id for the encounter.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] post: tags: - standard description: 'Submits a new soap note' parameters: - name: pid in: path description: 'The id for the patient.' required: true schema: type: string - name: eid in: path description: 'The id for the encounter.' required: true schema: type: string requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/api_soap_note_request' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/patient/{pid}/encounter/{eid}/vital': get: tags: - standard description: 'Retrieves all vitals from an encounter for a patient' parameters: - name: pid in: path description: 'The pid for the patient.' required: true schema: type: string - name: eid in: path description: 'The id for the encounter.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] post: tags: - standard description: 'Submits a new vitals form' parameters: - name: pid in: path description: 'The id for the patient.' required: true schema: type: string - name: eid in: path description: 'The id for the encounter.' required: true schema: type: string requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/api_vital_request' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/patient/{pid}/encounter/{eid}/vital/{vid}': get: tags: - standard description: 'Retrieves a vitals form from an encounter for a patient' parameters: - name: pid in: path description: 'The pid for the patient.' required: true schema: type: string - name: eid in: path description: 'The id for the encounter.' required: true schema: type: string - name: vid in: path description: 'The id for the vitals form.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] put: tags: - standard description: 'Edit a vitals form' parameters: - name: pid in: path description: 'The id for the patient.' required: true schema: type: string - name: eid in: path description: 'The id for the encounter.' required: true schema: type: string - name: vid in: path description: 'The id for the vitalss form.' required: true schema: type: string requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/api_vital_request' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/patient/{pid}/encounter/{eid}/soap_note/{sid}': get: tags: - standard description: 'Retrieves a soap note from an encounter for a patient' parameters: - name: pid in: path description: 'The pid for the patient.' required: true schema: type: string - name: eid in: path description: 'The id for the encounter.' required: true schema: type: string - name: sid in: path description: 'The id for the soap note.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] put: tags: - standard description: 'Edit a soap note' parameters: - name: pid in: path description: 'The id for the patient.' required: true schema: type: string - name: eid in: path description: 'The id for the encounter.' required: true schema: type: string - name: sid in: path description: 'The id for the soap noted.' required: true schema: type: string requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/api_soap_note_request' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] /api/practitioner: get: tags: - standard description: 'Retrieves a list of practitioners' parameters: - name: title in: query description: 'The title for the practitioner.' required: false schema: type: string - name: fname in: query description: 'The first name for the practitioner.' required: false schema: type: string - name: lname in: query description: 'The last name for the practitioner.' required: false schema: type: string - name: mname in: query description: 'The middle name for the practitioner.' required: false schema: type: string - name: federaltaxid in: query description: 'The federal tax id for the practitioner.' required: false schema: type: string - name: federaldrugid in: query description: 'The federal drug id for the practitioner.' required: false schema: type: string - name: upin in: query description: 'The upin for the practitioner.' required: false schema: type: string - name: facility_id in: query description: 'The facility id for the practitioner.' required: false schema: type: string - name: facility in: query description: 'The facility for the practitioner.' required: false schema: type: string - name: npi in: query description: 'The npi for the practitioner.' required: false schema: type: string - name: email in: query description: 'The email for the practitioner.' required: false schema: type: string - name: specialty in: query description: 'The specialty for the practitioner.' required: false schema: type: string - name: billname in: query description: 'The billname for the practitioner.' required: false schema: type: string - name: url in: query description: 'The url for the practitioner.' required: false schema: type: string - name: assistant in: query description: 'The assistant for the practitioner.' required: false schema: type: string - name: organization in: query description: 'The organization for the practitioner.' required: false schema: type: string - name: valedictory in: query description: 'The valedictory for the practitioner.' required: false schema: type: string - name: street in: query description: 'The street for the practitioner.' required: false schema: type: string - name: streetb in: query description: 'The street (line 2) for the practitioner.' required: false schema: type: string - name: city in: query description: 'The city for the practitioner.' required: false schema: type: string - name: state in: query description: 'The state for the practitioner.' required: false schema: type: string - name: zip in: query description: 'The zip for the practitioner.' required: false schema: type: string - name: phone in: query description: 'The phone for the practitioner.' required: false schema: type: string - name: fax in: query description: 'The fax for the practitioner.' required: false schema: type: string - name: phonew1 in: query description: 'The phonew1 for the practitioner.' required: false schema: type: string - name: phonecell in: query description: 'The phonecell for the practitioner.' required: false schema: type: string - name: notes in: query description: 'The notes for the practitioner.' required: false schema: type: string - name: state_license_number2 in: query description: 'The state license number for the practitioner.' required: false schema: type: string - name: username in: query description: 'The username for the practitioner.' required: false schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] post: tags: - standard description: 'Submits a new practitioner' requestBody: required: true content: application/json: schema: required: - fname - lname - npi properties: title: description: 'The title for the practitioner.' type: string fname: description: 'The first name for the practitioner.' type: string mname: description: 'The middle name for the practitioner.' type: string lname: description: 'The last name for the practitioner.' type: string federaltaxid: description: 'The federal tax id for the practitioner.' type: string federaldrugid: description: 'The federal drug id for the practitioner.' type: string upin: description: 'The upin for the practitioner.' type: string facility_id: description: 'The facility_id for the practitioner.' type: string facility: description: 'The facility name for the practitioner.' type: string npi: description: 'The npi for the practitioner.' type: string email: description: 'The email for the practitioner.' type: string specialty: description: 'The specialty for the practitioner.' type: string billname: description: 'The billname for the practitioner.' type: string url: description: 'The url for the practitioner.' type: string assistant: description: 'The assistant for the practitioner.' type: string valedictory: description: 'The valedictory for the practitioner.' type: string street: description: 'The street address for the practitioner.' type: string streetb: description: 'The streetb address for the practitioner.' type: string city: description: 'The city for the practitioner.' type: string state: description: 'The state for the practitioner.' type: string zip: description: 'The zip for the practitioner.' type: string phone: description: 'The phone for the practitioner.' type: string fax: description: 'The fax for the practitioner.' type: string phonew1: description: 'The phonew1 for the practitioner.' type: string phonecell: description: 'The phonecell for the practitioner.' type: string notes: description: 'The notes for the practitioner.' type: string state_license_number: description: 'The state license number for the practitioner.' type: string username: description: 'The username for the practitioner.' type: string type: object example: title: Mrs. fname: Eduardo mname: Kathy lname: Perez federaltaxid: '' federaldrugid: '' upin: '' facility_id: '3' facility: 'Your Clinic Name Here' npi: '12345678901' email: info@pennfirm.com specialty: '' billname: null url: null assistant: null organization: null valedictory: null street: '789 Third Avenue' streetb: '123 Cannaut Street' city: 'San Diego' state: CA zip: '90210' phone: '(619) 555-9827' fax: null phonew1: '(619) 555-7822' phonecell: '(619) 555-7821' notes: null state_license_number: '123456' username: eduardoperez responses: '200': description: 'Standard response' content: application/json: schema: properties: validationErrors: { description: 'Validation errors.', type: array, items: { type: object } } internalErrors: { description: 'Internal errors.', type: array, items: { type: object } } data: { description: 'Returned data.', type: array, items: { properties: { id: { description: 'practitioner id', type: integer }, uuid: { description: 'practitioner uuid', type: string } }, type: object } } type: object example: validationErrors: [] error_description: [] data: { id: 7, uuid: 90d453fb-0248-4c0d-9575-d99d02b169f5 } '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/practitioner/{pruuid}': get: tags: - standard description: 'Retrieves a single practitioner by their uuid' parameters: - name: pruuid in: path description: 'The uuid for the practitioner.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] put: tags: - standard description: 'Edit a practitioner' parameters: - name: pruuid in: path description: 'The uuid for the practitioner.' required: true schema: type: string requestBody: required: true content: application/json: schema: properties: title: description: 'The title for the practitioner.' type: string fname: description: 'The first name for the practitioner.' type: string mname: description: 'The middle name for the practitioner.' type: string lname: description: 'The last name for the practitioner.' type: string federaltaxid: description: 'The federal tax id for the practitioner.' type: string federaldrugid: description: 'The federal drug id for the practitioner.' type: string upin: description: 'The upin for the practitioner.' type: string facility_id: description: 'The facility_id for the practitioner.' type: string facility: description: 'The facility name for the practitioner.' type: string npi: description: 'The npi for the practitioner.' type: string email: description: 'The email for the practitioner.' type: string specialty: description: 'The specialty for the practitioner.' type: string billname: description: 'The billname for the practitioner.' type: string url: description: 'The url for the practitioner.' type: string assistant: description: 'The assistant for the practitioner.' type: string valedictory: description: 'The valedictory for the practitioner.' type: string street: description: 'The street address for the practitioner.' type: string streetb: description: 'The streetb address for the practitioner.' type: string city: description: 'The city for the practitioner.' type: string state: description: 'The state for the practitioner.' type: string zip: description: 'The zip for the practitioner.' type: string phone: description: 'The phone for the practitioner.' type: string fax: description: 'The fax for the practitioner.' type: string phonew1: description: 'The phonew1 for the practitioner.' type: string phonecell: description: 'The phonecell for the practitioner.' type: string notes: description: 'The notes for the practitioner.' type: string state_license_number: description: 'The state license number for the practitioner.' type: string username: description: 'The username for the practitioner.' type: string type: object example: title: Mr fname: Baz mname: '' lname: Bop street: '456 Tree Lane' zip: '08642' city: FooTown state: FL phone: 123-456-7890 responses: '200': description: 'Standard response' content: application/json: schema: properties: validationErrors: { description: 'Validation errors.', type: array, items: { type: object } } internalErrors: { description: 'Internal errors.', type: array, items: { type: object } } data: { description: 'Returned data.', type: array, items: { properties: { id: { description: 'practitioner id', type: string }, uuid: { description: 'practitioner uuid', type: string }, title: { description: 'practitioner title', type: string }, fname: { description: 'practitioner fname', type: string }, lname: { description: 'practitioner lname', type: string }, mname: { description: 'practitioner mname', type: string }, federaltaxid: { description: 'practitioner federaltaxid', type: string }, federaldrugid: { description: 'practitioner federaldrugid', type: string }, upin: { description: 'practitioner upin', type: string }, facility_id: { description: 'practitioner facility_id', type: string }, facility: { description: 'practitioner facility', type: string }, npi: { description: 'practitioner npi', type: string }, email: { description: 'practitioner email', type: string }, active: { description: 'practitioner active setting', type: string }, specialty: { description: 'practitioner specialty', type: string }, billname: { description: 'practitioner billname', type: string }, url: { description: 'practitioner url', type: string }, assistant: { description: 'practitioner assistant', type: string }, organization: { description: 'practitioner organization', type: string }, valedictory: { description: 'practitioner valedictory', type: string }, street: { description: 'practitioner street', type: string }, streetb: { description: 'practitioner streetb', type: string }, city: { description: 'practitioner city', type: string }, state: { description: 'practitioner state', type: string }, zip: { description: 'practitioner zip', type: string }, phone: { description: 'practitioner phone', type: string }, fax: { description: fax, type: string }, phonew1: { description: 'practitioner phonew1', type: string }, phonecell: { description: 'practitioner phonecell', type: string }, notes: { description: 'practitioner notes', type: string }, state_license_number: { description: 'practitioner state license number', type: string }, abook_title: { description: 'practitioner abook title', type: string }, physician_title: { description: 'practitioner physician title', type: string }, physician_code: { description: 'practitioner physician code', type: string } }, type: object } } type: object example: validationErrors: [] error_description: [] data: { id: 7, uuid: 90d453fb-0248-4c0d-9575-d99d02b169f5, title: Mr, fname: Baz, lname: Bop, mname: '', federaltaxid: '', federaldrugid: '', upin: '', facility_id: '3', facility: 'Your Clinic Name Here', npi: '0123456789', email: info@pennfirm.com, active: '1', specialty: '', billname: '', url: '', assistant: '', organization: '', valedictory: '', street: '456 Tree Lane', streetb: '123 Cannaut Street', city: FooTown, state: FL, zip: '08642', phone: 123-456-7890, fax: '', phonew1: '(619) 555-7822', phonecell: '(619) 555-7821', notes: '', state_license_number: '123456', abook_title: null, physician_title: null, physician_code: null } '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] /api/medical_problem: get: tags: - standard description: 'Retrieves a list of medical problems' parameters: - name: puuid in: query description: 'The uuid for the patient.' required: false schema: type: string - name: condition_uuid in: query description: 'The uuid for the medical problem.' required: false schema: type: string - name: title in: query description: 'The title for the medical problem.' required: false schema: type: string - name: begdate in: query description: 'The start date for the medical problem.' required: false schema: type: string - name: enddate in: query description: 'The end date for the medical problem.' required: false schema: type: string - name: diagnosis in: query description: 'The diagnosis for the medical problem.' required: false schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/medical_problem/{muuid}': get: tags: - standard description: 'Retrieves a single medical problem by their uuid' parameters: - name: muuid in: path description: 'The uuid for the medical problem.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/patient/{puuid}/medical_problem': get: tags: - standard description: 'Retrieves all medical problems for a patient' parameters: - name: puuid in: path description: 'The uuid for the patient.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] post: tags: - standard description: 'Submits a new medical problem' parameters: - name: puuid in: path description: 'The uuid for the patient.' required: true schema: type: string requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/api_medical_problem_request' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/patient/{puuid}/medical_problem/{muuid}': get: tags: - standard description: 'Retrieves a medical problem for a patient' parameters: - name: puuid in: path description: 'The uuid for the patient.' required: true schema: type: string - name: muuid in: path description: 'The uuid for the medical problem.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] put: tags: - standard description: 'Edit a medical problem' parameters: - name: puuid in: path description: 'The uuid for the patient.' required: true schema: type: string - name: muuid in: path description: 'The uuid for the medical problem.' required: true schema: type: string requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/api_medical_problem_request' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] delete: tags: - standard description: 'Delete a medical problem' parameters: - name: puuid in: path description: 'The uuid for the patient.' required: true schema: type: string - name: muuid in: path description: 'The uuid for the medical problem.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] /api/allergy: get: tags: - standard description: 'Retrieves a list of allergies' parameters: - name: lists.pid in: query description: 'The uuid for the patient.' required: false schema: type: string - name: lists.id in: query description: 'The uuid for the allergy.' required: false schema: type: string - name: title in: query description: 'The title for the allergy.' required: false schema: type: string - name: begdate in: query description: 'The start date for the allergy.' required: false schema: type: string - name: enddate in: query description: 'The end date for the allergy.' required: false schema: type: string - name: diagnosis in: query description: 'The diagnosis for the allergy.' required: false schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/allergy/{auuid}': get: tags: - standard description: 'Retrieves a single allergy by their uuid' parameters: - name: auuid in: path description: 'The uuid for the allergy.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/patient/{puuid}/allergy': get: tags: - standard description: 'Retrieves all allergies for a patient' parameters: - name: puuid in: path description: 'The uuid for the patient.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] post: tags: - standard description: 'Submits a new allergy' parameters: - name: puuid in: path description: 'The uuid for the patient.' required: true schema: type: string requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/api_allergy_request' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/patient/{puuid}/allergy/{auuid}': get: tags: - standard description: 'Retrieves a allergy for a patient' parameters: - name: puuid in: path description: 'The uuid for the patient.' required: true schema: type: string - name: auuid in: path description: 'The uuid for the allergy.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] put: tags: - standard description: 'Edit a allergy' parameters: - name: puuid in: path description: 'The uuid for the patient.' required: true schema: type: string - name: auuid in: path description: 'The uuid for the allergy.' required: true schema: type: string requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/api_allergy_request' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] delete: tags: - standard description: 'Delete a medical problem' parameters: - name: puuid in: path description: 'The uuid for the patient.' required: true schema: type: string - name: auuid in: path description: 'The uuid for the allergy.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/patient/{pid}/medication': get: tags: - standard description: 'Retrieves all medications for a patient' parameters: - name: pid in: path description: 'The pid for the patient.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] post: tags: - standard description: 'Submits a new medication' parameters: - name: pid in: path description: 'The pid for the patient.' required: true schema: type: string requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/api_medication_request' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/patient/{pid}/medication/{mid}': get: tags: - standard description: 'Retrieves a medication for a patient' parameters: - name: pid in: path description: 'The id for the patient.' required: true schema: type: string - name: mid in: path description: 'The id for the medication.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] put: tags: - standard description: 'Edit a medication' parameters: - name: pid in: path description: 'The pid for the patient.' required: true schema: type: string - name: mid in: path description: 'The id for the medication.' required: true schema: type: string requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/api_medication_request' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] delete: tags: - standard description: 'Delete a medication' parameters: - name: pid in: path description: 'The id for the patient.' required: true schema: type: string - name: mid in: path description: 'The id for the medication.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/patient/{pid}/surgery': get: tags: - standard description: 'Retrieves all surgeries for a patient' parameters: - name: pid in: path description: 'The pid for the patient.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] post: tags: - standard description: 'Submits a new surgery' parameters: - name: pid in: path description: 'The pid for the patient.' required: true schema: type: string requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/api_surgery_request' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/patient/{pid}/surgery/{sid}': get: tags: - standard description: 'Retrieves a surgery for a patient' parameters: - name: pid in: path description: 'The id for the patient.' required: true schema: type: string - name: sid in: path description: 'The id for the surgery.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] put: tags: - standard description: 'Edit a surgery' parameters: - name: pid in: path description: 'The pid for the patient.' required: true schema: type: string - name: sid in: path description: 'The id for the surgery.' required: true schema: type: string requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/api_surgery_request' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] delete: tags: - standard description: 'Delete a surgery' parameters: - name: pid in: path description: 'The id for the patient.' required: true schema: type: string - name: sid in: path description: 'The id for the surgery.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/patient/{pid}/dental_issue': get: tags: - standard description: 'Retrieves all dental issues for a patient' parameters: - name: pid in: path description: 'The pid for the patient.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] post: tags: - standard description: 'Submits a new dental issue' parameters: - name: pid in: path description: 'The pid for the patient.' required: true schema: type: string requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/api_dental_issue_request' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/patient/{pid}/dental_issue/{did}': get: tags: - standard description: 'Retrieves a dental issue for a patient' parameters: - name: pid in: path description: 'The id for the patient.' required: true schema: type: string - name: did in: path description: 'The id for the dental issue.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] put: tags: - standard description: 'Edit a dental issue' parameters: - name: pid in: path description: 'The pid for the patient.' required: true schema: type: string - name: did in: path description: 'The id for the dental issue.' required: true schema: type: string requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/api_dental_issue_request' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] delete: tags: - standard description: 'Delete a dental issue' parameters: - name: pid in: path description: 'The id for the patient.' required: true schema: type: string - name: did in: path description: 'The id for the dental issue.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/patient/{pid}/appointment': get: tags: - standard description: 'Retrieves all appointments for a patient' parameters: - name: pid in: path description: 'The pid for the patient.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] post: tags: - standard description: 'Submits a new appointment' parameters: - name: pid in: path description: 'The id for the patient.' required: true schema: type: string requestBody: required: true content: application/json: schema: required: - pc_catid - pc_title - pc_duration - pc_hometext - pc_apptstatus - pc_eventDate - pc_startTime - pc_facility - pc_billing_location properties: pc_catid: description: 'The category of the appointment.' type: string pc_title: description: 'The title of the appointment.' type: string pc_duration: description: 'The duration of the appointment.' type: string pc_hometext: description: 'Comments for the appointment.' type: string pc_apptstatus: description: 'use an option from resource=/api/list/apptstat' type: string pc_eventDate: description: 'The date of the appointment.' type: string pc_startTime: description: 'The time of the appointment.' type: string pc_facility: description: 'The facility id of the appointment.' type: string pc_billing_location: description: 'The billinag location id of the appointment.' type: string pc_aid: description: 'The provider id for the appointment.' type: string type: object example: pc_catid: '5' pc_title: 'Office Visit' pc_duration: '900' pc_hometext: Test pc_apptstatus: '-' pc_eventDate: '2018-10-19' pc_startTime: '09:00' pc_facility: '9' pc_billing_location: '10' pc_aid: '1' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] /api/appointment: get: tags: - standard description: 'Retrieves all appointments' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/appointment/{eid}': get: tags: - standard description: 'Retrieves an appointment' parameters: - name: eid in: path description: 'The eid for the appointment.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/patient/{pid}/appointment/{eid}': get: tags: - standard description: 'Retrieves a appointment for a patient' parameters: - name: pid in: path description: 'The id for the patient.' required: true schema: type: string - name: eid in: path description: 'The eid for the appointment.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] delete: tags: - standard description: 'Delete a appointment' parameters: - name: pid in: path description: 'The id for the patient.' required: true schema: type: string - name: eid in: path description: 'The eid for the appointment.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/list/{list_name}': get: tags: - standard description: 'Retrieves a list' parameters: - name: list_name in: path description: 'The list_id of the list.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] /api/version: get: tags: - standard description: 'Retrieves the OpenEMR version information' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] /api/product: get: tags: - standard description: 'Retrieves the OpenEMR product registration information' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] /api/insurance_company: get: tags: - standard description: 'Retrieves all insurance companies' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] post: tags: - standard description: 'Submits a new insurance company' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/api_insurance_company_request' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/insurance_company/{iid}': get: tags: - standard description: 'Retrieves insurance company' parameters: - name: iid in: path description: 'The id of the insurance company.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] put: tags: - standard description: 'Edit a insurance company' parameters: - name: iid in: path description: 'The id for the insurance company.' required: true schema: type: string requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/api_insurance_company_request' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] /api/insurance_type: get: tags: - standard description: 'Retrieves all insurance types' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/patient/{pid}/document': get: tags: - standard description: 'Retrieves all file information of documents from a category for a patient' parameters: - name: pid in: path description: 'The pid for the patient.' required: true schema: type: string - name: path in: query description: 'The category of the documents.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] post: tags: - standard description: 'Submits a new patient document' parameters: - name: pid in: path description: 'The pid for the patient.' required: true schema: type: string - name: path in: query description: 'The category of the document.' required: true schema: type: string requestBody: required: true content: multipart/form-data: schema: properties: document: description: document type: string format: binary type: object responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/patient/{pid}/document/{did}': get: tags: - standard description: 'Retrieves a document for a patient' parameters: - name: pid in: path description: 'The pid for the patient.' required: true schema: type: string - name: did in: path description: 'The id for the patient document.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/patient/{pid}/insurance': get: tags: - standard description: 'Retrieves all insurances for a patient' parameters: - name: pid in: path description: 'The pid for the patient.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/patient/{pid}/insurance/{type}': get: tags: - standard description: 'Retrieves a insurance (by type) for a patient' parameters: - name: pid in: path description: 'The pid for the patient.' required: true schema: type: string - name: type in: path description: 'The insurance type for the patient. (options are ''primary'', ''secondary'', or ''tertiary'')' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] put: tags: - standard description: 'Edit a patient insurance (by type)' parameters: - name: pid in: path description: 'The pid for the patient.' required: true schema: type: string - name: type in: path description: 'The insurance type for the patient. (options are ''primary'', ''secondary'', or ''tertiary'')' required: true schema: type: string requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/api_insurance_request' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] post: tags: - standard description: 'Submits a new patient insurance (with type)' parameters: - name: pid in: path description: 'The pid for the patient.' required: true schema: type: string - name: type in: path description: 'The insurance type for the patient. (options are ''primary'', ''secondary'', or ''tertiary'')' required: true schema: type: string requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/api_insurance_request' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/patient/{pid}/message': post: tags: - standard description: 'Submits a pnote message' parameters: - name: pid in: path description: 'The id for the patient.' required: true schema: type: string requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/api_message_request' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/patient/{pid}/transaction': get: tags: - standard description: 'Get Transactions for a patient' parameters: - name: pid in: path description: 'The pid for the patient' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] post: tags: - standard description: 'Submits a transaction' parameters: - name: pid in: path description: 'The pid for the patient.' required: true schema: type: string requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/api_transaction_request' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/transaction/{tid}': put: tags: - standard description: 'Updates a transaction' parameters: - name: tid in: path description: 'The id for the transaction.' required: true schema: type: string requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/api_transaction_request' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/patient/{pid}/message/{mid}': put: tags: - standard description: 'Edit a pnote message' parameters: - name: pid in: path description: 'The id for the patient.' required: true schema: type: string - name: mid in: path description: 'The id for the pnote message.' required: true schema: type: string requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/api_message_request' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] delete: tags: - standard description: 'Delete a pnote message' parameters: - name: pid in: path description: 'The id for the patient.' required: true schema: type: string - name: eid in: path description: 'The id for the pnote message.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] /api/immunization: get: tags: - standard description: 'Retrieves a list of immunizations' parameters: - name: patient_id in: query description: 'The pid for the patient.' required: false schema: type: string - name: id in: query description: 'The id for the immunization.' required: false schema: type: string - name: uuid in: query description: 'The uuid for the immunization.' required: false schema: type: string - name: administered_date in: query description: 'The administered date for the immunization.' required: false schema: type: string - name: immunization_id in: query description: 'The immunization list_id for the immunization.' required: false schema: type: string - name: cvx_code in: query description: 'The cvx code for the immunization.' required: false schema: type: string - name: manufacturer in: query description: 'The manufacturer for the immunization.' required: false schema: type: string - name: lot_number in: query description: 'The lot number for the immunization.' required: false schema: type: string - name: administered_by_id in: query description: 'The administered by id for the immunization.' required: false schema: type: string - name: administered_by in: query description: 'The administered by for the immunization.' required: false schema: type: string - name: education_date in: query description: 'The education date for the immunization.' required: false schema: type: string - name: vis_date in: query description: 'The vis date for the immunization.' required: false schema: type: string - name: note in: query description: 'The note for the immunization.' required: false schema: type: string - name: create_date in: query description: 'The create date for the immunization.' required: false schema: type: string - name: update_date in: query description: 'The update date for the immunization.' required: false schema: type: string - name: created_by in: query description: 'The created_by for the immunization.' required: false schema: type: string - name: updated_by in: query description: 'The updated_by for the immunization.' required: false schema: type: string - name: amount_administered in: query description: 'The amount administered for the immunization.' required: false schema: type: string - name: amount_administered_unit in: query description: 'The amount administered unit for the immunization.' required: false schema: type: string - name: expiration_date in: query description: 'The expiration date for the immunization.' required: false schema: type: string - name: route in: query description: 'The route for the immunization.' required: false schema: type: string - name: administration_site in: query description: 'The administration site for the immunization.' required: false schema: type: string - name: added_erroneously in: query description: 'The added_erroneously for the immunization.' required: false schema: type: string - name: external_id in: query description: 'The external_id for the immunization.' required: false schema: type: string - name: completion_status in: query description: 'The completion status for the immunization.' required: false schema: type: string - name: information_source in: query description: 'The information source for the immunization.' required: false schema: type: string - name: refusal_reason in: query description: 'The refusal reason for the immunization.' required: false schema: type: string - name: ordering_provider in: query description: 'The ordering provider for the immunization.' required: false schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/immunization/{uuid}': get: tags: - standard description: 'Retrieves a immunization' parameters: - name: uuid in: path description: 'The uuid for the immunization.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] /api/procedure: get: tags: - standard description: 'Retrieves a list of all procedures' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/procedure/{uuid}': get: tags: - standard description: 'Retrieves a procedure' parameters: - name: uuid in: path description: 'The uuid for the procedure.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] /api/drug: get: tags: - standard description: 'Retrieves a list of all drugs' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/drug/{uuid}': get: tags: - standard description: 'Retrieves a drug' parameters: - name: uuid in: path description: 'The uuid for the drug.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] /api/prescription: get: tags: - standard description: 'Retrieves a list of all prescriptions' responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/api/prescription/{uuid}': get: tags: - standard description: 'Retrieves a prescription' parameters: - name: uuid in: path description: 'The uuid for the prescription.' required: true schema: type: string responses: '200': $ref: '#/components/responses/standard' '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] /fhir/AllergyIntolerance: get: tags: - fhir description: 'Returns a list of AllergyIntolerance resources.' parameters: - name: _id in: query description: 'The uuid for the AllergyIntolerance resource.' required: false schema: type: string - name: patient in: query description: 'The uuid for the patient.' required: false schema: type: string responses: '200': description: 'Standard Response' content: application/json: schema: properties: 'json object': { description: 'FHIR Json object.', type: object } type: object example: meta: { lastUpdated: '2021-09-14T09:13:51' } resourceType: Bundle type: collection total: 0 link: [{ relation: self, url: 'https://localhost:9300/apis/default/fhir/AllergyIntolerance' }] '400': $ref: '#/components/responses/badrequest' '401': $ref: '#/components/responses/unauthorized' security: - openemr_auth: [] '/fhir/AllergyIntolerance/{uuid}': get: tags: - fhir description: 'Returns a single AllergyIntolerance resource.' parameters: - name: uuid in: path description: 'The uuid for the AllergyIntolerance resource.' required: true schema: type: string responses: '200': description: 'Standard Response' content: application/json: schema: properties: 'json object': { description: 'FHIR Json object.', type: object } type: object example: id: 94682fe5-f383-4885-9505-64b02e34906f meta: { versionId: '1', lastUpdated: '2021-09-16T00:27:32+00:00' } resourceType: AllergyIntolerance text: { status: additional, div: '
Treat flu.
Your Clinic Name Here
Your Clinic Name Here
Your Clinic Name Here
Your Clinic Name Here
Brenda Smith
Brenda Smith
Aurore252 Von197
Brenda Smith
Administrator Administrator
Billy Smith
Billy Smith
Billy Smith
Billy Smith
`'
type: string
type: object
example:
title: Dermatochalasis
begdate: '2010-10-13'
enddate: null
diagnosis: 'ICD10:H02.839'
api_allergy_request:
description: 'Schema for the allergy request'
required:
- title
- begdate
properties:
title:
description: 'The title of allergy.'
type: string
begdate:
description: 'The beginning date of allergy.'
type: string
enddate:
description: 'The end date of allergy.'
type: string
diagnosis:
description: 'The diagnosis of allergy. In format `:`'
type: string
type: object
example:
title: Iodine
begdate: '2010-10-13'
enddate: null
api_medication_request:
description: 'Schema for the medication request'
required:
- title
- begdate
properties:
title:
description: 'The title of medication.'
type: string
begdate:
description: 'The beginning date of medication.'
type: string
enddate:
description: 'The end date of medication.'
type: string
diagnosis:
description: 'The diagnosis of medication. In format `:`'
type: string
type: object
example:
title: Norvasc
begdate: '2013-04-13'
enddate: null
api_surgery_request:
description: 'Schema for the surgery request'
required:
- title
- begdate
properties:
title:
description: 'The title of surgery.'
type: string
begdate:
description: 'The beginning date of surgery.'
type: string
enddate:
description: 'The end date of surgery.'
type: string
diagnosis:
description: 'The diagnosis of surgery. In format `:`'
type: string
type: object
example:
title: Blepharoplasty
begdate: '2013-10-14'
enddate: null
diagnosis: 'CPT4:15823-50'
api_dental_issue_request:
description: 'Schema for the dental_issue request'
required:
- title
- begdate
properties:
title:
description: 'The title of dental issue.'
type: string
begdate:
description: 'The beginning date of dental issue.'
type: string
enddate:
description: 'The end date of dental issue.'
type: string
diagnosis:
description: 'The diagnosis of dental issue. In format `:`'
type: string
type: object
example:
title: Halitosis
begdate: '2015-03-17'
enddate: null
api_insurance_company_request:
description: 'Schema for the insurance_company request'
required:
- name
properties:
name:
description: 'The name of insurance company.'
type: string
attn:
description: 'The attn of insurance company.'
type: string
cms_id:
description: 'The cms id of insurance company.'
type: string
ins_type_code:
description: 'The insurance type code of insurance company. The insurance type code can be found by inspecting the route at (/api/insurance_type).'
type: string
x12_receiver_id:
description: 'The x12 receiver id of insurance company.'
type: string
x12_default_partner_id:
description: 'The x12 default partner id of insurance company.'
type: string
alt_cms_id:
description: 'The alternate cms id of insurance company.'
type: string
line1:
description: 'The line1 address of insurance company.'
type: string
line2:
description: 'The line2 address of insurance company.'
type: string
city:
description: 'The city of insurance company.'
type: string
state:
description: 'The state of insurance company.'
type: string
zip:
description: 'The zip of insurance company.'
type: string
country:
description: 'The country of insurance company.'
type: string
type: object
example:
name: 'Cool Insurance Company'
attn: null
cms_id: null
ins_type_code: '2'
x12_receiver_id: null
x12_default_partner_id: null
alt_cms_id: ''
line1: '123 Cool Lane'
line2: 'Suite 123'
city: Cooltown
state: CA
zip: '12245'
country: USA
api_insurance_request:
description: 'Schema for the insurance request'
required:
- provider
- plan_name
- policy_number
- group_number
- subscriber_fname
- subscriber_lname
- subscriber_relationship
- subscriber_ss
- subscriber_DOB
- subscriber_street
- subscriber_postal_code
- subscriber_city
- subscriber_state
- subscriber_country
- subscriber_phone
- subscriber_sex
- accept_assignment
- policy_type
properties:
provider:
description: 'The insurance company id.'
type: string
plan_name:
description: 'The plan name of insurance.'
type: string
policy_number:
description: 'The policy number of insurance.'
type: string
group_number:
description: 'The group number of insurance.'
type: string
subscriber_lname:
description: 'The subscriber last name of insurance.'
type: string
subscriber_mname:
description: 'The subscriber middle name of insurance.'
type: string
subscriber_fname:
description: 'The subscriber first name of insurance.'
type: string
subscriber_relationship:
description: 'The subscriber relationship of insurance.'
type: string
subscriber_ss:
description: 'The subscriber ss number of insurance.'
type: string
subscriber_DOB:
description: 'The subscriber DOB of insurance.'
type: string
subscriber_street:
description: 'The subscriber street address of insurance.'
type: string
subscriber_postal_code:
description: 'The subscriber postal code of insurance.'
type: string
subscriber_city:
description: 'The subscriber city of insurance.'
type: string
subscriber_state:
description: 'The subscriber state of insurance. `state` can be found by querying `resource=/api/list/state`'
type: string
subscriber_country:
description: 'The subscriber country of insurance. `country` can be found by querying `resource=/api/list/country`'
type: string
subscriber_phone:
description: 'The subscriber phone of insurance.'
type: string
subscriber_employer:
description: 'The subscriber employer of insurance.'
type: string
subscriber_employer_street:
description: 'The subscriber employer street of insurance.'
type: string
subscriber_employer_postal_code:
description: 'The subscriber employer postal code of insurance.'
type: string
subscriber_employer_state:
description: 'The subscriber employer state of insurance.'
type: string
subscriber_employer_country:
description: 'The subscriber employer country of insurance.'
type: string
subscriber_employer_city:
description: 'The subscriber employer city of insurance.'
type: string
copay:
description: 'The copay of insurance.'
type: string
date:
description: 'The date of insurance.'
type: string
subscriber_sex:
description: 'The subscriber sex of insurance.'
type: string
accept_assignment:
description: 'The accept_assignment of insurance.'
type: string
policy_type:
description: 'The policy_type of insurance.'
type: string
type: object
example:
provider: '33'
plan_name: 'Some Plan'
policy_number: '12345'
group_number: '252412'
subscriber_lname: Tester
subscriber_mname: Xi
subscriber_fname: Foo
subscriber_relationship: other
subscriber_ss: '234231234'
subscriber_DOB: '2018-10-03'
subscriber_street: '183 Cool St'
subscriber_postal_code: '23418'
subscriber_city: Cooltown
subscriber_state: AZ
subscriber_country: USA
subscriber_phone: 234-598-2123
subscriber_employer: 'Some Employer'
subscriber_employer_street: '123 Heather Lane'
subscriber_employer_postal_code: '23415'
subscriber_employer_state: AZ
subscriber_employer_country: USA
subscriber_employer_city: Cooltown
copay: '35'
date: '2018-10-15'
subscriber_sex: Female
accept_assignment: 'TRUE'
policy_type: a
api_message_request:
description: 'Schema for the message request'
required:
- body
- groupname
- from
- to
- title
- message_status
properties:
body:
description: 'The body of message.'
type: string
groupname:
description: 'The group name (usually is ''Default'').'
type: string
from:
description: 'The sender of the message.'
type: string
to:
description: 'The recipient of the message.'
type: string
title:
description: 'use an option from resource=/api/list/note_type'
type: string
message_status:
description: 'use an option from resource=/api/list/message_status'
type: string
type: object
example:
body: 'Test 456'
groupname: Default
from: Matthew
to: admin
title: Other
message_status: New
api_transaction_request:
description: 'Schema for the transaction request'
required:
- message
- groupname
- title
properties:
message:
description: 'The message of the transaction.'
type: string
type:
description: 'The type of transaction. Use an option from resource=/api/transaction_type'
type: string
groupname:
description: 'The group name (usually is ''Default'').'
type: string
referByNpi:
description: 'NPI of the person creating the referral.'
type: string
referToNpi:
description: 'NPI of the person getting the referral.'
type: string
referDiagnosis:
description: 'The referral diagnosis.'
type: string
riskLevel:
description: 'The risk level. (Low, Medium, High)'
type: string
includeVitals:
description: 'Are vitals included (0,1)'
type: string
referralDate:
description: 'The date of the referral'
type: string
authorization:
description: 'The authorization for the referral'
type: string
visits:
description: 'The number of vists for the referral'
type: string
validFrom:
description: 'The date the referral is valid from'
type: string
validThrough:
description: 'The date the referral is valid through'
type: string
type: object
example:
message: Message
type: LBTref
groupname: Default
referByNpi: '9999999999'
referToNpi: '9999999999'
referDiagnosis: 'Diag 1'
riskLevel: Low
includeVitals: '1'
referralDate: '2022-01-01'
authorization: Auth_123
visits: '1'
validFrom: '2022-01-02'
validThrough: '2022-01-03'
body: 'Reason 1'
responses:
standard:
description: 'Standard Response'
content:
application/json:
schema:
properties:
validationErrors:
description: 'Validation errors.'
type: array
items:
type: object
internalErrors:
description: 'Internal errors.'
type: array
items:
type: object
data:
description: 'Returned data.'
type: array
items:
type: object
type: object
example:
validationErrors: []
error_description: []
data: []
badrequest:
description: 'Bad Request'
content:
application/json:
schema:
properties:
validationErrors:
description: 'Validation errors.'
type: object
type: object
example:
validationErrors:
_id: 'The search field argument was invalid, improperly formatted, or could not be parsed. Inner message: UUID columns must be a valid UUID string'
unauthorized:
description: Unauthorized
content:
application/json:
schema:
properties:
error:
description: 'The error.'
type: string
error_description:
description: 'The description of the error.'
type: string
hint:
description: 'More specific information on the error.'
type: string
message:
description: 'Message regarding the error.'
type: string
type: object
example:
error: access_denied
error_description: 'The resource owner or authorization server denied the request.'
hint: 'Missing "Authorization" header'
message: 'The resource owner or authorization server denied the request.'
uuidnotfound:
description: 'Not Found'
content:
application/json:
schema:
properties:
empty:
description: empty
type: object
type: object
example: []
securitySchemes:
openemr_auth:
type: oauth2
flows:
authorizationCode:
authorizationUrl: /oauth2/default/authorize
tokenUrl: /oauth2/default/token
refreshUrl: /oauth2/default/token
scopes:
openid: 'Generic mandatory scope'
offline_access: 'Will signal server to provide a refresh token'
launch/patient: 'Will provide a patient selector when logging in as an OpenEMR user (required for testing patient/* scopes in swagger if not logging in as a patient)'
'api:fhir': 'FHIR R4 API'
patient/AllergyIntolerance.read: 'Read allergy intolerance resources for the current patient (api:fhir)'
patient/CarePlan.read: 'Read care plan resources for the current patient (api:fhir)'
patient/CareTeam.read: 'Read care team resources for the current patient (api:fhir)'
patient/Condition.read: 'Read condition resources for the current patient (api:fhir)'
patient/Coverage.read: 'Read coverage resources for the current patient (api:fhir)'
patient/Device.read: 'Read device resources for the current patient (api:fhir)'
patient/DiagnosticReport.read: 'Read diagnostic report resources for the current patient (api:fhir)'
patient/Document.read: 'Read document resources for the current patient (api:fhir)'
patient/DocumentReference.read: 'Read document reference resources for the current patient (api:fhir)'
patient/DocumentReference.$docref: 'Generate a document for the current patient or returns the most current Clinical Summary of Care Document (CCD)'
patient/Encounter.read: 'Read encounter resources for the current patient (api:fhir)'
patient/Goal.read: 'Read goal resources for the current patient (api:fhir)'
patient/Immunization.read: 'Read immunization resources for the current patient (api:fhir)'
patient/Location.read: 'Read location resources for the current patient (api:fhir)'
patient/Medication.read: 'Read medication resources for the current patient (api:fhir)'
patient/MedicationRequest.read: 'Read medication request resources for the current patient (api:fhir)'
patient/Observation.read: 'Read observation resources for the current patient (api:fhir)'
patient/Organization.read: 'Read organization resources for the current patient (api:fhir)'
patient/Patient.read: 'Read patient resource for the current patient (api:fhir)'
patient/Person.read: 'Read person resources for the current patient (api:fhir)'
patient/Practitioner.read: 'Read practitioner resources for the current patient (api:fhir)'
patient/Procedure.read: 'Read procedure resources for the current patient (api:fhir)'
patient/Provenance.read: 'Read provenance resources for the current patient (api:fhir)'
system/AllergyIntolerance.read: 'Read all allergy intolerance resources in the system (api:fhir)'
system/CarePlan.read: 'Read all care plan resources in the system (api:fhir)'
system/CareTeam.read: 'Read all care team resources in the system (api:fhir)'
system/Condition.read: 'Read all condition resources in the system (api:fhir)'
system/Coverage.read: 'Read all coverage resources in the system (api:fhir)'
system/Device.read: 'Read all device resources in the system (api:fhir)'
system/DiagnosticReport.read: 'Read all diagnostic report resources in the system (api:fhir)'
system/Document.read: 'Read all document resources in the system (api:fhir)'
system/DocumentReference.read: 'Read all document reference resources in the system (api:fhir)'
system/DocumentReference.$docref: 'Generate a document for any patient in the system or returns the most current Clinical Summary of Care Document (CCD)'
system/Encounter.read: 'Read all encounter resources in the system (api:fhir)'
system/Goal.read: 'Read all goal resources in the system (api:fhir)'
system/Group.read: 'Read all group resources in the system (api:fhir)'
system/Immunization.read: 'Read all immunization resources in the system (api:fhir)'
system/Location.read: 'Read all location resources in the system (api:fhir)'
system/Medication.read: 'Read all medication resources in the system (api:fhir)'
system/MedicationRequest.read: 'Read all medication request resources in the system (api:fhir)'
system/Observation.read: 'Read all observation resources in the system (api:fhir)'
system/Organization.read: 'Read all organization resources in the system (api:fhir)'
system/Patient.read: 'Read all patient resources in the system (api:fhir)'
system/Person.read: 'Read all person resources in the system (api:fhir)'
system/Practitioner.read: 'Read all practitioner resources in the system (api:fhir)'
system/PractitionerRole.read: 'Read all practitioner role resources in the system (api:fhir)'
system/Procedure.read: 'Read all procedure resources in the system (api:fhir)'
system/Provenance.read: 'Read all provenance resources in the system (api:fhir)'
user/AllergyIntolerance.read: 'Read all allergy intolerance resources the user has access to (api:fhir)'
user/CarePlan.read: 'Read all care plan resources the user has access to (api:fhir)'
user/CareTeam.read: 'Read all care team resources the user has access to (api:fhir)'
user/Condition.read: 'Read all condition resources the user has access to (api:fhir)'
user/Coverage.read: 'Read all coverage resources the user has access to (api:fhir)'
user/Device.read: 'Read all device resources the user has access to (api:fhir)'
user/DiagnosticReport.read: 'Read all diagnostic report resources the user has access to (api:fhir)'
user/Document.read: 'Read all documents the user has access to (api:fhir)'
user/DocumentReference.read: 'Read all document reference resources the user has access to (api:fhir)'
user/DocumentReference.$docref: 'Generate a document for any patient the user has access to or returns the most current Clinical Summary of Care Document (CCD) (api:fhir)'
user/Encounter.read: 'Read all encounter resources the user has access to (api:fhir)'
user/Goal.read: 'Read all goal resources the user has access to (api:fhir)'
user/Immunization.read: 'Read all immunization resources the user has access to (api:fhir)'
user/Location.read: 'Read all location resources the user has access to (api:fhir)'
user/Medication.read: 'Read all medication resources the user has access to (api:fhir)'
user/MedicationRequest.read: 'Read all medication request resources the user has access to (api:fhir)'
user/Observation.read: 'Read all observation resources the user has access to (api:fhir)'
user/Organization.read: 'Read all organization resources the user has access to (api:fhir)'
user/Organization.write: 'Write all organization resources the user has access to (api:fhir)'
user/Patient.read: 'Read all patient resources the user has access to (api:fhir)'
user/Patient.write: 'Write all patient resources the user has access to (api:fhir)'
user/Person.read: 'Read all person resources the user has access to (api:fhir)'
user/Practitioner.read: 'Read all practitioner resources the user has access to (api:fhir)'
user/Practitioner.write: 'Write all practitioner resources the user has access to (api:fhir)'
user/PractitionerRole.read: 'Read all practitioner role resources the user has access to (api:fhir)'
user/Procedure.read: 'Read all procedure resources the user has access to (api:fhir)'
user/Provenance.read: 'Read all provenance resources the user has access to (api:fhir)'
'api:oemr': 'Standard OpenEMR API'
user/allergy.read: 'Read allergies the user has access to (api:oemr)'
user/allergy.write: 'Write allergies the user has access to for (api:oemr)'
user/appointment.read: 'Read appointments the user has access to (api:oemr)'
user/appointment.write: 'Write appointments the user has access to for (api:oemr)'
user/dental_issue.read: 'Read dental issues the user has access to (api:oemr)'
user/dental_issue.write: 'Write dental issues the user has access to (api:oemr)'
user/document.read: 'Read documents the user has access to (api:oemr)'
user/document.write: 'Write documents the user has access to (api:oemr)'
user/drug.read: 'Read drugs the user has access to (api:oemr)'
user/encounter.read: 'Read encounters the user has access to (api:oemr)'
user/encounter.write: 'Write encounters the user has access to (api:oemr)'
user/facility.read: 'Read facilities the user has access to (api:oemr)'
user/facility.write: 'Write facilities the user has access to (api:oemr)'
user/immunization.read: 'Read immunizations the user has access to (api:oemr)'
user/insurance.read: 'Read insurances the user has access to (api:oemr)'
user/insurance.write: 'Write insurances the user has access to (api:oemr)'
user/insurance_company.read: 'Read insurance companies the user has access to (api:oemr)'
user/insurance_company.write: 'Write insurance companies the user has access to (api:oemr)'
user/insurance_type.read: 'Read insurance types the user has access to (api:oemr)'
user/list.read: 'Read lists the user has access to (api:oemr)'
user/medical_problem.read: 'Read medical problems the user has access to (api:oemr)'
user/medical_problem.write: 'Write medical problems the user has access to (api:oemr)'
user/medication.read: 'Read medications the user has access to (api:oemr)'
user/medication.write: 'Write medications the user has access to (api:oemr)'
user/message.write: 'Read messages the user has access to (api:oemr)'
user/patient.read: 'Read patients the user has access to (api:oemr)'
user/patient.write: 'Write patients the user has access to (api:oemr)'
user/practitioner.read: 'Read practitioners the user has access to (api:oemr)'
user/practitioner.write: 'Write practitioners the user has access to (api:oemr)'
user/prescription.read: 'Read prescriptions the user has access to (api:oemr)'
user/procedure.read: 'Read procedures the user has access to (api:oemr)'
user/soap_note.read: 'Read soap notes the user has access to (api:oemr)'
user/soap_note.write: 'Write soap notes the user has access to (api:oemr)'
user/surgery.read: 'Read surgeries the user has access to (api:oemr)'
user/surgery.write: 'Write surgeries the user has access to (api:oemr)'
user/transaction.read: 'Read transactions the user has access to (api:oemr)'
user/transaction.write: 'Write transactions the user has access to (api:oemr)'
user/vital.read: 'Read vitals the user has access to (api:oemr)'
user/vital.write: 'Write vitals the user has access to (api:oemr)'
'api:port': 'Standard Patient Portal OpenEMR API'
patient/encounter.read: 'Read encounters the patient has access to (api:port)'
patient/patient.read: 'Write encounters the patient has access to (api:port)'
tags:
-
name: fhir
description: 'FHIR R4 API'
-
name: standard
description: 'Standard OpenEMR API'
-
name: standard-patient
description: 'Standard Patient Portal OpenEMR API'