Manifest-based Access to DICOM Objects (MADO)
0.1.0 - trial-use

Manifest-based Access to DICOM Objects (MADO), published by IHE Radiology Technical Committee. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/IHE/RAD.MADO/ and changes regularly. See the Directory of published versions

## : DocumentReference Example for FHIR manifests with transform - TTL Representation

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix loinc: <https://loinc.org/rdf/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix sct: <http://snomed.info/id/> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:DocumentReference ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "DocumentReferenceFHIRwithTransform"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "https://profiles.ihe.net/RAD/MADO/StructureDefinition/MadoFhirDocumentReference"^^xsd:anyURI ;
    fhir:l <https://profiles.ihe.net/RAD/MADO/StructureDefinition/MadoFhirDocumentReference>     ] )
      ] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: DocumentReference DocumentReferenceFHIRwithTransform</b></p><a name=\"DocumentReferenceFHIRwithTransform\"> </a><a name=\"hcDocumentReferenceFHIRwithTransform\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-MadoFhirDocumentReference.html\">MADO MHD DocumentReference Profile for FHIR Imaging Manifests</a></p></div><p><b>Cross-version Extension for R5.DocumentReference.modality for use in FHIR R4</b>: <span title=\"Codes:{http://dicom.nema.org/resources/ontology/DCM MR}\">Magnetic Resonance</span></p><blockquote><p><b>Cross-version Extension for R5.DocumentReference.bodySite for use in FHIR R4</b></p><ul><li>concept: <span title=\"Codes:{http://snomed.info/sct 61685007}\">Lower extremity</span></li></ul></blockquote><p><b>masterIdentifier</b>: <code>http://www.example.com/identifiers/documentreference</code>/koewopfwjqoddasf (use: usual, )</p><p><b>identifier</b>: <code>http://www.example.com/identifiers/documentreference</code>/koewopfwjqoddasf</p><p><b>status</b>: Current</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 18748-4}\">Diagnostic imaging study</span></p><p><b>category</b>: <span title=\"Codes:{http://loinc.org 18748-4}\">Diagnostic imaging study</span></p><p><b>subject</b>: <a href=\"Patient-pat-mrn-1538098370.html\">Pietje Puk  Male, DoB Unknown ( Medical Record number: PID_666 (use: usual, ))</a></p><p><b>date</b>: 2025-05-08 00:00:00+0000</p><h3>RelatesTos</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td><td><b>Target</b></td></tr><tr><td style=\"display: none\">*</td><td>Transforms</td><td><a href=\"DocumentReference-DocumentReferenceKOSwithTransform.html\">DocumentReference: extension = Magnetic Resonance,; masterIdentifier = urn:dicom:uid#DICOM Unique Id#1.2.392.200140.2.1.1.1.2.799008771.2076.1519721309.448 (use: usual, ); identifier = urn:dicom:uid#DICOM Unique Id#1.2.392.200140.2.1.1.1.2.799008771.2076.1519721309.448; status = current; type = Diagnostic imaging study; category = Diagnostic imaging study; date = 2025-05-08 00:00:00+0000</a></td></tr></table><blockquote><p><b>content</b></p><blockquote><p><b>Cross-version Extension for R5.DocumentReference.content.profile for use in FHIR R4</b></p><ul><li>value[x]: <a href=\"StructureDefinition-MadoFhirBundle.html\">MADO Imaging Study Manifest FHIR Bundle</a></li></ul></blockquote><h3>Attachments</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ContentType</b></td><td><b>Language</b></td><td><b>Url</b></td><td><b>Creation</b></td></tr><tr><td style=\"display: none\">*</td><td>application/fhir+json</td><td>German (Germany)</td><td><a href=\"http://kos2FhirTranformService.example.com/transform?url=http://mhdserver.example.com/Binary/mado-kos-manifest-binary\">http://kos2FhirTranformService.example.com/transform?url=http://mhdserver.example.com/Binary/mado-kos-manifest-binary</a></td><td>2025-05-08 00:00:00+0000</td></tr></table><p><b>format</b>: <a href=\"https://profiles.ihe.net/fhir/ihe.formatcode.fhir/1.5.0/CodeSystem-formatcode.html#formatcode-urn.58ihe.58rad.58MADO.58fhir-manifest.582026\">IHE Format Code set for use with Document Sharing: urn:ihe:rad:MADO:fhir-manifest:2026</a> (RAD MADO)</p></blockquote><blockquote><p><b>context</b></p><p><b>period</b>: 2018-02-27 09:48:29+0100 --&gt; (ongoing)</p><p><b>facilityType</b>: <span title=\"Codes:{http://snomed.info/sct 79491001}\">Hospital-based radiology facility</span></p><p><b>practiceSetting</b>: <span title=\"Codes:{http://snomed.info/sct 394914008}\">Radiology</span></p><p><b>related</b>: </p><ul><li>Identifier: Study Instance UID/1.2.392.200140.2.1.1.1.2.799008771.2076.1519721309.448</li><li>Identifier: Accession Id/2017092101</li></ul></blockquote></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:extension ( [
    fhir:url [
    fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-DocumentReference.modality"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-DocumentReference.modality>     ] ;
    fhir:value [
    a fhir:CodeableConcept ;
          ( fhir:coding [
    fhir:system [
    fhir:v "http://dicom.nema.org/resources/ontology/DCM"^^xsd:anyURI ;
    fhir:l <http://dicom.nema.org/resources/ontology/DCM>         ] ;
    fhir:code [ fhir:v "MR" ]       ] )     ]
      ] [
        ( fhir:extension [
    fhir:url [
    fhir:v "concept"^^xsd:anyURI ;
    fhir:l fhir:concept       ] ;
    fhir:value [
    a fhir:CodeableConcept ;
            ( fhir:coding [
    a sct:61685007 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>           ] ;
    fhir:code [ fhir:v "61685007" ]         ] )       ]     ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-DocumentReference.bodySite"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-DocumentReference.bodySite>     ]
      ] ) ; #
      fhir:masterIdentifier [
    fhir:use [ fhir:v "usual" ] ;
    fhir:system [
    fhir:v "http://www.example.com/identifiers/documentreference"^^xsd:anyURI ;
    fhir:l <http://www.example.com/identifiers/documentreference>     ] ;
    fhir:value [ fhir:v "koewopfwjqoddasf" ]
      ] ; #
      fhir:identifier ( [
    fhir:system [
    fhir:v "http://www.example.com/identifiers/documentreference"^^xsd:anyURI ;
    fhir:l <http://www.example.com/identifiers/documentreference>     ] ;
    fhir:value [ fhir:v "koewopfwjqoddasf" ]
      ] ) ; #
      fhir:status [ fhir:v "current"] ; #
      fhir:type [
        ( fhir:coding [
    a loinc:18748-4 ;
    fhir:system [
    fhir:v "http://loinc.org"^^xsd:anyURI ;
    fhir:l <http://loinc.org>       ] ;
    fhir:code [ fhir:v "18748-4" ] ;
    fhir:display [ fhir:v "Diagnostic imaging study" ]     ] )
      ] ; #
      fhir:category ( [
        ( fhir:coding [
    a loinc:18748-4 ;
    fhir:system [
    fhir:v "http://loinc.org"^^xsd:anyURI ;
    fhir:l <http://loinc.org>       ] ;
    fhir:code [ fhir:v "18748-4" ] ;
    fhir:display [ fhir:v "Diagnostic imaging study" ]     ] )
      ] ) ; #
      fhir:subject [
    fhir:l fhir:Patient/pat-mrn-1538098370 ;
    fhir:reference [ fhir:v "Patient/pat-mrn-1538098370" ]
      ] ; #
      fhir:date [ fhir:v "2025-05-08T00:00:00Z"^^xsd:dateTime] ; #
      fhir:relatesTo ( [
    fhir:code [ fhir:v "transforms" ] ;
    fhir:target [
    fhir:l fhir:DocumentReference/DocumentReferenceKOSwithTransform ;
    fhir:reference [ fhir:v "DocumentReference/DocumentReferenceKOSwithTransform" ]     ]
      ] ) ; #
      fhir:content ( [
        ( fhir:extension [
          ( fhir:extension [
    fhir:url [
    fhir:v "value[x]"^^xsd:anyURI ;
    fhir:l fhir:value[x]         ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "https://profiles.ihe.net/RAD/MADO/StructureDefinition/MadoFhirBundle"^^xsd:anyURI ;
    fhir:l <https://profiles.ihe.net/RAD/MADO/StructureDefinition/MadoFhirBundle>         ]       ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-DocumentReference.content.profile"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-DocumentReference.content.profile>       ]     ] ) ;
    fhir:attachment [
    fhir:contentType [ fhir:v "application/fhir+json" ] ;
    fhir:language [ fhir:v "de-DE" ] ;
    fhir:url [
    fhir:v "http://kos2FhirTranformService.example.com/transform?url=http://mhdserver.example.com/Binary/mado-kos-manifest-binary"^^xsd:anyURI ;
    fhir:l <http://kos2FhirTranformService.example.com/transform?url=http://mhdserver.example.com/Binary/mado-kos-manifest-binary>       ] ;
    fhir:creation [ fhir:v "2025-05-08T00:00:00Z"^^xsd:dateTime ]     ] ;
    fhir:format [
    fhir:system [
    fhir:v "http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode"^^xsd:anyURI ;
    fhir:l <http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode>       ] ;
    fhir:code [ fhir:v "urn:ihe:rad:MADO:fhir-manifest:2026" ]     ]
      ] ) ; #
      fhir:context [
    fhir:period [
    fhir:start [ fhir:v "2018-02-27T09:48:29+01:00"^^xsd:dateTime ]     ] ;
    fhir:facilityType [
          ( fhir:coding [
    a sct:79491001 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>         ] ;
    fhir:code [ fhir:v "79491001" ] ;
    fhir:display [ fhir:v "Hospital-based radiology facility" ]       ] )     ] ;
    fhir:practiceSetting [
          ( fhir:coding [
    a sct:394914008 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>         ] ;
    fhir:code [ fhir:v "394914008" ] ;
    fhir:display [ fhir:v "Radiology" ]       ] )     ] ;
        ( fhir:related [
    fhir:identifier [
    fhir:type [
              ( fhir:coding [
    fhir:system [
    fhir:v "http://dicom.nema.org/resources/ontology/DCM"^^xsd:anyURI ;
    fhir:l <http://dicom.nema.org/resources/ontology/DCM>             ] ;
    fhir:code [ fhir:v "110180" ] ;
    fhir:display [ fhir:v "Study Instance UID" ]           ] )         ] ;
    fhir:system [
    fhir:v "urn:dicom:uid"^^xsd:anyURI ;
    fhir:l <urn:dicom:uid>         ] ;
    fhir:value [ fhir:v "1.2.392.200140.2.1.1.1.2.799008771.2076.1519721309.448" ]       ]     ] [
    fhir:identifier [
    fhir:type [
              ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>             ] ;
    fhir:code [ fhir:v "ACSN" ] ;
    fhir:display [ fhir:v "Accession Id" ]           ] [
    fhir:system [
    fhir:v "http://dicom.nema.org/resources/ontology/DCM"^^xsd:anyURI ;
    fhir:l <http://dicom.nema.org/resources/ontology/DCM>             ] ;
    fhir:code [ fhir:v "121022" ] ;
    fhir:display [ fhir:v "Accession Number" ]           ] )         ] ;
    fhir:system [
    fhir:v "http://hospital.org/acc"^^xsd:anyURI ;
    fhir:l <http://hospital.org/acc>         ] ;
    fhir:value [ fhir:v "2017092101" ]       ]     ] )
      ] . #