Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TECH_DEBT: Moving documentation from confluence to github #550

Merged
merged 9 commits into from
Nov 21, 2024

Conversation

seanmcilvenna
Copy link
Contributor

@seanmcilvenna seanmcilvenna commented Nov 14, 2024

🛠 Description of Changes

Please see the root README on my branch for docs.
Added a section for "Documentation" that links to the docs/README.md
Exported from confluence each of the service specs and moved them to the docs/service_specs folder.
Moved the service-specific docs from that root README.md into their equivalent service spec.
Created new documentation for Census Management under "functionality" and moved the "submission folder structure" in functionality from confluence.

🧪 Testing Performed

N/A

But, after approval and merging, I plan to archive each of the equivalent pages in confluence.

Summary by CodeRabbit

Release Notes

  • New Features

    • Introduced a comprehensive documentation structure for various services including Census Management, Submission, and Reporting.
    • Added detailed guides for each service, enhancing user understanding of functionalities and configurations.
  • Documentation

    • Removed outdated service descriptions and replaced them with a centralized "Documentation" section.
    • Added new documentation files for services such as Account, Admin UI, Audit, Notification, and others, improving navigability and clarity.
    • Enhanced existing documentation with specific details on service responsibilities, environment variables, and event handling.

Copy link
Contributor

coderabbitai bot commented Nov 14, 2024

Walkthrough

The pull request introduces significant changes to the documentation structure within the Link Cloud project. It removes detailed descriptions of various services from the README.md file, replacing them with a new "Documentation" section that links to comprehensive external documentation. Additionally, multiple new documentation files are created for specific services, detailing their functionalities, configurations, and operational parameters, thereby enhancing the overall organization and clarity of the documentation.

Changes

File Path Change Summary
README.md Removed "Link Cloud Services" section; added "Documentation" section with external links.
docs/README.md Added "Overview," "Functionality," and "Service Specifications" sections for service details.
docs/functionality/census_management.md New documentation for the Census Management module, detailing data acquisition methods.
docs/functionality/submission_folder.md New documentation outlining submission folder structure and naming conventions.
docs/service_specs/account.md New documentation for the Account service, detailing roles, permissions, and configurations.
docs/service_specs/admin_ui.md New documentation for the Admin UI service, including technology stack and configuration.
docs/service_specs/audit.md New documentation for the Audit service, detailing event persistence and configurations.
docs/service_specs/bff.md New documentation for the Backend for Frontend service, outlining configurations and settings.
docs/service_specs/census.md New documentation for the Census service, detailing patient information management.
docs/service_specs/data_acquisition.md New documentation for the Data Acquisition service, specifying resource querying methods.
docs/service_specs/measure_eval.md New documentation for the Measure Eval service, detailing evaluation processes and configurations.
docs/service_specs/normalization.md New documentation for the Normalization service, explaining FHIR resource adjustments.
docs/service_specs/notification.md New documentation for the Notification service, detailing email notification processes.
docs/service_specs/query_dispatch.md New documentation for the Query Dispatch service, outlining querying delay configurations.
docs/service_specs/report.md New documentation for the Report service, detailing report generation and workflows.
docs/service_specs/submission.md New documentation for the Submission service, outlining submission content packaging.
docs/service_specs/tenant.md New documentation for the Tenant service, detailing configuration and event management.

Possibly related PRs

Suggested reviewers

  • dvargaslantana
  • MontaltoNick
  • amphillipsLGC

Poem

In the cloud where services play,
Documentation found its way.
With links and sections, clear and bright,
Guiding users, day and night.
A rabbit hops with joy to see,
Clarity blooms, as it should be! 🐇✨


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between 7492372 and 16ad7a4.

📒 Files selected for processing (2)
  • docs/service_specs/account.md (1 hunks)
  • docs/service_specs/normalization.md (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (2)
  • docs/service_specs/account.md
  • docs/service_specs/normalization.md

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 5

🧹 Outside diff range and nitpick comments (4)
docs/README.md (1)

1-26: Documentation structure aligns with tech debt objectives

The new documentation structure successfully achieves the PR's objective of moving documentation from Confluence to GitHub. The organization is clear and maintainable, with:

  • A high-level overview
  • Dedicated sections for functionality and service specifications
  • Consistent use of relative links

This change appropriately falls within the scope of a TECH-DEBT PR as it only involves documentation restructuring without affecting core functionality.

Consider adding a table of contents at the top of the file for easier navigation when the documentation grows larger.

🧰 Tools
🪛 LanguageTool

[grammar] ~4-~4: You should probably use “include”.
Context: ... Overview This page and its references includes documentation for Link's services and t...

(AGREEMENT_SENT_START)


[uncategorized] ~25-~25: A punctuation mark might be missing here.
Context: ...](service_specs/report.md) * Submission * Tenant

(AI_EN_LECTOR_MISSING_PUNCTUATION)

docs/service_specs/bff.md (1)

5-11: Consider adding deployment-related specifications.

The service overview provides basic information but could be enhanced with the following deployment-critical details:

  • Health check endpoints
  • Resource requirements (CPU/memory limits/requests)
  • Service dependencies
  • Logging configuration
docs/functionality/census_management.md (2)

9-34: Fix indentation in Bulk FHIR process steps.

The content thoroughly documents the acquisition methods. However, there's an indentation inconsistency in the Bulk FHIR process steps.

Apply this formatting fix:

 - **Process**:
-    - Link initiates a `$export` request for patient data by `groupId`.
-    - The export process is monitored and polled routinely until completion.
-    - Upon completion, patient resources are retrieved, and the FHIR ID of each patient is extracted and stored.
+  - Link initiates a `$export` request for patient data by `groupId`.
+  - The export process is monitored and polled routinely until completion.
+  - Upon completion, patient resources are retrieved, and the FHIR ID of each patient is extracted and stored.
🧰 Tools
🪛 Markdownlint

26-26: Expected: 2; Actual: 4
Unordered list indentation

(MD007, ul-indent)


27-27: Expected: 2; Actual: 4
Unordered list indentation

(MD007, ul-indent)


28-28: Expected: 2; Actual: 4
Unordered list indentation

(MD007, ul-indent)


35-45: Minor wording improvement needed.

The sections provide clear information about scheduling and data persistence. Consider simplifying the last sentence.

Apply this language improvement:

-This would provide users with meaningful patient identifiers, facilitating easier navigation and record management within the Link UI.
+This would provide users with meaningful patient identifiers, facilitating navigation and record management within the Link UI.
🧰 Tools
🪛 LanguageTool

[style] ~45-~45: This phrase is redundant. Consider writing “facilitating”.
Context: ...rs with meaningful patient identifiers, facilitating easier navigation and record management within...

