From 1ccfe78d25624ab4485c62a90f6b2cdb38fc8391 Mon Sep 17 00:00:00 2001 From: Sudo-JHare Date: Sun, 11 May 2025 22:46:53 +1000 Subject: [PATCH] Add files via upload --- app/privacy.tex | 126 ++++++++++++++++++++++++++++++++++ app/routes.py | 8 +++ app/templates/about.html | 60 ++++++++++++++++ app/templates/base.html | 6 +- app/templates/disclaimer.html | 25 +++++++ app/templates/landing.html | 23 ++++--- 6 files changed, 237 insertions(+), 11 deletions(-) create mode 100644 app/privacy.tex create mode 100644 app/templates/about.html create mode 100644 app/templates/disclaimer.html diff --git a/app/privacy.tex b/app/privacy.tex new file mode 100644 index 0000000..c028773 --- /dev/null +++ b/app/privacy.tex @@ -0,0 +1,126 @@ +% Preamble setup for a comprehensive LaTeX document +\documentclass[a4paper,12pt]{article} + +% Including essential packages for formatting and structure +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{lmodern} +\usepackage{geometry} +\usepackage{titlesec} +\usepackage{hyperref} +\usepackage{fancyhdr} +\usepackage{lastpage} + +% Setting page geometry for proper margins +\geometry{margin=1in} + +% Customizing section titles +\titleformat{\section}{\Large\bfseries}{\thesection}{1em}{} +\titleformat{\subsection}{\large\bfseries}{\thesubsection}{1em}{} + +% Setting up the header and footer +\pagestyle{fancy} +\fancyhf{} +\fancyhead[L]{FHIRPAD Privacy Policy} +\fancyfoot[R]{Page \thepage\ of \pageref{LastPage}} + +% Defining hyperlink style +\hypersetup{ + colorlinks=true, + linkcolor=blue, + urlcolor=blue, + pdftitle={FHIRPAD Privacy Policy}, + pdfauthor={FHIRPAD Team}, + pdfsubject={Privacy Policy}, + pdfkeywords={privacy, FHIRPAD, data protection} +} + +% Starting the document +\begin{document} + +% Title and date +\begin{center} + {\LARGE\textbf{FHIRPAD Privacy Policy}}\\[0.5cm] + {\normalsize Last updated: May 11, 2025} +\end{center} + +% Introduction section +\section{Introduction} +Welcome to FHIRPAD, a platform dedicated to discovering and sharing FHIR-based applications to enhance healthcare interoperability. We are committed to protecting your privacy and ensuring the security of your personal information. This Privacy Policy outlines how we collect, use, disclose, and safeguard your information when you use our website and services. + +% Information Collection section +\section{Information We Collect} +We may collect the following types of information: + +\subsection{Personal Information} +\begin{itemize} + \item \textbf{Account Information}: When you register, we collect your username, email address, and password (hashed for security). + \item \textbf{OAuth Information}: If you log in via Google or GitHub, we collect your email address, username, and OAuth ID. +\end{itemize} + +\subsection{User-Submitted Content} +\begin{itemize} + \item \textbf{App Submissions}: When you submit an app, we collect app details such as name, description, developer name, contact email, logo, launch URL, website, and app images. +\end{itemize} + +\subsection{Usage Data} +\begin{itemize} + \item \textbf{Log Data}: We collect information such as your IP address, browser type, pages visited, and timestamps when you access our site. + \item \textbf{Cookies}: We use cookies to store theme preferences (light/dark mode) and session information. +\end{itemize} + +% Use of Information section +\section{How We Use Your Information} +We use the collected information for the following purposes: +\begin{itemize} + \item To provide and maintain our services, including user authentication and app management. + \item To display user-submitted apps in the gallery and detail pages. + \item To communicate with you, including responding to inquiries via email (e.g., \href{mailto:support@fhirpad.com}{support@fhirpad.com}). + \item To improve our website functionality and user experience. + \item To monitor usage and ensure the security of our platform. +\end{itemize} + +% Sharing of Information section +\section{Sharing of Information} +We do not sell or trade your personal information. We may share your information in the following cases: +\begin{itemize} + \item \textbf{User-Submitted Apps}: App details (e.g., name, developer, contact email) are publicly displayed on the gallery and app detail pages. + \item \textbf{Service Providers}: We may share data with third-party services (e.g., Google OAuth, GitHub OAuth) to facilitate login functionality. + \item \textbf{Legal Requirements}: We may disclose information if required by law or to protect the rights, property, or safety of FHIRPAD and its users. +\end{itemize} + +% Data Security section +\section{Data Security} +We implement reasonable security measures to protect your information, including: +\begin{itemize} + \item Password hashing using Werkzeug's secure methods. + \item Secure session management with Flask-Login. + \item Use of HTTPS for data transmission (if configured in production). +\end{itemize} +However, no method of transmission over the internet or electronic storage is 100\% secure, and we cannot guarantee absolute security. + +% Your Rights section +\section{Your Rights} +You have the following rights regarding your personal information: +\begin{itemize} + \item \textbf{Access and Update}: You can access and update your account information via your profile. + \item \textbf{Delete}: You can delete your apps via the "My Listings" page. To delete your account, contact \href{mailto:support@fhirpad.com}{support@fhirpad.com}. + \item \textbf{Cookies}: You can manage cookie preferences via your browser settings. +\end{itemize} + +% Third-Party Links section +\section{Third-Party Links} +FHIRPAD contains links to external websites (e.g., via "Website" and "Try App" buttons). We are not responsible for the privacy practices or content of these third-party sites. These links open in a new tab/window for your convenience. + +% Changes to Privacy Policy section +\section{Changes to This Privacy Policy} +We may update this Privacy Policy from time to time. The updated version will be posted on this page with the "Last updated" date. We encourage you to review this policy periodically. + +% Contact Us section +\section{Contact Us} +If you have any questions about this Privacy Policy, please contact us at: +\begin{itemize} + \item Email: \href{mailto:support@fhirpad.com}{support@fhirpad.com} +\end{itemize} + +\end{document} \ No newline at end of file diff --git a/app/routes.py b/app/routes.py index 43b29aa..9786df1 100644 --- a/app/routes.py +++ b/app/routes.py @@ -40,6 +40,14 @@ def landing(): categories = Category.query.all() return render_template('landing.html', featured_apps=featured_apps, categories=categories) +@gallery_bp.route('/about') +def about(): + return render_template('about.html') + +@gallery_bp.route('/disclaimer') +def disclaimer(): + return render_template('disclaimer.html') + @gallery_bp.route('/gallery', methods=['GET', 'POST']) def gallery(): form = GalleryFilterForm() diff --git a/app/templates/about.html b/app/templates/about.html new file mode 100644 index 0000000..908d9a0 --- /dev/null +++ b/app/templates/about.html @@ -0,0 +1,60 @@ +{% extends "base.html" %} +{% block title %}About FHIRPAD{% endblock %} +{% block content %} +
+
+ FHIRPAD +
+

