Non-patient File Sharing (NPFS)
2.2.1-current - ci-build International flag

Non-patient File Sharing (NPFS), published by IHE IT Infrastructure Technical Committee. This guide is not an authorized publication; it is the continuous build for version 2.2.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.NPFS/ and changes regularly. See the Directory of published versions

: Replace Document Bundle - XML Representation

Raw xml | Download



<Bundle xmlns="http://hl7.org/fhir">
  <id value="ex-ReplaceDocumentBundle"/>
  <meta>
    <profile
             value="https://profiles.ihe.net/ITI/NPFS/StructureDefinition/IHE.NPFS.ReplaceDocumentBundle"/>
  </meta>
  <type value="transaction"/>
  <entry>
    <fullUrl value="urn:uuid:cccccccc-4444-0000-0000-000000000004"/>
    <resource>
      <DocumentReference>
        <id value="cccccccc-4444-0000-0000-000000000004"/>
        <meta>
          <profile
                   value="https://profiles.ihe.net/ITI/NPFS/StructureDefinition/IHE.NPFS.DocumentReference"/>
          <security>
            <system
                    value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
            <code value="HTEST"/>
          </security>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><a name="DocumentReference_cccccccc-4444-0000-0000-000000000004"> </a><p><b>Generated Narrative: DocumentReference</b><a name="cccccccc-4444-0000-0000-000000000004"> </a><a name="hccccccccc-4444-0000-0000-000000000004"> </a></p><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">Resource DocumentReference &quot;cccccccc-4444-0000-0000-000000000004&quot; </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-IHE.NPFS.DocumentReference.html">NPFS DocumentReference</a></p><p style="margin-bottom: 0px">Security Labels: <span title="{http://terminology.hl7.org/CodeSystem/v3-ActReason http://terminology.hl7.org/CodeSystem/v3-ActReason}">http://terminology.hl7.org/CodeSystem/v3-ActReason</span></p></div><p><b>masterIdentifier</b>: <a href="http://terminology.hl7.org/5.3.0/NamingSystem-uri.html" title="As defined by RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt)(with many schemes defined in many RFCs). For OIDs and UUIDs, use the URN form (urn:oid:(note: lowercase) and urn:uuid:). See http://www.ietf.org/rfc/rfc3001.txt and http://www.ietf.org/rfc/rfc4122.txt 

This oid is used as an identifier II.root to indicate the the extension is an absolute URI (technically, an IRI). Typically, this is used for OIDs and GUIDs. Note that when this OID is used with OIDs and GUIDs, the II.extension should start with urn:oid or urn:uuid: 

Note that this OID is created to aid with interconversion between CDA and FHIR - FHIR uses urn:ietf:rfc:3986 as equivalent to this OID. URIs as identifiers appear more commonly in FHIR.

This OID may also be used in CD.codeSystem.">Uniform Resource Identifier (URI)</a>/urn:oid:1.2.840.113556.1.8000.2554.53432.348.12973.17740.34205.4355.50220.62012</p><p><b>identifier</b>: <a href="http://terminology.hl7.org/5.3.0/NamingSystem-uri.html" title="As defined by RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt)(with many schemes defined in many RFCs). For OIDs and UUIDs, use the URN form (urn:oid:(note: lowercase) and urn:uuid:). See http://www.ietf.org/rfc/rfc3001.txt and http://www.ietf.org/rfc/rfc4122.txt 

This oid is used as an identifier II.root to indicate the the extension is an absolute URI (technically, an IRI). Typically, this is used for OIDs and GUIDs. Note that when this OID is used with OIDs and GUIDs, the II.extension should start with urn:oid or urn:uuid: 

Note that this OID is created to aid with interconversion between CDA and FHIR - FHIR uses urn:ietf:rfc:3986 as equivalent to this OID. URIs as identifiers appear more commonly in FHIR.