(FACILITATE_EASIER)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between a651457 and 6e660ae.

📒 Files selected for processing (17)
  • README.md (1 hunks)
  • docs/README.md (1 hunks)
  • docs/functionality/census_management.md (1 hunks)
  • docs/functionality/submission_folder.md (1 hunks)
  • docs/service_specs/account.md (1 hunks)
  • docs/service_specs/admin_ui.md (1 hunks)
  • docs/service_specs/audit.md (1 hunks)
  • docs/service_specs/bff.md (1 hunks)
  • docs/service_specs/census.md (1 hunks)
  • docs/service_specs/data_acquisition.md (1 hunks)
  • docs/service_specs/measure_eval.md (1 hunks)
  • docs/service_specs/normalization.md (1 hunks)
  • docs/service_specs/notification.md (1 hunks)
  • docs/service_specs/query_dispatch.md (1 hunks)
  • docs/service_specs/report.md (1 hunks)
  • docs/service_specs/submission.md (1 hunks)
  • docs/service_specs/tenant.md (1 hunks)
✅ Files skipped from review due to trivial changes (7)
  • README.md
  • docs/service_specs/account.md
  • docs/service_specs/admin_ui.md
  • docs/service_specs/audit.md
  • docs/service_specs/data_acquisition.md
  • docs/service_specs/notification.md
  • docs/service_specs/tenant.md
🧰 Additional context used
📓 Path-based instructions (10)
docs/README.md (1)

Pattern **: PRs that have "TECH-DEBT" in the title should only contain changes related to typos, unused code, linter/IDE suggestions, swagger specification updates, and logging improvements. These TECH-DEBT PRs should not affect core functionality.

docs/functionality/census_management.md (1)

Pattern **: PRs that have "TECH-DEBT" in the title should only contain changes related to typos, unused code, linter/IDE suggestions, swagger specification updates, and logging improvements. These TECH-DEBT PRs should not affect core functionality.

docs/functionality/submission_folder.md (1)

Pattern **: PRs that have "TECH-DEBT" in the title should only contain changes related to typos, unused code, linter/IDE suggestions, swagger specification updates, and logging improvements. These TECH-DEBT PRs should not affect core functionality.

docs/service_specs/bff.md (1)

Pattern **: PRs that have "TECH-DEBT" in the title should only contain changes related to typos, unused code, linter/IDE suggestions, swagger specification updates, and logging improvements. These TECH-DEBT PRs should not affect core functionality.

docs/service_specs/census.md (1)

Pattern **: PRs that have "TECH-DEBT" in the title should only contain changes related to typos, unused code, linter/IDE suggestions, swagger specification updates, and logging improvements. These TECH-DEBT PRs should not affect core functionality.

docs/service_specs/measure_eval.md (1)

Pattern **: PRs that have "TECH-DEBT" in the title should only contain changes related to typos, unused code, linter/IDE suggestions, swagger specification updates, and logging improvements. These TECH-DEBT PRs should not affect core functionality.

docs/service_specs/normalization.md (1)

Pattern **: PRs that have "TECH-DEBT" in the title should only contain changes related to typos, unused code, linter/IDE suggestions, swagger specification updates, and logging improvements. These TECH-DEBT PRs should not affect core functionality.

docs/service_specs/query_dispatch.md (1)

Pattern **: PRs that have "TECH-DEBT" in the title should only contain changes related to typos, unused code, linter/IDE suggestions, swagger specification updates, and logging improvements. These TECH-DEBT PRs should not affect core functionality.

docs/service_specs/report.md (1)

Pattern **: PRs that have "TECH-DEBT" in the title should only contain changes related to typos, unused code, linter/IDE suggestions, swagger specification updates, and logging improvements. These TECH-DEBT PRs should not affect core functionality.

docs/service_specs/submission.md (1)

Pattern **: PRs that have "TECH-DEBT" in the title should only contain changes related to typos, unused code, linter/IDE suggestions, swagger specification updates, and logging improvements. These TECH-DEBT PRs should not affect core functionality.

🪛 LanguageTool
docs/README.md

[grammar] ~4-~4: You should probably use “include”.
Context: ... Overview This page and its references includes documentation for Link's services and t...

(AGREEMENT_SENT_START)


[uncategorized] ~25-~25: A punctuation mark might be missing here.
Context: ...](service_specs/report.md) * Submission * Tenant

(AI_EN_LECTOR_MISSING_PUNCTUATION)

docs/functionality/census_management.md

[style] ~45-~45: This phrase is redundant. Consider writing “facilitating”.
Context: ...rs with meaningful patient identifiers, facilitating easier navigation and record management within...

(FACILITATE_EASIER)

docs/functionality/submission_folder.md

[style] ~24-~24: In American English, abbreviations like “etc.” require a period.
Context: ...HYPO - Patient/X - Condition/X, etc. - shared-resources.json - a Bundle o...

(ETC_PERIOD)

docs/service_specs/census.md

[grammar] ~5-~5: The plural noun “tenants” cannot be used with the article “a”. Did you mean “a tenant” or “tenants”?
Context: ...s primarily responsible for maintaining a tenants admit and discharge patient information...

(A_NNS)

docs/service_specs/measure_eval.md

[uncategorized] ~5-~5: This expression is usually spelled with a hyphen.
Context: ...Overview The Measure Eval service is a Java based application that is primarily responsib...

(BASED_HYPHEN)


[uncategorized] ~42-~42: Possible missing comma found.
Context: ...pplication to use CQFramework libraries directly rather than relying on a separate CQF-R...

(AI_HYDRA_LEO_MISSING_COMMA)

docs/service_specs/normalization.md

[uncategorized] ~16-~16: A punctuation mark might be missing here.
Context: ...-----------------------------|---------| | Link__Audit__ExternalConfigurationSour...

(AI_EN_LECTOR_MISSING_PUNCTUATION)

docs/service_specs/query_dispatch.md

[style] ~5-~5: ‘prior to’ might be wordy. Consider a shorter alternative.
Context: ...y responsible for applying a lag period prior to making FHIR resource query requests aga...

(EN_WORDINESS_PREMIUM_PRIOR_TO)


[style] ~5-~5: In American English, abbreviations like “etc.” require a period.
Context: ... Labs have had their results finalized, etc), tenants are able to customize how lon...

(ETC_PERIOD)


[style] ~5-~5: As a shorter alternative for ‘able to’, consider using “can”.
Context: ... their results finalized, etc), tenants are able to customize how long they would like the ...

(BE_ABLE_TO)


[uncategorized] ~16-~16: A punctuation mark might be missing here.
Context: ...-----------------------------|---------| | Link__Audit__ExternalConfigurationSour...

(AI_EN_LECTOR_MISSING_PUNCTUATION)

