Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jmablog/hugo-clinic-notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames <james@jmablog.com>2020-09-05 18:35:45 +0300
committerJames <james@jmablog.com>2020-09-05 18:35:45 +0300
commit989557b2f84c760aa460282d81670140217714e7 (patch)
tree08c6201522a2a387d56435437988830a4c846811
parent2e794b6f08f9ba5889a450eae4a7625307c897ce (diff)
Add time field to archetypes
-rw-r--r--archetypes/assessment.md19
-rw-r--r--archetypes/default.md3
-rw-r--r--archetypes/follow-up.md7
-rw-r--r--archetypes/other/index.md5
4 files changed, 19 insertions, 15 deletions
diff --git a/archetypes/assessment.md b/archetypes/assessment.md
index 162a9c9..b2fbd41 100644
--- a/archetypes/assessment.md
+++ b/archetypes/assessment.md
@@ -1,22 +1,25 @@
---
-patient: "{{ substr .Name 11 -11 | humanize | title }}"
+patient: "{{ substr .Name 17 -11 | humanize | title }}"
type: "assessment"
date: {{ substr .Name 0 10 }}
+time: "{{ replace (substr .Name 11 5) "-" ":" }}"
toc: true
---
-# {{ substr .Name 11 -11 | humanize | title }}
+# {{ substr .Name 17 -11 | humanize | title }}
-**Date of assessment:** {{ dateFormat "2 January 2006" (substr .Name 0 10) }}
+**Date of assessment:** {{ dateFormat "2 January 2006" (substr .Name 0 10) }}, {{ replace (substr .Name 11 5) "-" ":" }}
## Patient Details
-#### Date of birth: *(age at time of assessment)*
+#### DoB / Age:
#### Email address:
#### Other contact details: *(if provided)*
+#### [Informed Consent](/docs/informed-consent/) Agreed: *(note any questions here)*
+
#### Occupation:
#### General medical history: *(previous injuries, medications, operations, etc)*
@@ -109,11 +112,9 @@ toc: true
| | | |
| | | |
-### Other Notes & Diagnosis
-
#### Additional comments:
-#### Working diagnosis:
+#### Possible diagnoses:
## Treatment
@@ -125,6 +126,6 @@ toc: true
#### General advice / education given: *(Timeframes, physiology, expectations, resources)*
-#### Goals, timeframes and markers:
-
#### Details of exercises given: *(What, when, why, how long/much, daily movement, graded, flare ups, equipment)*
+
+#### Goals, timeframes and markers: \ No newline at end of file
diff --git a/archetypes/default.md b/archetypes/default.md
index f68df77..3e08116 100644
--- a/archetypes/default.md
+++ b/archetypes/default.md
@@ -2,12 +2,13 @@
patient: "{{ .Dir | path.Base | humanize | title }}"
type: "follow-up"
date: {{ substr .Name 0 10 }}
+time: "{{ replace (substr .Name 11 5) "-" ":" }}"
toc: false
---
# {{ substr .Name 11 -10 | humanize | title }}
-**Date:** {{ dateFormat "2 January 2006" (substr .Name 0 10) }}
+**Date:** {{ dateFormat "2 January 2006" (substr .Name 0 10) }}, {{ replace (substr .Name 11 5) "-" ":" }}
## Notes:
diff --git a/archetypes/follow-up.md b/archetypes/follow-up.md
index f903fc7..47bdc15 100644
--- a/archetypes/follow-up.md
+++ b/archetypes/follow-up.md
@@ -1,13 +1,14 @@
---
-patient: "{{ substr .Name 11 -10 | humanize | title }}"
+patient: "{{ substr .Name 17 -10 | humanize | title }}"
type: "follow-up"
date: {{ substr .Name 0 10 }}
+time: "{{ replace (substr .Name 11 5) "-" ":" }}"
toc: false
---
-# {{ substr .Name 11 -10 | humanize | title }}
+# {{ substr .Name 17 -10 | humanize | title }}
-**Date:** {{ dateFormat "2 January 2006" (substr .Name 0 10) }}
+**Date:** {{ dateFormat "2 January 2006" (substr .Name 0 10) }}, {{ replace (substr .Name 11 5) "-" ":" }}
## Notes:
diff --git a/archetypes/other/index.md b/archetypes/other/index.md
index bc51762..c84b786 100644
--- a/archetypes/other/index.md
+++ b/archetypes/other/index.md
@@ -1,14 +1,15 @@
---
patient: "{{ .Dir | path.Dir | path.Dir | path.Base | humanize | title }}"
type: "other"
-description: {{ $string := split .Name "-" }}{{ $description := index $string 5 }}"{{ $description | humanize | title }}"
+description: {{ $string := split .Name "-" }}{{ $description := index $string 7 }}"{{ $description | humanize | title }}"
date: {{ substr .Name 0 10 }}
+time: "{{ replace (substr .Name 11 5) "-" ":" }}"
toc: false
---
# {{ .Dir | path.Dir | path.Dir| path.Base | humanize | title }}
-**Date:** {{ dateFormat "2 January 2006" (substr .Name 0 10) }}
+**Date:** {{ dateFormat "2 January 2006" (substr .Name 0 10) }}, {{ replace (substr .Name 11 5) "-" ":" }}
## {{ $description | humanize | title }}