The C-CDA adapter's fixture cases
The newest run on main of the tests of cascade-bridge-adapter-ccda, read as a
tree of package, capability and situation, each with what it is for and each case linked to its source.
Failures come first within a capability, and the levels that hold one are open.
each fixture case of the adapter, run by each host of each engine it must pass with. For an agent: cascade-bridge-adapter-ccda.ctrf.json.
cascade-bridge-adapter-ccda fixture cases 254 passed
127 cases of cascade-bridge-adapter-ccda, each an entry of its test manifest or a fault the judge names that no entry does, run by an engine host and judged by the compatibility tool.
Source manifest.ttl
with cascade-bridge-rs on native 127 passed
- passed allergies-section
- passed cerner-summarization
- passed epic-summarization
- passed full-summarization
- passed immunizations-section
- passed labs-section
- passed narrative-only-section
- passed custodian-and-author
A custodian and an author naming one organization by one id: one record, its version read from the custodian; the author's address, which that version does not carry, is a finding.
- passed organizations-root-and-extension
The custodian's NPI names its organization record, the name the FHIR R4 adapter's bundle-document-custodian-and-authors gives an Organization with that NPI: cascade-vocabulary's organization-from-npi naming vector.
- passed organization-ids-in-one-order
A custodian and two authors naming one organization, each listing its ids in another order, the custodian's first an id no identifier maps from: one record, one version read from the custodian, and one attribution in each role.
- passed allergy-unii-allergen
- passed medications-ndc-translations
A Medication Activity whose material is coded in a portal's own code system, with two RxNorm translations and three NDC translations: both RxNorm codes and the two NDCs of a hyphenated form, as 11-digit codes, are carried, the portal's own code as a cascade:medicationCodeInOtherSystem literal typed by urn:oid: and the portal's OID, and the NDC of ten digits with no hyphens, whose segments cannot be told, is a finding.
- passed medication-written-date
Two prescriptions whose author states the time the prescription was written: one to the day and one to the minute with an offset. The day is cascade:prescriptionWrittenDate as an xsd:date, and the minute is that property as an xsd:dateTime padded to the second beside a node keeping the characters written. A third prescription's author time is a nullFlavor, an absent prescriptionWrittenDate. A listed medication's author time, the day its entry was recorded, is a finding and no prescriptionWrittenDate.
- passed several-ids
- passed repeated-ids
- passed download-a
- passed download-b
- passed not-a-ccda
- passed procedures
- passed shared-id
- passed negations
- passed narrative-reference-without-hash
- passed narrative-id-twice
- passed download-c
- passed download-d
- passed medications-and-results-a
- passed medications-and-results-edges
- passed results-value-kinds
Results of every kind of value but text: a quantity written with an exponent, a ratio, a range, a one-bound range as a value with the comparator <, and a coded answer as its LOINC code; a potassium whose PQ value is not a number is text, <2.5 in mmol/L, the refused number a finding; of the reference range interpreted N neither bound is typed, since its low bound is not inclusive, which is a finding, and half a range would read as one-sided; the local translation and the first range's values are findings too.
- passed results-identifiers
A result's ids as business identifiers, as HL7's CDA-to-FHIR identifier mapping makes them: a root and extension as the extension typed by urn:oid: and the root, a root alone as its urn:oid: IRI typed urn:ietf:rfc:3986, a UUID root as its urn:uuid: IRI in lower case; an id with a null flavour and one whose root is neither an OID nor a UUID give none.
- passed medications-and-results-b
- passed fingerprint-keys
- passed download-twice-names-one-allergy
- passed two-documents-name-one-custodian
Two documents whose custodians carry one id name one organization record.
- passed ids-in-two-orders-name-one-organization
Two documents whose custodians list one organization's ids in two orders name one organization record.
- passed ids-in-two-orders-scope-one-patient
Two documents whose custodians list one organization's ids in two orders, one listing first an id no identifier maps from, scope their records alike: the patient both name by one id is one record.
- passed download-twice-nullflavor-id-names-one-allergy
- passed id-bearing-differs-from-nullflavor-id
- passed one-id-two-keys-names-two-records
- passed one-id-one-key-differs-from-one-id-two-keys
- passed one-id-on-an-allergy-and-a-problem-names-two-records
- passed download-twice-id-less-problem-names-one-record
- passed download-twice-id-less-immunization-names-one-record
- passed id-bearing-procedure-differs-from-id-less
- passed download-twice-names-one-medication
- passed download-twice-id-less-medication-names-one-record
- passed download-twice-id-less-result-names-one-record
- passed two-patients
- passed no-record-target
- passed one-id-equal-keys
- passed narrative-reference-to-markup
- passed fingerprint-repeated-and-reordered
- passed custodian-ids-naming-no-organization
A custodian whose ids name no organization, a root that is neither an OID nor a UUID and the NPI's root alone: no custodian scope, so every record is named by the document, and each is a finding.
- passed id-root-with-bar
- passed fingerprint-values-reordered
- passed a-patient-of-two-is-not-named-by-its-id
- passed one-id-on-a-problem-and-a-procedure-with-equal-keys-names-two-records
- passed one-id-on-two-procedures-without-key-and-other-members-names-two-records
- passed a-value-stated-twice-names-the-record-of-it-stated-once
- passed values-in-another-order-name-one-record
- passed times-by-precision
Each time at the precision it is written: a birth time and an immunization to the month as xsd:gYearMonth, a medication's start in a year as xsd:gYear, a problem from a year to a month, and three times short of the second padded to it, each beside a node keeping the characters written: a medication's end at an hour with no offset, a procedure at an hour with one, and a result at a minute with none.
- passed null-flavors-not-listed
The null-flavors document with a nullFlavor that is no NullFlavor code wherever a time would be: a birth time, an immunization's time, a medication's end, a problem's onset, a procedure's time and a result's time, and a result value's. No reason is carried for any of them, and each is a finding, ccda:nullFlavorNotListed, valued by the nullFlavor as written.
- passed null-flavors
Each null flavour where a value or a time would be is the reason that property is absent, a node of the version naming it and the NullFlavor code: a birth time UNK, an immunization's time NI, a medication's end UNK beside its start, another's whole time UNK, which is its start of use, a problem's onset ASKU, a result's value MSK, so it has no value kind, and a result's time NAV beside its value; a result value's nullFlavor XYZ, no NullFlavor code, is carried as nothing and is a finding.
- passed concern-status-beside-a-problem-status
One problem states its status in a Problem Status Observation and another does not: the other's concern act status, completed, is the clinical status inactive, whatever the first problem states.
- passed patient-deceased
A patient whose death indicator is true and whose death time is a day: the version holds deceased true, the date of death as an xsd:date, and the administrative gender F mapped by C-CDA on FHIR's concept map to female.
- passed patient-gender-and-death-edges
Six patients, one way of stating gender and death each. UN maps to other, the map's wider row, and a death time with a value beside a false indicator is a death, its date a month. A null flavour UNK on the gender is the reason it is absent, and a null flavour on the death time beside a true indicator is the reason the date of death is absent. A gender code U, outside the map, is carried as nothing and is a finding, ccda:administrativeGenderNotMapped, and a null-flavoured indicator and time state no death, so nothing is carried for either. A false indicator alone is deceased false, and M is male. A null flavour that is no NullFlavor code on the gender and on the death time, beside a true indicator, is carried as nothing and is a finding, ccda:nullFlavorNotListed, for each. M in another code system is carried as nothing and is a finding, ccda:administrativeGenderNotMapped, and an indicator padded with spaces, " true ", is a true indicator.
- passed codes-in-other-systems
A drug coded by a formulary's code with an RxNorm translation, a problem coded in ICD-9-CM with a SNOMED CT translation, a procedure coded in HCPCS with CPT and SNOMED CT translations, and a test coded by a lab's local code with a LOINC translation. Each code in a system its kind has a term for, or for a problem and a procedure that the code system table gives an IRI stem (ICD-9-CM, CPT, SNOMED CT), is that term's IRI under the stem; every other is a literal on its kind's cascade:medicationCodeInOtherSystem, conditionCodeInOtherSystem, procedureCodeInOtherSystem or testCodeInOtherSystem, typed by the system's FHIR URI where the code system table lists its OID (HCPCS Level II) and by urn:oid: and the OID where it does not, and none is a finding.
- passed result-interpretation-in-another-system
A result flagged L in HL7 Table 0078 with a translation into HL7 ObservationInterpretation. The translation is carried, as the cascade:resultInterpretationCode L, and the flag in Table 0078 is not carried and is a finding, ccda:codeNotCarried.
- passed allergy-codes-in-other-systems
An allergy to penicillin coded in RxNorm, with translations in HCPCS Level II, HL7 ObservationInterpretation and ICD-9-CM: only the RxNorm code is carried, as the allergenCode, as before any other code system was added to the table, and each translation is the finding ccda:codeSystemNotMapped, since an allergen is never carried in another code system.
- passed result-test-code-in-snomed-ct
A result coded in SNOMED CT: the code is the IRI under SNOMED CT's stem on cascade:testCode.
- passed result-code-system-not-an-oid
A result whose code names its code system as LOINC instead of by OID: the code is not carried and is a finding, ccda:codeNotCarried.
- passed result-code-without-code
A result whose code states a code system and no code: nothing is carried for it and it is a finding, ccda:codeNotCarried.
- passed result-code-blank
A result whose code is spaces only, in LOINC: nothing is carried for it and it is a finding, ccda:codeNotCarried.
- passed result-code-system-urn-oid-capitals
A result whose LOINC code system is written URN:OID: and the OID, in capitals: the code is read as LOINC and is the IRI under LOINC's stem.
- passed condition-codes-in-nullflavor-and-data-absent-reason-systems
A problem valued UNK in v3 NullFlavor, 2.16.840.1.113883.5.1008, with a translation asked-unknown in FHIR's data-absent-reason, 2.16.840.1.113883.4.642.4.1048: neither is a cascade:conditionCode, since each is why the code is absent, so the version's #absent-conditionCode node names both as its cascade:absentReasonCode, as a FHIR Condition coded only so is written.
- passed condition-real-code-beside-absent-reason-codings
A problem valued SNOMED CT 44054006 with translations in v3 NullFlavor and FHIR's data-absent-reason: the SNOMED CT code is the one cascade:conditionCode, and the version has no #absent-conditionCode node.
- passed condition-code-nullflavor-attribute
A problem whose value states no code, only the nullFlavor UNK: no cascade:conditionCode, and the version's #absent-conditionCode node names the v3 NullFlavor code UNK as its cascade:absentReasonCode.
- passed condition-code-in-an-undefined-absent-reason
A problem valued unk, in lower case, in v3 NullFlavor with a translation FOO in FHIR's data-absent-reason, neither a code of its system: no cascade:conditionCode and no #absent-conditionCode node, since a coding that is no code of its system names no reason, and each is a finding, ccda:absentReasonNotCarried.
- passed condition-code-nullflavor-not-listed
A problem whose value states no code, only the nullFlavor XYZ, which is no code of v3 NullFlavor: no cascade:conditionCode and no #absent-conditionCode node, and a finding, ccda:nullFlavorNotListed.
- passed result-codes-padded-with-spaces
A result coded with a LOINC code padded with spaces and a translation in a lab's own code system padded with spaces: the LOINC IRI and the literal on cascade:testCodeInOtherSystem are both of the code trimmed.
- passed condition-icd9-cm-under-its-other-oids
A problem coded in ICD-9-CM under the OID FHIR R4 gives it, 2.16.840.1.113883.6.42, with a translation under the retired OID 2.16.840.1.113883.6.2: both are cascade:conditionCode IRIs under the ICD-9-CM stem.
- passed procedure-icd9-cm-procedure-oid
A procedure coded in ICD-9-CM procedure codes, OID 2.16.840.1.113883.6.104: a cascade:procedureCode IRI under the ICD-9-CM stem.
- passed procedure-two-snomed-ct-codes
A procedure with a SNOMED CT code and a SNOMED CT translation: both are carried, as cascade:procedureCode IRIs, and nothing is a finding.
- passed procedure-real-code-beside-absent-reason-codings
A procedure coded SNOMED CT 73761001 with translations in v3 NullFlavor and FHIR's data-absent-reason: the SNOMED CT code is the one cascade:procedureCode, and the version has no #absent-procedureCode node.
- passed procedure-code-nullflavor-attribute
A procedure whose code states no code, only the nullFlavor UNK: no cascade:procedureCode, and the version's #absent-procedureCode node names the v3 NullFlavor code UNK as its cascade:absentReasonCode.
- passed procedure-code-in-nullflavor-and-data-absent-reason-systems
A procedure coded UNK in v3 NullFlavor with a translation asked-unknown in FHIR's data-absent-reason: no cascade:procedureCode, and the version's #absent-procedureCode node has both as its cascade:absentReasonCode.
- passed procedure-code-in-an-undefined-absent-reason
A procedure coded unk, in lower case, in v3 NullFlavor with a translation FOO in FHIR's data-absent-reason, neither a code of its system: no cascade:procedureCode and no #absent-procedureCode node, since a coding that is no code of its system names no reason, and each is a finding, ccda:absentReasonNotCarried.
- passed procedure-code-nullflavor-not-listed
A procedure whose code states no code, only the nullFlavor XYZ, which is no code of v3 NullFlavor: no cascade:procedureCode and no #absent-procedureCode node, and a finding, ccda:nullFlavorNotListed.
- passed procedure-two-cpt-codes
A procedure with a CPT code and a different CPT translation: both are carried, as cascade:procedureCode IRIs.
- passed procedures-same-cpt-a-year-apart
Two procedures coded with the one CPT code 36415 a year apart: each is its own record, carrying cascade:procedureCode, the CPT code's IRI.
- passed result-interpretation-null-flavor
A result whose interpretationCode states a null flavour and no code: nothing is carried for it and it is no finding.
- passed result-interpretation-not-carried
A result flagged A in HL7 Table 0078 alone: the flag is not carried and is a finding, ccda:codeNotCarried.
- passed note-activity
A Note Activity in a Notes section, coded 34109-9 with the translation 11506-3, its text a reference to a narrative item holding a caption and two paragraphs: one note record, typed by the translation, named Progress note, dated by its author's time padded to the second, current, its text the item's, a line for each block.
- passed a-note-section-sent-again-names-the-same-record
A note section a source sends again, unchanged, in a later document is the same note: its name is its code and its text in the source's scope, never its document's date.
- passed a-grown-note-section-names-another-record
A note section whose text a later document of the source has grown is another note: nothing in the adapter joins it to the earlier one, which is the matcher's to rule.
- passed a-note-activity-sent-again-names-the-same-record
A Note Activity a source sends again in another document is the same note, named by its id in the source's scope.
- passed note-edges
Note sections and notes at their edges: an Assessment holding an entry, an Assessment and Plan with a null flavour and an empty History of Present Illness make no note and are sectionNotMapped; two identical Plan of Treatment sections are one note, the second's version not kept (bridge:versionNotKept), so its title is dropped; a Note Activity in base64 text/plain is decoded into its text and is its attachment; one in base64 application/pdf and one in base64 text/html each have an attachment with its media type, no text (decoded HTML would be markup), and the finding ccda:noteDataNotRead; and a Notes section entry that is no Note Activity is entryNotMapped.
- passed narrative-reference-across-breaks
Two drugs named through narrative references: a cell holding a line break and a row of two cells, each read with a space at the break (Lisinopril 10 mg tablet, Amlodipine 5 mg tablet); and a procedure with no id and no key field, named by its members, which leave out the text values the lift writes.
- passed report-time-null-flavor
Two Result Organizers: one whose effectiveTime is null-flavoured UNK, the reason its time is absent, and one whose low is null-flavoured XX, no NullFlavor code, so no reason is carried and it is the finding ccda:nullFlavorNotListed.
- passed unstructured-document-text
An Unstructured Document whose nonXMLBody holds base64 text/plain: one note, named by the document's id, typed by its code 18842-5, dated by its effectiveTime, its text the decoded body, and the body its attachment, text/plain.
- passed unstructured-document-pdf
An Unstructured Document whose nonXMLBody holds a base64 PDF: one note with its attachment, application/pdf, and no text, and the finding ccda:noteDataNotRead.
- passed unstructured-document-reference
An Unstructured Document whose nonXMLBody references a PDF file: one note whose attachment holds the media type and the file's address as written, no text, and the finding ccda:noteDataNotRead.
- passed narrative-reference-invisible
Seven drugs whose names are referenced into narrative cells holding nothing visible: a space, a no-break space, a line break, an empty content element and a zero-width space, an ideographic space, a next-line control and a line separator. None is read as a name, each falls through to the code's displayName, and each reference is ccda:referenceReadsNothing.
- passed an-amended-unstructured-document-names-the-same-note
An Unstructured Document amended (a new id, the same setId, a higher versionNumber) is a new version of the same note: an unstructured document's note is named by its setId where it states one.
- passed unstructured-document-reference-untyped
An Unstructured Document whose nonXMLBody references a file and states no media type: one note whose attachment holds the file's address and no media type, no text, and the finding ccda:noteDataNotRead with no value, since nothing says what the file is.
- passed narrative-breaks-in-blocks
A note section whose narrative holds a line break in a paragraph, a list item, a header cell and a paragraph inside a cell: each break is accounted, and the note's text holds a line at each.
- passed allergy-status-from-concern-act
Five allergies with no Allergy Status Observation, each in a concern act of its own: active is the clinical status active, and completed, aborted and suspended are inactive, HL7's wider row for each. A status outside the map, nullified, is carried as nothing and is a finding, ccda:allergyConcernStatusNotMapped.
- passed allergy-status-observation-beside-concern-act
Four allergies whose Allergy Status Observation disagrees with their concern act: resolved beside active is resolved, active beside completed is active, and inactive beside nullified is inactive, with no finding for the concern act, since the allergy states a status of its own. A fourth states a status outside the map, recurrence, beside an active concern act: it carries no status, the act is not consulted, and the finding is ccda:allergyStatusNotMapped.
- passed problem-status-from-concern-act
Five problems in concern acts of their own. Without a Problem Status Observation, active is the clinical status active, aborted and suspended are inactive, HL7's wider row for each, and nullified, outside the map, is carried as nothing and is a finding, ccda:concernStatusNotMapped. A problem whose Problem Status Observation is outside the map, on hold, beside an active concern act carries no status, the act is not consulted, and the finding is ccda:problemStatusNotMapped.
- passed status-observation-without-code
Three allergies and two problems whose status observation states no code: its value is a nullFlavor, or it has no value at all. Such an observation states no status, so the concern act is consulted: an active act is the clinical status active, a completed act is inactive, and an act outside the map, nullified, is carried as nothing and is a finding, ccda:allergyConcernStatusNotMapped or ccda:concernStatusNotMapped.
- passed results-report-beside-referenced-rows
The Results and Encounters sections of a portal's emergency department summary, trimmed to two results: each result's text references its table row, so the table and its header go and the CT report the rows sit beside, with its incidental lung nodule, is the Results section's note; the Encounters section, of a template no note was made of before and with no entry, is a note of its whole text. Each result carries its row as its narrative text. typeCode DRIV is not trusted.
- passed statement-texts-referenced
The Medications, Procedures and Encounters sections of a hospital's summary, trimmed: a medication and a procedure each reference their table row from their text, so each carries the row as its narrative text, the stop reason and the colonoscopy's repeat interval among it, and neither section makes a note; the Encounters section, with no entry, is a note of its whole text.
- passed section-text-partly-referenced
Four sections whose text entries reference in part. Immunizations: a run of text directly in the text, a table whose first row is referenced only by its vaccine's name, so the whole row goes with its other cells, and whose second row no entry references, so it stays with the table's caption and header; a list whose one item an immunization's text references, so the item is that immunization's narrative text and the list's caption goes; and ten paragraphs, two with the same text, kept in document order past the ninth slot. Allergies, Problems and Results: an allergy, a problem and a report each carry the element their text references, a problem's concern act's own text is read by no record, so the item it references stays in the Problems section's note, and the one unreferenced paragraph is the Results section's note.
- passed section-text-referenced-by-unmapped-entries
Five sections whose text a reference points into from an entry this release makes no record of. Vital Signs: a vital sign's observation references its row. Social History: an observation references its list item. Plan of Treatment: a planned observation, in the request mood, references its row beside an unreferenced paragraph. Medications: a medication activity in the request mood references its row. Each of these four sections is a note of its whole text, the references holding it for no record. Allergies: an allergy references its row, so it carries the row as its narrative text and the section makes no note.
- passed section-text-container-referenced
Three sections whose entry references a container, not something in it. Allergies: an allergy references its table, so it carries the table's text as its narrative text and the section's note is the one paragraph beside the table. Procedures: a procedure references the text element itself, so it carries the whole text and the section makes no note. Immunizations: an immunization references a tbody, so the table's caption and header, which belong beside a row kept, go with it and the section makes no note.
- passed allergy-name-in-concern-act
An allergy in the nesting C-CDA R2.1 defines, an Allergy Intolerance Observation inside the concern act's entryRelationship, whose allergen is a UNII code and a name: the name is the allergen's text and no source path is left unaccounted.
- passed procedure-time-low-only
A procedure whose effectiveTime states only its low, no value: the low is the procedure's date and no source path is left unaccounted.
- passed report-code-translation
A Result Organizer whose LOINC code has a translation in a laboratory's own code system: the translation is the report's code in another system and no source path is left unaccounted.
- passed medication-name-in-material
A prescribed medication whose manufactured material has an RxNorm code and a name, and no display name or original text: the material's name is the drug's name and no source path is left unaccounted.
- passed unstructured-document-header-not-stated
An Unstructured Document whose id, code and effectiveTime state only a nullFlavor: its note takes none of them, so the document's id, type and time are each a finding valued by the flavour, where a stated id, code and time of an unstructured document are findings of none.
- passed section-text-referenced-by-nested-observation
An allergy section whose table has two rows, the allergy's, referenced by its observation's text, and the reaction's, referenced only by the Reaction Observation nested in it: no record reads a nested observation's text, so the reaction's row leaves the section's note and is carried nowhere, and so is the table's header, every row of it being referenced. The one finding of the section's text names both.
- passed section-text-referenced-by-reaction-original-text
An allergy section whose table has a row for the allergy, referenced by its observation's text, and a row for the reaction, referenced only by the originalText of the Reaction Observation's value: allergy.rq reads that observation's displayName and code and no originalText, so the reaction's row leaves the section's note and its words are carried nowhere, and so is the table's header, every row of it being referenced. The one finding of the section's text names both.
- passed section-text-referenced-by-comment-activity
An allergy whose observation holds a Comment Activity referencing a paragraph of the section's text, beside the table row its own text references: no record reads a nested act's text, so the paragraph leaves the section's note and is carried nowhere, and so is the table's header, every row of it being referenced. The one finding of the section's text names both.
- passed section-text-referenced-beside-a-mapped-observation
A concern act holding an allergy observation and, beside it, a vital sign observation that references the name cell of a row of the section's table: no record is made of the vital sign, so document-table.rq keeps its row, with the other cell, and the table's header, in the section's note, and the section's text has no finding.
- passed unstructured-document-header-partly-stated
An Unstructured Document whose id states only an extension, whose code states only an originalText and whose effectiveTime states nothing: none is carried by its note, so the document's id and type are findings valued by what the document wrote, the extension and the originalText's text, and its time is a finding with no value, the document having written none.
- passed section-text-referenced-by-untemplated-result
A results section whose organizer holds a Result Observation and, beside it, a component with no templateId referencing the next row of the section's table: result.rq maps only the first, so no record reads the second's text, yet document-table.rq drops its row from the note, being under a mapped organizer. The one finding of the section's text names the untemplated row and the table's header, every row of it being dropped.
- passed section-text-referenced-in-a-header-row
A procedures section whose table header has two rows, the first referenced by the originalText of the procedure's code: procedure.rq reads that text, and document-table.rq keeps the header's other row, as it keeps the body's, so the section's text has no finding.
- passed entries-among-comments-and-stray-text
An Immunizations section whose entries have an XML comment, a blank line, a comment after a blank line, stray text and two comments in a row between them. An entry's position is its place among the entries, so the three immunizations are entries 1, 3 and 4, and the vital sign's entry, which this release makes no record of, is entry 2 in its finding.
with cascade-bridge-rs on node 127 passed
- passed allergies-section
- passed cerner-summarization
- passed epic-summarization
- passed full-summarization
- passed immunizations-section
- passed labs-section
- passed narrative-only-section
- passed custodian-and-author
A custodian and an author naming one organization by one id: one record, its version read from the custodian; the author's address, which that version does not carry, is a finding.
- passed organizations-root-and-extension
The custodian's NPI names its organization record, the name the FHIR R4 adapter's bundle-document-custodian-and-authors gives an Organization with that NPI: cascade-vocabulary's organization-from-npi naming vector.
- passed organization-ids-in-one-order
A custodian and two authors naming one organization, each listing its ids in another order, the custodian's first an id no identifier maps from: one record, one version read from the custodian, and one attribution in each role.
- passed allergy-unii-allergen
- passed medications-ndc-translations
A Medication Activity whose material is coded in a portal's own code system, with two RxNorm translations and three NDC translations: both RxNorm codes and the two NDCs of a hyphenated form, as 11-digit codes, are carried, the portal's own code as a cascade:medicationCodeInOtherSystem literal typed by urn:oid: and the portal's OID, and the NDC of ten digits with no hyphens, whose segments cannot be told, is a finding.
- passed medication-written-date
Two prescriptions whose author states the time the prescription was written: one to the day and one to the minute with an offset. The day is cascade:prescriptionWrittenDate as an xsd:date, and the minute is that property as an xsd:dateTime padded to the second beside a node keeping the characters written. A third prescription's author time is a nullFlavor, an absent prescriptionWrittenDate. A listed medication's author time, the day its entry was recorded, is a finding and no prescriptionWrittenDate.
- passed several-ids
- passed repeated-ids
- passed download-a
- passed download-b
- passed not-a-ccda
- passed procedures
- passed shared-id
- passed negations
- passed narrative-reference-without-hash
- passed narrative-id-twice
- passed download-c
- passed download-d
- passed medications-and-results-a
- passed medications-and-results-edges
- passed results-value-kinds
Results of every kind of value but text: a quantity written with an exponent, a ratio, a range, a one-bound range as a value with the comparator <, and a coded answer as its LOINC code; a potassium whose PQ value is not a number is text, <2.5 in mmol/L, the refused number a finding; of the reference range interpreted N neither bound is typed, since its low bound is not inclusive, which is a finding, and half a range would read as one-sided; the local translation and the first range's values are findings too.
- passed results-identifiers
A result's ids as business identifiers, as HL7's CDA-to-FHIR identifier mapping makes them: a root and extension as the extension typed by urn:oid: and the root, a root alone as its urn:oid: IRI typed urn:ietf:rfc:3986, a UUID root as its urn:uuid: IRI in lower case; an id with a null flavour and one whose root is neither an OID nor a UUID give none.
- passed medications-and-results-b
- passed fingerprint-keys
- passed download-twice-names-one-allergy
- passed two-documents-name-one-custodian
Two documents whose custodians carry one id name one organization record.
- passed ids-in-two-orders-name-one-organization
Two documents whose custodians list one organization's ids in two orders name one organization record.
- passed ids-in-two-orders-scope-one-patient
Two documents whose custodians list one organization's ids in two orders, one listing first an id no identifier maps from, scope their records alike: the patient both name by one id is one record.
- passed download-twice-nullflavor-id-names-one-allergy
- passed id-bearing-differs-from-nullflavor-id
- passed one-id-two-keys-names-two-records
- passed one-id-one-key-differs-from-one-id-two-keys
- passed one-id-on-an-allergy-and-a-problem-names-two-records
- passed download-twice-id-less-problem-names-one-record
- passed download-twice-id-less-immunization-names-one-record
- passed id-bearing-procedure-differs-from-id-less
- passed download-twice-names-one-medication
- passed download-twice-id-less-medication-names-one-record
- passed download-twice-id-less-result-names-one-record
- passed two-patients
- passed no-record-target
- passed one-id-equal-keys
- passed narrative-reference-to-markup
- passed fingerprint-repeated-and-reordered
- passed custodian-ids-naming-no-organization
A custodian whose ids name no organization, a root that is neither an OID nor a UUID and the NPI's root alone: no custodian scope, so every record is named by the document, and each is a finding.
- passed id-root-with-bar
- passed fingerprint-values-reordered
- passed a-patient-of-two-is-not-named-by-its-id
- passed one-id-on-a-problem-and-a-procedure-with-equal-keys-names-two-records
- passed one-id-on-two-procedures-without-key-and-other-members-names-two-records
- passed a-value-stated-twice-names-the-record-of-it-stated-once
- passed values-in-another-order-name-one-record
- passed times-by-precision
Each time at the precision it is written: a birth time and an immunization to the month as xsd:gYearMonth, a medication's start in a year as xsd:gYear, a problem from a year to a month, and three times short of the second padded to it, each beside a node keeping the characters written: a medication's end at an hour with no offset, a procedure at an hour with one, and a result at a minute with none.
- passed null-flavors-not-listed
The null-flavors document with a nullFlavor that is no NullFlavor code wherever a time would be: a birth time, an immunization's time, a medication's end, a problem's onset, a procedure's time and a result's time, and a result value's. No reason is carried for any of them, and each is a finding, ccda:nullFlavorNotListed, valued by the nullFlavor as written.
- passed null-flavors
Each null flavour where a value or a time would be is the reason that property is absent, a node of the version naming it and the NullFlavor code: a birth time UNK, an immunization's time NI, a medication's end UNK beside its start, another's whole time UNK, which is its start of use, a problem's onset ASKU, a result's value MSK, so it has no value kind, and a result's time NAV beside its value; a result value's nullFlavor XYZ, no NullFlavor code, is carried as nothing and is a finding.
- passed concern-status-beside-a-problem-status
One problem states its status in a Problem Status Observation and another does not: the other's concern act status, completed, is the clinical status inactive, whatever the first problem states.
- passed patient-deceased
A patient whose death indicator is true and whose death time is a day: the version holds deceased true, the date of death as an xsd:date, and the administrative gender F mapped by C-CDA on FHIR's concept map to female.
- passed patient-gender-and-death-edges
Six patients, one way of stating gender and death each. UN maps to other, the map's wider row, and a death time with a value beside a false indicator is a death, its date a month. A null flavour UNK on the gender is the reason it is absent, and a null flavour on the death time beside a true indicator is the reason the date of death is absent. A gender code U, outside the map, is carried as nothing and is a finding, ccda:administrativeGenderNotMapped, and a null-flavoured indicator and time state no death, so nothing is carried for either. A false indicator alone is deceased false, and M is male. A null flavour that is no NullFlavor code on the gender and on the death time, beside a true indicator, is carried as nothing and is a finding, ccda:nullFlavorNotListed, for each. M in another code system is carried as nothing and is a finding, ccda:administrativeGenderNotMapped, and an indicator padded with spaces, " true ", is a true indicator.
- passed codes-in-other-systems
A drug coded by a formulary's code with an RxNorm translation, a problem coded in ICD-9-CM with a SNOMED CT translation, a procedure coded in HCPCS with CPT and SNOMED CT translations, and a test coded by a lab's local code with a LOINC translation. Each code in a system its kind has a term for, or for a problem and a procedure that the code system table gives an IRI stem (ICD-9-CM, CPT, SNOMED CT), is that term's IRI under the stem; every other is a literal on its kind's cascade:medicationCodeInOtherSystem, conditionCodeInOtherSystem, procedureCodeInOtherSystem or testCodeInOtherSystem, typed by the system's FHIR URI where the code system table lists its OID (HCPCS Level II) and by urn:oid: and the OID where it does not, and none is a finding.
- passed result-interpretation-in-another-system
A result flagged L in HL7 Table 0078 with a translation into HL7 ObservationInterpretation. The translation is carried, as the cascade:resultInterpretationCode L, and the flag in Table 0078 is not carried and is a finding, ccda:codeNotCarried.
- passed allergy-codes-in-other-systems
An allergy to penicillin coded in RxNorm, with translations in HCPCS Level II, HL7 ObservationInterpretation and ICD-9-CM: only the RxNorm code is carried, as the allergenCode, as before any other code system was added to the table, and each translation is the finding ccda:codeSystemNotMapped, since an allergen is never carried in another code system.
- passed result-test-code-in-snomed-ct
A result coded in SNOMED CT: the code is the IRI under SNOMED CT's stem on cascade:testCode.
- passed result-code-system-not-an-oid
A result whose code names its code system as LOINC instead of by OID: the code is not carried and is a finding, ccda:codeNotCarried.
- passed result-code-without-code
A result whose code states a code system and no code: nothing is carried for it and it is a finding, ccda:codeNotCarried.
- passed result-code-blank
A result whose code is spaces only, in LOINC: nothing is carried for it and it is a finding, ccda:codeNotCarried.
- passed result-code-system-urn-oid-capitals
A result whose LOINC code system is written URN:OID: and the OID, in capitals: the code is read as LOINC and is the IRI under LOINC's stem.
- passed condition-codes-in-nullflavor-and-data-absent-reason-systems
A problem valued UNK in v3 NullFlavor, 2.16.840.1.113883.5.1008, with a translation asked-unknown in FHIR's data-absent-reason, 2.16.840.1.113883.4.642.4.1048: neither is a cascade:conditionCode, since each is why the code is absent, so the version's #absent-conditionCode node names both as its cascade:absentReasonCode, as a FHIR Condition coded only so is written.
- passed condition-real-code-beside-absent-reason-codings
A problem valued SNOMED CT 44054006 with translations in v3 NullFlavor and FHIR's data-absent-reason: the SNOMED CT code is the one cascade:conditionCode, and the version has no #absent-conditionCode node.
- passed condition-code-nullflavor-attribute
A problem whose value states no code, only the nullFlavor UNK: no cascade:conditionCode, and the version's #absent-conditionCode node names the v3 NullFlavor code UNK as its cascade:absentReasonCode.
- passed condition-code-in-an-undefined-absent-reason
A problem valued unk, in lower case, in v3 NullFlavor with a translation FOO in FHIR's data-absent-reason, neither a code of its system: no cascade:conditionCode and no #absent-conditionCode node, since a coding that is no code of its system names no reason, and each is a finding, ccda:absentReasonNotCarried.
- passed condition-code-nullflavor-not-listed
A problem whose value states no code, only the nullFlavor XYZ, which is no code of v3 NullFlavor: no cascade:conditionCode and no #absent-conditionCode node, and a finding, ccda:nullFlavorNotListed.
- passed result-codes-padded-with-spaces
A result coded with a LOINC code padded with spaces and a translation in a lab's own code system padded with spaces: the LOINC IRI and the literal on cascade:testCodeInOtherSystem are both of the code trimmed.
- passed condition-icd9-cm-under-its-other-oids
A problem coded in ICD-9-CM under the OID FHIR R4 gives it, 2.16.840.1.113883.6.42, with a translation under the retired OID 2.16.840.1.113883.6.2: both are cascade:conditionCode IRIs under the ICD-9-CM stem.
- passed procedure-icd9-cm-procedure-oid
A procedure coded in ICD-9-CM procedure codes, OID 2.16.840.1.113883.6.104: a cascade:procedureCode IRI under the ICD-9-CM stem.
- passed procedure-two-snomed-ct-codes
A procedure with a SNOMED CT code and a SNOMED CT translation: both are carried, as cascade:procedureCode IRIs, and nothing is a finding.
- passed procedure-real-code-beside-absent-reason-codings
A procedure coded SNOMED CT 73761001 with translations in v3 NullFlavor and FHIR's data-absent-reason: the SNOMED CT code is the one cascade:procedureCode, and the version has no #absent-procedureCode node.
- passed procedure-code-nullflavor-attribute
A procedure whose code states no code, only the nullFlavor UNK: no cascade:procedureCode, and the version's #absent-procedureCode node names the v3 NullFlavor code UNK as its cascade:absentReasonCode.
- passed procedure-code-in-nullflavor-and-data-absent-reason-systems
A procedure coded UNK in v3 NullFlavor with a translation asked-unknown in FHIR's data-absent-reason: no cascade:procedureCode, and the version's #absent-procedureCode node has both as its cascade:absentReasonCode.
- passed procedure-code-in-an-undefined-absent-reason
A procedure coded unk, in lower case, in v3 NullFlavor with a translation FOO in FHIR's data-absent-reason, neither a code of its system: no cascade:procedureCode and no #absent-procedureCode node, since a coding that is no code of its system names no reason, and each is a finding, ccda:absentReasonNotCarried.
- passed procedure-code-nullflavor-not-listed
A procedure whose code states no code, only the nullFlavor XYZ, which is no code of v3 NullFlavor: no cascade:procedureCode and no #absent-procedureCode node, and a finding, ccda:nullFlavorNotListed.
- passed procedure-two-cpt-codes
A procedure with a CPT code and a different CPT translation: both are carried, as cascade:procedureCode IRIs.
- passed procedures-same-cpt-a-year-apart
Two procedures coded with the one CPT code 36415 a year apart: each is its own record, carrying cascade:procedureCode, the CPT code's IRI.
- passed result-interpretation-null-flavor
A result whose interpretationCode states a null flavour and no code: nothing is carried for it and it is no finding.
- passed result-interpretation-not-carried
A result flagged A in HL7 Table 0078 alone: the flag is not carried and is a finding, ccda:codeNotCarried.
- passed note-activity
A Note Activity in a Notes section, coded 34109-9 with the translation 11506-3, its text a reference to a narrative item holding a caption and two paragraphs: one note record, typed by the translation, named Progress note, dated by its author's time padded to the second, current, its text the item's, a line for each block.
- passed a-note-section-sent-again-names-the-same-record
A note section a source sends again, unchanged, in a later document is the same note: its name is its code and its text in the source's scope, never its document's date.
- passed a-grown-note-section-names-another-record
A note section whose text a later document of the source has grown is another note: nothing in the adapter joins it to the earlier one, which is the matcher's to rule.
- passed a-note-activity-sent-again-names-the-same-record
A Note Activity a source sends again in another document is the same note, named by its id in the source's scope.
- passed note-edges
Note sections and notes at their edges: an Assessment holding an entry, an Assessment and Plan with a null flavour and an empty History of Present Illness make no note and are sectionNotMapped; two identical Plan of Treatment sections are one note, the second's version not kept (bridge:versionNotKept), so its title is dropped; a Note Activity in base64 text/plain is decoded into its text and is its attachment; one in base64 application/pdf and one in base64 text/html each have an attachment with its media type, no text (decoded HTML would be markup), and the finding ccda:noteDataNotRead; and a Notes section entry that is no Note Activity is entryNotMapped.
- passed narrative-reference-across-breaks
Two drugs named through narrative references: a cell holding a line break and a row of two cells, each read with a space at the break (Lisinopril 10 mg tablet, Amlodipine 5 mg tablet); and a procedure with no id and no key field, named by its members, which leave out the text values the lift writes.
- passed report-time-null-flavor
Two Result Organizers: one whose effectiveTime is null-flavoured UNK, the reason its time is absent, and one whose low is null-flavoured XX, no NullFlavor code, so no reason is carried and it is the finding ccda:nullFlavorNotListed.
- passed unstructured-document-text
An Unstructured Document whose nonXMLBody holds base64 text/plain: one note, named by the document's id, typed by its code 18842-5, dated by its effectiveTime, its text the decoded body, and the body its attachment, text/plain.
- passed unstructured-document-pdf
An Unstructured Document whose nonXMLBody holds a base64 PDF: one note with its attachment, application/pdf, and no text, and the finding ccda:noteDataNotRead.
- passed unstructured-document-reference
An Unstructured Document whose nonXMLBody references a PDF file: one note whose attachment holds the media type and the file's address as written, no text, and the finding ccda:noteDataNotRead.
- passed narrative-reference-invisible
Seven drugs whose names are referenced into narrative cells holding nothing visible: a space, a no-break space, a line break, an empty content element and a zero-width space, an ideographic space, a next-line control and a line separator. None is read as a name, each falls through to the code's displayName, and each reference is ccda:referenceReadsNothing.
- passed an-amended-unstructured-document-names-the-same-note
An Unstructured Document amended (a new id, the same setId, a higher versionNumber) is a new version of the same note: an unstructured document's note is named by its setId where it states one.
- passed unstructured-document-reference-untyped
An Unstructured Document whose nonXMLBody references a file and states no media type: one note whose attachment holds the file's address and no media type, no text, and the finding ccda:noteDataNotRead with no value, since nothing says what the file is.
- passed narrative-breaks-in-blocks
A note section whose narrative holds a line break in a paragraph, a list item, a header cell and a paragraph inside a cell: each break is accounted, and the note's text holds a line at each.
- passed allergy-status-from-concern-act
Five allergies with no Allergy Status Observation, each in a concern act of its own: active is the clinical status active, and completed, aborted and suspended are inactive, HL7's wider row for each. A status outside the map, nullified, is carried as nothing and is a finding, ccda:allergyConcernStatusNotMapped.
- passed allergy-status-observation-beside-concern-act
Four allergies whose Allergy Status Observation disagrees with their concern act: resolved beside active is resolved, active beside completed is active, and inactive beside nullified is inactive, with no finding for the concern act, since the allergy states a status of its own. A fourth states a status outside the map, recurrence, beside an active concern act: it carries no status, the act is not consulted, and the finding is ccda:allergyStatusNotMapped.
- passed problem-status-from-concern-act
Five problems in concern acts of their own. Without a Problem Status Observation, active is the clinical status active, aborted and suspended are inactive, HL7's wider row for each, and nullified, outside the map, is carried as nothing and is a finding, ccda:concernStatusNotMapped. A problem whose Problem Status Observation is outside the map, on hold, beside an active concern act carries no status, the act is not consulted, and the finding is ccda:problemStatusNotMapped.
- passed status-observation-without-code
Three allergies and two problems whose status observation states no code: its value is a nullFlavor, or it has no value at all. Such an observation states no status, so the concern act is consulted: an active act is the clinical status active, a completed act is inactive, and an act outside the map, nullified, is carried as nothing and is a finding, ccda:allergyConcernStatusNotMapped or ccda:concernStatusNotMapped.
- passed results-report-beside-referenced-rows
The Results and Encounters sections of a portal's emergency department summary, trimmed to two results: each result's text references its table row, so the table and its header go and the CT report the rows sit beside, with its incidental lung nodule, is the Results section's note; the Encounters section, of a template no note was made of before and with no entry, is a note of its whole text. Each result carries its row as its narrative text. typeCode DRIV is not trusted.
- passed statement-texts-referenced
The Medications, Procedures and Encounters sections of a hospital's summary, trimmed: a medication and a procedure each reference their table row from their text, so each carries the row as its narrative text, the stop reason and the colonoscopy's repeat interval among it, and neither section makes a note; the Encounters section, with no entry, is a note of its whole text.
- passed section-text-partly-referenced
Four sections whose text entries reference in part. Immunizations: a run of text directly in the text, a table whose first row is referenced only by its vaccine's name, so the whole row goes with its other cells, and whose second row no entry references, so it stays with the table's caption and header; a list whose one item an immunization's text references, so the item is that immunization's narrative text and the list's caption goes; and ten paragraphs, two with the same text, kept in document order past the ninth slot. Allergies, Problems and Results: an allergy, a problem and a report each carry the element their text references, a problem's concern act's own text is read by no record, so the item it references stays in the Problems section's note, and the one unreferenced paragraph is the Results section's note.
- passed section-text-referenced-by-unmapped-entries
Five sections whose text a reference points into from an entry this release makes no record of. Vital Signs: a vital sign's observation references its row. Social History: an observation references its list item. Plan of Treatment: a planned observation, in the request mood, references its row beside an unreferenced paragraph. Medications: a medication activity in the request mood references its row. Each of these four sections is a note of its whole text, the references holding it for no record. Allergies: an allergy references its row, so it carries the row as its narrative text and the section makes no note.
- passed section-text-container-referenced
Three sections whose entry references a container, not something in it. Allergies: an allergy references its table, so it carries the table's text as its narrative text and the section's note is the one paragraph beside the table. Procedures: a procedure references the text element itself, so it carries the whole text and the section makes no note. Immunizations: an immunization references a tbody, so the table's caption and header, which belong beside a row kept, go with it and the section makes no note.
- passed allergy-name-in-concern-act
An allergy in the nesting C-CDA R2.1 defines, an Allergy Intolerance Observation inside the concern act's entryRelationship, whose allergen is a UNII code and a name: the name is the allergen's text and no source path is left unaccounted.
- passed procedure-time-low-only
A procedure whose effectiveTime states only its low, no value: the low is the procedure's date and no source path is left unaccounted.
- passed report-code-translation
A Result Organizer whose LOINC code has a translation in a laboratory's own code system: the translation is the report's code in another system and no source path is left unaccounted.
- passed medication-name-in-material
A prescribed medication whose manufactured material has an RxNorm code and a name, and no display name or original text: the material's name is the drug's name and no source path is left unaccounted.
- passed unstructured-document-header-not-stated
An Unstructured Document whose id, code and effectiveTime state only a nullFlavor: its note takes none of them, so the document's id, type and time are each a finding valued by the flavour, where a stated id, code and time of an unstructured document are findings of none.
- passed section-text-referenced-by-nested-observation
An allergy section whose table has two rows, the allergy's, referenced by its observation's text, and the reaction's, referenced only by the Reaction Observation nested in it: no record reads a nested observation's text, so the reaction's row leaves the section's note and is carried nowhere, and so is the table's header, every row of it being referenced. The one finding of the section's text names both.
- passed section-text-referenced-by-reaction-original-text
An allergy section whose table has a row for the allergy, referenced by its observation's text, and a row for the reaction, referenced only by the originalText of the Reaction Observation's value: allergy.rq reads that observation's displayName and code and no originalText, so the reaction's row leaves the section's note and its words are carried nowhere, and so is the table's header, every row of it being referenced. The one finding of the section's text names both.
- passed section-text-referenced-by-comment-activity
An allergy whose observation holds a Comment Activity referencing a paragraph of the section's text, beside the table row its own text references: no record reads a nested act's text, so the paragraph leaves the section's note and is carried nowhere, and so is the table's header, every row of it being referenced. The one finding of the section's text names both.
- passed section-text-referenced-beside-a-mapped-observation
A concern act holding an allergy observation and, beside it, a vital sign observation that references the name cell of a row of the section's table: no record is made of the vital sign, so document-table.rq keeps its row, with the other cell, and the table's header, in the section's note, and the section's text has no finding.
- passed unstructured-document-header-partly-stated
An Unstructured Document whose id states only an extension, whose code states only an originalText and whose effectiveTime states nothing: none is carried by its note, so the document's id and type are findings valued by what the document wrote, the extension and the originalText's text, and its time is a finding with no value, the document having written none.
- passed section-text-referenced-by-untemplated-result
A results section whose organizer holds a Result Observation and, beside it, a component with no templateId referencing the next row of the section's table: result.rq maps only the first, so no record reads the second's text, yet document-table.rq drops its row from the note, being under a mapped organizer. The one finding of the section's text names the untemplated row and the table's header, every row of it being dropped.
- passed section-text-referenced-in-a-header-row
A procedures section whose table header has two rows, the first referenced by the originalText of the procedure's code: procedure.rq reads that text, and document-table.rq keeps the header's other row, as it keeps the body's, so the section's text has no finding.
- passed entries-among-comments-and-stray-text
An Immunizations section whose entries have an XML comment, a blank line, a comment after a blank line, stray text and two comments in a row between them. An entry's position is its place among the entries, so the three immunizations are entries 1, 3 and 4, and the vital sign's entry, which this release makes no record of, is entry 2 in its finding.