This page is part of the FHIR Specification (v1.6.0: STU 3 Ballot 4). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
StructureDefinition for XDSDocumentEntry
{ "resourceType": "StructureDefinition", "id": "xdsdocumentreference", "text": { "status": "generated", "div": "<div>!-- Snipped for Brevity --></div>" }, "url": "http://hl7.org/fhir/StructureDefinition/xdsdocumentreference", "name": "XDS profile for Document Reference", "status": "draft", "publisher": "HL7", "contact": [ { "telecom": [ { "system": "other", "value": "http://www.hl7.org" } ] } ], "date": "2012-06-24", "description": "XDSDocumentEntry", "fhirVersion": "1.6.0", "mapping": [ { "identity": "rim", "uri": "http://hl7.org/v3", "name": "RIM Mapping" }, { "identity": "w5", "uri": "http://hl7.org/fhir/w5", "name": "W5 Mapping" }, { "identity": "v2", "uri": "http://hl7.org/v2", "name": "HL7 v2 Mapping" }, { "identity": "xds", "uri": "http://ihe.net/xds", "name": "XDS metadata equivalent" } ], "kind": "resource", "abstract": false, "type": "DocumentReference", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DocumentReference", "derivation": "constraint", "snapshot": { "element": [ { "id": "DocumentReference:xdsdocumentreference", "path": "DocumentReference", "name": "XDSDocumentReference", "short": "XDSDocumentEntry", "definition": "A reference to a document.", "comments": "Usually, this is used for documents other than those defined by FHIR.", "min": 0, "max": "*", "base": { "path": "DocumentReference", "min": 0, "max": "*" }, "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))" } ], "mapping": [ { "identity": "rim", "map": "Entity. Role, or Act" }, { "identity": "rim", "map": "Document[classCode=\"DOC\" and moodCode=\"EVN\"]" }, { "identity": "w5", "map": "infrastructure.documents" } ] }, { "id": "DocumentReference:xdsdocumentreference.id", "path": "DocumentReference.id", "short": "Logical id of this artifact", "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", "comments": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "*" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "DocumentReference:xdsdocumentreference.meta", "path": "DocumentReference.meta", "short": "Metadata about the resource", "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "*" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "DocumentReference:xdsdocumentreference.implicitRules", "path": "DocumentReference.implicitRules", "short": "A set of rules under which this content was created", "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.", "comments": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible.", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "*" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "DocumentReference:xdsdocumentreference.language", "path": "DocumentReference.language", "short": "Language of the resource content", "definition": "The base language in which the resource is written.", "comments": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "*" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "DocumentReference:xdsdocumentreference.text", "path": "DocumentReference.text", "short": "Text summary of the resource, for human interpretation", "definition": "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", "comments": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later.", "alias": [ "narrative", "html", "xhtml", "display" ], "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "*" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ], "mapping": [ { "identity": "rim", "map": "Act.text?" } ] }, { "id": "DocumentReference:xdsdocumentreference.contained", "path": "DocumentReference.contained", "short": "Contained, inline Resources", "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", "comments": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.", "alias": [ "inline resources", "anonymous resources", "contained resources" ], "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ], "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "id": "DocumentReference:xdsdocumentreference.extension", "path": "DocumentReference.extension", "short": "Additional Content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content" ], "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "id": "DocumentReference:xdsdocumentreference.modifierExtension", "path": "DocumentReference.modifierExtension", "short": "Extensions that cannot be ignored", "definition": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content" ], "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "id": "DocumentReference:xdsdocumentreference.masterIdentifier", "path": "DocumentReference.masterIdentifier", "short": "XDSDocumentEntry.uniqueId", "definition": "Globally unique identifier assigned to the document by the creating entity. A DocumentEntry representing a single document is identified by the uniqueId attribute; the linkage between DocumentEntry and the Document it represents is made with the uniqueId attribute. This unique identifier may be used in other documents to reference this document.", "comments": "CDA Document Id extension and root.", "requirements": "The structure and format of this Id shall be consistent with the specification corresponding to the formatCode attribute. (e.g. for a DICOM standard document a 64 character numeric UID, for an HL7 CDA format a serialization of the CDA Document Id extension and root in the form \"oid^extension\", where OID is a 64 digits max, and the Id is a 16 UTF-8 char max. If the OID is coded without the extension then the '^' character shall not be included.).", "min": 1, "max": "1", "base": { "path": "DocumentReference.masterIdentifier", "min": 0, "max": "1" }, "type": [ { "code": "Identifier" } ], "isSummary": true, "mapping": [ { "identity": "v2", "map": "TXA-12" }, { "identity": "rim", "map": ".id" }, { "identity": "xds", "map": "DocumentEntry.uniqueId" }, { "identity": "w5", "map": "id" } ] }, { "id": "DocumentReference:xdsdocumentreference.identifier", "path": "DocumentReference.identifier", "short": "XDSDocumentEntry.referenceIdList", "definition": "Other identifiers for the document.", "min": 0, "max": "*", "base": { "path": "DocumentReference.identifier", "min": 0, "max": "*" }, "type": [ { "code": "Identifier" } ], "isSummary": true, "mapping": [ { "identity": "v2", "map": "TXA-16?" }, { "identity": "rim", "map": ".id / .setId" }, { "identity": "xds", "map": "DocumentEntry.entryUUID" }, { "identity": "w5", "map": "id" } ] }, { "id": "DocumentReference:xdsdocumentreference.subject", "path": "DocumentReference.subject", "short": "XDSDocumentEntry.patientId + sourcePatientId/sourcePatientInfo", "definition": "The patientId represents the subject of care of the document. The value of the patientId shall be the same for all new documents of a SubmissionSet. Patient information typically includes: the patient first and last name, sex, and birth date.", "comments": "In the context of XDS, the patientId shall be the one with use = official. The Clinical XDS Affinity Domain policies may require more or less specific information and format. This patient information is not intended to be updated once the Document is registered (just as the Document content and metadata itself will not be updated without replacing the previous document). As sourcePatientInfo may have been updated by the source actor, it may no longer be in use within the Document Source (EHR-CR). It is only intended as an audit/checking mechanism and has occasional use for Document Consumer actors.", "alias": [ "SubjectOfCare Client Resident" ], "min": 1, "max": "1", "base": { "path": "DocumentReference.subject", "min": 0, "max": "1" }, "type": [ { "code": "Reference", "profile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true, "mapping": [ { "identity": "rim", "map": "Entity. Role, or Act" }, { "identity": "rim", "map": "Patient[classCode=PAT]" }, { "identity": "cda", "map": "ClinicalDocument.recordTarget.patientRole" }, { "identity": "w5", "map": "administrative.individual" } ] }, { "id": "DocumentReference:xdsdocumentreference.type", "path": "DocumentReference.type", "short": "XDSDocumentEntry.typeCode", "definition": "The code specifying the particular kind of document (e.g. Prescription, Discharge Summary, Report). It is suggested that the XDS Affinity Domain draws these values from a coding scheme providing a coarse level of granularity (about 10 to 100 entries). Shall have a single value.", "comments": "Key metadata element describing the document, used in searching/filtering.", "min": 1, "max": "1", "base": { "path": "DocumentReference.type", "min": 1, "max": "1" }, "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Precise type of clinical document.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/c80-doc-typecodes" } }, "mapping": [ { "identity": "v2", "map": "TXA-2" }, { "identity": "rim", "map": "./code" }, { "identity": "xds", "map": "DocumentEntry.type" }, { "identity": "w5", "map": "class" } ] }, { "id": "DocumentReference:xdsdocumentreference.class", "path": "DocumentReference.class", "short": "XDSDocumentEntry.classCode", "definition": "A categorization for the type of the document. This may be implied by or derived from the code specified in the Document Type.", "comments": "XDSDocumentEntry.typeCode.", "requirements": "Helps humans to assess whether the document is of interest when viewing a list of documents.", "alias": [ "kind" ], "min": 1, "max": "1", "base": { "path": "DocumentReference.class", "min": 0, "max": "1" }, "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "High-level kind of a clinical document at a macro level.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/c80-doc-classcodes" } }, "mapping": [ { "identity": "rim", "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" }, { "identity": "xds", "map": "DocumentEntry.class" }, { "identity": "w5", "map": "class" } ] }, { "id": "DocumentReference:xdsdocumentreference.author", "path": "DocumentReference.author", "short": "XDSDocumentEntry.author", "definition": "Represents the humans and/or machines that authored the document.", "comments": "Not necessarily who did the actual data entry (i.e. typist) it in or who was the source (informant).", "min": 1, "max": "*", "base": { "path": "DocumentReference.author", "min": 0, "max": "*" }, "type": [ { "code": "Reference", "profile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "profile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "isSummary": true, "mapping": [ { "identity": "v2", "map": "TXA-9 (No standard way to indicate a Device in HL7 v2 MDM message)" }, { "identity": "rim", "map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]" }, { "identity": "xds", "map": "DocumentEntry.author" }, { "identity": "w5", "map": "who.author" } ] }, { "id": "DocumentReference:xdsdocumentreference.custodian", "path": "DocumentReference.custodian", "short": "n/a", "definition": "Org which maintains the document.", "comments": "Identifies the logical organization to go to find the current version, where to report issues, etc. This is different from the physical location of the document, which is the technical location of the document, which host may be delegated to the management of some other organization.", "min": 0, "max": "0", "base": { "path": "DocumentReference.custodian", "min": 0, "max": "1" }, "type": [ { "code": "Reference", "profile": "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary": true, "mapping": [ { "identity": "rim", "map": ".participation[typeCode=\"RCV\"].role[classCode=\"CUST\"].scoper[classCode=\"ORG\" and determinerCode=\"INST\"]" } ] }, { "id": "DocumentReference:xdsdocumentreference.authenticator", "path": "DocumentReference.authenticator", "short": "??", "definition": "Represents a participant who has legally authenticated or attested the document within the authorInstitution. Legal authentication implies that a document has been signed manually or electronically by the legalAuthenticator.", "comments": "Note that a cab driver no longer fits the bill. You probably would be interested in the organization rather than the individual?", "min": 0, "max": "1", "base": { "path": "DocumentReference.authenticator", "min": 0, "max": "1" }, "type": [ { "code": "Reference", "profile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ], "isSummary": true, "mapping": [ { "identity": "rim", "map": "Entity. Role, or Act" }, { "identity": "v2", "map": "PRD (as one example)" }, { "identity": "rim", "map": "Role" }, { "identity": "servd", "map": "Provider" }, { "identity": "w5", "map": "administrative.individual" } ] }, { "id": "DocumentReference:xdsdocumentreference.created", "path": "DocumentReference.created", "short": "XDSDocumentEntry.creationTime", "definition": "Represents the time the author created the document in the Document Source.", "comments": "Creation time is used for tracking, organizing versions and searching. This is the creation time of the document, not the source material on which it is based.", "min": 1, "max": "1", "base": { "path": "DocumentReference.created", "min": 0, "max": "1" }, "type": [ { "code": "dateTime" } ], "isSummary": true, "mapping": [ { "identity": "v2", "map": "TXA-6" }, { "identity": "rim", "map": ".effectiveTime[type=\"TS\"]" }, { "identity": "xds", "map": "DocumentEntry.submissionTime" }, { "identity": "w5", "map": "when.done" } ] }, { "id": "DocumentReference:xdsdocumentreference.indexed", "path": "DocumentReference.indexed", "short": "XDS submission time or XDSDocumentEntry.creationTime if unknown", "definition": "When this document reference created.", "comments": "Referencing/indexing time is used for tracking, organizing versions and searching.", "min": 1, "max": "1", "base": { "path": "DocumentReference.indexed", "min": 1, "max": "1" }, "type": [ { "code": "instant" } ], "isSummary": true, "mapping": [ { "identity": "rim", "map": ".availabilityTime[type=\"TS\"]" }, { "identity": "xds", "map": "DocumentEntry.submissionTime" }, { "identity": "w5", "map": "when.recorded" } ] }, { "id": "DocumentReference:xdsdocumentreference.status", "path": "DocumentReference.status", "short": "implied by XDS workflow", "definition": "This attribute is always set to Approved as part of the submission of new XDS Documents. It may be changed to Deprecated under the primary responsibility of the Document Source with possible patient supervision. Although XDS supports the ability to delete documents, there is no such state as ???the Document Entry is removed??? (only an audit trail is kept if such a deletion is allowed).", "comments": "This is the status of the DocumentReference object, which might be independent from the docStatus element.", "min": 1, "max": "1", "base": { "path": "DocumentReference.status", "min": 1, "max": "1" }, "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "strength": "required", "description": "The status of the document reference.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/document-reference-status" } }, "mapping": [ { "identity": "v2", "map": "TXA-19" }, { "identity": "rim", "map": "interim: .completionCode=\"IN\" & ./statusCode[isNormalDatatype()]=\"active\"; final: .completionCode=\"AU\" && ./statusCode[isNormalDatatype()]=\"complete\" and not(./inboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()]/source[subsumesCode(\"ActClass#CACT\") and moodCode=\"EVN\" and domainMember(\"ReviseDocument\", code) and isNormalAct()]); amended: .completionCode=\"AU\" && ./statusCode[isNormalDatatype()]=\"complete\" and ./inboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()]/source[subsumesCode(\"ActClass#CACT\") and moodCode=\"EVN\" and domainMember(\"ReviseDocument\", code) and isNormalAct() and statusCode=\"completed\"]; withdrawn : .completionCode=NI && ./statusCode[isNormalDatatype()]=\"obsolete\"" }, { "identity": "xds", "map": "DocumentEntry status" }, { "identity": "w5", "map": "status" } ] }, { "id": "DocumentReference:xdsdocumentreference.docStatus", "path": "DocumentReference.docStatus", "short": "preliminary | final | appended | amended | entered-in-error", "definition": "Status of the underlying document.", "comments": "The document that is pointed to might be in various lifecycle states.", "min": 0, "max": "0", "base": { "path": "DocumentReference.docStatus", "min": 0, "max": "1" }, "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "required", "description": "Status of the underlying document.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/composition-status" } }, "mapping": [ { "identity": "v2", "map": "TXA-17" }, { "identity": "rim", "map": ".statusCode" }, { "identity": "w5", "map": "status" } ] }, { "id": "DocumentReference:xdsdocumentreference.relatesTo", "path": "DocumentReference.relatesTo", "short": "Relationships that this document has with other document references that already exist", "definition": "Relationships to other documents.", "min": 0, "max": "*", "base": { "path": "DocumentReference.relatesTo", "min": 0, "max": "*" }, "type": [ { "code": "BackboneElement" } ], "isModifier": true, "isSummary": true, "mapping": [ { "identity": "rim", "map": ".outboundRelationship" } ] }, { "id": "DocumentReference:xdsdocumentreference.relatesTo.id", "path": "DocumentReference.relatesTo.id", "representation": [ "xmlAttr" ], "short": "xml:id (or equivalent in JSON)", "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "*" }, "type": [ { "code": "string" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "id": "DocumentReference:xdsdocumentreference.relatesTo.extension", "path": "DocumentReference.relatesTo.extension", "short": "Additional Content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content" ], "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "id": "DocumentReference:xdsdocumentreference.relatesTo.modifierExtension", "path": "DocumentReference.relatesTo.modifierExtension", "short": "Extensions that cannot be ignored", "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content", "modifiers" ], "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true, "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "id": "DocumentReference:xdsdocumentreference.relatesTo.code", "path": "DocumentReference.relatesTo.code", "short": "The type of relationship that this document has with anther document", "definition": "supersedes | transforms | signs | appends.", "comments": "If this document appends another document, then the document cannot be fully understood without also accessing the referenced document.", "min": 1, "max": "1", "base": { "path": "DocumentReference.relatesTo.code", "min": 1, "max": "1" }, "type": [ { "code": "code" } ], "isSummary": true, "binding": { "strength": "required", "description": "The type of relationship between documents.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/document-relationship-type" } }, "mapping": [ { "identity": "rim", "map": ".outboundRelationship.typeCode" }, { "identity": "xds", "map": "DocumentEntry Associations type" } ] }, { "id": "DocumentReference:xdsdocumentreference.relatesTo.target", "path": "DocumentReference.relatesTo.target", "short": "The target document of this relationship", "definition": "Target of the relationship.", "min": 1, "max": "1", "base": { "path": "DocumentReference.relatesTo.target", "min": 1, "max": "1" }, "type": [ { "code": "Reference", "profile": "http://hl7.org/fhir/StructureDefinition/DocumentReference" } ], "isSummary": true, "mapping": [ { "identity": "rim", "map": ".target[classCode=\"DOC\", moodCode=\"EVN\"].id" }, { "identity": "xds", "map": "DocumentEntry Associations reference" } ] }, { "id": "DocumentReference:xdsdocumentreference.description", "path": "DocumentReference.description", "short": "XDSDocumentEntry.title", "definition": "Represents the title of the document.", "comments": "What the document is about, rather than a terse summary of the document. It is commonly the case that records do not have a title and are collectively referred to by the display name of Record code (e.g. a \"consultation\" or \"progress note\").", "requirements": "Helps humans to assess whether the document is of interest.", "min": 0, "max": "1", "base": { "path": "DocumentReference.description", "min": 0, "max": "1" }, "type": [ { "code": "string" } ], "isSummary": true, "mapping": [ { "identity": "v2", "map": "TXA-25" }, { "identity": "rim", "map": ".outboundRelationship[typeCode=\"SUBJ\"].target.text" }, { "identity": "xds", "map": "DocumentEntry.description" } ] }, { "id": "DocumentReference:xdsdocumentreference.securityLabel", "path": "DocumentReference.securityLabel", "short": "XDSDocumentEntry.confidentialityCode", "definition": "The code specifying the level of confidentiality of the XDS Document. These codes are specific to an XDS Affinity Domain.", "comments": "Enforcement and issues related to highly sensitive documents are beyond the scope of XDS (see security section). confidentialityCode is part of a codification scheme and value set enforced by the Document Registry.", "requirements": "Use of the Health Care Privacy/Security Classification (HCS) system of security-tag use is recommended.", "min": 1, "max": "1", "base": { "path": "DocumentReference.securityLabel", "min": 0, "max": "*" }, "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "extensible", "description": "Security Labels from the Healthcare Privacy and Security Classification System.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/security-labels" } }, "mapping": [ { "identity": "v2", "map": "TXA-18" }, { "identity": "rim", "map": ".confidentialityCode" }, { "identity": "xds", "map": "DocumentEntry.confidentialityCode" } ] }, { "id": "DocumentReference:xdsdocumentreference.content", "path": "DocumentReference.content", "short": "Document referenced", "definition": "The document and format referenced. There may be multiple content element repetitions, each with a different format.", "min": 1, "max": "*", "base": { "path": "DocumentReference.content", "min": 1, "max": "*" }, "type": [ { "code": "BackboneElement" } ], "isSummary": true, "mapping": [ { "identity": "rim", "map": "document.text" } ] }, { "id": "DocumentReference:xdsdocumentreference.content.id", "path": "DocumentReference.content.id", "representation": [ "xmlAttr" ], "short": "xml:id (or equivalent in JSON)", "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "*" }, "type": [ { "code": "string" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "id": "DocumentReference:xdsdocumentreference.content.extension", "path": "DocumentReference.content.extension", "short": "Additional Content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content" ], "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "id": "DocumentReference:xdsdocumentreference.content.modifierExtension", "path": "DocumentReference.content.modifierExtension", "short": "Extensions that cannot be ignored", "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content", "modifiers" ], "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true, "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "id": "DocumentReference:xdsdocumentreference.content.attachment", "path": "DocumentReference.content.attachment", "short": "Where to access the document", "definition": "The document or url of the document along with critical metadata to prove content has integrity.", "min": 1, "max": "1", "base": { "path": "DocumentReference.content.attachment", "min": 1, "max": "1" }, "type": [ { "code": "Attachment" } ], "isSummary": true, "mapping": [ { "identity": "v2", "map": "TXA-3 for mime type" }, { "identity": "rim", "map": "document.text" }, { "identity": "xds", "map": "DocumentEntry.mimeType DocumentEntry.languageCode DocumentEntry.URI DocumentEntry.size DocumentEntry.hash DocumentEntry.title" } ] }, { "id": "DocumentReference:xdsdocumentreference.content.attachment.id", "path": "DocumentReference.content.attachment.id", "representation": [ "xmlAttr" ], "short": "xml:id (or equivalent in JSON)", "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "*" }, "type": [ { "code": "string" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "id": "DocumentReference:xdsdocumentreference.content.attachment.extension", "path": "DocumentReference.content.attachment.extension", "short": "Additional Content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content" ], "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "id": "DocumentReference:xdsdocumentreference.content.attachment.contentType", "path": "DocumentReference.content.attachment.contentType", "short": "XDSDocumentEntry.mimeType", "definition": "MIME type of the document in the Repository.", "requirements": "Processors of the data need to be able to know how to interpret the data.", "min": 1, "max": "1", "base": { "path": "Attachment.contentType", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "exampleCode": "text/plain; charset=UTF-8, image/png", "isSummary": true, "binding": { "strength": "required", "description": "The mime type of an attachment. Any valid mime type is allowed.", "valueSetUri": "http://www.rfc-editor.org/bcp/bcp13.txt" }, "mapping": [ { "identity": "v2", "map": "ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used" }, { "identity": "rim", "map": "./mediaType, ./charset" } ] }, { "id": "DocumentReference:xdsdocumentreference.content.attachment.language", "path": "DocumentReference.content.attachment.language", "short": "XDSDocumentEntry.languageCode", "definition": "Specifies the human language of character data in the document. The values of the attribute are language identifiers as described by the IETF (Internet Engineering Task Force) RFC 3066.", "comments": "This value may further be restricted by the registry according to XDS Affinity Domain specific policy.", "requirements": "Users need to be able to choose between the languages in a set of attachments.", "min": 0, "max": "1", "base": { "path": "Attachment.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "exampleCode": "en-AU", "isSummary": true, "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } }, "mapping": [ { "identity": "rim", "map": "./language" } ] }, { "id": "DocumentReference:xdsdocumentreference.content.attachment.data", "path": "DocumentReference.content.attachment.data", "short": "Data inline, base64ed", "definition": "The actual data of the attachment - a sequence of bytes. In XML, represented using base64.", "comments": "The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON.", "requirements": "The data needs to able to be transmitted inline.", "min": 0, "max": "1", "base": { "path": "Attachment.data", "min": 0, "max": "1" }, "type": [ { "code": "base64Binary" } ], "mapping": [ { "identity": "v2", "map": "ED.5" }, { "identity": "rim", "map": "./data" } ] }, { "id": "DocumentReference:xdsdocumentreference.content.attachment.url", "path": "DocumentReference.content.attachment.url", "short": "repository location (by implication & configuration)", "definition": "Where to access the document.", "comments": "If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data.", "requirements": "The data needs to be transmitted by reference.", "min": 0, "max": "1", "base": { "path": "Attachment.url", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "exampleUri": "http://www.acme.com/logo-small.png", "isSummary": true, "mapping": [ { "identity": "v2", "map": "RP.1+RP.2 - if they refer to a URL (see v2.6)" }, { "identity": "rim", "map": "./reference/literal" } ] }, { "id": "DocumentReference:xdsdocumentreference.content.attachment.size", "path": "DocumentReference.content.attachment.size", "short": "XDSDocumentEntry.size", "definition": "Size in bytes of the byte stream that was provided in the Register and Provide Transaction and stored by the XDS Document Repository. This value is computed by the Document Repository and included in the Register Documents Set Transaction.", "comments": "The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference.", "requirements": "Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all.", "min": 0, "max": "1", "base": { "path": "Attachment.size", "min": 0, "max": "1" }, "type": [ { "code": "unsignedInt" } ], "isSummary": true, "mapping": [ { "identity": "rim", "map": "N/A (needs data type R3 proposal)" } ] }, { "id": "DocumentReference:xdsdocumentreference.content.attachment.hash", "path": "DocumentReference.content.attachment.hash", "short": "XDSDocumentEntry.hash", "definition": "Hash key of the XDS Document itself.", "comments": "This value is computed by the Document Repository and used by the Document Registry for detecting the improper resubmission of XDS Documents. If present, shall have a single value. If this attribute is received in a Provide & Register Document Set-b [ITI-41] transaction, it shall be verified by the repository with the actual hash value of the submitted document; an XDSRepositoryMetadataError shall be returned on mismatch.", "requirements": "Included so that applications can verify that the contents of a location have not changed and so that a signature of the content can implicitly sign the content of an image without having to include the data in the instance or reference the url in the signature.", "min": 0, "max": "1", "base": { "path": "Attachment.hash", "min": 0, "max": "1" }, "type": [ { "code": "base64Binary" } ], "isSummary": true, "mapping": [ { "identity": "rim", "map": ".integrityCheck[parent::ED/integrityCheckAlgorithm=\"SHA-1\"]" } ] }, { "id": "DocumentReference:xdsdocumentreference.content.attachment.title", "path": "DocumentReference.content.attachment.title", "short": "Label to display in place of the data", "definition": "A label or set of text to display in place of the data.", "requirements": "Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer.", "min": 0, "max": "1", "base": { "path": "Attachment.title", "min": 0, "max": "1" }, "type": [ { "code": "string" } ], "exampleString": "Official Corporate Logo", "isSummary": true, "mapping": [ { "identity": "rim", "map": "./title/data" } ] }, { "id": "DocumentReference:xdsdocumentreference.content.attachment.creation", "path": "DocumentReference.content.attachment.creation", "short": "Date attachment was first created", "definition": "The date that the attachment was first created.", "requirements": "This is often tracked as an integrity issue for use of the attachment.", "min": 0, "max": "1", "base": { "path": "Attachment.creation", "min": 0, "max": "1" }, "type": [ { "code": "dateTime" } ], "isSummary": true, "mapping": [ { "identity": "rim", "map": "N/A (needs data type R3 proposal)" } ] }, { "id": "DocumentReference:xdsdocumentreference.content.format", "path": "DocumentReference.content.format", "short": "Format/content rules for the document", "definition": "An identifier of the document encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType.", "comments": "Note that while IHE mostly issues URNs for format types, not all documents can be identified by a URI.", "min": 0, "max": "*", "base": { "path": "DocumentReference.content.format", "min": 0, "max": "*" }, "type": [ { "code": "Coding" } ], "isSummary": true, "binding": { "strength": "preferred", "description": "Document Format Codes.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/formatcodes" } }, "mapping": [ { "identity": "rim", "map": "document.text" }, { "identity": "xds", "map": "DocumentEntry.formatCode" } ] }, { "id": "DocumentReference:xdsdocumentreference.context", "path": "DocumentReference.context", "short": "event codes, service Start & Stop time, and facility type", "definition": "Clinical context of document - eventCodeList, serviceStart & Stop time, and facility type.", "comments": "These values are primarily added to help with searching for interesting/relevant documents.", "min": 0, "max": "1", "base": { "path": "DocumentReference.context", "min": 0, "max": "1" }, "type": [ { "code": "BackboneElement" } ], "isSummary": true, "mapping": [ { "identity": "rim", "map": "outboundRelationship[typeCode=\"SUBJ\"].target[classCode<'ACT']" } ] }, { "id": "DocumentReference:xdsdocumentreference.context.id", "path": "DocumentReference.context.id", "representation": [ "xmlAttr" ], "short": "xml:id (or equivalent in JSON)", "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "*" }, "type": [ { "code": "string" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "id": "DocumentReference:xdsdocumentreference.context.extension", "path": "DocumentReference.context.extension", "short": "Additional Content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content" ], "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "id": "DocumentReference:xdsdocumentreference.context.modifierExtension", "path": "DocumentReference.context.modifierExtension", "short": "Extensions that cannot be ignored", "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content", "modifiers" ], "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true, "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "id": "DocumentReference:xdsdocumentreference.context.encounter", "path": "DocumentReference.context.encounter", "short": "Context of the document content", "definition": "Describes the clinical encounter or type of care that the document content is associated with.", "min": 0, "max": "0", "base": { "path": "DocumentReference.context.encounter", "min": 0, "max": "1" }, "type": [ { "code": "Reference", "profile": "http://hl7.org/fhir/StructureDefinition/Encounter" } ], "isSummary": true, "mapping": [ { "identity": "rim", "map": "unique(highest(./outboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()], priorityNumber)/target[moodCode=\"EVN\" and classCode=(\"ENC\", \"PCPR\") and isNormalAct])" }, { "identity": "w5", "map": "context" } ] }, { "id": "DocumentReference:xdsdocumentreference.context.event", "path": "DocumentReference.context.event", "short": "XDSDocumentEntry.eventCodeList", "definition": "This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act.", "comments": "An event can further specialize the act inherent in the typeCode, such as where it is simply \"Procedure Report\" and the procedure was a \"colonoscopy\". If one or more eventCodes are included, they shall not conflict with the values inherent in the classCode, practiceSettingCode or typeCode, as such a conflict would create an ambiguous situation. This short list of codes is provided to be used as ???key words??? for certain types of queries.", "min": 0, "max": "*", "base": { "path": "DocumentReference.context.event", "min": 0, "max": "*" }, "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "This list of codes represents the main clinical acts being documented.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/v3-ActCode" } }, "mapping": [ { "identity": "rim", "map": ".code" }, { "identity": "xds", "map": "DocumentEntry.eventCodeList" } ] }, { "id": "DocumentReference:xdsdocumentreference.context.period", "path": "DocumentReference.context.period", "short": "XDSDocumentEntry.serviceStartTime & XDSDocumentEntry.serviceStopTime", "definition": "The start and stop time of the service being documented took place.", "comments": "At least a start date SHALL be provided.", "min": 1, "max": "1", "base": { "path": "DocumentReference.context.period", "min": 0, "max": "1" }, "type": [ { "code": "Period" } ], "isSummary": true, "mapping": [ { "identity": "rim", "map": ".effectiveTime" }, { "identity": "xds", "map": "DocumentEntry.serviceStartTime DocumentEntry.serviceStopTime" } ] }, { "id": "DocumentReference:xdsdocumentreference.context.facilityType", "path": "DocumentReference.context.facilityType", "short": "XDSDocumentEntry.healthCareFacilityTypeCode", "definition": "This code represents the type of organizational setting of the clinical encounter during which the documented act occurred.", "comments": "In some cases, the setting of the encounter is inherent in the typeCode, such as \"Diabetes Clinic Progress Note\". healthcareFacilityTypeCode shall be equivalent to or further specialize the value inherent in the typeCode; for example, where the typeCode is simply \"Clinic Progress Note\" and the value of healthcareFacilityTypeCode is \"private clinic\". The value shall not conflict with the value inherent in the typeCode, as such a conflict would create an ambiguous situation.", "min": 0, "max": "1", "base": { "path": "DocumentReference.context.facilityType", "min": 0, "max": "1" }, "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "XDS Facility Type.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/c80-facilitycodes" } }, "mapping": [ { "identity": "rim", "map": ".participation[typeCode=\"LOC\"].role[classCode=\"DSDLOC\"].code" }, { "identity": "xds", "map": "DocumentEntry.healthcareFacilityTypeCode" } ] }, { "id": "DocumentReference:xdsdocumentreference.context.practiceSetting", "path": "DocumentReference.context.practiceSetting", "short": "XDSDocumentEntry.practiceSettingCode", "definition": "XDSDocumentEntry.practiceSettingCode.", "comments": "The value set for this content has an example binding because it is a value set decided by community policy. Other examples exist for consideration: * HITSP created the table HITSP/C80 Table 2-148 Clinical Specialty Value Set (a value set based upon SNOMED CT which is referenced by Direct (XDR and XDM for Direct Messaging Specification, Version 1), as well as Nationwide Health Information Network (NHIN). Query for Documents, Web Service Interface Specification, V 3.0, 07/27/2011 * ELGA (Austria) (ELGA CDA Implementie-rungsleitfäden Registrierung von CDA Dokumenten für ELGA mit IHE Cross-Enterprise Document Sharing: XDS Metadaten (XDSDocumentEntry), [1.2.40.0.34.7.6.3] * XDS Connect-a-thon practiceSettingCode.", "requirements": "This is an important piece of metadata that providers often rely upon to quickly sort and/or filter out to find specific content.", "min": 0, "max": "1", "base": { "path": "DocumentReference.context.practiceSetting", "min": 0, "max": "1" }, "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "strength": "example", "description": "Additional details about where the content was created (e.g. clinical specialty).", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/c80-practice-codes" } }, "mapping": [ { "identity": "rim", "map": ".participation[typeCode=\"LOC\"].role[classCode=\"DSDLOC\"].code" }, { "identity": "xds", "map": "DocumentEntry.practiceSettingCode" } ] }, { "id": "DocumentReference:xdsdocumentreference.context.sourcePatientInfo", "path": "DocumentReference.context.sourcePatientInfo", "short": "Patient demographics from source", "definition": "The Patient Information as known when the document was published. May be a reference to a version specific, or contained.", "min": 0, "max": "1", "base": { "path": "DocumentReference.context.sourcePatientInfo", "min": 0, "max": "1" }, "type": [ { "code": "Reference", "profile": "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary": true, "mapping": [ { "identity": "rim", "map": ".participation[typeCode=\"SBJ\"].role[typeCode=\"PAT\"]" }, { "identity": "xds", "map": "DocumentEntry.sourcePatientInfo DocumentEntry.sourcePatientId" } ] }, { "id": "DocumentReference:xdsdocumentreference.context.related", "path": "DocumentReference.context.related", "short": "Related identifiers or resources", "definition": "Related identifiers or resources associated with the DocumentReference.", "comments": "May be identifiers or resources that caused the DocumentReference or referenced Document to be created.", "min": 0, "max": "*", "base": { "path": "DocumentReference.context.related", "min": 0, "max": "*" }, "type": [ { "code": "BackboneElement" } ], "isSummary": true, "mapping": [ { "identity": "rim", "map": "./outboundRelationship[typeCode=\"PERT\" and isNormalActRelationship()] / target[isNormalAct]" }, { "identity": "xds", "map": "DocumentEntry.referenceIdList" } ] }, { "id": "DocumentReference:xdsdocumentreference.context.related.id", "path": "DocumentReference.context.related.id", "representation": [ "xmlAttr" ], "short": "xml:id (or equivalent in JSON)", "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "*" }, "type": [ { "code": "string" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "id": "DocumentReference:xdsdocumentreference.context.related.extension", "path": "DocumentReference.context.related.extension", "short": "Additional Content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content" ], "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "id": "DocumentReference:xdsdocumentreference.context.related.modifierExtension", "path": "DocumentReference.context.related.modifierExtension", "short": "Extensions that cannot be ignored", "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content", "modifiers" ], "min": 0, "max": "*", "base": { "path": "BackboneElement.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "isSummary": true, "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "id": "DocumentReference:xdsdocumentreference.context.related.identifier", "path": "DocumentReference.context.related.identifier", "short": "Identifier of related objects or events", "definition": "Related identifier to this DocumentReference. If both id and ref are present they shall refer to the same thing.", "comments": "Order numbers, accession numbers, XDW workflow numbers.", "min": 0, "max": "1", "base": { "path": "DocumentReference.context.related.identifier", "min": 0, "max": "1" }, "type": [ { "code": "Identifier" } ], "isSummary": true, "mapping": [ { "identity": "rim", "map": "./outboundRelationship[typeCode=\"PERT\" and isNormalActRelationship()] / target[isNormalAct] .id" } ] }, { "id": "DocumentReference:xdsdocumentreference.context.related.ref", "path": "DocumentReference.context.related.ref", "short": "Related Resource", "definition": "Related Resource to this DocumentReference. If both id and ref are present they shall refer to the same thing.", "comments": "Order, DiagnosticRequest, Procedure, EligibilityRequest, etc.", "min": 0, "max": "1", "base": { "path": "DocumentReference.context.related.ref", "min": 0, "max": "1" }, "type": [ { "code": "Reference", "profile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true, "mapping": [ { "identity": "rim", "map": "./outboundRelationship[typeCode=\"PERT\" and isNormalActRelationship()] / target[isNormalAct].text.reference" } ] } ] }, "differential": { "element": [ { "id": "DocumentReference:xdsdocumentreference", "path": "DocumentReference", "name": "XDSDocumentReference", "short": "XDSDocumentEntry", "definition": "A reference to a document.", "min": 0, "max": "*" }, { "id": "DocumentReference:xdsdocumentreference.masterIdentifier", "path": "DocumentReference.masterIdentifier", "short": "XDSDocumentEntry.uniqueId", "definition": "Globally unique identifier assigned to the document by the creating entity. A DocumentEntry representing a single document is identified by the uniqueId attribute; the linkage between DocumentEntry and the Document it represents is made with the uniqueId attribute. This unique identifier may be used in other documents to reference this document.", "min": 1, "max": "1" }, { "id": "DocumentReference:xdsdocumentreference.identifier", "path": "DocumentReference.identifier", "short": "XDSDocumentEntry.referenceIdList", "definition": "Other identifiers for the document." }, { "id": "DocumentReference:xdsdocumentreference.subject", "path": "DocumentReference.subject", "short": "XDSDocumentEntry.patientId + sourcePatientId/sourcePatientInfo", "definition": "The patientId represents the subject of care of the document. The value of the patientId shall be the same for all new documents of a SubmissionSet. Patient information typically includes: the patient first and last name, sex, and birth date.", "comments": "In the context of XDS, the patientId shall be the one with use = official. The Clinical XDS Affinity Domain policies may require more or less specific information and format. This patient information is not intended to be updated once the Document is registered (just as the Document content and metadata itself will not be updated without replacing the previous document). As sourcePatientInfo may have been updated by the source actor, it may no longer be in use within the Document Source (EHR-CR). It is only intended as an audit/checking mechanism and has occasional use for Document Consumer actors.", "min": 1, "max": "1", "type": [ { "code": "Reference", "profile": "http://hl7.org/fhir/StructureDefinition/Patient" } ] }, { "id": "DocumentReference:xdsdocumentreference.type", "path": "DocumentReference.type", "short": "XDSDocumentEntry.typeCode", "definition": "The code specifying the particular kind of document (e.g. Prescription, Discharge Summary, Report). It is suggested that the XDS Affinity Domain draws these values from a coding scheme providing a coarse level of granularity (about 10 to 100 entries). Shall have a single value." }, { "id": "DocumentReference:xdsdocumentreference.class", "path": "DocumentReference.class", "short": "XDSDocumentEntry.classCode", "definition": "A categorization for the type of the document. This may be implied by or derived from the code specified in the Document Type.", "comments": "XDSDocumentEntry.typeCode.", "min": 1, "max": "1" }, { "id": "DocumentReference:xdsdocumentreference.author", "path": "DocumentReference.author", "short": "XDSDocumentEntry.author", "definition": "Represents the humans and/or machines that authored the document.", "min": 1, "max": "*", "type": [ { "code": "Reference", "profile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "profile": "http://hl7.org/fhir/StructureDefinition/Device" } ] }, { "id": "DocumentReference:xdsdocumentreference.custodian", "path": "DocumentReference.custodian", "short": "n/a", "definition": "Org which maintains the document.", "min": 0, "max": "0" }, { "id": "DocumentReference:xdsdocumentreference.authenticator", "path": "DocumentReference.authenticator", "short": "??", "definition": "Represents a participant who has legally authenticated or attested the document within the authorInstitution. Legal authentication implies that a document has been signed manually or electronically by the legalAuthenticator.", "type": [ { "code": "Reference", "profile": "http://hl7.org/fhir/StructureDefinition/Practitioner" } ] }, { "id": "DocumentReference:xdsdocumentreference.created", "path": "DocumentReference.created", "short": "XDSDocumentEntry.creationTime", "definition": "Represents the time the author created the document in the Document Source.", "min": 1, "max": "1" }, { "id": "DocumentReference:xdsdocumentreference.indexed", "path": "DocumentReference.indexed", "short": "XDS submission time or XDSDocumentEntry.creationTime if unknown", "definition": "When this document reference created.", "min": 1, "max": "1" }, { "id": "DocumentReference:xdsdocumentreference.status", "path": "DocumentReference.status", "short": "implied by XDS workflow", "definition": "This attribute is always set to Approved as part of the submission of new XDS Documents. It may be changed to Deprecated under the primary responsibility of the Document Source with possible patient supervision. Although XDS supports the ability to delete documents, there is no such state as ???the Document Entry is removed??? (only an audit trail is kept if such a deletion is allowed)." }, { "id": "DocumentReference:xdsdocumentreference.docStatus", "path": "DocumentReference.docStatus", "definition": "Status of the underlying document.", "min": 0, "max": "0" }, { "id": "DocumentReference:xdsdocumentreference.relatesTo", "path": "DocumentReference.relatesTo", "short": "Relationships that this document has with other document references that already exist", "definition": "Relationships to other documents." }, { "id": "DocumentReference:xdsdocumentreference.relatesTo.code", "path": "DocumentReference.relatesTo.code", "short": "The type of relationship that this document has with anther document", "definition": "supersedes | transforms | signs | appends.", "comments": "If this document appends another document, then the document cannot be fully understood without also accessing the referenced document." }, { "id": "DocumentReference:xdsdocumentreference.relatesTo.target", "path": "DocumentReference.relatesTo.target", "short": "The target document of this relationship", "definition": "Target of the relationship." }, { "id": "DocumentReference:xdsdocumentreference.description", "path": "DocumentReference.description", "short": "XDSDocumentEntry.title", "definition": "Represents the title of the document." }, { "id": "DocumentReference:xdsdocumentreference.securityLabel", "path": "DocumentReference.securityLabel", "short": "XDSDocumentEntry.confidentialityCode", "definition": "The code specifying the level of confidentiality of the XDS Document. These codes are specific to an XDS Affinity Domain.", "comments": "Enforcement and issues related to highly sensitive documents are beyond the scope of XDS (see security section). confidentialityCode is part of a codification scheme and value set enforced by the Document Registry.", "min": 1, "max": "1" }, { "id": "DocumentReference:xdsdocumentreference.content", "path": "DocumentReference.content" }, { "id": "DocumentReference:xdsdocumentreference.content.attachment", "path": "DocumentReference.content.attachment" }, { "id": "DocumentReference:xdsdocumentreference.content.attachment.contentType", "path": "DocumentReference.content.attachment.contentType", "short": "XDSDocumentEntry.mimeType", "definition": "MIME type of the document in the Repository.", "min": 1, "max": "1" }, { "id": "DocumentReference:xdsdocumentreference.content.attachment.language", "path": "DocumentReference.content.attachment.language", "short": "XDSDocumentEntry.languageCode", "definition": "Specifies the human language of character data in the document. The values of the attribute are language identifiers as described by the IETF (Internet Engineering Task Force) RFC 3066.", "comments": "This value may further be restricted by the registry according to XDS Affinity Domain specific policy." }, { "id": "DocumentReference:xdsdocumentreference.content.attachment.url", "path": "DocumentReference.content.attachment.url", "short": "repository location (by implication & configuration)", "definition": "Where to access the document." }, { "id": "DocumentReference:xdsdocumentreference.content.attachment.size", "path": "DocumentReference.content.attachment.size", "short": "XDSDocumentEntry.size", "definition": "Size in bytes of the byte stream that was provided in the Register and Provide Transaction and stored by the XDS Document Repository. This value is computed by the Document Repository and included in the Register Documents Set Transaction." }, { "id": "DocumentReference:xdsdocumentreference.content.attachment.hash", "path": "DocumentReference.content.attachment.hash", "short": "XDSDocumentEntry.hash", "definition": "Hash key of the XDS Document itself.", "comments": "This value is computed by the Document Repository and used by the Document Registry for detecting the improper resubmission of XDS Documents. If present, shall have a single value. If this attribute is received in a Provide & Register Document Set-b [ITI-41] transaction, it shall be verified by the repository with the actual hash value of the submitted document; an XDSRepositoryMetadataError shall be returned on mismatch." }, { "id": "DocumentReference:xdsdocumentreference.context", "path": "DocumentReference.context", "short": "event codes, service Start & Stop time, and facility type", "definition": "Clinical context of document - eventCodeList, serviceStart & Stop time, and facility type.", "min": 0, "max": "1" }, { "id": "DocumentReference:xdsdocumentreference.context.encounter", "path": "DocumentReference.context.encounter", "min": 0, "max": "0" }, { "id": "DocumentReference:xdsdocumentreference.context.event", "path": "DocumentReference.context.event", "short": "XDSDocumentEntry.eventCodeList", "definition": "This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act.", "comments": "An event can further specialize the act inherent in the typeCode, such as where it is simply \"Procedure Report\" and the procedure was a \"colonoscopy\". If one or more eventCodes are included, they shall not conflict with the values inherent in the classCode, practiceSettingCode or typeCode, as such a conflict would create an ambiguous situation. This short list of codes is provided to be used as ???key words??? for certain types of queries." }, { "id": "DocumentReference:xdsdocumentreference.context.period", "path": "DocumentReference.context.period", "short": "XDSDocumentEntry.serviceStartTime & XDSDocumentEntry.serviceStopTime", "definition": "The start and stop time of the service being documented took place.", "comments": "At least a start date SHALL be provided.", "min": 1, "max": "1" }, { "id": "DocumentReference:xdsdocumentreference.context.facilityType", "path": "DocumentReference.context.facilityType", "short": "XDSDocumentEntry.healthCareFacilityTypeCode", "definition": "This code represents the type of organizational setting of the clinical encounter during which the documented act occurred.", "comments": "In some cases, the setting of the encounter is inherent in the typeCode, such as \"Diabetes Clinic Progress Note\". healthcareFacilityTypeCode shall be equivalent to or further specialize the value inherent in the typeCode; for example, where the typeCode is simply \"Clinic Progress Note\" and the value of healthcareFacilityTypeCode is \"private clinic\". The value shall not conflict with the value inherent in the typeCode, as such a conflict would create an ambiguous situation." }, { "id": "DocumentReference:xdsdocumentreference.context.practiceSetting", "path": "DocumentReference.context.practiceSetting", "short": "XDSDocumentEntry.practiceSettingCode", "definition": "XDSDocumentEntry.practiceSettingCode." } ] } }