Medical Document Binding to XDS, XDM and XDR

From IHE Wiki
Revision as of 12:38, 11 May 2007 by Kboone (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Medical Document Binding to XDS, XDM and XDR

This binding defines a transformation that generates metadata for the XDSDocumentEntry element of appropriate transactions from the XDS, XDM and XDR profiles given a medical document and information from other sources. The medical document refers to the document being stored in a repository that will be referenced in the registry. The other sources of information include the configuration of the Document Source actor, the Affinity Domain, the site or facility, local agreements, other documents in the registry/repository, and this Content Profile.

The source for all required and optional attributes have been defined in this section. Three tables describe the three main XDS object types: XDSDocumentEntry, XDSSubmissionSet, and XDSFolder. XDSSubmissionSet and XDSDocumentEntry are required. Use of XDSFolder is optional.

The columns of the following tables are:

  • <XXX> attribute – name of an XDS attribute.
  • Optional? - Indicates the required status of the XDS attribute, and is one of R, R2, or O (optional). This column is filled with the values specified in the XDS Profile as a convenience.
  • Constrained? – Indicates where this Content Profile further constrains this attribute.
  • Extended Discussion? – Indicates which section provides addition details of the handling of this attribute.
  • Source Type – Will contain one of the following values:
Source Type Description
SA Source document Attribute – value is copied directly from source document. The Source/Value column identifies where in the source document this attribute comes from. Specify the location in XPath when possible.
SAT Source document Attribute with Transformation – value is copied from source document and transformed. The Source/Value column identifies where in the source document this attribute comes from. Specify the location in XPath when possible. Extended Discussion column must not be empty and the transform must be defined in the extended discussion
FM Fixed (constant) by Mapping - for all source documents. Source/Value column contains the value to be used in all documents.
FAD Fixed by Affinity Domain – value configured into Affinity Domain, all documents will use this value.
CAD Coded in Affinity Domain – a list of acceptable codes are to be configured into Affinity Domain. The value for this attribute shall be taken from this list.
CADT Coded in Affinity Domain with Transform - a list of acceptable codes are to be configured into Affinity Domain. The value for this attribute shall be taken from this list.
n/a Not Applicable – may be used with an optionality R2 or O attribute to indicate it is not to be used.
DS Document Source – value comes from the Document Source actor. Use Source/Value column or Extended Discussion to give details.
O Other – Extended Discussion must be 'yes' and details given in an Extended Discussion.

1. Source/Value – This column indicates the source or the value used.

The following tables are intended to be summaries of the mapping and transforms. The accompanying sections labeled 'Extended Discussion' are to contain the details as necessary.

XDSDocumentEntry Metadata

XDSDocumentEntry
Attribute
Optional? Constrained?
Extended Discussion? Source Type Source/ Value
authorSpecialty R2   4.1.2.1 CAD  
authorInstitution R2     SA /ClinicalDocument/author
/assignedAuthor
/representedOrganization/name
authorPerson R2   4.1.2.2 SAT $person <= /ClinicalDocument/author
classCode R   4.1.2.3 CADT Must be consistent with /ClinicalDocument/code/@code
classCodeDisplayName R   4.1.2.4 CADT Must be Consitent with /ClinicalDocument/code/@code
confidentialityCode R   4.1.2.5 CADT /ClinicalDocument/
confidentialityCode/@code
creationTime R     SA /ClinicalDocument/effectiveTime
eventCodeList O
  4.1.2.6 CADT  
eventCodeDisplay
NameList
R
(if event
Code is valued)
    CADT  
formatCode R   4.1.2.7 FM /ClinicalDocument/templateId
healthcareFacility
TypeCode
R
  4.1.2.8 O Must be concistent with /clinicalDocument/code
healthcareFacility
TypeCodeDisplay
Name
R   4.1.2.8 O Must be concistent with /clinicalDocument/code
intendedRecipient R2   4.1.2.2 SAT $person <= /ClinicalDocument/intendedRecipient
languageCode R     SA /ClinicalDocument/languageCode
legalAuthenticator O   4.1.2.2 SAT $person <= /ClinicalDocument/
legalAuthenticator
mimeType R     FM text/xml
parentDocument
Relationship
R
(when applicable)
    SA /ClinicalDocument/relatedDocument/@typeCode
parentDocumentId R
(when parent
Document
Relationship is present)
  4.1.2.9 SAT $docID <= /ClinicalDocument/
relatedDocument/parentDocument/
id
patientId R   4.1.2.10 SAT $patID <= /ClinicalDocument/recordTarget/
patientRole/id
practiceSettingCode R
  4.1.2.11 CAD  
practiceSettingCode DisplayName R   4.1.2.10 CAD  
serviceStartTime R2     SA /ClinicalDocument/documentationOf/
serviceEvent/effectiveTime/low/
@value
serviceStopTime R2     SA /ClinicalDocument/documentationOf/
serviceEvent/effectiveTime/high/
@value
sourcePatientId R     DS  
sourcePatientInfo R     DS  
Title O     SA /ClinicalDocument/title
typeCode R
    SA /ClinicalDocument/code/@code
typeCodeDisplay
Name
R     SA /ClinicalDocument/code/@displayName
uniqueId R   4.1.2.12 SAT $docID <= /ClinicalDocument/id

Extended Discussion of XDSDocumentEntry Metadata

authorSpecialty

This metadata element should be based on a detailed defined classification system for healthcare providers such as those found in SNOMED-CT, or the HIPPA Healthcare Provider Taxonomy.

authorPerson, legalAuthenticator and intendedRecipient

The author, legal authenticator or intendedRecipient can be formatted using the following XPath expression, where $person in the expression below represents /ClinicalDocument/author, /ClinicalDocument/legalAuthenticator or /ClinicalDocument/intendedRecipient respectively.

concat(

$person/id/@extension,"^",

$person/assignedPerson/name/family,"^",

$person/assignedPerson/name/given,"^",

$person/assignedPerson/name/middle,"^",

$person/assignedPerson/name/suffix,"^",

$person/assignedPerson/name/prefix,"^",

$person/assignedPerson/name/degree,"^^&",

$person/id/@root,"&ISO"

)

classCode

Derived from a mapping of /ClinicalDocument/code/@code to an Affinity Domain specified coded value to use and coding system.

Affinity Domains are encouraged to use the appropriate value for Type of Service, based on the LOINC Type of Service [see Page 53 of the LOINC User's Manual].

classCodeDisplayName

DisplayName of the classCode derived.Derived from a mapping of /ClinicalDocument/code/@code to the appropriate Display Name based on the Type of Service.

ConfidentialityCode

Derived from a mapping of /ClinicalDocument/confidentialityCode/@code to an Affinity Domain specified coded value and coding system.

EventCodeList and eventCodeDisplayNameList

These values express a collection of keywords that may be relevant to the consumer of the documents in the registry. Public comment is sought on what value sets would be of use.

formatCode

The format code shall be the OID associated with the template identifier used to identify the content module that the document conforms to. See PCC TF-2:5.1.2 for a list of values that can be used as format codes.

healthcareFacilityTypeCode and healthcareFacilityTypeCodeDisplayName

A fixed value assigned to the Document Source and configured form a set of Affinity Domain defined values.

parentDocumentId and uniqueId

The parentDocumentId and/or uniqueId can be formatted using the following XPath expression, where $docID in the expression below represents the appropriate identifier.

concat($docID/@root,"^", $docID/@extension)

patientId

The patientId can be formatted using the following XPath expression, where $patID in the expression below represents the appropriate identifier.

concat($patID/@extension,"^^^&", $patID/@root, "&ISO")

practiceSettingCode and practiceSettingCodeDisplayName

These elements should be based on a coarse classification system for the class of specialty practice. Recommend the use of the classification system for Practice Setting, such as that described by the Subject Matter Domain in LOINC.

uniqueId

concat($docID/@root,"^", $docID/@extension)

XDSSubmissionSet Metadata

XDSSubmissionSet
attribute
Optional? Constrained? Extended Discussion? Source Type Source/ Value
authorDepartment R2   Yes CAD See 1.4.1.2.1
authorInstitution R2     SA /ClinicalDocument/author/assignedAuthor
/representedOrganization/name
authorPerson O R2 Yes SAT $person <= /ClinicalDocument/author
See 1.4.1.2.2
comments R2   Yes   string(//section[@code='42349-1']/text)
This is the reason for referral if present.
contentTypeCode R     CAD  
contentTypeCode
DisplayName
R     CAD  
patientId R   Yes SAT $patID <= /ClinicalDocument/recordTarget
/patientRole/id
See 1.4.1.2.6
sourceId R     DS  
submissionTime R     DS  
uniqueId R        

Use of XDS Submission Set

This content format uses the XDS Submission Set to create a package of information to send from one provider to another. All documents referenced by the Medical Summary in this Package must be in the submission set.

Use of XDS Folders

No specific requirements identified.

Configuration

This Medical Summary Content Profile requires that Content Creators and Content Consumers using these documents be configured with institution and other specific attributes or parameters. Implementers should be aware of these requirements to make such attributes easily configurable. There shall be a mechanism for the publishing and distribution of style sheets used to view medication summaries (See PCC TF-2: 5.4.1.1.2.1).