Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions input/fsh/MedComNotesComposition.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ Description: "A profile for the MedCom Notes Composition resource."
* type.coding.system = $Loinc (exactly)
* type.coding.code = #11488-4 (exactly)
* type.coding.display = "Consult note" (exactly)
* date ^short = "Last update of the note (Da: Sidste opdatering af notatet)"
* date ^short = "Last update of the note (Da: Seneste opdatering af notatet)"
* title ^short = "Title MUST be 'Journalnotat for **CPR-nummer**'"
* meta.profile obeys medcom-canonical-fixed-major
* meta.profile ^short = "[DocumentEntry.formatCode] The profile canonical SHALL include the major and minor version of the standard in the form `|x.y`."
* author only Reference(MedComDocumentOrganization or MedComDocumentPractitioner or MedComDocumentPractitionerRole)
* author[institution] only Reference(MedComDocumentOrganization)

* category 1.. // SKS: i EKG er de endt med at have denne med, profileret som her. Var det noget med metadata?
* category 1.. // SKS: i EKG er de endt med at have denne med, profileret som her. Var det noget med metadata? ja, nemlig.
* category.coding.system = $ClassCodeCS
* category.coding.code = #001
* category.coding.display = "Klinisk rapport"

* section 1..1 //SKS: der må kun være et journalnotat pr. dokument, er dette så den rette måde at udtrykke det på?
* section 1..1 //SKS: der må kun være et journalnotat pr. dokument, er dette så den rette måde at udtrykke det på? ja, det giver god mening.
* section.entry 1..1 MS
* section.entry only Reference(MedComNotesObservation)
* confidentiality = #N (exactly)
Expand Down
4 changes: 2 additions & 2 deletions input/fsh/MedComNotesObservation.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ Description: "Observation profile intended to be used in MedCom's Notes standard
* extension[valueAttachment].valueAttachment.data ^short = "Base64-encoded content of the note (Da: journalnotatet)"
* extension[valueAttachment].valueAttachment.contentType 1..1 MS
* extension[valueAttachment].valueAttachment.contentType = #application/xhtml+xml (exactly)
* extension[valueAttachment].valueAttachment.contentType ^short = "MIME type of the note (Da: journalnotat)"
* extension[valueAttachment].valueAttachment.contentType ^short = "MIME type of the note"
* extension[valueAttachment].valueAttachment.title 1..1 MS
* extension[valueAttachment].valueAttachment.title ^short = "Either the title of the note written by the responsible or 'Journalnotat'."
* extension[valueAttachment].valueAttachment.title ^short = "Either the title of the note written by the responsible or a generic title e.g. 'Journalnotat'."
* subject 1..1 MS
* subject only Reference(MedComDocumentPatient)
* performer ..1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MedCom Notes Bundle