docs/service_specs/report.md

[style] ~5-~5: Consider removing “of” to be more concise
Context: ...forms various workflows to determine if all of the patient MeasureReports are accounted fo...

(ALL_OF_THE)


[style] ~5-~5: ‘prior to’ might be wordy. Consider a shorter alternative.
Context: ...reReports are accounted for that period prior to initiating the submission process. - *...

(EN_WORDINESS_PREMIUM_PRIOR_TO)

docs/service_specs/submission.md

[style] ~10-~10: Consider using “who” when you are referring to people instead of objects.
Context: .../R4/list.html) resource of all patients that were admitted into the facility during ...

(THAT_WHO)


[style] ~13-~13: Consider removing “of” to be more concise
Context: .../R4/bundle.html) resource that contains all of the shared resources (Location, Medication,...

(ALL_OF_THE)


[style] ~13-~13: In American English, abbreviations like “etc.” require a period.
Context: ...shared resources (Location, Medication, etc) that are referenced in the patient Mea...

(ETC_PERIOD)

🪛 Markdownlint
docs/functionality/census_management.md

26-26: Expected: 2; Actual: 4
Unordered list indentation

(MD007, ul-indent)


27-27: Expected: 2; Actual: 4
Unordered list indentation

(MD007, ul-indent)


28-28: Expected: 2; Actual: 4
Unordered list indentation

(MD007, ul-indent)

docs/functionality/submission_folder.md

21-21: Expected: 2; Actual: 4
Unordered list indentation

(MD007, ul-indent)


22-22: Expected: 2; Actual: 4
Unordered list indentation

(MD007, ul-indent)


23-23: Expected: 2; Actual: 4
Unordered list indentation

(MD007, ul-indent)


24-24: Expected: 2; Actual: 4
Unordered list indentation

(MD007, ul-indent)

🔇 Additional comments (6)
docs/README.md (2)

12-26: Well-organized service documentation structure

The service specifications section is well-structured with consistent naming and organization. Each service has its dedicated documentation file, making it easy to maintain and navigate.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~25-~25: A punctuation mark might be missing here.
Context: ...](service_specs/report.md) * Submission * Tenant

(AI_EN_LECTOR_MISSING_PUNCTUATION)


14-26: Verify service specification files exist

Let's ensure all service specification files are present.

✅ Verification successful

Let me try one more verification to check if the files might be in a different location or have a different extension:


All service specification files are present and correctly linked

The service specification files are all present in the docs/service_specs/ directory, matching exactly with the links in the README. The links are correctly structured and point to valid files.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check if all service specification files exist
echo "Checking service specification files..."
for file in "service_specs/account.md" "service_specs/admin_ui.md" "service_specs/audit.md" \
            "service_specs/bff.md" "service_specs/census.md" "service_specs/data_acquisition.md" \
            "service_specs/measure_eval.md" "service_specs/normalization.md" "service_specs/notification.md" \
            "service_specs/query_dispatch.md" "service_specs/report.md" "service_specs/submission.md" \
            "service_specs/tenant.md"; do
  if [ -f "$file" ]; then
    echo "✓ Found: $file"
  else
    echo "✗ Missing: $file"
  fi
done

Length of output: 6812


Script:

#!/bin/bash
# Search for markdown files containing service specs
echo "Searching for service specification files..."
fd -e md -t f

Length of output: 890

🧰 Tools
🪛 LanguageTool

[uncategorized] ~25-~25: A punctuation mark might be missing here.
Context: ...](service_specs/report.md) * Submission * Tenant

(AI_EN_LECTOR_MISSING_PUNCTUATION)

docs/service_specs/bff.md (1)

1-4: LGTM! Clear navigation and service rename notice.

The back navigation and service rename notice are well-formatted and provide clear information.

docs/functionality/census_management.md (3)

1-2: LGTM! Clear navigation link.

The back navigation link follows markdown best practices with a clear relative path.


3-8: Well-structured overview section!

The overview effectively introduces the Census Management module, its purpose, and scope. The content successfully transitions from Confluence while maintaining clarity and completeness.


1-45: Documentation successfully migrated from Confluence.

The new documentation file effectively captures the Census Management functionality while meeting the TECH_DEBT requirements of non-functional changes. The content is well-structured, technically accurate, and maintains a good balance between detail and readability.

🧰 Tools
🪛 LanguageTool

[style] ~45-~45: This phrase is redundant. Consider writing “facilitating”.
Context: ...rs with meaningful patient identifiers, facilitating easier navigation and record management within...

(FACILITATE_EASIER)

🪛 Markdownlint

26-26: Expected: 2; Actual: 4
Unordered list indentation

(MD007, ul-indent)


27-27: Expected: 2; Actual: 4
Unordered list indentation

(MD007, ul-indent)


28-28: Expected: 2; Actual: 4
Unordered list indentation

(MD007, ul-indent)

docs/README.md Show resolved Hide resolved
docs/README.md Outdated Show resolved Hide resolved
docs/service_specs/bff.md Outdated Show resolved Hide resolved
docs/service_specs/bff.md Outdated Show resolved Hide resolved
docs/service_specs/bff.md Outdated Show resolved Hide resolved
Copy link
Contributor

@sdmcgeown sdmcgeown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a folder at the root called Documentation/images -- could this be incorporated into the new docs folder?

Addressing some typos suggested by coderabbit
…tions for `img` tags missing `alt` attributes
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 9

🧹 Outside diff range and nitpick comments (25)
docs/README.md (1)

1-26: Well-structured documentation index

The overall organization effectively supports the migration from Confluence to GitHub, providing a clear hierarchy and easy navigation to all service specifications and functionality documentation.

Consider adding:

  1. A brief description for each service in the list to help users quickly identify the service they need
  2. A table of contents at the top for easier navigation in longer documentation
🧰 Tools
🪛 LanguageTool

[uncategorized] ~4-~4: This verb does not appear to agree with the subject. Consider using a different form.
Context: ...es and the functionality those services supports. ## Functionality * [Census Managemen...

(AI_EN_LECTOR_REPLACEMENT_VERB_AGREEMENT)

docs/service_specs/audit.md (3)

1-10: LGTM! Consider adding deployment prerequisites.

The overview section is well-structured and provides essential service information. Consider adding deployment prerequisites or dependencies to make the documentation more comprehensive.


14-18: Fix table formatting and enhance security documentation.

The table structure needs minor formatting improvements. Also, consider adding:

  • Required permissions for the Azure App Configuration access
  • Instructions for secret management

Apply this formatting fix:

-| Name                                        | Value                         | Secret? |
-|---------------------------------------------|-------------------------------|---------|
+| Name                                        | Value                         | Secret? |
+|---------------------------------------------|-------------------------------|---------|
🧰 Tools
🪛 LanguageTool

