NIH-NCPI / ncpi-fhir-ig-2

NCPI FHIR IG 2
https://nih-ncpi.github.io/ncpi-fhir-ig-2/
3 stars 1 forks source link

General Feedback - Temporal Data #83

Open bwalsh opened 20 hours ago

bwalsh commented 20 hours ago

What were you reviewing?

Temporal data: datetime and ageAtEvent fields across fhir resources

Review Date:

December 2024

Relevant Link:

For example see birthDate and deceasedDateTime in https://nih-ncpi.github.io/ncpi-fhir-ig-2/StructureDefinition-ncpi-participant.html#profile

Feedback:

See below

bwalsh commented 19 hours ago

Architecture Inflection Points for Transforming PHI Dates in FHIR Data

Transforming data that includes Protected Health Information (PHI) dates requires careful architectural planning to support regulatory compliance, scalability, and, crucially, the ability to maintain utility for analysis. Below are key inflection points to guide this process, with a focus on enabling longitudinal studies and temporal trend analysis while retaining the original sections for completeness.


1. Support for Analytical Use Cases


2. Data Privacy and Compliance Requirements


3. Transformation Logic


4. Data Storage Considerations

5. Testing and Validation

Comparison of Effort: Shifting Datetime Fields vs. Introducing an ageAtEvent Extension

Method 1: Shifting Existing Datetime Fields

Advantages

Challenges

Level of Effort


Method 2: Introducing an ageAtEvent Extension

Advantages

Challenges

Level of Effort


Comparison Summary

Aspect Shifting Datetime Fields Introducing ageAtEvent Extension
Implementation Effort Moderate High
Schema Changes None Requires new field/extension
Maintenance Effort Low Medium
Analytical Complexity Medium (requires handling shifts) Low (explicit age simplifies queries)
Interoperability Impact Minimal Potential challenges with existing systems
Privacy Compliance Moderate (risks with deterministic shifts) High (avoids direct PHI dates)
Temporal Relationship Requires careful validation Naturally preserved through derivation
User-Friendliness Moderate High

Recommendation

Each approach has trade-offs, but introducing an ageAtEvent extension provides stronger support for user-friendly and privacy-compliant analysis, albeit at a higher initial implementation cost.

bwalsh commented 19 hours ago

@JamedFV You were auto-assigned. Sorry, but I can't seem to remove the assignment?

@teslajoy Can you review and comment?

@RobertJCarroll FYI: Still a draft but wanted to follow up from our last call.

JamedFV commented 19 hours ago

Hi @bwalsh - Thanks for submitting this! Sorry about that, I've got the issues generated through a template auto-assigned to myself so they don't get missed. Would you like this issue assigned to yourself or to someone else for review?

bwalsh commented 19 hours ago

Thanks @JamedFV - if you can assign it back to me. Thanks again