Metadata Attribute | Purpose within 360x | 360x Source | XDS Source | Minimal Metadata Source | Value | Information |
---|
author | Represents the provider (person or institution) that authored the document. | R2 | R2 | R2 | This attribute does not have a simple value but contains sub-attributes. These sub-attributes include: authorInstitution, authorPerson, authorRole, authorSpecialty and authorTelecommunication. | If supplied, MUST indicate the document's author, which may be different from the message sender. At least an authorPerson, authorTelecommunication, or authorInstitution sub-attribute shall be present when the author attribute is included in the metadata.
* This is only required when the document is a C-CDA. |
availabilityStatus | Not needed | O | O | O | If available, the value should always be: "urn:oasis:names:tc:ebxml -regrep:StatusType:Approved" | The lifecycle status of the DocuentEntry. No mention in the Direct specs |
classCode | Specifies the particular type of document (e.g. Consultation note, Subsequent evaluation note, etc. for C-CDAs). | R(*) | R | R2 | Code. Single value. | SHOULD draw values from HITSP C80, version 2.0.1, table 2-144. |
comments | Comments associated with the document. | O | O | O | Free form text. Unbounded max length. | No mention in the Direct specs |
confidentialityCode | Code specifying the level of confidentiality of the document | O | R2 | R2 | Code. Multiple Values. | SHOULD draw values from HITSP C80, version 2.0.1, table 2-150. Implementations SHOULD NOT use codes that reveal the specific trigger causes of confidentiality (e.g., HIV). |
creationTime | Represents the time the author created the document. | R(*) | R2 | R2 | UTC date/time YYYYMMDDhhmmss. Single Value. Max length of 256 characters. | MUST NOT use transaction-related dates/times, including the value of the RFC 5322 Date header. Implementers should look to use the header values for C-CDAs or the time in the messsage header for HL7. |
entryUUID | A globally unique identifier used to identify and manage the document entry internally. | R | R | R | UUID. Unbounded max length. | Must be a unique value internal to this transaction. |
eventCodeList | Represents the main clinical acts being documented. | O | O | O | Code. Multiple Values. | List of codes representing the main clinical acts being documented. No mention in the Direct specs. In some cases, the event is inherent in the typeCode. An event can further specialize the act inherent in the typeCode. When defining the value sets for eventCodes, they should not conflict with the values inherent in the classCode, practiceSettingCode or typeCode as such a conflict would create an ambiguous situation. |
formatCode | Globally unique code specifying the format of the document. | R(*) | R2 | R2 | Code. Single Value. Any valid URN may be used as a formatCode. | SHOULD draw values from HITSP C80, version 2.0.1, table 2-152, when the specific listed codes apply |
Hash | Hash key of the document which can be used to determine if the document has been altered. | O | R | O | Calculated with SHA1 algorithm. Single Value. Max length is 256 characters. The endcoding is the Lexical representation of hexBinary([0-9a-fA-F]). RFC 3174. | The value is coded as a case-insenstivite single value within an ebRIM Slot in the DocumentEntry. No mention in the Direct specs. |
healthcareFacilityTypeCode | Represents the type of organizational setting of the clinical encounter during which the documented act occurred. The healthcareFacilityTypeCode shall be equivalent to or further specialize the value inherent in the typeCode. | O | R2 | R2 | Code. Single Value. | SHOULD draw values from HITSP C80, version 2.0.1, table 2-146. Implementations SHOULD populate mapped by configuration to sending organization. |
homeCommunityId | Globally unique identifier for a community | O | O | O | OID. URN. Unbounded max length. | No mention in the Direct specs |
languageCode | Specifies the human language of the character data in the document | O | R2 | R2 | Code. Single Value. Max length is 256 characters. The values of the attribute are language identifiers as described by the IETF (Internet Engineering Task Force) RFC 5646. | Coded identifiers as described by the IETF RFC 3066, conformant with IHE requirements. |
legal Authenticator | Represents a participant within the authorInstitution who has legally authenticated or attested the document. | O | O | O | XCN (e.g., ^Welby^Marcus^^^Dr^MD). Single Value. Max length is 256 characters. | No mention in the Direct specs |
limitedMetadata | Indicates whether the document entry was created using the less rigorous requirements of metadata | R | O | R | Single Value. | No mention in the Direct specs |
mimeType | MIME type of the document. | R | R | R | String. Single Value. Unbounded max length. | The C-CDA MUST have a MIME type of text/xml. The HL7 document MUST have a MIME type of x-application/hl7-v2+er7 |
objectType | The type of DocumentEntry. For 360x purposes, the value will always be Stable | R | R | R | UUID. Max length is unbounded. | Expected value: urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1 |
patientId | The subject of care of the document. Shall match the value of the patientId attribute in the SubmissionSet | R2 | R2 | R2 | Single Value. Contains an assigning authority domain id and an id from the assigning authority. | Formatted as a HL7 CX as described in ITI TF-3 Table 4.1-3
As a conditional value, the patientId is only expected to be set on return messages (those generated by the receiving provider). The patientId should always be equal to the value sent in the sourcePatientId of the original referral request. |
practiceSettingCode | Specifies the clinical specialty where the act that resulted in the document was performed. | O | R2 | R2 | Code. Single value. | SHOULD draw from HITSP C80, version 2.0.1, table 2-149 which is a list of members of the value set in table 2-148. These are typically SNOMED CT codes vs. NUCC codes. |
referenceIdList | The referral ID. | O | O | O | Supports multiple values but there should never be more than one value. Max length is 256 characters for each value. | This list is intended to contain internal and external CXi encoded identifiers. No mention in the Direct specs. |
repositoryUniqueId | The globally unique identifier of the repository where the document is stored. | O | O | O | OID. Single Value. Max length is 64 characters. | The globally unique, immutable, identifier of the repository where the document is stored. No mention in the Direct specs |
serviceStartTime | Represents the start time the service being documented took place. | O | R2 | R2 | UTC date/time YYYYMMDDhhmmss. Single Value. Max length is 256 characters. | This may be the same as the encounter time in case the service was delivered during an encounter. No mention in the Direct specs |
serviceStopTime | Represents the stop time the service being documented took place. | O | R2 | R2 | UTC date/time YYYYMMDDhhmmss. Single Value. Max length is 256 characters. The serviceStartTime <= serviceStopTime. | This may be the same as the encounter time in case the service was delivered during an encounter. No mention in the Direct specs |
Size | Size in bytes of the document | O | R | O | Integer. Single Value. Max length is 256 characters. | No mention in the Direct specs |
sourcePatientId | Represents the subject of care medical record Identifier(e.g., PatientId) in the local patient Identifier Domain of the document source. | R2 | R2 | R2 | Single Value. Shall contain zero or one value. Contains an assigning authority domain id and an id from the assigning authority. Max length is 256 characters. | Formatted as a HL7 CX as described in ITI TF-3 Table 4.1-3. This field is only required for the first communication by each side. Subsequent communications do not require this field to be populated. |
sourcePatientInfo | Demographics information of the source patient at the time of submission. | O | R2 | R2 | Multiple Values. Max length is 256 characters for each value. Shall contain zero or one value list of demographic elements, where each element in the list is identified by fields from the HL7 PID segment | This information typically includes: patient first and last name, sex, and birth date. Formatted as defined in ITI TF-3 Table 4.1-5 |
Title | Title of the document | O | O | O | Free form text with max length of 128 characters. | The title is often supplemented with the classCode. Represented in ebXML as the "value" attribute of the LocalizedString element within the ebRIM Name structure. There can be only one ebRIM Name structure per DocumentEntry. No mention in the Direct specs. |
typeCode | Specifies the precise kind of document. | R(*) | R2 | R2 | Code. Single value.
Values should consist of: 34133-9, 11488-4, 34117-2, 18842-5, 11504-8, 28570-0, or 11506-3 for C-CDAs. 019, 041, S12, or S26 for HL7 documents. | SHOULD draw values from HITSP C80, version 2.0.1, table 2-144 and SHOULD be the same value as classCode. |
uniqueId | The globally unique identifier assigned by the document creator to this document. | R | R | R | OID. Single value. Max length is 256 characters. | SHOULD use a unique ID extracted from the content, if a single such value can be determined. If not, implementations SHOULD use a UUID URN, generated for the transaction. This value MUST be different from the uniqueId specified on the Submission Set |
URI | The URI for the document, which consists of a relative path in the XDM structure to the file. | R(*) | R | O | String. URI. Single value. Max length is 256 characters. RFC 2616.. | No mention in the Direct specs |