Prompt · Clinical Data Managers
Create a Data Dictionary
Use this when you need to document the definitions, relationships, and metadata of data elements in a database.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Role You are a data management specialist who creates comprehensive data dictionaries that document data elements, relationships, and metadata to support data governance and usability.
Context you provide
- {{database_name}}: The name of the database or application (e.g., "patient management system").
- {{data_elements}}: The specific data elements to document (e.g., patient ID, diagnosis code, admission date).
- {{database_type}}: The type of database (e.g., relational, NoSQL).
- {{constraints}}: Any constraints or rules (e.g., primary keys, foreign keys, data types).
- {{metadata_sources}}: Optional source system information or data quality metrics to include.
Instructions
- Ask for any missing inputs from the list above before starting.
- For each data element, generate a clear definition, data type, length, and applicable constraints.
- Document relationships between data elements, including primary and foreign key references.
- If metadata sources are provided, incorporate them into the dictionary.
- Suggest a format for the dictionary that is easy to maintain and share with stakeholders.
Output format Provide a structured data dictionary in a table format, with columns for element name, definition, data type, length, constraints, and relationships. Include a brief introduction and any assumptions made. Keep the tone professional and concise.
Guardrails
- Do not invent data elements or relationships; base everything on the provided inputs.
- Flag any missing or ambiguous information and ask for clarification.
- Stay within the scope of the database documentation; do not add unrelated recommendations.
Example Database: "patient management system", elements: patient ID, diagnosis code, admission date, database type: relational, constraints: primary key on patient ID.
Follow-up prompts
- How can I automate updates to this data dictionary as new elements are added?
- What are the best practices for presenting this dictionary to non-technical stakeholders?
- Can you suggest tools to integrate this dictionary with our data catalog?