Mobile access to Health Documents (MHD)
5.0.1-current - ci-build

Mobile access to Health Documents (MHD), published by IHE IT Infrastructure Technical Committee. This guide is not an authorized publication; it is the continuous build for version 5.0.1-current built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/IHE/ITI.MHD/ and changes regularly. See the Directory of published versions

## : Generate a DocumentReference from a document - TTL Representation

Active as of 2026-01-13

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @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 xsd: <http://www.w3.org/2001/XMLSchema#> .

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

     a fhir:OperationDefinition ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "generate-metadata"] ; #
      fhir:text [
    fhir:status [ fhir:v "generated" ] ;
    fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition generate-metadata</b></p><a name=\"generate-metadata\"> </a><a name=\"hcgenerate-metadata\"> </a><p>URL: [base]/DocumentReference/$generate-metadata</p><h3>Parameters</h3><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>document</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R5/resource.html\">Resource</a> (<a href=\"http://hl7.org/fhir/R5/binary.html\" title=\"http://hl7.org/fhir/StructureDefinition/Binary\">Binary</a>, <a href=\"http://hl7.org/fhir/R5/bundle.html\" title=\"http://hl7.org/fhir/StructureDefinition/Bundle\">Bundle</a>)</td><td/><td><div><p><a href=\"ITI-106.html#2310641-generate-metadata-request-message\">ITI-106 Generate Metadata Request Message</a></p>\n<ul>\n<li>the document that is either a Binary or a document Bundle\n<ul>\n<li>Binary 0..1 the <em>document</em> in Binary Resource format. Usually used with CDA documents.</li>\n<li>Bundle 0..1 the <em>document</em> in FHIR-Document form of a Bundle of kind Document</li>\n</ul>\n</li>\n<li>representative profile of Input Parameters <a href=\"StructureDefinition-IHE.MHD.GenerateMetadata.Parameters.In.html\">IHE.MHD.GenerateMetadata.Parameters.In</a></li>\n<li>example of <a href=\"StructureDefinition-IHE.MHD.GenerateMetadata.Parameters.In-examples.html\">input Parameters</a></li>\n</ul>\n</div></td></tr><tr><td>OUT</td><td>DocumentReference</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R5/references.html#Reference\">Reference</a> (<a href=\"StructureDefinition-IHE.MHD.Minimal.DocumentReference.html\" title=\"https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.DocumentReference\">MHD DocumentReference Minimal</a>)</td><td/><td><div><p><a href=\"ITI-106.html#2310642-generate-metadata-response-message\">ITI-106 Generate Metadata Response Message</a></p>\n<ul>\n<li>Output is a reference to a MHV DocumentReference with metadata generated from the <em>document</em></li>\n</ul>\n</div></td></tr></table></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:url [
    fhir:v "https://profiles.ihe.net/ITI/MHD/OperationDefinition/generate-metadata"^^xsd:anyURI ;
    fhir:l <https://profiles.ihe.net/ITI/MHD/OperationDefinition/generate-metadata>
      ] ; #
      fhir:version [ fhir:v "5.0.1-current"] ; #
      fhir:name [ fhir:v "GenerateMetadata"] ; #
      fhir:title [ fhir:v "Generate a DocumentReference from a document"] ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:kind [ fhir:v "operation"] ; #
      fhir:experimental [ fhir:v false] ; #
      fhir:date [ fhir:v "2026-01-13T00:32:19+00:00"^^xsd:dateTime] ; #
      fhir:publisher [ fhir:v "IHE IT Infrastructure Technical Committee"] ; #
      fhir:contact ( [
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "https://www.ihe.net/ihe_domains/it_infrastructure/" ]     ] )
      ] [
        ( fhir:telecom [
    fhir:system [ fhir:v "email" ] ;
    fhir:value [ fhir:v "iti@ihe.net" ]     ] )
      ] [
    fhir:name [ fhir:v "IHE IT Infrastructure Technical Committee" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "email" ] ;
    fhir:value [ fhir:v "iti@ihe.net" ]     ] )
      ] ) ; #
      fhir:description [ fhir:v "Generate Metadata [ITI-106](ITI-106.html) transaction Operation."] ; #
      fhir:jurisdiction ( [
        ( fhir:coding [
    fhir:system [
    fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ;
    fhir:l <http://unstats.un.org/unsd/methods/m49/m49.htm>       ] ;
    fhir:code [ fhir:v "001" ]     ] )
      ] ) ; #
      fhir:affectsState [ fhir:v true] ; #
      fhir:code [ fhir:v "generate-metadata"] ; #
      fhir:resource ( [ fhir:v "DocumentReference"] ) ; #
      fhir:system [ fhir:v false] ; #
      fhir:type [ fhir:v true] ; #
      fhir:instance [ fhir:v false] ; #
      fhir:parameter ( [
    fhir:name [ fhir:v "document" ] ;
    fhir:use [ fhir:v "in" ] ;
    fhir:min [ fhir:v 1 ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:documentation [ fhir:v "[ITI-106 Generate Metadata Request Message](ITI-106.html#2310641-generate-metadata-request-message)\n- the document that is either a Binary or a document Bundle\n  - Binary 0..1 the *document* in Binary Resource format. Usually used with CDA documents.\n  - Bundle 0..1 the *document* in FHIR-Document form of a Bundle of kind Document\n- representative profile of Input Parameters [IHE.MHD.GenerateMetadata.Parameters.In](StructureDefinition-IHE.MHD.GenerateMetadata.Parameters.In.html)\n- example of [input Parameters](StructureDefinition-IHE.MHD.GenerateMetadata.Parameters.In-examples.html)" ] ;
    fhir:type [ fhir:v "Resource" ] ;
        ( fhir:targetProfile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Binary"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Binary>     ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Bundle"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Bundle>     ] )
      ] [
    fhir:name [ fhir:v "DocumentReference" ] ;
    fhir:use [ fhir:v "out" ] ;
    fhir:min [ fhir:v 1 ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:documentation [ fhir:v "[ITI-106 Generate Metadata Response Message](ITI-106.html#2310642-generate-metadata-response-message)\n- Output is a reference to a MHV DocumentReference with metadata generated from the *document*" ] ;
    fhir:type [ fhir:v "Reference" ] ;
        ( fhir:targetProfile [
    fhir:v "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.DocumentReference"^^xsd:anyURI ;
    fhir:l <https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.DocumentReference>     ] )
      ] ) . #