[uncategorized] ~15-~15: A punctuation mark might be missing here.
Context: ...-----------------------------|---------| | Link__Audit__ExternalConfigurationSour...

(AI_EN_LECTOR_MISSING_PUNCTUATION)


21-28: Consider adding additional Kafka configuration parameters.

The current Kafka configuration might be incomplete. Consider documenting:

  • Security settings (SSL/SASL)
  • Consumer configuration (auto-offset-reset, max-poll-records)
  • Error handling and retry policies
docs/service_specs/account.md (3)

14-18: Standardize placeholder format

For better readability and consistency, consider using a standardized format for configuration placeholders.

Suggested change:

- | ConnectionStrings__AzureAppConfiguration | `<AzureAppConfigEndpoint>`      | Yes     |
+ | ConnectionStrings__AzureAppConfiguration | `${AZURE_APP_CONFIG_ENDPOINT}`  | Yes     |

36-38: Improve table formatting and endpoint documentation

The table formatting could be improved, and the endpoint placeholder should follow a consistent format.

Suggested changes:

| Name                                         | Value                          | Secret? |
|----------------------------------------------|--------------------------------|---------|
- | TenantApiSettings__TenantServiceBaseEndpoint  | `<TenantServiceUrl>/api`            | No      |
+ | TenantApiSettings__TenantServiceBaseEndpoint  | `${TENANT_SERVICE_URL}/api`         | No      |
🧰 Tools
🪛 LanguageTool

[uncategorized] ~37-~37: A punctuation mark might be missing here.
Context: ...-----------------------------|---------| | TenantApiSettings__TenantServiceBaseEn...

(AI_EN_LECTOR_MISSING_PUNCTUATION)


44-46: Enhance event documentation

Consider adding more details about the AuditableEventOccurred event, such as:

  • Event payload structure
  • Example message
  • Use cases or scenarios when this event is produced

Would you like me to help create a template for the enhanced event documentation?

docs/service_specs/data_acquisition.md (3)

14-18: Standardize placeholder syntax

Consider using a consistent syntax for placeholders. Currently using <AzureAppConfigEndpoint>, suggest using the same format across all documentation files.

-| ConnectionStrings__AzureAppConfiguration    | `<AzureAppConfigEndpoint>`    | Yes     |
+| ConnectionStrings__AzureAppConfiguration    | `{{AZURE_APP_CONFIG_ENDPOINT}}`| Yes     |
🧰 Tools
🪛 LanguageTool

[uncategorized] ~15-~15: A punctuation mark might be missing here.
Context: ...-----------------------------|---------| | Link__Audit__ExternalConfigurationSour...

(AI_EN_LECTOR_MISSING_PUNCTUATION)


23-26: Consider making Kafka GroupId configurable

The GroupId is currently hardcoded to "data-acquisition-events". Consider making this configurable to support different deployment scenarios (e.g., multiple instances, staging environments).

-| KafkaConnection__GroupId                 | data-acquisition-events   | No       |
+| KafkaConnection__GroupId                 | {{KAFKA_GROUP_ID}}        | No       |

28-37: Enhance event documentation with schemas and examples

The current event documentation only lists event names. Consider adding:

  • Event schema/payload structure
  • Example payloads
  • Event triggering conditions
  • Event handling expectations

This would help developers better understand the event-driven architecture.

Would you like me to provide a template for documenting events with these details?

docs/service_specs/normalization.md (2)

15-19: Minor table formatting improvements needed

The table structure is good, but there's a minor formatting issue with the separator line.

-|---------------------------------------------|-------------------------------|---------|
+| --------------------------------------------- | ----------------------------- | -------- |
🧰 Tools
🪛 LanguageTool

[uncategorized] ~16-~16: A punctuation mark might be missing here.
Context: ...-----------------------------|---------| | Link__Audit__ExternalConfigurationSour...

(AI_EN_LECTOR_MISSING_PUNCTUATION)


37-44: Consider adding brief descriptions for each event

While the events are clearly listed, adding a brief description of each event's purpose and payload structure would improve clarity.

Example format:

## Consumed Events

- **PatientDataAcquired**: Triggered when patient data is successfully acquired from EHR. Contains patient demographics and resource references.

## Produced Events

- **PatientNormalized**: Emitted after successful normalization of patient data. Contains normalized FHIR resources.
- **NotificationRequested**: Triggered when the normalization process requires user attention. Contains notification details and severity level.
docs/service_specs/measure_eval.md (4)

1-11: Minor grammatical improvement needed in the overview

The overview section is well-structured and informative. However, "Java based" should be hyphenated as "Java-based" for correct grammar.

-The Measure Eval service is a Java based application that is primarily responsible
+The Measure Eval service is a Java-based application that is primarily responsible
🧰 Tools
🪛 LanguageTool

[uncategorized] ~5-~5: This expression is usually spelled with a hyphen.
Context: ...Overview The Measure Eval service is a Java based application that is primarily responsib...

(BASED_HYPHEN)


28-34: Consider using placeholder URLs in documentation

The configuration section contains environment-specific URLs. Consider replacing these with placeholder values to:

  1. Avoid exposing internal domains
  2. Make the documentation applicable across different environments
-| MeasureEvalConfig__TerminologyServiceUrl   | `https://cqf-ruler.nhsnlink.org/fhir`           | No      |
-| MeasureEvalConfig__EvaluationServiceUrl    | `https://cqf-ruler.nhsnlink.org/fhir`           | No      |
+| MeasureEvalConfig__TerminologyServiceUrl   | `<CQF_RULER_URL>/fhir`                          | No      |
+| MeasureEvalConfig__EvaluationServiceUrl    | `<CQF_RULER_URL>/fhir`                          | No      |

35-43: Consider adding event schema details

The events section would be more helpful with additional details about:

  • Event payload schemas
  • Required fields
  • Example messages

44-44: Add comma for better readability

Add a comma after "directly" to improve readability.

-> **Note**: This service is being re-designed as a Java application to use CQFramework libraries directly rather than relying on a separate CQF-Ruler installation.
+> **Note**: This service is being re-designed as a Java application to use CQFramework libraries directly, rather than relying on a separate CQF-Ruler installation.
🧰 Tools
🪛 LanguageTool

[uncategorized] ~44-~44: Possible missing comma found.
Context: ...pplication to use CQFramework libraries directly rather than relying on a separate CQF-R...

(AI_HYDRA_LEO_MISSING_COMMA)

docs/service_specs/census.md (2)

5-5: Fix grammar in service description

The sentence has a grammatical error with the plural noun "tenants".

