IHE-MetadataHandbook

Integrating the Healthcare Enterprise

IHE IT Infrastructure Handbook

Document Sharing Metadata

Revision 2.1 - Published (Conversion to HTML)

Date: March 1, 2022

Author: ITI Technical Committee

Email: ititech@ihe.net

Foreword

This is a handbook of the IHE IT Infrastructure Domain.

This handbook is published on March 1, 2022. Comments are invited and can be submitted at ITI Public Comments, or on the IHE GitHub Metadata Handbook Issue tracker.

General information about IHE can be found at IHE.

Information about the IHE IT Infrastructure domain can be found at IHE Domains.

Information about the organization of IHE Technical Frameworks and Supplements and the process used to create them can be found at Profiles and IHE Process.

The current version of the IHE IT Infrastructure Technical Framework can be found online.

CONTENTS

This handbook uses the term “Community” as defined in the Enabling Document Sharing through IHE Profiles White Paper (HIE using IHE). This definition is inclusive of an XDS Affinity Domain, an XCA Community, or a set of XCA Communities. This definition is also inclusive of the use of MHD (XDS-on-FHIR), although further discussion of MHD is not explicitly included in this handbook.

This handbook constrains document metadata to enable optimal discoverability of the shared documents within your Community. There are other responsibilities of Community management: patient identity and demographics management, organizational identification and credentialing, privacy policy, security policy, partner certification processes, etc. IHE addresses these broader topics in other publications listed in Background References, including the white paper “Template for XDS Affinity Domain Deployment Planning”.

1.1.1 When to Use This Handbook

This handbook is intended to be used in various situations.

The intended audience is expected to be well versed in the Document Sharing metadata concept, vocabulary use, and understand the intended use cases for their Community.

1.3 Background References

The following references are considered critical foundational text that should be understood by those participating in the use of this handbook (all links can be found here).

Open Issues:

Figure 2-1: Document Sharing Lifecycle

The XDS/XCA Query transaction has several query capabilities. The FindDocuments query is one of the most powerful. The other queries are not useless but are for more special purposes. Some are more focused on SubmissionSets, Folders, and Associations. These may be useful for specific use cases, but not for a general-purpose Document Consumer.

2.1 XDS/XCA Optimal Query