This OID may also be used in CD.codeSystem.">Uniform Resource Identifier (URI)</a>/urn:uuid:0c287d32-01e3-4d87-9953-9fcc9404eb23 (use: official)</p><p><b>status</b>: current</p><p><b>type</b>: eReferral workflow <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (unknown#1.3.6.1.4.1.19376.1.5.3.1.5.1)</span></p><p><b>category</b>: Code for Workflow Definitions <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-NPFSclasscode.html">NPFS classcode</a>#WORKFLOW_DEFINITION)</span></p><p><b>date</b>: Apr 4, 2023, 4:00:00 PM</p><p><b>author</b>: <a href="Patient-ex-patient.html">Patient/ex-patient</a> &quot; SCHMIDT&quot;</p><p><b>authenticator</b>: <a href="Practitioner-ex-practitioner.html">Practitioner/ex-practitioner</a></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>replaces</td><td><a href="DocumentReference-ex-DocumentReferenceMinimal.html">DocumentReference/ex-DocumentReferenceMinimal</a></td></tr></table><p><b>description</b>: Example of a New DocumentReference resource for Replace. This is fully filled for all mandatory elements and all optional elements.</p><p><b>securityLabel</b>: low <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.5.0/CodeSystem-v3-Confidentiality.html">Confidentiality</a>#L)</span></p><blockquote><p><b>content</b></p><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>Size</b></td><td><b>Hash</b></td><td><b>Title</b></td><td><b>Creation</b></td></tr><tr><td style="display: none">*</td><td>text/plain</td><td>en-US</td><td><a href="http://example.com/nowhere.txt">http://example.com/nowhere.txt</a></td><td>0</td><td>(base64 data - 40 bytes)</td><td>DocumentReference for Comprehensive minimally filled metadata</td><td>2023-04-04 11:00:00-0500</td></tr></table><p><b>format</b>: PDF (Details: urn:oid:2.16.840.1.113883.2.9.3.3.6.1.6 code PDF = 'PDF', stated as 'null')</p></blockquote><h3>Contexts</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Event</b></td><td><b>Period</b></td></tr><tr><td style="display: none">*</td><td>account receivable <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.5.0/CodeSystem-v3-ActCode.html">ActCode</a>#ACCTRECEIVABLE)</span></td><td>2020-12-31 23:50:50-0500 --&gt; 2020-12-31 23:50:50-0500</td></tr></table></div>
        </text>
        <masterIdentifier>
          <system value="urn:ietf:rfc:3986"/>
          <value
                 value="urn:oid:1.2.840.113556.1.8000.2554.53432.348.12973.17740.34205.4355.50220.62012"/>
        </masterIdentifier>
        <identifier>
          <use value="official"/>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:uuid:0c287d32-01e3-4d87-9953-9fcc9404eb23"/>
        </identifier>
        <status value="current"/>
        <type>
          <coding>
            <system value="urn:oid:1.3.6.1.4.1.19376.1.5.3.1.5"/>
            <code value="1.3.6.1.4.1.19376.1.5.3.1.5.1"/>
            <display value="eReferral workflow"/>
          </coding>
        </type>
        <category>
          <coding>
            <system
                    value="https://profiles.ihe.net/ITI/NPFS/CodeSystem/NPFSclasscode"/>
            <code value="WORKFLOW_DEFINITION"/>
          </coding>
        </category>
        <date value="2023-04-04T11:00:00-05:00"/>
        <author>🔗 
          <reference value="Patient/ex-patient"/>
        </author>
        <authenticator>🔗 
          <reference value="Practitioner/ex-practitioner"/>
        </authenticator>
        <relatesTo>
          <code value="replaces"/>
          <target>🔗 
            <reference value="DocumentReference/ex-DocumentReferenceMinimal"/>
          </target>
        </relatesTo>
        <description
                     value="Example of a New DocumentReference resource for Replace. This is fully filled for all mandatory elements and all optional elements."/>
        <securityLabel>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/v3-Confidentiality"/>
            <code value="L"/>
          </coding>
        </securityLabel>
        <content>
          <attachment>
            <contentType value="text/plain"/>
            <language value="en-US"/>
            <url value="http://example.com/nowhere.txt"/>
            <size value="0"/>
            <hash
                  value="ZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ=="/>
            <title
                   value="DocumentReference for Comprehensive minimally filled metadata"/>
            <creation value="2023-04-04T11:00:00-05:00"/>
          </attachment>
          <format>
            <system value="urn:oid:2.16.840.1.113883.2.9.3.3.6.1.6"/>
            <code value="PDF"/>
          </format>
        </content>
        <context>
          <event>
            <coding>
              <system
                      value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
              <code value="ACCTRECEIVABLE"/>
            </coding>
          </event>
          <period>
            <start value="2020-12-31T23:50:50-05:00"/>
            <end value="2020-12-31T23:50:50-05:00"/>
          </period>
        </context>
      </DocumentReference>
    </resource>
    <request>
      <method value="POST"/>
      <url value="DocumentReference"/>
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:cccccccc-4444-0000-0000-000000000003"/>
    <resource>
      <DocumentReference>
        <id value="cccccccc-4444-0000-0000-000000000003"/>
        <meta>
          <profile
                   value="https://profiles.ihe.net/ITI/NPFS/StructureDefinition/IHE.NPFS.DocumentReference"/>
          <security>
            <system
                    value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
            <code value="HTEST"/>
          </security>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><a name="DocumentReference_cccccccc-4444-0000-0000-000000000003"> </a><p><b>Generated Narrative: DocumentReference</b><a name="cccccccc-4444-0000-0000-000000000003"> </a><a name="hccccccccc-4444-0000-0000-000000000003"> </a></p><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">Resource DocumentReference &quot;cccccccc-4444-0000-0000-000000000003&quot; </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-IHE.NPFS.DocumentReference.html">NPFS DocumentReference</a></p><p style="margin-bottom: 0px">Security Labels: <span title="{http://terminology.hl7.org/CodeSystem/v3-ActReason http://terminology.hl7.org/CodeSystem/v3-ActReason}">http://terminology.hl7.org/CodeSystem/v3-ActReason</span></p></div><p><b>masterIdentifier</b>: <a href="http://terminology.hl7.org/5.3.0/NamingSystem-uri.html" title="As defined by RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt)(with many schemes defined in many RFCs). For OIDs and UUIDs, use the URN form (urn:oid:(note: lowercase) and urn:uuid:). See http://www.ietf.org/rfc/rfc3001.txt and http://www.ietf.org/rfc/rfc4122.txt 

