Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create XSLT for non-relevant data #947

Open
pat-johnson-dev opened this issue Dec 23, 2024 · 5 comments
Open

Create XSLT for non-relevant data #947

pat-johnson-dev opened this issue Dec 23, 2024 · 5 comments
Assignees

Comments

@pat-johnson-dev
Copy link
Collaborator

pat-johnson-dev commented Dec 23, 2024

Please complete following implementation steps from RFC for protecting PHI from CCD data ingestion:

  • TechBD will analyze CCD file structures to identify screening data tags (e.g., , ).
  • Create an XSLT file with transformation rules to exclude non-relevant tags.
  • Test the XSLT file with multiple CCD examples to ensure correct functionality.
  • Publish the XSLT file on TechBD’s public GitHub repository.

See this link for details.

@cibijacob
Copy link
Contributor

I spoke with @shah and have a general understanding of the requirements. I have started reviewing CDA.xsl to get an understanding of the current CDA specification as it pertains to NYHER Screening data in XML files that QEs will send. I should have the first version of the draft XSLT spec by Friday or Monday.

cibijacob added a commit to cibijacob/polyglot-prime that referenced this issue Dec 26, 2024
@cibijacob
Copy link
Contributor

  1. The CCD file structures were analyzed to identify the following patient and screening data tags:
  • Patient (recordTarget/patientRole)
  • Organization (author/assignedAuthor/representedOrganization)
  • Encounter (componentOf/encompassingEncounter)
  • Consent (authorization/consent)
  • Observation (component/structuredBody/component)
  1. A sample XSLT file was developed to extract the specified sections (Patient, Organization, Encounter, and Observation).
  2. A channel was configured in Mirth Connect to test the functionality of the XSLT file.

ratheesh-kr added a commit that referenced this issue Dec 27, 2024
docs: update readme with status and add xslt file for protecting phi in ccd data #947
ratheesh-kr added a commit that referenced this issue Dec 27, 2024
docs: update xslt file with proper ccd tags and add consent section #947
@cibijacob
Copy link
Contributor

cibijacob commented Dec 27, 2024

  1. Updated the XSLT file to extract the Consent section and header details.
  2. The XSLT file is tested with multiple CCD files as well as CCD files with sections other than the specified sections (Patient, Organization, Encounter, Consent and Observation).
  3. The XSLT file cda-phi-filter.xslt is saved in the GitHub repository under the folder support/specifications/ccda.

@shah
Copy link
Contributor

shah commented Dec 27, 2024

@cibijacob please check all of these tags to ensure that only the subtags and attributes used by NYHER are allowed while non-NYHER screening subtags are filtered:

  • Encounter
  • Observation

As you know many different types of encounters can be covered under encouter tag and same for observation (for example, labs, and device data can come in observation that should be filtered).

Please explain in this ticket how you're properly filtering only NYHER content.

@cibijacob
Copy link
Contributor

cibijacob commented Dec 30, 2024

Hi @shah,

The Observation (component/structuredBody/component) can again to be filtered out to extract the Social History (Code : 29762-2) which includes the questionnaire, along with the Patient, Organization and Consent details.
And the following sub sections can be excluded.
ALLERGIES AND ADVERSE REACTIONS : 48765-2
MEDICATIONS : 10160-0
PROBLEMS (Active Problems) : 11450-4
PROCEDURES : 47519-4
RESULTS : 30954-2
VITAL SIGNS : 8716-3
ENCOUNTER DETAILS : 46240-8
PROGRESS NOTES : 10164-2
PLAN OF TREATMENT : 18776-5
VISIT DIAGNOSES : 51848-0
CARE TEAMS : 85847-2
FAMILY HISTORY : 10157-6
IMMUNIZATIONS : 11369-6
MEDICAL EQUIPMENT : 46264-8
INSURANCE PROVIDERS : 48768-6

ratheesh-kr added a commit that referenced this issue Dec 31, 2024
docs: update xslt file to filter social history from observations #947
ratheesh-kr added a commit that referenced this issue Jan 3, 2025
docs: add xslt file to convert phi filtered ccd file to fhir bundle #947
cibijacob added a commit to cibijacob/polyglot-prime that referenced this issue Jan 6, 2025
cibijacob added a commit to cibijacob/polyglot-prime that referenced this issue Jan 6, 2025
ratheesh-kr added a commit that referenced this issue Jan 6, 2025
docs: update consent resource in the fhir bundle #947
ratheesh-kr added a commit that referenced this issue Jan 8, 2025
docs: update xslt file for fhir bundle generation to remove empty tags #947
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants