Skip to content

Commit

Permalink
Add a comment explaining that the original representation PDF should …
Browse files Browse the repository at this point in the history
…be added to the document
  • Loading branch information
ronaldo-loureiro committed Aug 7, 2023
1 parent b6b5783 commit 37d86a0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions input/fsh/structuredefinition/composition.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ RuleSet: composition-with-original-representation-ruleset
* insert no-support(section[originalRepresentation].id)
* section[originalRepresentation].code insert codeableconcept-ruleset
* section[originalRepresentation].code.coding insert coding-ruleset
* section[originalRepresentation].entry ^short = "According to the EPR ordonnance the PDF has to be in PDF/A-1 or PDF/A-2 format. The PDF shall be contained locally in the document."
* insert no-support(section[originalRepresentation].entry.id)
//* section[originalRepresentation].entry.identifier 0..0 // The literal reference is required
* insert no-support(section[originalRepresentation].extension)
Expand Down
13 changes: 7 additions & 6 deletions input/fsh/structuredefinition/document.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RuleSet: document-ruleset


// =====================================================================================
// Composition MTP
// Document MTP
// =====================================================================================
Profile: CHEMEDEPRDocumentMedicationTreatmentPlan
Parent: CHEMEDDocumentMedicationTreatmentPlan
Expand All @@ -45,7 +45,7 @@ Description: "Definition of the bundle for the medication treatment plan documen


// =====================================================================================
// Composition PRE
// Document PRE
// =====================================================================================
Profile: CHEMEDEPRDocumentMedicationPrescription
Parent: CHEMEDDocumentMedicationPrescription
Expand All @@ -55,10 +55,11 @@ Description: "Definition of the bundle for the medication prescription document"
* insert document-ruleset
* entry[Composition].resource only CHEMEDEPRCompositionMedicationPrescription
* entry[MedicationRequest].resource only CHEMEDEPRMedicationRequest
* entry[Binary] 1..


// =====================================================================================
// Composition DIS
// Document DIS
// =====================================================================================
Profile: CHEMEDEPRDocumentMedicationDispense
Parent: CHEMEDDocumentMedicationDispense
Expand All @@ -71,7 +72,7 @@ Description: "Definition of the bundle for the medication dispense document"


// =====================================================================================
// Composition PADV
// Document PADV
// =====================================================================================
Profile: CHEMEDEPRDocumentPharmaceuticalAdvice
Parent: CHEMEDDocumentPharmaceuticalAdvice
Expand All @@ -85,7 +86,7 @@ Description: "Definition of the bundle for the pharmaceutical advice document"


// =====================================================================================
// Composition PML
// Document PML
// =====================================================================================
Profile: CHEMEDEPRDocumentMedicationList
Parent: CHEMEDDocumentMedicationList
Expand All @@ -102,7 +103,7 @@ Description: "Definition of the bundle for the medication list document"


// =====================================================================================
// Composition PMLC
// Document PMLC
// =====================================================================================
Profile: CHEMEDEPRDocumentMedicationCard
Parent: CHEMEDDocumentMedicationCard
Expand Down

0 comments on commit 37d86a0

Please sign in to comment.