This oid is used as an identifier II.root to indicate the the extension is an absolute URI (technically, an IRI). Typically, this is used for OIDs and GUIDs. Note that when this OID is used with OIDs and GUIDs, the II.extension should start with urn:oid or urn:uuid: 

Note that this OID is created to aid with interconversion between CDA and FHIR - FHIR uses urn:ietf:rfc:3986 as equivalent to this OID. URIs as identifiers appear more commonly in FHIR.

This OID may also be used in CD.codeSystem.">Uniform Resource Identifier (URI)</a>/urn:oid:1.2.840.113556.1.8000.2554.53432.348.12973.17740.34205.4355.50220.62012</p><p><b>identifier</b>: <a href="http://terminology.hl7.org/5.3.0/NamingSystem-uri.html" title="As defined by RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt)(with many schemes defined in many RFCs). For OIDs and UUIDs, use the URN form (urn:oid:(note: lowercase) and urn:uuid:). See http://www.ietf.org/rfc/rfc3001.txt and http://www.ietf.org/rfc/rfc4122.txt 

This oid is used as an identifier II.root to indicate the the extension is an absolute URI (technically, an IRI). Typically, this is used for OIDs and GUIDs. Note that when this OID is used with OIDs and GUIDs, the II.extension should start with urn:oid or urn:uuid: 

Note that this OID is created to aid with interconversion between CDA and FHIR - FHIR uses urn:ietf:rfc:3986 as equivalent to this OID. URIs as identifiers appear more commonly in FHIR.

