Conformance Documentation Hierarchy

Total Page:16

File Type:pdf, Size:1020Kb

Conformance Documentation Hierarchy

Conformance Documentation Hierarchy

V 2.8 HL7 Proposal Change Request ID: 605 File Name: 605 Conformance Documentation v07.doc Description: introduce the concept of conformance levels Status: under discussion (details) – accepted in principle HL7-Version 2.8 Chapter/Section 2B Sponsoring Person Frank Oemig Sponsoring Business Unit Agfa HealthCare Date Originated: 06/02/08 Date HL7 approved: Backward Compatible: yes Forward Compatible: yes HL7 Status & Date to be reviewed during September 2009 WGM

Justification Detail The standard provides the basics/foundation for implementations. There are quite a lot of options which allows for interpretations and individual behavior. In this context, it is essential that a vendor claims conformance/compliance to a standard. On the other hand, every vendor claims to be conformant to HL7. (Who would admit that he does not follow the guidelines?) In order to get an idea, how far his claim is oriented towards the standard in the following the concept of a "documentation hierarchy" should be introduced. The best place is chapter 2B when talking about profiles. Note: The original title (“conformance level”) was changed because it lead to misinterpretations and misunderstandings as this proposal primarily does not tell anything about the results of those tests.

Introduction According to IEEE (glossary 1990) the term "semantic interoperability" is "the ability of two or more systems or components to exchange information and to use the information that has been exchanged.“

The first requires the general capability to ex- respectively import the information from or to another system which normally is provided by interface modules/engines. The latter is hard to realize and to test. It requires a lot of preparation. In the very end it can only be tested by real life system as only they are providing/consuming the data. The question comes up how this can be achieved? This proposal is trying to evaluate different approaches to support this requirement.

1 Conformance Levels

Problem Space As mentioned before, the ultimate test can only be performed at the real site. All other tests are based on assumptions which may not come true. E.g., the configuration, the master files or the software component in use may differ. Users (= hospitals) may want to get a feeling about real life interoperability without buying the software in advance. This proposal discusses the options vendors and users have in order to achieve the same without investing too many resources.

Hierarchy of Profiles It should be known that the standard and profiles form a hierarchy of profiles:

Standard all options

releasing constraints non-conformant Constrainable Profiles adding Constrainable Profiles constraints

non-conformant Implementable Profiles no options Implementable Profiles

"non-conformant side" violation border "conformant side"

Facilitating this hierarchy, profiles can be used by different authorities as explained in the following drawing:

Example 1: Example 2:

Standard SDO SDO

Constrainable Profiles realm, e.g. realm, e.g. country specific country specific

vendor, i.e. Constrainable Profiles user, e.g. generic hospital (chain) implementation

vendor (as Implementable Profiles vendor (as implemented at a implemented) site)

As one can see, there are different options of how to make use of profiles.

2 Conformance Levels

Note 1: The hierarchy of constrainable profiles may contain more than two levels/recursions! Note 2: IHE offers constrainable profiles which are domain specific. They are also based on national addenda like realm-specific Z-segments. From that perspective they form a two level hierarchy alone.

Architecture Therefore, in almost all situations the following component architecture applies. Unfortunately, some of the components are not in existence and can therefore be called "virtual". Nevertheless, it is just a matter of efforts to create them:

Standard = SDO constrainable profile (A)

0 Realm/ User/Hospital Implementation Guide = constrainable profile (B)

1 3 Vendor 2 4 Vendor 1 2 Implementation 5 Implementation (C) (E)

implementable implementable 7 Profile (D) Profile (F) 8 6

Components The boxes in the drawing above represent the following components:

documentation implementation constrainable implementable components profile profile A X B X C X D X E X F X

3 Conformance Levels

The standard and an implementation guide based on this standard both represent a constrainable profile, i.e. they provide a set of requirements and constraints, and both still contain optionality. An implementation guide introduces additional constraints. An implementation guide can either be universal (e.g. published by PEOs like IHE), realm specific (e.g. C32 from HITSP) or site-specific (hospital chain like Rhön in Germany or Kaiser Permanente in USA). A vendor – either 1 or 2 in the drawing above – is providing an implementation (C or E) based on that guidance. Normally, these products are accompanied by appropriate documentation (D or F). According to the notation, these documents should fulfil the requirements for implementable profiles.

Relationships Hence, those components are related to each other. For the purpose of testing semantic interoperability, the following are of importance:

Arrow Linkage conformance compliance compatibility 0 A - B X 1 B - C X <==+ 2 B - D X <==|==+ 3 B - E X <==+ | 4 B - F X <=====+ 5 C - E X 6 D - F X 7 C - D X 8 E - F X

If two documents/profiles are tested against each other we talk about compliance (0, 2 and 4). If an implementation is tested against some guidance it is called conformance (1, 3, 7 and 8). Both tests are done on different levels. If a test is done on the same level against the same type (either documents/profiles or implementations) it is called compatibility (5 and 6).

Different kinds of Testing According to the drawing above that different kind of testing does exist: direction test description vertical profiles Different profiles are tested against each other whether one is a constraint on the other. This works when introducing further constraints on the way down, i.e. from standard via constrainable profile to implementable profile. vertical profile/ It is tested whether the application fulfils the requirements as applications documented in the underlying profile horizontal profiles Here different profiles are tested whether they can be used in combination as a sender and receiver. Two different profiles being a constraint on the same underlying profile may be in conflict to each other if used his way. horizontal application dto., but with applications.