-The Census service is primarily responsible for maintaining a tenants admit and discharge patient information needed to determine when a patient is ready for reporting.
+The Census service is primarily responsible for maintaining tenant admit and discharge patient information needed to determine when a patient is ready for reporting.
🧰 Tools
🪛 LanguageTool

[grammar] ~5-~5: The plural noun “tenants” cannot be used with the article “a”. Did you mean “a tenant” or “tenants”?
Context: ...s primarily responsible for maintaining a tenants admit and discharge patient information...

(A_NNS)


44-50: Consider enhancing event documentation

While the events are listed, adding brief descriptions of their purpose and payload structure would make this documentation more useful for developers.

Example enhancement:

 ## Consumed Events

-**Event**: `PatientIDsAcquired`
+**Event**: `PatientIDsAcquired`
+- **Purpose**: Triggered when new patient IDs are available for census processing
+- **Payload**: Array of patient identifiers and their associated metadata
+- **Source Service**: [Service name that produces this event]

 ## Produced Events

-**Event**: `PatientCensusScheduled`
+**Event**: `PatientCensusScheduled`
+- **Purpose**: Indicates that a patient's census data has been scheduled for processing
+- **Payload**: Patient identifier and scheduled processing timestamp
+- **Consuming Services**: [List of services that consume this event]
docs/service_specs/query_dispatch.md (2)

5-5: Enhance readability with minor text improvements

Consider these style improvements:

  • Replace "prior to" with "before"
  • Add a period after "etc."
  • Replace "are able to" with "can"
-The Query Dispatch service is primarily responsible for applying a lag period prior to making FHIR resource query requests against a facility endpoint. The current implementation of the Query Dispatch service handles how long Link Cloud should wait before querying for a patient's FHIR resources after being discharged. To ensure that the encounter related data for the patient has been settled (Medications have been closed, Labs have had their results finalized, etc), tenants are able to customize how long they would like the lag from discharge to querying to be.
+The Query Dispatch service is primarily responsible for applying a lag period before making FHIR resource query requests against a facility endpoint. The current implementation of the Query Dispatch service handles how long Link Cloud should wait before querying for a patient's FHIR resources after being discharged. To ensure that the encounter related data for the patient has been settled (Medications have been closed, Labs have had their results finalized, etc.), tenants can customize how long they would like the lag from discharge to querying to be.
🧰 Tools
🪛 LanguageTool

[style] ~5-~5: ‘prior to’ might be wordy. Consider a shorter alternative.
Context: ...y responsible for applying a lag period prior to making FHIR resource query requests aga...

(EN_WORDINESS_PREMIUM_PRIOR_TO)


[style] ~5-~5: In American English, abbreviations like “etc.” require a period.
Context: ... Labs have had their results finalized, etc), tenants are able to customize how lon...

(ETC_PERIOD)


[style] ~5-~5: As a shorter alternative for ‘able to’, consider using “can”.
Context: ... their results finalized, etc), tenants are able to customize how long they would like the ...

(BE_ABLE_TO)


44-51: Consider enhancing event documentation

While the events are listed, it would be helpful to include:

  • Event schemas/payloads
  • Example messages
  • Event handling behavior
  • Any retry or error handling policies

This additional information would make the documentation more valuable for developers implementing event handlers.

Would you like me to provide a template for the enhanced event documentation?

docs/service_specs/report.md (1)

43-54: Consider enhancing event documentation

While the events are listed clearly, adding brief descriptions for each event would help developers understand:

  • The purpose and trigger conditions for each event
  • The payload structure
  • Any specific handling requirements

Example format:

## Consumed Events

- **ReportScheduled**: Triggered when {condition}. Contains {key fields}.
  ```json
  {
    "example": "payload structure"
  }

</blockquote></details>
<details>
<summary>docs/service_specs/submission.md (4)</summary><blockquote>

`16-16`: **Use forward slashes for path consistency**

Replace Windows-style backslashes with forward slashes for cross-platform compatibility.

```diff
-An example of the submission package can be found at `\link-cloud\Submission Example`.
+An example of the submission package can be found at `/link-cloud/Submission Example`.

10-14: Minor grammar and style improvements

A few style improvements would enhance readability:

