The formal definitions for the elements in the documentheader resource. Also available as an XML file.
DocumentHeader |
Definition | A documentation of healthcare-related information that is assembled together into a single statement of meaning that establishes its own context. A document is composed of a set of resources that include both human and computer readable portions. A human may attest to the accuracy of the human readable portion, and may authenticate and/or sign the entire whole. A document may be kept as a set of logically linked resources, or they may be bundled together in an atom feed |
Control | 1..1 |
Requirements | For document based framework |
Comments | While the focus of this specification is on patient-specific clinical documents, this resource can also apply to other healthcare-related documents such as study protocol designs, healthcare invoices and other activities that are not necessarily patient-specific or clinical |
RIM Mapping | Document[classCode="DOC" and moodCode="EVN" and isNormalAct()] |
To Do | Confidentiality? Language? Consent? Signatures |
DocumentHeader.id |
Definition | The unique system identifier of the document |
Control | 1..1 |
Type | id |
Must Understand | true |
Requirements | Each document needs a unique identifier so that other documents and underlying infrastructure can reference it |
Comments | Must be globally unique. UUIDs are recommended |
RIM Mapping | unique(./id[isNormalDatatype() and displayable="false" and scope="OBJ" and reliability="ISS"]) |
DocumentHeader.instant |
Definition | the document creation time, when the document first came into being. Where the CDA document is a transform from an original document in some other format, the ClinicalDocument.effectiveTime is the time the original document is created. |
Control | 1..1 |
Type | instant |
Must Understand | true |
Requirements | Creation time is used for tracking, organizing versions and searching. |
RIM Mapping | ./effectiveTime[type="TS"] |
DocumentHeader.type |
Definition | Specifying the particular kind of document (e.g. History and Physical, Discharge Summary, Progress Note) |
Control | 1..1 |
Type | CodeableConcept from DocumentType |
Must Understand | true |
Requirements | Key metadata element describing the document, used in searching/filtering. |
RIM Mapping | ./code |
DocumentHeader.title |
Definition | Official human-readable label for the document |
Control | 0..1 |
Type | string |
Requirements | Helps humans to assess whether the document is of interest |
Comments | It's commonly the case that clinical documents do not have a title and are collectively referred to by the display name of Document.type (e.g. a "consultation" or "progress note"). Where these display names are rendered to the clinician or where the document has a unique title, the Document.title value should be used |
RIM Mapping | ./title |
DocumentHeader.replaces |
Definition | Identifies the document this document supersedes, if any. |
Control | 0..1 |
Type | id |
Must Understand | true |
Requirements | Used to establish relationships between documents to determine which is the most current/authoritative. |
RIM Mapping | unique(highest(./outboundRelationship[typeCode="RPLC and isNormalActRelationship()], priorityNumber)/target[classCode="DOC" and moodCode="EVN" and isNormalAct]/id[isNormalDatatype() and displayable="false" and scope="OBJ" and reliability="ISS"]) |
DocumentHeader.enterer |
Definition | The person or device that performed the data entry leading to this document. Where there is more than one candidate, pick the most proximal to the document creation or capture on a per-section basis. |
Control | 0..1 |
Type | Resource(Agent) |
Requirements | Identifies who is responsible for the entry of the data. |
Comments | Can provide other enterers in extensions |
RIM Mapping | unique(highest(./participation[typeCode="INT" and isNormalParticipation], priorityNumber)/role[classCode="ASSIGNED" and isNormalRole]/player[determinerCode="INST" and classCode=("DEV", "PSN") and isNormalEntity()]) |
DocumentHeader.subject |
Definition | Identifies the primary subject of the document. |
Control | 1..1 |
Type | Resource(Patient|Group|Device) |
Must Understand | true |
Requirements | Essential metadata for searching for the document, identifies who the document applies to |
Comments | For clinical documents, this is usually the patient. |
RIM Mapping | unique(./participation[typeCode="SBJ" and isNormalParticipation]/role[typeCode="PAT"])
or
unique(./participation[typeCode="SBJ" and isNormalParticipation]/role[typeCode="IDENT"]/player[determinerCode="INST" and classCode=("DEV", "ORG") and isNormalEntity()]) |
To Do | Need to extend this to support documents with other types of subjects. Also rationalize with encounter & context elements |
DocumentHeader.informant |
Definition | Identifies the source that recounted the information recorded |
Control | 0..1 |
Type | Resource(Person) |
Requirements | Provides context as to the potential accuracy of the information |
Comments | Generally used if information is sourced from a non-clinician (patient, relative, etc.) |
RIM Mapping | unique(highest(./participation[typeCode="INF" and isNormalParticipation], priorityNumber)/role[classCode="ASSIGNED" and isNormalRole]/player[determinerCode="INST" and classCode=("DEV", "PSN") and isNormalEntity()]) |
DocumentHeader.author |
Definition | Identifies who is responsible for the information in the document. (Not necessarily who typed it in.) |
Control | 1..* |
Type | Resource(Agent) |
Requirements | Identifies who is responsible for the content. |
RIM Mapping | ./participation[typeCode="AUT" and isNormalParticipation]/role[classCode="ASSIGNED" and isNormalRole()] |
DocumentHeader.attester |
Definition | A participant who has attested to the accuracy of the document |
Control | 0..* |
Requirements | Identifies responsibility for the accuracy of the document content. |
RIM Mapping | ./participation[typeCode="AUTHEN" and isNormalParticipation] |
DocumentHeader.attester.mode |
Definition | The type of attestation the authenticator offers |
Control | 1..1 |
Type | code from DocumentAuthenticationMode |
Requirements | Indicates the level of officialness of the attestation. |
RIM Mapping | unique(./modeCode) |
DocumentHeader.attester.time |
Definition | When document was attested by the party |
Control | 0..1 |
Type | dateTime |
Requirements | Identifies when the information in the document was deemed accurate. (Things may have changed since then.) |
RIM Mapping | ./time[type="TS" and isNormalDatatype()] |
DocumentHeader.attester.party |
Definition | Who attested the document in the specified way |
Control | 0..1 |
Type | Resource(Agent|Organization) |
Requirements | Identifies who has taken on the responsibility for accuracy of the document content. |
RIM Mapping | ./role[classCode="ASSIGNED" and isNormalRole]/player[determinerCode="INST" and classCode=("DEV", "PSN") and isNormalEntity()]
or
./role[classCode="ASSIGNED" and isNormalRole and not(player)]/scoper[determinerCode="INST" and classCode="ORG" and isNormalEntity()] |
DocumentHeader.recipient |
Definition | Identifies the people and organisations for whom the document is intended |
Control | 0..* |
Type | Resource(Agent|Organization) |
Requirements | Used for routing and also provides context as to intended audience. |
RIM Mapping | ./participation[typeCode="RCV" and isNormalParticipation]/role[classCode="ASSIGNED" and isNormalRole]
or
./participation[typeCode="RCV" and isNormalParticipation]/role[classCode="ASSIGNED" and isNormalRole and not (player)]/scoper[classCode="ORG" and determinerCode="INST" and isNormalEntity()] |
DocumentHeader.custodian |
Definition | Identifies the organization or group who is responsible for ongoing maintenance of and access to the document. |
Control | 1..1 |
Type | Resource(Organization) |
Requirements | Identifies where to go to find the current version, where to report issues, etc. |
RIM Mapping | ./participation[typeCode="RCV" and isNormalParticipation]/role[classCode="CUST" and isNormalRole and not (player)]/scoper[classCode="ORG" and determinerCode="INST" and isNormalEntity()] |
DocumentHeader.context |
Definition | The main Act, such as a colonoscopy or an appendectomy, being documented |
Control | 0..1 |
Type | Resource(Any) |
Requirements | Provides context for the document and creates a linkage between a resource describing an event and the document created describing the event. |
Comments | The event needs to be consistent with the type element, though can provide further information if desired |
RIM Mapping | unique(highest(./outboundRelationship[typeCode="SUBJ" and isNormalActRelationship()], priorityNumber)/target[moodCode="EVN" and isNormalAct]) |
DocumentHeader.encounter |
Definition | Describes the clinical encounter or type of care this document is associated with. |
Control | 0..1 |
Type | Resource(Admission|InterestOfCare) |
Requirements | Provides context for the document and supports searching. |
RIM Mapping | unique(highest(./outboundRelationship[typeCode="SUBJ" and isNormalActRelationship()], priorityNumber)/target[moodCode="EVN" and classCode=("ENC", "PCPR") and isNormalAct]) |
DocumentHeader.stylesheet |
Definition | A fixed stylesheet to use when rendering the documents |
Control | 0..1 |
Type | Attachment |
RIM Mapping | N/A |
DocumentHeader.representation |
Definition | An alternative representation of the document that can be used in place of the html based rendering |
Control | 0..1 |
Type | Attachment |
Requirements | Support for CDA level 1 |
Comments | Typically, this is application/pdf |
DocumentHeader.section |
Definition | Identifies a main topic within the document's table of contents |
Control | 0..* |
Requirements | Adds organization and human navigability to the information in the document. |
RIM Mapping | ./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct] |
DocumentHeader.section.type |
Definition | A code identifying the kind of content contained within the section |
Control | 0..1 |
Type | CodeableConcept from DocumentSectionType |
Requirements | Provides computable standardized labels to topics within the document. |
RIM Mapping | ./code |
DocumentHeader.section.instant |
Definition | Identifies when the content of the section was created |
Control | 0..1 |
Type | instant |
Comments | Sections are often re-used in several documents, thus the creation time of a section may differ from that of the document |
RIM Mapping | ./effectiveTime[type="TS" and isNormalDatatype()] |
DocumentHeader.section.author |
Definition | Identifies who is responsible for the information in the section. (Not necessarily who typed it in.) |
Control | 0..1 |
Type | Resource(Agent) |
Requirements | Identifies who is responsible for the content. |
RIM Mapping | ./participation[typeCode="AUT" and isNormalParticipation]/role[classCode="ASSIGNED" and isNormalRole]/player[determinerCode="INST" and classCode=("DEV", "PSN") and isNormalEntity()] |
DocumentHeader.section.enterer |
Definition | The person or device that performed the data entry leading to this section. Where there is more than one candidate, pick the most proximal to the document creation. |
Control | 0..1 |
Type | Resource(Agent) |
Requirements | Identifies who is responsible for the entry of the data. |
Comments | Can provide other enterers in extensions |
RIM Mapping | unique(highest(./participation[typeCode="INT" and isNormalParticipation], priorityNumber)/role[classCode="ASSIGNED" and isNormalRole]/player[determinerCode="INST" and classCode=("DEV", "PSN") and isNormalEntity()]) |
DocumentHeader.section.subject |
Definition | Identifies the primary subject of the section. |
Control | 0..1 |
Type | Resource(Patient|Group|Device) |
Must Understand | true |
Requirements | Subjects can vary, for example mother/baby, patient & relatives, etc. |
RIM Mapping | unique(./participation[typeCode="SBJ" and isNormalParticipation]/role[typeCode="PAT"])
or
unique(./participation[typeCode="SBJ" and isNormalParticipation]/role[typeCode="IDENT"]/player[determinerCode="INST" and classCode=("DEV", "ORG") and isNormalEntity()]) |
DocumentHeader.section.informant |
Definition | Identifies the source that recounted the information recorded |
Control | 0..1 |
Type | Resource(Person) |
Requirements | Provides context as to the potential accuracy of the information |
Comments | Generally used if information is sourced from a non-clinician (patient, relative, etc.) |
RIM Mapping | unique(highest(./participation[typeCode="INF" and isNormalParticipation], priorityNumber)/role[classCode="ASSIGNED" and isNormalRole]/player[determinerCode="INST" and classCode=("DEV", "PSN") and isNormalEntity()]) |
DocumentHeader.section.content |
Definition | Identifies the discrete data that provides the content for the section. |
Control | 0..1 |
Type | Resource(Any) |
Must Understand | true |
Requirements | Conveys the discrete data associated with the document. |
Comments | Because documents represent point-in-time snapshots, resource references should generally be to a specific version. |
RIM Mapping | unique(./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode!="DOCSECT" and isNormalAct]) |
To Do | This may need to be 0..*. May need to consider adding text here to to account for missing resources. |
DocumentHeader.section.text |
Definition | Provides the text view of the section. |
Control | 0..1 |
Type | Narrative |
Comments | This will most commonly be used when there is no "content" resource or when the content resource does not provide a "text" element. |
RIM Mapping | ./text[mimeType="text/xhtml"] |
DocumentHeader.section.section |
Definition | Identifies a subtopic within the section as part of the document's table of contents |
Control | 0..* |
Type | @DocumentHeader.Section |
Requirements | Allows more complex document structures |
RIM Mapping | ./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct] |
DocumentHeader.extension |
Definition | See Extensions |
Control | 0..* |
Type | Extension |
RIM Mapping | N/A |
DocumentHeader.text |
Definition | |
Control | 1..1 |
Type | Narrative |
Must Understand | true |
RIM Mapping | ./text[mimeType="text/plain"] |