The federal rule
HIPAA sale of PHI: the rule a home health agency meets first
Selling identifiable patient records is a HIPAA question before it is a commercial one, and the rule is short.
No sale without authorization
The Privacy Rule's general rule on uses and disclosures says "a covered entity or business associate may not sell protected health information" except under a patient authorization written for a sale. A sale includes a disclosure where the agency "directly or indirectly receives remuneration" for the records.
Source: eCFR, HIPAA uses and disclosures: general rules
The authorization each patient signs "must state that the disclosure will result in remuneration to the covered entity."
Source: eCFR, HIPAA uses and disclosures requiring an authorization
Two ways out of HIPAA
Records stop being protected health information when they are de-identified under the rule's implementation specifications: either an expert applying statistical methods finds the risk of identifying a patient "very small" and documents how, or the listed identifiers are removed, starting with names and any geographic subdivision smaller than a state, and the covered entity has no actual knowledge that what remains could identify a patient.
Source: eCFR, HIPAA de-identification requirements
HHS's guidance on the two methods says satisfying either one shows the covered entity has met the standard.
Source: HHS, de-identification guidance
Where the vendors come in
Two vendors' terms reach the agency's own records. Axxess's terms say it "shall own all right and title to, and interest in and ownership of any and all User Data created and stored within the Solutions", and Enzo Health takes a perpetual licence to "statistical and other aggregated data derived from your use of the Platform and the Content". On those platforms a de-identified set may not be the agency's alone to offer.
Source: Axxess Terms of Service
The rest of the board, vendor by vendor, is in the table.
Source: Home health software data terms