This OID may also be used in CD.codeSystem.">Uniform Resource Identifier (URI)</a>/urn:uuid:0c287d32-01e3-4d87-9953-9fcc9404eb22 (use: official)</p><p><b>status</b>: superseded</p><p><b>type</b>: eReferral workflow <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (unknown#1.3.6.1.4.1.19376.1.5.3.1.5.1)</span></p><p><b>category</b>: Code for Workflow Definitions <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-NPFSclasscode.html">NPFS classcode</a>#WORKFLOW_DEFINITION)</span></p><p><b>date</b>: Apr 4, 2023, 4:00:00 PM</p><p><b>author</b>: <a href="Patient-ex-patient.html">Patient/ex-patient</a> &quot; SCHMIDT&quot;</p><p><b>authenticator</b>: <a href="Practitioner-ex-practitioner.html">Practitioner/ex-practitioner</a></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>appends</td><td><a href="DocumentReference-ex-DocumentReferenceMinimal.html">DocumentReference/ex-DocumentReferenceMinimal</a></td></tr></table><p><b>description</b>: Example of a Old DocumentReference resource for Replace. This is fully filled for all mandatory elements and all optional elements.</p><p><b>securityLabel</b>: low <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.5.0/CodeSystem-v3-Confidentiality.html">Confidentiality</a>#L)</span></p><blockquote><p><b>content</b></p><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>Size</b></td><td><b>Hash</b></td><td><b>Title</b></td><td><b>Creation</b></td></tr><tr><td style="display: none">*</td><td>text/plain</td><td>en-US</td><td><a href="http://example.com/nowhere.txt">http://example.com/nowhere.txt</a></td><td>0</td><td>(base64 data - 40 bytes)</td><td>DocumentReference for Comprehensive minimally filled metadata</td><td>2023-04-04 11:00:00-0500</td></tr></table><p><b>format</b>: PDF (Details: urn:oid:2.16.840.1.113883.2.9.3.3.6.1.6 code PDF = 'PDF', stated as 'null')</p></blockquote><h3>Contexts</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Event</b></td><td><b>Period</b></td></tr><tr><td style="display: none">*</td><td>account receivable <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.5.0/CodeSystem-v3-ActCode.html">ActCode</a>#ACCTRECEIVABLE)</span></td><td>2020-12-31 23:50:50-0500 --&gt; 2020-12-31 23:50:50-0500</td></tr></table></div>
        </text>
        <masterIdentifier>
          <system value="urn:ietf:rfc:3986"/>
          <value
                 value="urn:oid:1.2.840.113556.1.8000.2554.53432.348.12973.17740.34205.4355.50220.62012"/>
        </masterIdentifier>
        <identifier>
          <use value="official"/>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:uuid:0c287d32-01e3-4d87-9953-9fcc9404eb22"/>
        </identifier>
        <status value="superseded"/>
        <type>
          <coding>
            <system value="urn:oid:1.3.6.1.4.1.19376.1.5.3.1.5"/>
            <code value="1.3.6.1.4.1.19376.1.5.3.1.5.1"/>
            <display value="eReferral workflow"/>
          </coding>
        </type>
        <category>
          <coding>
            <system
                    value="https://profiles.ihe.net/ITI/NPFS/CodeSystem/NPFSclasscode"/>
            <code value="WORKFLOW_DEFINITION"/>
          </coding>
        </category>
        <date value="2023-04-04T11:00:00-05:00"/>
        <author>🔗 
          <reference value="Patient/ex-patient"/>
        </author>
        <authenticator>🔗 
          <reference value="Practitioner/ex-practitioner"/>
        </authenticator>
        <relatesTo>
          <code value="appends"/>
          <target>🔗 
            <reference value="DocumentReference/ex-DocumentReferenceMinimal"/>
          </target>
        </relatesTo>
        <description
                     value="Example of a Old DocumentReference resource for Replace. This is fully filled for all mandatory elements and all optional elements."/>
        <securityLabel>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/v3-Confidentiality"/>
            <code value="L"/>
          </coding>
        </securityLabel>
        <content>
          <attachment>
            <contentType value="text/plain"/>
            <language value="en-US"/>
            <url value="http://example.com/nowhere.txt"/>
            <size value="0"/>
            <hash
                  value="ZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ=="/>
            <title
                   value="DocumentReference for Comprehensive minimally filled metadata"/>
            <creation value="2023-04-04T11:00:00-05:00"/>
          </attachment>
          <format>
            <system value="urn:oid:2.16.840.1.113883.2.9.3.3.6.1.6"/>
            <code value="PDF"/>
          </format>
        </content>
        <context>
          <event>
            <coding>
              <system
                      value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
              <code value="ACCTRECEIVABLE"/>
            </coding>
          </event>
          <period>
            <start value="2020-12-31T23:50:50-05:00"/>
            <end value="2020-12-31T23:50:50-05:00"/>
          </period>
        </context>
      </DocumentReference>
    </resource>
    <request>
      <method value="PUT"/>
      <url value="DocumentReference"/>
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:cccccccc-4444-0000-0000-000000000002"/>
    <resource>
      <Binary>
        <id value="cccccccc-4444-0000-0000-000000000002"/>
        <meta>
          <security>
            <system
                    value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
            <code value="HTEST"/>
          </security>
        </meta>
        <contentType value="text/plain"/>
        <data value="SGVsbG8gV29ybGQ="/>
      </Binary>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Binary"/>
    </request>
  </entry>
</Bundle>