-| Patient List | A [List](https://hl7.org/fhir/R4/list.html) resource of all patients that were admitted into the facility during the reporting period | No |
+| Patient List | A [List](https://hl7.org/fhir/R4/list.html) resource of all patients who were admitted into the facility during the reporting period | No |
-| Other Resources | A [Bundle](https://hl7.org/fhir/R4/bundle.html) resource that contains all of the shared resources (Location, Medication, etc) that are referenced in the patient Measure Reports | No |
+| Other Resources | A [Bundle](https://hl7.org/fhir/R4/bundle.html) resource that contains all shared resources (Location, Medication, etc.) that are referenced in the patient Measure Reports | No |
🧰 Tools
🪛 LanguageTool

[style] ~10-~10: Consider using “who” when you are referring to people instead of objects.
Context: .../R4/list.html) resource of all patients that were admitted into the facility during ...

(THAT_WHO)


[style] ~13-~13: Consider removing “of” to be more concise
Context: .../R4/bundle.html) resource that contains all of the shared resources (Location, Medication,...

(ALL_OF_THE)


[style] ~13-~13: In American English, abbreviations like “etc.” require a period.
Context: ...shared resources (Location, Medication, etc) that are referenced in the patient Mea...

(ETC_PERIOD)


41-46: Add blank lines around tables for better readability

According to Markdown best practices, tables should be surrounded by blank lines.

 ### Database
+
 | Name                                         | Value                                                | Secret?  |
 |----------------------------------------------|------------------------------------------------------|----------|
 | MongoDB__ConnectionString                    | `<ConnectionString>`                                 | Yes      |
 | MongoDb__DatabaseName                        | `<DatabaseName>`                                     | No       |
+
🧰 Tools
🪛 Markdownlint

42-42: null
Tables should be surrounded by blank lines

(MD058, blanks-around-tables)


60-66: Enhance event documentation

The events section would benefit from additional details such as:

  • Event payload structure
  • Event handling behavior
  • Success/failure scenarios

Would you like me to help create a template for more detailed event documentation?

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between 6e660ae and 07356b5.

📒 Files selected for processing (14)
  • docs/README.md (1 hunks)
  • docs/service_specs/account.md (1 hunks)
  • docs/service_specs/admin_ui.md (1 hunks)
  • docs/service_specs/audit.md (1 hunks)
  • docs/service_specs/bff.md (1 hunks)
  • docs/service_specs/census.md (1 hunks)
  • docs/service_specs/data_acquisition.md (1 hunks)
  • docs/service_specs/measure_eval.md (1 hunks)
  • docs/service_specs/normalization.md (1 hunks)
  • docs/service_specs/notification.md (1 hunks)
  • docs/service_specs/query_dispatch.md (1 hunks)
  • docs/service_specs/report.md (1 hunks)
  • docs/service_specs/submission.md (1 hunks)
  • docs/service_specs/tenant.md (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (3)
  • docs/service_specs/admin_ui.md
  • docs/service_specs/notification.md
  • docs/service_specs/tenant.md
🧰 Additional context used
📓 Path-based instructions (11)
docs/README.md (1)

Pattern **: PRs that have "TECH-DEBT" in the title should only contain changes related to typos, unused code, linter/IDE suggestions, swagger specification updates, and logging improvements. These TECH-DEBT PRs should not affect core functionality.

docs/service_specs/account.md (1)

Pattern **: PRs that have "TECH-DEBT" in the title should only contain changes related to typos, unused code, linter/IDE suggestions, swagger specification updates, and logging improvements. These TECH-DEBT PRs should not affect core functionality.

docs/service_specs/audit.md (1)

Pattern **: PRs that have "TECH-DEBT" in the title should only contain changes related to typos, unused code, linter/IDE suggestions, swagger specification updates, and logging improvements. These TECH-DEBT PRs should not affect core functionality.

docs/service_specs/bff.md (1)

Pattern **: PRs that have "TECH-DEBT" in the title should only contain changes related to typos, unused code, linter/IDE suggestions, swagger specification updates, and logging improvements. These TECH-DEBT PRs should not affect core functionality.

docs/service_specs/census.md (1)

Pattern **: PRs that have "TECH-DEBT" in the title should only contain changes related to typos, unused code, linter/IDE suggestions, swagger specification updates, and logging improvements. These TECH-DEBT PRs should not affect core functionality.

docs/service_specs/data_acquisition.md (1)

Pattern **: PRs that have "TECH-DEBT" in the title should only contain changes related to typos, unused code, linter/IDE suggestions, swagger specification updates, and logging improvements. These TECH-DEBT PRs should not affect core functionality.

docs/service_specs/measure_eval.md (1)

Pattern **: PRs that have "TECH-DEBT" in the title should only contain changes related to typos, unused code, linter/IDE suggestions, swagger specification updates, and logging improvements. These TECH-DEBT PRs should not affect core functionality.

docs/service_specs/normalization.md (1)

Pattern **: PRs that have "TECH-DEBT" in the title should only contain changes related to typos, unused code, linter/IDE suggestions, swagger specification updates, and logging improvements. These TECH-DEBT PRs should not affect core functionality.

docs/service_specs/query_dispatch.md (1)

Pattern **: PRs that have "TECH-DEBT" in the title should only contain changes related to typos, unused code, linter/IDE suggestions, swagger specification updates, and logging improvements. These TECH-DEBT PRs should not affect core functionality.

docs/service_specs/report.md (1)

Pattern **: PRs that have "TECH-DEBT" in the title should only contain changes related to typos, unused code, linter/IDE suggestions, swagger specification updates, and logging improvements. These TECH-DEBT PRs should not affect core functionality.

docs/service_specs/submission.md (1)

Pattern **: PRs that have "TECH-DEBT" in the title should only contain changes related to typos, unused code, linter/IDE suggestions, swagger specification updates, and logging improvements. These TECH-DEBT PRs should not affect core functionality.

📓 Learnings (1)
docs/README.md (1)
Learnt from: seanmcilvenna
PR: lantanagroup/link-cloud#550
File: docs/README.md:8-10
Timestamp: 2024-11-14T23:07:29.074Z
Learning: When reviewing markdown files in the `docs/` directory, recognize that relative links to files (e.g., `functionality/census_management.md`) are valid if the referenced files exist relative to the location of the current file.
🪛 LanguageTool
docs/README.md

[uncategorized] ~4-~4: This verb does not appear to agree with the subject. Consider using a different form.
Context: ...es and the functionality those services supports. ## Functionality * [Census Managemen...

(AI_EN_LECTOR_REPLACEMENT_VERB_AGREEMENT)

docs/service_specs/account.md

[uncategorized] ~37-~37: A punctuation mark might be missing here.
Context: ...-----------------------------|---------| | TenantApiSettings__TenantServiceBaseEn...

(AI_EN_LECTOR_MISSING_PUNCTUATION)

docs/service_specs/audit.md

[uncategorized] ~15-~15: A punctuation mark might be missing here.
Context: ...-----------------------------|---------| | Link__Audit__ExternalConfigurationSour...

(AI_EN_LECTOR_MISSING_PUNCTUATION)

docs/service_specs/bff.md

[uncategorized] ~16-~16: A punctuation mark might be missing here.
Context: ...-----------------------------|---------| | Link__Audit__ExternalConfigurationSour...

(AI_EN_LECTOR_MISSING_PUNCTUATION)

docs/service_specs/census.md

[grammar] ~5-~5: The plural noun “tenants” cannot be used with the article “a”. Did you mean “a tenant” or “tenants”?
Context: ...s primarily responsible for maintaining a tenants admit and discharge patient information...

(A_NNS)

docs/service_specs/data_acquisition.md

[uncategorized] ~15-~15: A punctuation mark might be missing here.
Context: ...-----------------------------|---------| | Link__Audit__ExternalConfigurationSour...

(AI_EN_LECTOR_MISSING_PUNCTUATION)

docs/service_specs/measure_eval.md

[uncategorized] ~5-~5: This expression is usually spelled with a hyphen.
Context: ...Overview The Measure Eval service is a Java based application that is primarily responsib...

(BASED_HYPHEN)


[uncategorized] ~44-~44: Possible missing comma found.
Context: ...pplication to use CQFramework libraries directly rather than relying on a separate CQF-R...

(AI_HYDRA_LEO_MISSING_COMMA)

docs/service_specs/normalization.md

[uncategorized] ~16-~16: A punctuation mark might be missing here.
Context: ...-----------------------------|---------| | Link__Audit__ExternalConfigurationSour...

(AI_EN_LECTOR_MISSING_PUNCTUATION)

docs/service_specs/query_dispatch.md

[style] ~5-~5: ‘prior to’ might be wordy. Consider a shorter alternative.
Context: ...y responsible for applying a lag period prior to making FHIR resource query requests aga...

(EN_WORDINESS_PREMIUM_PRIOR_TO)


[style] ~5-~5: In American English, abbreviations like “etc.” require a period.
Context: ... Labs have had their results finalized, etc), tenants are able to customize how lon...

(ETC_PERIOD)


[style] ~5-~5: As a shorter alternative for ‘able to’, consider using “can”.
Context: ... their results finalized, etc), tenants are able to customize how long they would like the ...

(BE_ABLE_TO)

docs/service_specs/report.md

[style] ~5-~5: Consider removing “of” to be more concise
Context: ...forms various workflows to determine if all of the patient MeasureReports are accounted fo...

(ALL_OF_THE)


[style] ~5-~5: ‘prior to’ might be wordy. Consider a shorter alternative.
Context: ...reReports are accounted for that period prior to initiating the submission process. - *...

(EN_WORDINESS_PREMIUM_PRIOR_TO)


[uncategorized] ~15-~15: A punctuation mark might be missing here.
Context: ...-----------------------------|---------| | Link__Audit__ExternalConfigurationSour...

(AI_EN_LECTOR_MISSING_PUNCTUATION)

docs/service_specs/submission.md

[style] ~10-~10: Consider using “who” when you are referring to people instead of objects.
Context: .../R4/list.html) resource of all patients that were admitted into the facility during ...

(THAT_WHO)


[style] ~13-~13: Consider removing “of” to be more concise
Context: .../R4/bundle.html) resource that contains all of the shared resources (Location, Medication,...

(ALL_OF_THE)


[style] ~13-~13: In American English, abbreviations like “etc.” require a period.
Context: ...shared resources (Location, Medication, etc) that are referenced in the patient Mea...

(ETC_PERIOD)

🪛 Markdownlint
docs/service_specs/submission.md

42-42: null
Tables should be surrounded by blank lines

(MD058, blanks-around-tables)

🔇 Additional comments (19)
docs/README.md (2)

6-10: LGTM! Clear structure and valid links.

The Functionality section is well-organized with proper relative links to detailed documentation.


12-26: Verify all service specification files exist

The structure looks good, but let's ensure all referenced service specification files are present.

✅ Verification successful

All service specification files are present and correctly linked

All 13 service specification markdown files referenced in the README.md exist in the expected location under docs/service_specs/. The documentation structure is complete and valid.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify existence of all service specification files
echo "Checking service specification files..."
cd docs
for file in service_specs/*.md; do
  if [ -f "$file" ]; then
    echo "✓ Found: $file"
  else
    echo "✗ Missing: $file"
  fi
done

Length of output: 2103

docs/service_specs/data_acquisition.md (1)

9-9: Consider removing specific port number from documentation

Exposing specific port numbers in public documentation could potentially aid malicious actors. Consider making this configurable and documenting it in internal deployment guides instead.

docs/service_specs/normalization.md (2)

1-12: LGTM! Clear and well-structured overview section.

The overview section effectively communicates the service's purpose and technical specifications.


10-10: Verify database migration status

The documentation mentions "previously Mongo", suggesting a database migration. Let's verify if this migration is complete across all environments.

docs/service_specs/census.md (1)

15-19: LGTM! Well-structured environment variables section

The table clearly indicates which values are secrets and uses appropriate placeholders for sensitive information.

docs/service_specs/bff.md (5)

1-4: LGTM! Clear navigation and service rename notice.

The back navigation and service rename warning are well-structured and visible.


5-11: LGTM! Complete service metadata.

The overview section includes all essential metadata fields (Technology, Image Name, Port, Database, Scale) and follows the consistent structure seen across other service specifications.


13-19: LGTM! Environment variables are well-documented.

The environment variables table is clear and consistent with the documentation structure.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~16-~16: A punctuation mark might be missing here.
Context: ...-----------------------------|---------| | Link__Audit__ExternalConfigurationSour...

(AI_EN_LECTOR_MISSING_PUNCTUATION)


20-42: LGTM! Well-structured app settings documentation.

The app settings section is logically organized into Service Endpoints and Identity Provider subsections, with consistent formatting for URL endpoints.


1-42: Verify documentation migration completeness.

The documentation has been successfully migrated from Confluence while maintaining a clear structure. This aligns with the PR's TECH_DEBT objectives of moving documentation without affecting core functionality.

✅ Verification successful

Documentation migration is complete and consistent

The verification confirms that all service specifications in docs/service_specs/ maintain:

  • Consistent structure with Overview, Environment Variables, and App Settings sections
  • Proper back navigation links to the main documentation
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify documentation completeness and consistency

# Check if all service specs follow similar structure
echo "Verifying documentation structure consistency..."
rg -l "^## Overview|^## Environment Variables|^## App Settings" docs/service_specs/

# Verify back navigation links
echo "\nVerifying navigation links..."
rg -l "^\[← Back Home\]" docs/service_specs/

Length of output: 1115

🧰 Tools
🪛 LanguageTool

[uncategorized] ~16-~16: A punctuation mark might be missing here.
Context: ...-----------------------------|---------| | Link__Audit__ExternalConfigurationSour...

(AI_EN_LECTOR_MISSING_PUNCTUATION)

docs/service_specs/query_dispatch.md (2)

15-19: LGTM! Good security practices

The environment variables section clearly identifies sensitive information and follows good security practices.


22-29: LGTM! Clear configuration documentation

The Kafka connection and additional settings sections are well-documented and provide clear configuration guidance.

Also applies to: 38-43

docs/service_specs/report.md (3)

14-18: LGTM! Environment variables are properly documented

The environment variables section correctly identifies secrets and uses placeholder values for sensitive information.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~15-~15: A punctuation mark might be missing here.
Context: ...-----------------------------|---------| | Link__Audit__ExternalConfigurationSour...

(AI_EN_LECTOR_MISSING_PUNCTUATION)


1-54: Documentation structure aligns well with PR objectives

The documentation successfully moves service specifications from Confluence to GitHub while maintaining a clear, organized structure. The content is comprehensive and follows good documentation practices.

🧰 Tools
🪛 LanguageTool

[style] ~5-~5: Consider removing “of” to be more concise
Context: ...forms various workflows to determine if all of the patient MeasureReports are accounted fo...

(ALL_OF_THE)


[style] ~5-~5: ‘prior to’ might be wordy. Consider a shorter alternative.
Context: ...reReports are accounted for that period prior to initiating the submission process. - *...

(EN_WORDINESS_PREMIUM_PRIOR_TO)


[uncategorized] ~15-~15: A punctuation mark might be missing here.
Context: ...-----------------------------|---------| | Link__Audit__ExternalConfigurationSour...

(AI_EN_LECTOR_MISSING_PUNCTUATION)


1-11: Consider adding migration details for the database change

The documentation mentions a database change from MongoDB to MSSQL. Consider adding a note about the migration timeline or any actions required by service operators.

🧰 Tools
🪛 LanguageTool

[style] ~5-~5: Consider removing “of” to be more concise
Context: ...forms various workflows to determine if all of the patient MeasureReports are accounted fo...

(ALL_OF_THE)


[style] ~5-~5: ‘prior to’ might be wordy. Consider a shorter alternative.
Context: ...reReports are accounted for that period prior to initiating the submission process. - *...

(EN_WORDINESS_PREMIUM_PRIOR_TO)

docs/service_specs/submission.md (3)

1-66: Documentation migration successfully implemented

The documentation has been successfully migrated from Confluence and follows a clear, well-structured format. The changes align with the TECH_DEBT PR objectives as they only involve documentation updates without affecting core functionality.

🧰 Tools
🪛 LanguageTool

[style] ~10-~10: Consider using “who” when you are referring to people instead of objects.
Context: .../R4/list.html) resource of all patients that were admitted into the facility during ...

(THAT_WHO)


[style] ~13-~13: Consider removing “of” to be more concise
Context: .../R4/bundle.html) resource that contains all of the shared resources (Location, Medication,...

(ALL_OF_THE)


[style] ~13-~13: In American English, abbreviations like “etc.” require a period.
Context: ...shared resources (Location, Medication, etc) that are referenced in the patient Mea...

(ETC_PERIOD)

🪛 Markdownlint

42-42: null
Tables should be surrounded by blank lines

(MD058, blanks-around-tables)


44-45: Consider removing MongoDB configuration

Since the service has migrated to MSSQL, these MongoDB configurations might be obsolete.

#!/bin/bash
# Check if MSSQL configuration exists
rg -i "mssql|sqlserver" --type-add config:*.{json,yaml,yml,xml} --type config

# Verify if MongoDB is still referenced in code
ast-grep --pattern 'MongoDB'

21-21: Verify database migration status

The documentation mentions a database migration from MongoDB to MSSQL. Let's verify if any MongoDB configurations can be removed.

docs/service_specs/audit.md Show resolved Hide resolved
docs/service_specs/audit.md Show resolved Hide resolved
docs/service_specs/account.md Show resolved Hide resolved
docs/service_specs/normalization.md Outdated Show resolved Hide resolved
docs/service_specs/measure_eval.md Show resolved Hide resolved
docs/service_specs/census.md Show resolved Hide resolved
docs/service_specs/census.md Show resolved Hide resolved
docs/service_specs/query_dispatch.md Show resolved Hide resolved
docs/service_specs/report.md Show resolved Hide resolved
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Outside diff range and nitpick comments (4)
README.md (4)

Line range hint 1-277: Reconsider PR type or split changes

According to the coding guidelines, PRs labeled as "TECH-DEBT" should only contain changes related to typos, unused code, linter/IDE suggestions, swagger specification updates, and logging improvements. However, this PR involves significant documentation restructuring and content migration from Confluence to GitHub.

Consider either:

  1. Removing the "TECH-DEBT" label from the PR title, or
  2. Splitting these changes into separate PRs - one for TECH-DEBT improvements and another for documentation restructuring
🧰 Tools
🪛 LanguageTool

[style] ~224-~224: Consider using “who” when you are referring to people instead of objects.
Context: ...nt that contains a list of all patients that are currently admitted in the facility....

(THAT_WHO)


16-18: LGTM! Consider adding a brief overview

The new Documentation section effectively directs users to detailed documentation. Consider adding a one-line overview of what kind of documentation users can expect to find in the linked file.

 ## Documentation
 
-Documentation on Link's implementation and the functionality it supports can be found [here](docs/README.md).
+Documentation on Link's implementation, service specifications, and supported functionality can be found [here](docs/README.md).

77-77: LGTM! Images enhance documentation clarity

The added images effectively illustrate the UI and workflows. All images include descriptive alt text and use appropriate relative paths.

Consider adding image dimensions as variables in a central configuration file for consistent sizing across documentation.

Also applies to: 206-206, 216-216, 222-222, 237-237


Line range hint 2-10: Update Table of Contents to match document structure

The Table of Contents includes a "Link Cloud Services" section that has been removed from the document. Please update the Table of Contents to reflect the current document structure.

 ## Table of Contents
 * [Introduction](#introduction)
-* [Link Cloud Services](#link-cloud-services)
+* [Documentation](#documentation)
 * [Helpful Tools](#helpful-tools)
 * [Docker Installation](#docker-installation)
 * [Quick Tenant Configuration](#quick-tenant-configuration)
 * [Manual Reporting](#manual-reporting)
 * [Reporting Event Workflow](#reporting-event-workflow)
🧰 Tools
🪛 LanguageTool

[misspelling] ~14-~14: Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’.
Context: ...rveillance requirements. It is based on a event driven micro service architecture...

(EN_A_VS_AN)


[uncategorized] ~14-~14: The adjective “event-driven” is spelled with a hyphen.
Context: ...eillance requirements. It is based on a event driven micro service architecture using C#, Ja...

(DRIVEN_HYPHEN)


[misspelling] ~14-~14: This word is normally spelled as one.
Context: ...irements. It is based on a event driven micro service architecture using C#, Java, Kafka and ...

(EN_COMPOUNDS_MICRO_SERVICE)

🪛 Markdownlint

21-21: Expected: asterisk; Actual: dash
Unordered list style

(MD004, ul-style)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between 07356b5 and 7492372.

⛔ Files ignored due to path filters (5)
  • docs/images/docker_submission.png is excluded by !**/*.png
  • docs/images/readme_event_acquisition_evaluation.png is excluded by !**/*.png
  • docs/images/readme_event_census_discharge.png is excluded by !**/*.png
  • docs/images/readme_event_report_scheduling.png is excluded by !**/*.png
  • docs/images/readme_kafkaui.png is excluded by !**/*.png
📒 Files selected for processing (1)
  • README.md (5 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
README.md (1)

Pattern **: PRs that have "TECH-DEBT" in the title should only contain changes related to typos, unused code, linter/IDE suggestions, swagger specification updates, and logging improvements. These TECH-DEBT PRs should not affect core functionality.

🔇 Additional comments (1)
README.md (1)

18-18: Verify documentation file paths

Let's verify that all referenced documentation files exist in their expected locations.

✅ Verification successful

Documentation links are valid and accessible

All referenced documentation files exist in their expected locations:

  • docs/README.md is present
  • All referenced images in docs/images/ directory are available
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify that referenced documentation files exist

# Check if docs/README.md exists
if [ ! -f "docs/README.md" ]; then
  echo "Error: docs/README.md is missing"
  exit 1
fi

# Check if all referenced images exist
for img in docs/images/readme_*.png; do
  if [ ! -f "$img" ]; then
    echo "Error: $img is missing"
    exit 1
  fi
done

echo "All referenced files exist"

Length of output: 490

@seanmcilvenna seanmcilvenna merged commit 6532597 into dev Nov 21, 2024
22 checks passed
@seanmcilvenna seanmcilvenna deleted the initial_docs branch November 21, 2024 16:21
@coderabbitai coderabbitai bot mentioned this pull request Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants