Back To Index  <<  Back To Templates

pending Template  Comment Activity

Template 2.16.840.1.113883.10.20.22.4.64 - CommentActivity
Id 2.16.840.1.113883.10.20.22.4.64
Version valid from 2013‑01‑31 status pending Under pre-publication review
Classification CDA Entry Level Template
Context Parent nodes of template element with id 2.16.840.1.113883.10.20.22.4.64
Open/Closed Open (other than defined elements are allowed)
Description Comments are free text data that cannot otherwise be recorded using data elements already defined by this specification. They are not to be used to record information that can be recorded elsewhere. For example, a free text description of the severity of an allergic reaction would not be recorded in a comment.
Item DT Card Conf Description Label
cda:act
Data elements defined elsewhere in the specification SHALL NOT be recorded using the Comment Activity (CommentActivity)
treetree @classCode
1 .. 1 F ACT
treetree @moodCode
1 .. 1 F EVN
treetree cda:templateId
1 .. 1 M SHALL contain exactly one [1..1] templateId (CONF:9427) such that it conf‑9427
treeblank treetree @root
1 .. 1 F 2.16.840.1.113883.10.20.22.4.64
treetree cda:code
1 .. 1 M SHALL contain exactly one [1..1] code (CONF:9428). conf‑9428
treeblank treetree @code
1 .. 1 F 48767-8
treeblank treetree @codeSystem
1 .. 1 F 2.16.840.1.113883.6.1 (LOINC)
treetree cda:text
1 .. 1 M SHALL contain exactly one [1..1] text (CONF:9430). conf‑9430
treeblank treetree cda:reference
1 .. 1 M This text SHALL contain exactly one [1..1] reference (CONF:15967).

This reference/@value SHALL begin with a '#' and SHALL point to its corresponding narrative (using the approach defined in CDA Release 2, section 4.3.5.1)
conf‑15967
treeblank treeblank treetree @value
1 .. 1 R
  Schematron assert role red error
  test count(cda:text/cda:reference[@value])=0 or starts-with(cda:text/cda:reference/@value, '#')
  Message This reference/@value SHALL begin with a '#' and SHALL point to its corresponding narrative (using the approach defined in CDA Release 2, section 4.3.5.1)
treeblank treetree cda:reference/@value
1 .. 1 M This text SHALL contain exactly one [1..1] reference/@value (CONF:9431). conf‑9431
treetree cda:author
0 .. 1 MAY contain zero or one [0..1] author (CONF:9433). conf‑9433
treeblank treetree cda:time
1 .. 1 M The author, if present, SHALL contain exactly one [1..1] time (CONF:9434). conf‑9434
treeblank treetree cda:assignedAuthor
1 .. 1 M The author, if present, SHALL contain exactly one [1..1] assignedAuthor (CONF:9435).

SHALL include assignedPerson/name or representedOrganization/name

An assignedPerson/name SHALL be a conformant US Realm Person Name (PN.US.FIELDED) (2.16.840.1.113883.10.20.22.5.1.1)
conf‑9435
treeblank treeblank treetree cda:id
1 .. 1 M This assignedAuthor SHALL contain exactly one [1..1] id (CONF:9436). conf‑9436
treeblank treeblank treetree cda:addr
1 .. 1 M This assignedAuthor SHALL contain exactly one [1..1] addr (CONF:9437).

The content of addr SHALL be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2)
conf‑9437
  Schematron assert role red error
  test cda:author/cda:assignedAuthor/cda:addr[cda:streetAddressLine and cda:city and ((not(cda:country) or cda:country!='US') or (cda:country='US' and cda:state and cda:postalCode))]
  Message The content of addr SHALL be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2)
  Schematron assert role red error
  test cda:assignedPerson/cda:name or cda:representedOrganization/cda:name
  Message SHALL include assignedPerson/name or representedOrganization/name
  Schematron assert role red error
  test cda:assignedPerson/cda:name[cda:given and cda:family] or (count(cda:assignedPerson/cda:name[*])=0 and string-length(cda:assignedPerson/cda:name)!=0)
  Message An assignedPerson/name SHALL be a conformant US Realm Person Name (PN.US.FIELDED) (2.16.840.1.113883.10.20.22.5.1.1)