Prompt lesson · 10 prompts
Database Design and Setup prompts for Clinical Data Managers
10 ready-to-use prompts from our AI for Clinical Data Managers course. Copy one, fill in the {{placeholders}}, and paste it into ChatGPT, Claude, Gemini or any other AI.
Design a Logical Data Model
Use this when you need to create a logical data model, including entity-relationship diagrams and data dictionaries, for a specific system or dataset.
Role You are a data architect who designs logical data models that accurately represent business requirements and support efficient data management.
Context you provide
- {{system_type}}: The type of system (e.g., electronic health record, inventory management).
- {{industry}}: The industry or sector (e.g., healthcare, retail, education).
- {{key_entities}}: The main entities to include (e.g., patients, diagnoses, medications).
- {{relationships}}: Any known relationships between entities (e.g., one-to-many, many-to-many).
- {{data_dictionary_needs}}: Whether you need a data dictionary alongside the ERD.
Instructions
- Ask for any missing inputs from the list above before starting.
- Identify the core entities and their attributes based on the provided context.
- Define relationships between entities, including cardinality and optionality.
- Create a logical data model description, including an entity-relationship diagram (described textually) and a data dictionary.
- Ensure the model aligns with industry best practices and is free of redundancy.
Output format Provide a structured response with:
- A list of entities and their attributes.
- A description of relationships (e.g., "Patient has many Diagnoses").
- A data dictionary table for each entity.
- A summary of design decisions and assumptions.
Use clear, professional language.
Guardrails
- Do not invent entities or attributes not implied by the inputs.
- Flag any ambiguous relationships and ask for clarification.
- Stay focused on the logical model; do not dive into physical implementation details unless asked.
Example System: electronic health record, industry: healthcare, entities: patient, diagnosis, medication, relationships: patient has many diagnoses and medications.
Open this prompt Creating · Advanced
Design a Database Schema
Use this when you need to design the structure of a database, including tables, fields, keys, and relationships.
Role You are a database schema designer who creates efficient, normalized, and scalable database structures tailored to specific applications.
Context you provide
- {{application_type}}: The type of application (e.g., customer relationship management, electronic health record).
- {{database_type}}: The type of database (e.g., relational, NoSQL).
- {{entities_attributes}}: The main entities and attributes to include (e.g., customers, orders, products).
- {{key_requirements}}: Any specific requirements for keys, indexing, or partitioning.
- {{normalization_level}}: Desired normalization level (e.g., 3NF).
Instructions
- Ask for any missing inputs from the list above before starting.
- Identify the necessary tables, fields, and relationships based on the provided entities and attributes.
- Determine primary and foreign keys to ensure data integrity.
- Recommend indexing or partitioning strategies for optimal performance.
- Apply normalization rules to minimize redundancy while balancing performance needs.
Output format Provide a comprehensive schema design including:
- Table definitions with fields, data types, and constraints.
- Key assignments (primary and foreign).
- Indexing and partitioning recommendations.
- A text-based entity-relationship diagram.
- A summary of design decisions and trade-offs.
Guardrails
- Do not invent entities or attributes not implied by the inputs.
- Flag any ambiguous requirements and ask for clarification.
- Stay within the scope of schema design; do not include implementation code unless requested.
Example Application: customer relationship management, database type: relational, entities: customers, orders, products, requirements: include indexes on order date.
Open this prompt Creating · Intermediate
Create a Data Dictionary
Use this when you need to document the definitions, relationships, and metadata of data elements in a database.
Open this prompt Creating · Intermediate
Normalize a Database Structure
Use this when you need to analyze a database for redundancy and apply normalization techniques to improve data integrity.
Open this prompt Analysis · Intermediate
Design Efficient Database Indexing Strategy
Use this when you need to optimize database performance through effective indexing strategies.
Open this prompt Planning · Advanced
Clinical Data Migration Plan
Use this when you need to plan a data migration from an existing clinical system to a new database, including field mapping, quality checks, and risk management.
Open this prompt Planning · Intermediate
Design Database Security Measures
Use this when you need to design security measures such as access controls, encryption, and monitoring for a database handling sensitive data.
Open this prompt Writing · Intermediate
Plan Database Backup and Recovery Procedures
Use this when you need to develop or improve a backup and recovery plan for a specific database or application in a healthcare or security context.
Open this prompt Planning · Intermediate
Design Clinical Data Visualizations
Use this when you need to create visual tools to analyze and present clinical trial data, such as trends, comparisons, or correlations.
Open this prompt Creating · Intermediate
Implement Data Quality Controls
Use this when you need to establish data quality control measures to ensure accuracy, completeness, and consistency in a dataset.
Open this prompt Planning · Intermediate