4 Conformance Levels

Documentation Quality The next table defines different levels for the quality of the documentation for an implemented interface. It as follows:

Documentation Description Consequences Quality 0 A vendor claims conformance to HL7, but has no none proof of his claim. Note: This level can be treated as the "standard conformance" as all vendors claim conformance to HL7 per se. 1 A vendor can proof his claim by a documentation Vendor must provide a of his interface. The format and the contents of document. this documentation do not matter. Note: Most probably a vendor will copy paragraphs from the original standard which is allowed on this level. 2 The documentation he provides fulfils the Vendor must provide a requirements of a conformance profile as listed in conformance statement as chapter 2B. defined in chapter 2B. 3 The documentation is machine processable. The vendor has to Note: One option is to use the MWB to create this provide a computable file. But other tools are acceptable as well. (constrainable) conformance profile file as defined in chapter 2B. 4 The documentation is a conformance profile Vendor must provide a fulfilling the criteria for implementable profiles, file which fulfils the i.e. no options are allowed any more. requirements for Note: the criteria listed for level 3 allows a test to implementable verify that the profile fulfils the requirements for conformance profile as implementable profiles. defined in chapter 2B. 5 The profile is (successfully) tested against Requires references to the another profile. profiles tested against. (This will cause some problems if there is no Furthermore, the results standard where we can test against. Perhaps we of the tests must be can use the MWB standard libraries, but those are stated. based on the HL7 database.) Furthermore, the means Note: This testing is done against a higher level and details of this testing (=less constraint) profile, probably a must be specified. constrainable profile issued either by a vendor, As a consequence, it will affiliate or HQ itself. Therefore, this testing is become obvious, whether done vertically and checks whether the provided the relationship to the profile only add additional constraints.. underlying profile is

5 Conformance Levels

Documentation Description Consequences Quality "conformant" or "conflicting". 6 Another option of testing is horizontally. This Requires references to the way, two (implementable) profiles are tested with profiles tested against. a sender/receiver perspective. One profile takes Furthermore, the role the role of the sender, the other of the receiver. It must be mentioned. should be tested, whether this will result in interoperabability problems. Note: On this level we talk about "compatible" and "incompatible" profiles.

Impacts The great advantage of this concept is that it has no impact on any real implementation! Starting with level 3, the use of tools for documentation becomes necessary. At least, up to level 4 no chit allows not for the lower levels up to 4. It merely should present an idea how close a vendor is with its implementation concerning HL7 conformance. Furthermore, at higher levels the documentation should provide a section listing the underlying profiles. This should support checking the differences. The documentation/profile should be publicly available somewhere. The best seems to be the requirement to publish them somewhere on the vendor's official homepage. DICOM provides an idea of how this can be done. The official IHE website (http://www.ihe.net/Resources/ihe_integration_statements.cfm) also lists the vendors having participated at the connect-a-thon. Each vendor provides a link to his homepage where the integration statements can be found. It would be ideal, if the vendors could list their conformance statements there in parallel.

Primary Focus of this Proposal It is acknowledged that for complex messages achieving the highest level will become incredible difficult. But it should be kept in mind, that the standard is currently silent on the use of conformance profiles. This proposal should raise the awareness that good documentation is an essential part of all interfaces and that (semantic) interoperability cannot be achieved without proper documentation.

As introduced, testing of profiles on behalf of a real implementation will work. The basic assumption as a prerequisite is, that the documentation really reflects the interface behaviour. This can only be enforced by users making the documentation part of the contract!

Documentation Quality vs. Compatibility This proposal deals with the different kind of documentation. It has nothing to do with what a vendor has implemented. One can be on a certain level with his documentation, but still having a non-conformant and/or incompatible interface/implementation.

6 Conformance Levels

Documentation vs. implemented Interfaces It is acknowledged, that we do have the assumption, that within the interface the documented profile has been implemented. If a user buys an interface he may include the documentation into the contract. This way the equivalence of the implementation with the documentation can be achieved. Furthermore, several tools are capable to test messages against the profiles. Therefore, the equivalence can be tested.

Advantages for implementers Quite a lot of time is invested in testing. This proposal does not eliminate this need. However, good documentation helps implementers to establish an interface at a specific site in less time. This will reduce the need for third level support and therefore will increase the efficiency within R&D. A testable profile is also a good means to check for compatibility problems in advance. Currently, most of the problems are undetected or left to the customer. Specific issues like the maximum length of data elements are not tested at all. From that perspective, the efforts are migrated from accidental testing and difficult support to documentation and automated testing in order to prevent severe interoperability problems.

Process in behind In order to take advantage out of this proposal, the components as listed in the architecture drawing should be present. Therefore, the following process is assumed:

Step Comment Optionality Comment 1 provide a standard O (should be done; but also works without) 2 define a profile as a guidance for R implementers (can also be done later) 3 implementations (C or E) O we are going to test docu- mentation on behalf of real implementations. Therefore, this can also be done without it. 4 document the interface behaviour R necessary precondition for testing 5 test compliance (B-D and/or B-F) R necessary for level 5

V3 Implications In principle, this concept can be applied to V3 as well. v2.xml Implications none

7

Recommended publications