Luiz Fernando Dubiela
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    ### Service Request API ### Purpose of this documentation is to describe what has been implemented and what is still needed to integrate the Chiasm with Availity API - service request. ### Needs and Expectations ### * When referring a patient to another doctor, the referring physician may consult the health plan if the patient can be consulted by the desired physician/clinic. * When a patient is referred to a doctor on the platform, he can consult the health plan himself by sending it to Availity. * When a patient is referred to another physician, and the Availity has been consulted, the page (inbox) should show a flag indicating that the health plan has been consulted. * When a request to Availity is made, the request must be saved for later consultation of the result (authorized, when closed, or needs adjustments). * When we consult the request made previously, and adjustment is necessary, the doctor can make adjusts and then resubmit to Availity/Health Plan. * When the request for Availity is complete, this information must be present in the page (inbox) list and in the detail page with more details. We surveyed all health plans that Availity has integration with, and together with Giannie we defined that we will have integration with 55 health plans on the platform. Therefore, although we have 500+ Health Plans registered at TheChiasm, so just a few can/should have this integration. So, we must inform the user (doctor) at the time of patient referral. ### What's up so far? ### - [x] Creation of the necessary structure for integration with Availity. - [x] Refactored the referral, adding repository and entity, mapping behavior into class. - [x] Refactored the patient, adding repository and entity, mapping behavior into the class. - [x] Refactored the upload and file, adding repository and entity, mapping the behavior into the class. - [x] Refactored the office, adding repository and entity, mapping behavior into class. - [x] Refactored the appointment, repository and entity, mapping the behavior into the class. - [x] Refactored the referral handler to facilitate integration with Availity. - [x] Refactored the doctor, inclusion of some fields when referring a patient. - [x] Refactored the diagnostic, entity added, mapping behavior into class. - [x] Adjustments and addition of new manufacturing fields to integrate with Availity - [x] Script and necessary adjustment in the reference table to receive new fields, and Availity reference on request, including the Request Review Status. - [x] Added field: Location of Service - based on this field, the health plan may require other fields in the request. - [x] Added field: Gender - required by some health plans. - [x] Added doctor's specialty code to office structure - required by some health plans. - [x] Added the result of the request with the results: Success, Info, Warning or Error (when an error occurs, indicate what adjustments may be necessary). - [x] Added new tab in the detail page indicating the result or resubmit option if was not sent previously. - [x] Added state VOs structure to map name to state codes, mandatory by Availity (eg AL -> Alabama). - [x] Added script to add taxonomy_code to specialties table - required by Availity. - [x] To add this information we had to map all specialties to a taxonomy code, this was done via script. - Must run in production. - [x] Added script to add code (Availity reference) to the Chiasm Insurances, this information is necessary by Availity to identify the health plan. - Must run in production. - [x] Service Request API Integration. - [x] Integration with Availity Authentication API. - [x] Addition of structure to store authentication token in temporary files. - [x] Availity API integration using demo endpoints. - [x] Ability to test in develop mode (locally). - [x] Integration with Availity API for Service Request creation. - [x] Added structure to validate the data before submitting to Availity. - [x] Integration with Availity API for Service Request query. - [x] Structure needed to show the status of the request. - [ ] Integration with Availity API for Service Request update. > Integration with demo endpoints: with this endpoint in request formulas, and deployment settings for all endpoints/screen ### What's still needed to complete? ### In order to communicate with the 55 health plans, we must need to understand the requirements of each and to do that the easiest way is to integrate with the **[Configurations API](https://developer.availity.com/partner/documentation#configurations)**. By integrating with **Configurations API** we are going to be able to create the form dynamically, mount the options (select), validate the payload, and understand the requirements for each health plan before sending it to Availity through **Service Reviews**. - [ ] Integrate with Configurations API. - [ ] Create the html form dynamically - This may change a lot in the form already defined with Giannie. - [ ] Create all the fields required with its specefic validation. - [ ] Consult the select options and display in the form. - It will require to recreate the whole form and may not be able to work with the existing one. - [ ] Validate the payload with the configurations retrieved by Configurations API. - Refactored the struct created previously using the configurations retrieved. > Validate Configurations API response, in some cases the links referenced in the response does not work. We may need to validate with someone from Availity.

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully