File Overview
5 min
note refer to the panel history flat file examples docid\ eduzsy xldiygaixrshyt section of this guide to view its code structure hdr (header) surescripts uses an overall file header for each file, and every file contains a set of dtl (detail) records for details, refer to record header elements docid\ h431pesmxpnbwxc4iiohm dtl (detail) the dtl record returns both the claim information for outpatient prescriptions where the pharmacy benefit was used, and the dispensed retail medication data (including cash and coupon pay) from the pbm/payers and pharmacies connected to surescripts up to 600 medications are returned within the dates requested within the last 12 months surescripts uses message header for all messages for panel, a message header is included in each patient’s dtl record note each messageid can only contain the data for 300 medications, therefore, a second messageid will be generated for the remaining medications when applicable data deduplication and augmentation information data deduplication and augmentation are optional features and require no configuration or certification by the provider vendor the customer may opt in to one or both features data deduplication surescripts removes duplicate medication history dispense data across data sources a duplicate medication record is defined as the same medication for the same patient, written by the same provider, dispensed on the same day at the same pharmacy data augmentation surescripts adds data to missing fields from data suppliers for example, by adding address or phone in the pharmacy or prescriber segment \<font color="#002a3b">notes \</font> surescripts offers two options for deduplication and augmentation basic and premium for more information, contact your account manager surescripts will never over write or replace existing data from data suppliers logic used to identify duplicates and data fields augmented is subject to change please work with a surescripts account manager or integration resource for more information for details refer to record detail elements docid\ h431pesmxpnbwxc4iiohm trl (trailer) surescripts uses an overall file trailer for each file, which provides detailed summary information for details refer to record trailer elements docid\ h431pesmxpnbwxc4iiohm file naming and formats the flat file naming convention is \<patientpopulationidentifier from the panel management load delimited file>\<surescripts’ assigned id> \<yyyymmddhhmmss> gz example flat file name aco132patientpopulationa12345 20141204012025 gz