Closed ziegm closed 2 years ago
Source MTP (Composition.section):
"section": [ { "title": "Plan de traitement médicamenteux", "code": { "coding": [ { "system": "http://loinc.org", "code": "77604-7", "display": "Medication treatment plan.brief" } ] }, "text": { "status": "generated", "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p id=\"refpdf\">Temesta Expidet cpr orodisp 1 mg, 0-0-0-1, durant 3 jours, raison: pour dormir</p></div>" }, "entry": [ { "reference": "MedicationStatement/1-3-MedStatTemesta" } ] }, { "title": "Commentaire", "code": { "coding": [ { "system": "http://loinc.org", "code": "48767-8", "display": "Annotation comment" } ] }, "text": { "status": "generated", "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">si aucune amélioration au bout de 3 jours, reprendre contact avec le médecin</div>" } } ]
Transformed CDA:
<component> <section> <templateId root="2.16.756.5.30.1.1.10.3.2"/> <id root="4137D4F8-E966-425B-B383-E4933A80C8CE"/> <code code="48767-8" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Annotation comment"/> <title>Commentaire</title> <text>si aucune amélioration au bout de 3 jours, reprendre contact avec le médecin</text> <entry> <act classCode="ACT" moodCode="EVN"> <templateId root="2.16.756.5.30.1.1.10.4.2"/> <templateId root="2.16.840.1.113883.10.20.1.40"/> <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.2"/> <code code="48767-8" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Annotation comment"/> <text> <reference value="#<div xmlns="/> </text> <statusCode code="completed"/> </act> </entry> </section> </component>
Map BundleToCdaChEmed (Line 43)
fixed transformation but section annotation comment might not be useful for mtp document used with pmp
Source MTP (Composition.section):
Transformed CDA:
Map BundleToCdaChEmed (Line 43)