You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The addr section is not required for building the patientRole section within the recordTarget of a PHDC case report, but it is information we are likely to have and want included. We are also likely to encounter and need to populate other addresses, e.g., hospital address. This generic addr helper function should be able to populate with data from the message parser.
Acceptance Criteria:
A helper method called _build_addr is added to the PHDCBuilder class. The method uses lxml to build out the following elements:
The
addr
section is not required for building thepatientRole
section within therecordTarget
of a PHDC case report, but it is information we are likely to have and want included. We are also likely to encounter and need to populate other addresses, e.g., hospital address. This genericaddr
helper function should be able to populate with data from the message parser.Acceptance Criteria:
A helper method called _build_addr is added to the PHDCBuilder class. The method uses lxml to build out the following elements:
For context,
address
will nest in patientRole like so:The text was updated successfully, but these errors were encountered: