When do I need to use the Media data model?
The Media data model is most often used to send media files, such as a PDFs, to a patient’s chart.
What file types can be transmitted through the Media model?
Ultimately this is dependent on the file types that are supported by the connecting health system. In addition to PDF documents we’ve seen health systems support transmission of image files such as PNG, TIF and JPEG files as well as WAV audio files.
What data is required in order to file media documents to the patient’s chart?
This will depend on how the users want to access the information within their EHR and the information needed by the EHR to file it as expected. To file a document to the patient’s chart for general information purposes, most EHRs will require the patient identifier in addition to other basic patient demographics such as name and DOB. Additional required items include relevant provider information (i.e. who generated the document), the file type, the file name, a unique document ID, and whether or not the document has been authenticated and is authorized to be shared in the patient’s chart. To file a document to a specific visit or to show up associated with specific areas or actions in the EHR, a visit number is often required to provide more specificity.
How do I send the files over the Redox Media data model?
Media files under 200KB can be sent directly to the API as base64 encoded strings over the Redox Media data model. Files over 200kb will first need to be uploaded to the Redox blob endpoint, which will synchronously return the file URI that can then be specified in a Media message. You can read more about that here.