The FindDocuments query has 17 query parameters, but 7 of them play a critical role. These parameters are the “critical few”, especially for the initial query that performs the primary filtering (further discussed in Various uses for metadata among all available documents for a patient that may be in the thousands with a mature deployment. This primary filtering optimizes the use of query to return the best possible results, avoiding missing any results that should be considered. This favors false-positives (results that are not desired), over false-negatives (missed results). The query results returned include full metadata for each entry found; local refinement of these results (see Section 2.2) is used to further eliminate these false-positives. The other 12 parameters may also be used, but the effectiveness of these additional parameters in primary filtering is limited. See Section 2.1.2 for further explanation. Here are the 7 query parameters and metadata attributes that are combined for primary filtering:

From these use cases, end user- and technical requirements can be set up for the metadata set. Consult with all stakeholders to get a clear view of the expectations of the end users towards the categories choices. As you consider the current and planned use cases in your Community, assume that additional use cases, not necessarily identified yet, will emerge and will have to be supported. For this, it is wise to plan that additional types of documents to be shared, documents that will likely be added in the future. Defining from the start the metadata capabilities to represent those future use cases is a wise forward planning (see the challenges in Section 4 to evolve a Community Metadata Specification). We recommend, based on the IHE Community experience, to include among the above document types, some of the document types that are most often deployed across the world: referral letters, medication information, laboratory results, diagnosis test reports, referral, care plans, diagnosis study requests, imaging studies, and consents.

3.3 Gather Existing Patterns of How Metadata Are Used

Within an existing Community there will be patterns of use. These historic patterns should be documented as they would be considered as part of the creation of your new Community Metadata Specification. These may have grown organically or follow some existing governance. For each type of document currently published, identify the various metadata codes that are used. Capture the current way that XDS queries are done. Note that historic and current use of metadata might have deviated from your current Community Metadata Specification. This is an indication that there is an unmet need, or a misunderstanding of your existing Community Metadata Specification. These deviations should be investigated carefully to guide the updated Community Metadata Specification.

3.4 Various Uses for Metadata

In this section we will guide you on some best practices, to help guide you at making your new decisions on how metadata will be used in your Community. Consider the various uses for metadata in the relevant use cases:

Note: The above figure is from IHE ITI Technical Framework Volume 3.

The IHE ITI Technical Framework Volume 3 contains details on each metadata attribute, and the various use cases that each assist with. The following snippet from “Table 4.1.3.2-1” is from tables found in the ITI Technical Framework Volume 3. The reader needs to be very familiar with the definitions of the metadata found in ITI Technical Framework Volume 3.

The XDS metadata attributes cover a number of domains that focus on a number of axes: patient identity, privacy and security, provenance (authors, senders, location, date and time), processes, purpose (descriptive), document lifecycle information and technical information about the document itself. The why, where, what, when, how and other metadata aspects document the context within which the document was created. This information is vital for the correct interpretation of the information contained in the document. All these metadata attributes can be used, often in combination, for the filtering and selecting of specific information types. The main purposes for metadata are:

Filtering, grouping and sorting the available documents greatly enhance the discoverability of specific documents. Setting up a recognizable and intuitive set of metadata attributes helps the end users in quickly accessing the right information at the right time for the right purpose.

3.5 Determine the Needs for Constraints

Each Community will determine the desired level of constraints. Some Communities may only define a specific value set for classCode and leave all other metadata with the default constraints from XCA or XDS; other Communities will need to define constraints for every metadata attribute across all object types.

Table 3.5-1: Sample of IHE Document Content Profiles – With Metadata Constraints

IHE Domain Profile Acronym IHE Profile Links
ITI XDW Cross-Enterprise Document Workflow
ITI XDS-SD Cross-enterprise Sharing of Scanned Documents
ITI BPPC Basic Patient Privacy Consents
ITI APPC Advanced Patient Privacy Consents
ITI DSG Document Digital Signature
RAD XDS-I Cross-enterprise Document Sharing for Imaging
RAD XCA-I Cross-Community Access for Imaging
CARDIO XCHT-WD Cross Enterprise Cardiovascular Heart Team
CARDIO CRC Cath Report Content
CARDIO CIRC Cardiac Imaging Report Content
PCC XPHR Exchange of Personal Health Record Content Profile
PCC EDR Emergency Department Referral Profile
PCC IC Immunization Content
PCC XDS-MS Medical Summaries Profile
PaLM XD-LAB Sharing Laboratory Reports

Notes:

  1. XDW workflow definitions can be found here
  2. Certain images can be found here
  3. All IHE profiles of CDA can be found here

    3.6 Assemble the Metadata Attributes

    In setting up your Community Metadata Specification, it is advised to start with the ‘easy’, non-ambiguous metadata attributes. These attributes often can just be assembled from what you are currently using:

Your Community Metadata Specification is the documentation produced by using this handbook. It includes value sets, policies, and Metadata use expectations. The Community Metadata Specification contains the preferred rules for publishing new documents and the realistic rules under which historic documents will be found. A document sharing environment is longitudinal and will over time contain medical information that spans decades. During this time, changes will be made to the preferred metadata set. The Community Metadata Specification records these changes. Experience shows that a well-designed Community Metadata Specification is effective for 5 to 10 years. The exact format of your Community Metadata Specification is up to you. Value sets are critical component of a Community Metadata Specification that could be maintained as simplistically as a set of spreadsheets or use purpose specific tools. Often for any metadata attribute there might be two independently managed value sets: the preferred value set for new publication, and the comprehensive value set holding all possible values for that attribute representing longitudinal historic record. Suggested information to capture:

Note that these strategies rely on the Community Metadata Specification containing accurate and current information on the state of metadata usage.

3.10 Maintenance and Governance

Once the Community Metadata Specification is deployed there are some considerations to maintain control.

Table 4.1-1: Codable Metadata Attributes

Object Type Metadata Attributes Description
DocumentEntry author The humans and/or machines that authored the document. This attribute contains the sub-attributes: authorInstitution, authorPerson, authorRole, authorSpecialty and authorTelecommunication.
Most relevant codable attributes are authorRole, and authorSpecialty
DocumentEntry classCode The code specifying the high-level use classification of the document type (e.g., Report, Summary, Images, Treatment Plan, Patient Preferences, Workflow).
DocumentEntry confidentialityCode The code specifying the level of confidentiality of the document.
DocumentEntry eventCodeList This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented.
DocumentEntry formatCode The code specifying the detailed technical format of the document.
DocumentEntry healthcareFacility
TypeCode
This code represents the type of organizational setting of the clinical encounter during which the documented act occurred.
DocumentEntry languageCode Specifies the human language of character data in the document.
DocumentEntry legalAuthenticator Represents a participant within an authorInstitution who has legally authenticated or attested the document.
DocumentEntry mimeType MIME type of the document.
DocumentEntry objectType The type of DocumentEntry (e.g., On-Demand DocumentEntry).
DocumentEntry practiceSettingCode The code specifying the clinical specialty where the act that resulted in the document was performed (e.g., Family Practice, Laboratory, Radiology).
DocumentEntry typeCode The code specifying the precise type of document from the user perspective (e.g., LOINC code).
SubmissionSet author The humans and/or machines that authored the SubmissionSet. This attribute contains the sub-attributes: authorInstitution, authorPerson, authorRole, authorSpecialty, authorTelecommunication.
Most relevant codable attributes are authorRole, and authorSpeciality
SubmissionSet contentTypeCode The code specifying the type of clinical activity that resulted in placing the associated content in the SubmissionSet.
Folder codeList The set of codes specifying the type of clinical activities that resulted in placing DocumentEntry objects in the Folder.

Here are some general principles for good metadata:

4.2.1 classCode

Critical for searching for a document of interest; The classCode should be optimized for discovery. The value set for classCode should be small and representing non-overlapping controlled value set of pre-negotiated codes. This will ensure that any document consumer query expression results in getting deterministic query results, across multiple document sources.

Critical for search for a document of interest produced by a certain type of healthcare facility (hospital, doctor office, nursing home, imaging center, etc.);

The complete IHE Glossary is available at IHE Technical Frameworks General Introduction Appendix D: Glossary.

  1. CDA is the registered trademark of Health Level Seven International and the use does not constitute endorsement by HL7.
  2. FHIR is the registered trademark of Health Level Seven International and the use does not constitute endorsement by HL7.
  3. Postel’s law on robustness: “be conservative in what you do, be liberal in what you accept from others” RFC 761