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

Implement index/iterating NoteAttachments with Note #9

Closed
tanjera opened this issue Apr 9, 2024 · 1 comment
Closed

Implement index/iterating NoteAttachments with Note #9

tanjera opened this issue Apr 9, 2024 · 1 comment

Comments

@tanjera
Copy link
Owner

tanjera commented Apr 9, 2024

Will need to list the file names and link to the download:

NoteAttachment::$name is the original file name (a readable usable name, e.g. 7yr-old-femur-fracture-v0-f6ioix8dhprc1.webp)

NoteController->get_attachment($req) uses the filepath from NoteAttachment::$filepath (e.g. note_attachments/AIppy3bLYFsksJT0WHZRmM4LkjEvIQINTAuloWkk.webp) to redirect to a file download

@tanjera
Copy link
Owner Author

tanjera commented Apr 10, 2024

Implemented in next commit

@tanjera tanjera closed this as completed Apr 10, 2024
tanjera added a commit that referenced this issue Apr 10, 2024
- Secure (protected by Routing) local disk defined ('private')
  - Migrated use of 'public' disk to 'private'
  - Implemented & tested Routing rules
- Finished implementation of Note Attachments (#7, #9)
  - Files are stored in 'private' Storage
  - Files are served as a Response via Controller function
  - Implemented attachment indicator on notes/index.blade.php
    - icon_attachment shows (piece of paper)
  - Implemented viewing attachments in notes/view.blade.php
    - Iterates attachments; 5 columns (5 pictures show up per row)
      - Needs testing w/ .pdf and .docx; may need @if (#10)
- Implemented Diagnostic Reports
  - Cloned Notes, Note Attachments, and Note Additions
  - DiagnosticReport Model had categories defined (e.g. ECG, X-ray)
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

No branches or pull requests

1 participant