שכבת התצוגה
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הטבע המנוקב מאוד של משאבי FHIR והסכימה של Parque-on-FHIR מחייב שאילתות SQL מורכבות, שעשויות להקשות על העבודה איתן בתרחישי שימוש בניתוח נתונים.
גישה נפוצה לפתרון הבעיה הזו היא ליישר את הנתונים לקבוצה של תצוגות (וירטואליות או מותמרות), שבאמצעותן אפשר לשלוח שאילתות באמצעות משפטי SQL פשוטים יותר.
באמצעות צינורות נתונים של FHIR, יש כמה גישות ליצירת תצוגות טבלאיות שטוחות לשימוש באפליקציות ניתוח נתונים, בהתאם לדרישות הפריסה:
שאילתות SQL ליצירת תצוגות וירטואליות (מחוץ לצינור עיבוד הנתונים)
משאבים של FHIR ViewDefinition ליצירת תצוגות (Views) ממומשות (בתוך צינור עיבוד הנתונים) שאפשר להפיק מהן פלט בכל פורמט טבלאי (עם תמיכה נוכחית ב-Parquet ובטבלאות של מסדי נתונים)
בשתי הגישות האלה, מוצגת קבוצה של 'תצוגות מוגדרות מראש' למשאבים נפוצים של FHIR. אפשר לשנות או להאריך אותם.
תיעוד למפתחים
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["\u003cp\u003eFHIR data's nested structure necessitates complex SQL queries, making analytics challenging.\u003c/p\u003e\n"],["\u003cp\u003eFlattening FHIR data into views simplifies querying for analytics.\u003c/p\u003e\n"],["\u003cp\u003eFHIR Data Pipes offers two approaches for generating flat tabular views: SQL queries for virtual views and FHIR ViewDefinition resources for materialized views.\u003c/p\u003e\n"],["\u003cp\u003ePredefined views for common FHIR resources are available and customizable.\u003c/p\u003e\n"],["\u003cp\u003eExplore detailed information and implementation guidance in the developer documentation.\u003c/p\u003e\n"]]],["FHIR data's complexity necessitates flattening for analytics. This is achieved by creating tabular views, either virtual or materialized. Virtual views are created using SQL queries, while materialized views are generated via FHIR ViewDefinition resources, outputting in formats like Parquet or DB tables. FHIR Data Pipes supports both methods, providing predefined views for common FHIR resources that can be customized, to facilitate analytics applications. Further details are available in the developer documentation.\n"],null,["# View Layer\n\nThe heavily nested nature of FHIR resources and the Parque-on-FHIR schema\nrequires complex SQL queries that can make them difficult to work with for\nanalytics use cases.\n\nA common approach to address this is to flatten the data into a set of views\n(virtual or materialized) which can then be queried using simpler SQL\nstatements.\n\nUsing FHIR Data Pipes, there are multiple approaches for generating flat tabular\nviews for use in analytics applications to match the deployment requirements:\n\n1. SQL queries to generate virtual views (outside the pipeline)\n\n2. [FHIR ViewDefinition](https://build.fhir.org/ig/FHIR/sql-on-fhir-v2/StructureDefinition-ViewDefinition.html) resources to generate materialized views (within the pipeline)\n which can be outputted in any tabular format (with current support for Parquet\n and DB tables)\n\nFor both of these approaches, a set of \"predefined views\" for common FHIR\nresources are provided. These can be modified or extended.\n\nGo to [developer documentation](https://google.github.io/fhir-data-pipes/)"]]