The MedComNotesBundle profile describes the Bundle resource that shall be used in all documents exchanged as Shared Notes. MedComNotesBundle inherits from MedComDocumentBundle, and is the container for the content in a document.
The MedComNotesBundle profile describes the Bundle resource that shall be used in all documents exchanged as Shared Notes. MedComNotesBundle inherits from [MedComDocumentBundle](https://medcomfhir.dk/ig/document/2.0.0/StructureDefinition-medcom-document-bundle.html), and is the container for the content in a document.

As this profile is the used in a document, the element type shall always be ‘document’. This entails that the first resource in the entry element shall be a MedComNotesComposition, which can be found in the slicing on Bundle.entry.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ This page describes how the **MedCom Notes Composition** profile is intended to

The MedComNotesComposition profile defines the structure and narrative content necessary for a document. However, a Composition alone does not constitute a document. Rather, the Composition must be the first entry in a Bundle where Bundle.type is 'document', and any other resources referenced from Composition must be included as subsequent entries in the Bundle.entry element. The Composition resource organizes clinical and administrative content into sections, each of which contains a narrative, and references other resources.

The `Composition.section.entry` element **MUST** reference the MedComNotesObservation that contains the Note from the General Practitioner. As there is only supposed to be one note in each document, it is only allowed to reference one MedComNotesObservation.
The `Composition.section.entry` element **MUST** reference the MedComNotesObservation that contains the note from the healtcare provider e.g. general practitioner. As there is only supposed to be one note in each document, it is only allowed to reference one MedComNotesObservation.

The `Composition.title` **MUST** be (in Danish) "Journalnotat for '**CPR-nummer**'", where 'CPR-nummer' is the actual identifier for the patient (Patient.identifier.value).

The `Composition.type` is fixed to the LOINC code "11488-4 Consult note", as it represents the content of the document on a high level.


## Timestamps
The `Composition.date` The last update date of the note performed by the patient's general practitioner must be included (Da: dato og tid for Sidste opdatering af notatet).
The `Composition.date` **MUST** be the last update date of the note performed by the patient's healthcare provider e.g. general practitioner must be included (Da: dato og tid for seneste opdatering af notatet).
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
# MedCom Notes Observation
This page describes how the **MedCom Notes Observation** profile is intended to be used within the MedCom Notes standard.
This page describes how the MedComNotesObservation profile is intended to be used within the MedCom Notes standard.

## Purpose of the Profile
This profile specifies how the Observation represents the note from the gerneal practitioner using a dedicated extension. It also specifies how the related attachment metadata, and how the required LOINC coding and references to the patient and performing organization or practitioner must be applied. Read more about this in the following paragrafs.
This profile specifies how the Observation represents the note from the general practitioner using a dedicated extension. It also specifies how other information must be applied, such as the metadata related to the attachment, as well as coding and references to the patient and performing organization or practitioner. Read more about this in the following paragrafs.

## Use of the valueAttachment Extension
This Observation contains a FHIR extension designed to hold the note as a xhtml+xml file encoded in Base64. The `valueAttachment` element is implemented as an extension as the base `value[x]` element does not support the `Attachment` type in FHIR R4. The extension also captures essential metadata for the attachment - the MIME type and the title.
## Consultation Note
This Observation contains a FHIR extension designed to hold the note. The note must be encoded in Base64 and the mimetype must be `xhtml+xml` to describe the content. The `valueAttachment` element is implemented as an extension as the base `value[x]` element does not support the `Attachment` type in FHIR R4. The extension also captures essential metadata for the attachment; the MIME type and the title.

The note is represented in the Composition resource in valueAttachment, as described above. This also means that the note content is base64-encoded. The formatting of the content follows the same conventions as defined in the [MedCom FNUX standard](https://svn.medcom.dk/svn/releases/Standarder/FNUX/Dokumentation/SimplifiedHTML-specifikation.pdf). This means that line breaks, bold, italics, underline, and monospaced text are supported, and these may be combined.
The note is represented in the Observation resource in `extension:valueAttachment`, as described above. This also means that the note content is base64-encoded. The formatting of the content follows the same conventions as defined in the [MedCom FNUX standard](https://svn.medcom.dk/svn/releases/Standarder/FNUX/Dokumentation/SimplifiedHTML-specifikation.pdf). This means that line breaks, bold, italics, underline, and monospaced text are supported, and these may be combined.

## Title
It is possible for practitioners authoring the notes to include a title for the note. The title is profiled as mandatory and **SHALL** be populated in `value[attachment].title`.
It is possible for practitioners authoring the notes to include a self-written title for the note. The title is profiled as mandatory and **SHALL** be populated in `extension:valueAttachment.value.title`.

Although it is not mandatory for practitioners to provide a title in their clinical system, a value **MUST** be provided in `value[attachment].title`. If no title is entered in the clinical system, the value *"Journalnotat"* **MUST** be used instead.
Although it is not mandatory for practitioners to provide a title in their clinical system, a value **MUST** be provided in `extension:valueAttachment.value.title`. If no title is entered in the clinical system, a generic description of the content **MUST** be used instead, e.g. *"Journalnotat"*.

## Notes date and time
The `effectiveDateTime` element is a mandatory element used to represent the time the note was created and **SHALL** be provided as a dateTime.
The `effectiveDateTime` element is a mandatory element used to represent the date and time the note was created and **SHALL** be provided as a dateTime.

## Required LOINC coding
This Observation contains the fixed code:
The element `code` describes what was observed. This code is for Shared Notes fixed to code.coding:LOINC.code: `11488-4` system: `http://loinc.org` display: `Consult Note`.

- code.coding:LOINC: code: `11488-4` system: `http://loinc.org` display: `Consult Note`.
## Author
A reference to the author of the note is included in the element `performer`. If information about the healthcare professional and his/her role is available this should be included in the profiles MedComDocumentPractitioner and MedComDocumentPractitionerRole, respectively. If only information about the authoring organization is available, this must be included.

## Resource references
This Observation references the `Patient` resource through the `subject` element and the author `Organization`, `Practitioner`, or `PractitionerRole` through the `performer` element.
8 changes: 4 additions & 4 deletions input/pagecontent/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

*Note: The narrative texts (text.div) elements in the examples are autogenerated. They are not representative of the MedCom Governance demands for narratives and must only be treated as incomplete example representations. Find [MedCom Governance for narratives here](https://medcomdk.github.io/MedComLandingPage/assets/documents/GeneralGovernanceFHIRStandards.html).*

### 1st example - only mandatory content
### 1st example
This example only contains the mandatory content.

[Mimimal example](./Bundle-9521a7f0-bad4-4a46-8c51-cd8378b24106.html)

### 2nd example - more optionel content

The document contains a written title, responsible author person and role, different creation time and updatede time, 'ydernummer' on author organization, and xhtml-marked text.
### 2nd example
The example contains the mandatory content and a written title, responsible author person and role, different creation time and updatede time, 'ydernummer' on author organization, and xhtml-marked text.

[Extended example](./Bundle-ba7d908a-0134-4f28-b5f5-0fcaf088e60b.html)
Loading
Loading