-<DocumentReference xmlns="http://hl7.org/fhir">
 <!-- ISO name: (id is generated on the fly)  -->
 <id value="Equilidem2-5mg-d3e5"/>
 <!-- ISO name: /MedicinalProduct/AttachedDocument/Identifier  -->
-<identifier>
 <system value="http://ema.europa.eu/fhir/identifier"/>
 <value value="{identifier}"/>
 </identifier>
 <!-- ISO name: /MedicinalProduct/AttachedDocument/VersionNumber  -->
-<identifier>
 <system value="http://example.com/fhir/documentVersionNumber"/>
 <value value="2"/>
 </identifier>
 <!-- ISO name: (fixed value)  -->
 <status value="current"/>
 <!-- ISO name: /MedicinalProduct/AttachedDocument/Type  -->
-<type>
-<coding>
 <system value="http://ema.europa.eu/fhir/type"/>
 <code value="SmPC"/>
 </coding>
 </type>
 <!-- ISO name: /MedicinalProduct/AttachedDocument/EffectiveDate  -->
 <!-- FHIR extra mapping info: Date must be padded to include time and timezone e.g. 2018-10-06T00:00:00Z  -->
 <date value="2015-03-15T00:00:00Z"/>
 <!-- ISO name: (fixed value)  -->
-<content>
 <!-- ISO name: /MedicinalProduct/AttachedDocument/Language  -->
 <!-- FHIR extension: http://ema.europa.eu/fhir/extension/documentLanguage  -->
-<extension url="http://ema.europa.eu/fhir/extension/documentLanguage">
 <!-- ISO name: /MedicinalProduct/AttachedDocument/Language  -->
 <valueCode value="EN"/>
 </extension>
 <!-- ISO name: /MedicinalProduct/AttachedDocument/Content  -->
-<attachment>
 <!-- Data is a dummy value but should be a base 64 encoding of {example text here}  -->
 <!-- ISO name: /MedicinalProduct/AttachedDocument/MediaType  -->
 <contentType value="application/pdf"/>
 <data value="e1BoeXNpY2FsQ2hhcmFjdGVyaXN0aWMuSW1hZ2V9"/>
 </attachment>
 </content>
 </DocumentReference>