Schedule a demo
Segment

Product summary header

Provides header information for a product summary report including the report type, form identifier, report date, interval dates, quantities manufactured, distributed, and in use, along with the number of product experience reports filed by facilities and distributors. It appears in product experience report messages (P07/P08) to frame the statistical context for periodic product surveillance submissions.

14fields
2required
v2.9HL7 version
psh.py
from zato.hl7v2 import PSH

psh = PSH()
psh.report_type = 'INITIAL'
psh.report_date = '20260601'

Build PSH segments in Python

How to construct and work with real-world PSH segments.

1

Quarterly product summary

Reports a quarterly summary with interval dates, quantity distributed, and filed reports

from zato.hl7v2.v2_9 import PSH

psh = PSH()
psh.report_type = 'QUARTERLY'
psh.report_form_identifier = (
    'FDA-3500A'
)
psh.report_date = '20240401'
psh.report_interval_start_date = (
    '20240101'
)
psh.report_interval_end_date = (
    '20240331'
)
psh.quantity_distributed_method = (
    'A'
)
psh.quantity_distributed_comment = (
    'Eastern region'
)
psh.number_of_product_experience_reports_filed_by_facility = (
    '3'
)
psh.number_of_product_experience_reports_filed_by_distributor = (
    '1'
)
2

Annual surveillance report

Annual report with quantities in use and distribution method estimation

from zato.hl7v2.v2_9 import PSH

psh = PSH()
psh.report_type = 'ANNUAL'
psh.report_form_identifier = (
    'FDA-3500A'
)
psh.report_date = '20240101'
psh.report_interval_start_date = (
    '20230101'
)
psh.report_interval_end_date = (
    '20231231'
)
psh.quantity_distributed_method = (
    'E'
)
psh.quantity_in_use_method = 'E'
psh.quantity_in_use_comment = (
    'Field estimate'
)
psh.number_of_product_experience_reports_filed_by_facility = (
    '12'
)
psh.number_of_product_experience_reports_filed_by_distributor = (
    '5'
)
3

Initial product report

Initial report with report date and manufactured quantity only

from zato.hl7v2.v2_9 import PSH

psh = PSH()
psh.report_type = 'INITIAL'
psh.report_date = '20240601'

Learn by building

Step-by-step guides for working with HL7 v2 in Zato.

Frequently asked questions

PSH provides header information for a product summary report, including the report type, form identifier, date, interval dates, manufacturing and distribution quantities, and the number of product experience reports filed. It frames the statistical context for periodic product surveillance submissions.

Use the DTM-typed start and end date fields to define the reporting period:

from zato.hl7v2.v2_9 import PSH

psh = PSH()
psh.report_date = '20240401'
psh.report_interval_start_date = (
    '20240101'
)
psh.report_interval_end_date = (
    '20240331'
)

The quantity_distributed_method and quantity_in_use_method fields use HL7 table 0329:

from zato.hl7v2.v2_9 import PSH

psh = PSH()

# A = Actual count
psh.quantity_distributed_method = 'A'

# E = Estimated
psh.quantity_distributed_method = 'E'

Use the NM-typed count fields to record how many reports were filed:

from zato.hl7v2.v2_9 import PSH

psh = PSH()
psh.number_of_product_experience_reports_filed_by_facility = (
    '3'
)
psh.number_of_product_experience_reports_filed_by_distributor = (
    '1'
)

The report_form_identifier is a free-text ST field for the regulatory form designation:

from zato.hl7v2.v2_9 import PSH

psh = PSH()
psh.report_type = 'QUARTERLY'
psh.report_form_identifier = (
    'FDA-3500A'
)

Zato connects to any system that speaks HL7v2 over MLLP or FHIR over REST. This includes Epic, Cerner, Meditech, Allscripts, and other EHR platforms.

Yes, Zato has built-in MLLP support for sending and receiving HL7v2 messages. MLLP channels handle the framing protocol automatically.

Zato supports HL7 v2.9, which is backward compatible with earlier versions including v2.3, v2.5, and v2.7. Standard segments and datatypes are available as typed Python classes.

Yes. Zato handles both HL7v2 and FHIR natively, so you can parse v2 messages and build FHIR resources with IG-specific extensions in the same service. Typed Python classes are available for both protocols, including extensions from US Core, UK Core, Da Vinci, and other Implementation Guides.

PSH field reference

Complete list of fields in the PSH segment, HL7 v2.9.

#Python nameDatatypeUsageRepeatableTable
1report_typeSTRequiredNo-
2report_form_identifierSTOptionalNo-
3report_dateDTMRequiredNo-
4report_interval_start_dateDTMOptionalNo-
5report_interval_end_dateDTMOptionalNo-
6quantity_manufacturedCQOptionalNo-
7quantity_distributedCQOptionalNo-
8quantity_distributed_methodIDOptionalNoHL70329
9quantity_distributed_commentFTOptionalNo-
10quantity_in_useCQOptionalNo-
11quantity_in_use_methodIDOptionalNoHL70329
12quantity_in_use_commentFTOptionalNo-
13number_of_product_experience_reports_filed_by_facilityNMOptionalNo-
14number_of_product_experience_reports_filed_by_distributorNMOptionalNo-

Ready to build integrations?

Get started with Zato and connect your systems in minutes.

Open source In Python