About FHIRPAD

+
+

Discover and share FHIR-based applications to enhance healthcare interoperability.

+

Streamline Your FHIR Workflow

+
+
+ +
+
+ +
+
+
+
App Management
+

Register, edit, and manage your FHIR applications.

+ +
+
+
+ +
+
+
+
Admin Controls
+

Manage categories, apps, and users (admin-only).

+ +
+
+
+ +
+
+
+
User Features
+

Explore apps and personalize your experience.

+ +
+
+
+
+
+{% endblock %} \ No newline at end of file diff --git a/app/templates/base.html b/app/templates/base.html index bffb365..6d179cc 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -375,13 +375,13 @@
diff --git a/app/templates/disclaimer.html b/app/templates/disclaimer.html new file mode 100644 index 0000000..09843af --- /dev/null +++ b/app/templates/disclaimer.html @@ -0,0 +1,25 @@ +{% extends "base.html" %} +{% block title %}Disclaimer{% endblock %} +{% block content %} +
+

Disclaimer

+

Last updated: May 11, 2025

+ +

General Information

+

The information provided by FHIRPAD on this website is for general informational purposes only. All information on the site is provided in good faith; however, we make no representation or warranty of any kind, express or implied, regarding the accuracy, adequacy, validity, reliability, availability, or completeness of any information on the site.

+ +

External Links Disclaimer

+

The site may contain links to external websites (e.g., via "Website" and "Try App" buttons) that are not provided or maintained by or in any way affiliated with FHIRPAD. Please note that FHIRPAD does not guarantee the accuracy, relevance, timeliness, or completeness of any information on these external websites. Clicking on these links will open them in a new tab/window for your convenience.

+ +

Professional Advice Disclaimer

+

The content on FHIRPAD is not intended to be a substitute for professional medical advice, diagnosis, or treatment. Always seek the advice of your physician or other qualified health provider with any questions you may have regarding a medical condition. Never disregard professional medical advice or delay in seeking it because of something you have read on this website.

+ +

Limitation of Liability

+

Under no circumstance shall FHIRPAD have any liability to you for any loss or damage of any kind incurred as a result of the use of the site or reliance on any information provided on the site. Your use of the site and your reliance on any information on the site is solely at your own risk.

+ +

User-Submitted Content

+

FHIRPAD allows users to submit and manage FHIR-based applications. The content, accuracy, and functionality of these applications are the responsibility of the submitting users. FHIRPAD does not endorse or guarantee the quality, safety, or legality of any user-submitted apps.

+ +

If you have any questions about this disclaimer, please contact us at support@fhirpad.com.

+
+{% endblock %} \ No newline at end of file diff --git a/app/templates/landing.html b/app/templates/landing.html index a25f67b..36d6f00 100644 --- a/app/templates/landing.html +++ b/app/templates/landing.html @@ -1,16 +1,23 @@ {% extends "base.html" %} {% block title %}FHIRPAD Home{% endblock %} {% block content %} -
-
- FHIRPAD -

Welcome to FHIRPAD

-

Discover and share FHIR-based applications to enhance healthcare interoperability.

- Submit Your App - Browse Apps +
+
+ FHIRPAD
+

Welcome to FHIRPAD

+
+

Discover and share FHIR-based applications to enhance healthcare interoperability.

+

Streamline Your FHIR Workflow

+ +
+
- + +

Featured Apps

{% if featured_apps %}