This wiki has undergone a migration to Confluence found Here
<meta name="googlebot" content="noindex">

Difference between revisions of "201701 Patient Track Proposal"

From HL7Wiki
Jump to navigation Jump to search
(Updated links to current pages)
m (Updated headers in Scenarios section)
Line 71: Line 71:
 
==Scenarios==
 
==Scenarios==
 
<!-- What will be the actions performed by participants? -->
 
<!-- What will be the actions performed by participants? -->
== Level 1 - Introduction - New Participants/Systems ==
+
=== Level 1 - Introduction - New Participants/Systems ===
 
'''The following scenarios represent the basic scenarios that participants will work to implement during the Connectathon event. Execution of these scenarios is expected to be performed with the other participants of this track as well as the [[Publicly_Available_FHIR_Servers_for_testing]]. Each of the scenarios are implemented as FHIR TestScripts with basic assertions that provide initial validation/verification of the systems under test conformance to the FHIR specification.'''
 
'''The following scenarios represent the basic scenarios that participants will work to implement during the Connectathon event. Execution of these scenarios is expected to be performed with the other participants of this track as well as the [[Publicly_Available_FHIR_Servers_for_testing]]. Each of the scenarios are implemented as FHIR TestScripts with basic assertions that provide initial validation/verification of the systems under test conformance to the FHIR specification.'''
  
=== 1. Register a new patient ===
+
==== 1. Register a new patient ====
 
:Action: (Patient Demographics consumer) creates a new patient and save to Patient Service. The client can assign the Id.
 
:Action: (Patient Demographics consumer) creates a new patient and save to Patient Service. The client can assign the Id.
 
:Precondition: Patient does not exist in service prior to action
 
:Precondition: Patient does not exist in service prior to action
Line 82: Line 82:
 
>>Note: the resource Id can either be created by the client or the server (depending on the capability of the server). However, if the server assigns the Id, then the client will need to be able to retrieve the Id from the server response or by a patient query.
 
>>Note: the resource Id can either be created by the client or the server (depending on the capability of the server). However, if the server assigns the Id, then the client will need to be able to retrieve the Id from the server response or by a patient query.
  
=== 2. Update a patient ===
+
==== 2. Update a patient ====
 
:Action: (Patient Demographics consumer) updates the patient created in scenario #1 and updates to Patient Service. The patient is retrieved by Id.
 
:Action: (Patient Demographics consumer) updates the patient created in scenario #1 and updates to Patient Service. The patient is retrieved by Id.
 
:Precondition: Patient has been created
 
:Precondition: Patient has been created
Line 89: Line 89:
 
:Bonus Point #2: Update a patient that has extensions, and update the extension also.
 
:Bonus Point #2: Update a patient that has extensions, and update the extension also.
  
=== 3. Retrieve Patient history ===
+
==== 3. Retrieve Patient history ====
 
:Action: (Patient Demographics consumer) searches the patient Service for the history of a Patient
 
:Action: (Patient Demographics consumer) searches the patient Service for the history of a Patient
 
:Precondition:  There is a patient that has at least one update
 
:Precondition:  There is a patient that has at least one update
Line 95: Line 95:
 
:Bonus point: The UI allows the user to display previous versions of the Patient
 
:Bonus point: The UI allows the user to display previous versions of the Patient
  
=== 4. Search for a patient on name ===
+
==== 4. Search for a patient on name ====
 
:Action: (Patient Demographics consumer) searches the patient Service for patients with a given name
 
:Action: (Patient Demographics consumer) searches the patient Service for patients with a given name
 
:Precondition: Patients with that name have  been created
 
:Precondition: Patients with that name have  been created
 
:Success Criteria: patients displayed in interface. (use browser query to confirm)
 
:Success Criteria: patients displayed in interface. (use browser query to confirm)
  
=== 5. Delete a patient ===
+
==== 5. Delete a patient ====
 
:Action: (Patient Demographics consumer) deletes the patient with a given id
 
:Action: (Patient Demographics consumer) deletes the patient with a given id
 
:Precondition: a Patients with that Id has been created
 
:Precondition: a Patients with that Id has been created
 
:Success Criteria: Subsequently querying for the patient - either searching by name or by Id - fails.
 
:Success Criteria: Subsequently querying for the patient - either searching by name or by Id - fails.
  
== Level 2 - Formal Testing - Participants with FHIR experience ==
+
=== Level 2 - Formal Testing - Participants with FHIR experience ===
 
'''The following scenarios represent the formal testing scenarios that participants have been working to implement both prior to and during the Connectathon event. Execution of these scenarios will focus on automated testing with the public testing platforms and is expected to be performed with the other participants of this track as well as the [[Publicly_Available_FHIR_Servers_for_testing]]. Each of the scenarios are implemented as FHIR TestScripts with extensive assertions that provide a more comprehensive validation/verification of the systems under test conformance to the FHIR specification.'''
 
'''The following scenarios represent the formal testing scenarios that participants have been working to implement both prior to and during the Connectathon event. Execution of these scenarios will focus on automated testing with the public testing platforms and is expected to be performed with the other participants of this track as well as the [[Publicly_Available_FHIR_Servers_for_testing]]. Each of the scenarios are implemented as FHIR TestScripts with extensive assertions that provide a more comprehensive validation/verification of the systems under test conformance to the FHIR specification.'''
  
=== 1. Patient Registration/Creation ===
+
==== 1. Patient Registration/Creation ====
 
(Steps go here)
 
(Steps go here)
  
=== 2. Patient Modification/Update ===
+
==== 2. Patient Modification/Update ====
 
(Steps go here)
 
(Steps go here)
  
=== 3. Patient History and Version Read ===
+
==== 3. Patient History and Version Read ====
 
(Steps go here)
 
(Steps go here)
  
=== 4. Patient Searching via Multiple Criteria ===
+
==== 4. Patient Searching via Multiple Criteria ====
 
(Steps go here)
 
(Steps go here)
  
=== 5. Patient Deletion/Removal ===
+
==== 5. Patient Deletion/Removal ====
 
(Steps go here)
 
(Steps go here)
  

Revision as of 03:00, 1 December 2016

Return to January 2017 Proposals

Patient

Starting with the Connectathon 14 event this track has been selected to introduce additional levels of testing and reporting of test results.

Pre-Requisites

For all levels of testing the required pre-requisite is the fundamental requirement that all FHIR servers SHALL support the capabilities interaction.

Level 1 - Introduction - New Participants/Systems

This has been and will remain the primary purpose of this track and provides a 'friendly introduction' for those new to FHIR. Attendees participate in this track using a simple scenario that can be met with limited domain knowledge and by those who have not had a lot of exposure to FHIR. It is quite feasible to complete the client side of the track within a day with only knowledge of a development environment and little to no previous FHIR knowledge. If creating a server, advanced preparation will be required, but this scenario should somewhat limit the effort involved.

Pre-connectathon testing is encouraged, but not required, where the participants can utilize the existing Publicly_Available_FHIR_Servers_for_testing.

Testing and test reporting at the Connectathon event will be self-attested using the Results tab of the Tracking Spreadsheet (link TBD) and primarily involve peer-to-peer execution between known FHIR clients and servers.

Level 2 - Formal Testing - Participants with FHIR experience

(Level 1 +) This level introduces a more formalized testing approach for those participants that have been working the FHIR specification for one or more Connectathon events and have systems that are in active development, or deployed or soon to be deployed into a production environment. Automated testing is significantly leveraged for both automated testing (testing tool to FHIR server) and surveliance of peer-to-peer testing (external FHIR client to external FHIR server).

Pre-connectathon testing is highly encouraged in order to be better prepared for the actual Connectathon event and become familiar with the public testing platforms that will be used for the formal testing.

Testing and test reporting will be done using the public testing platforms which will provide test results via the new FHIR TestReport resource type as well as any specific reporting capabilities of those testing platforms. These reports will provide qualitative and quantitative analysis of the system under test and its conformance to the FHIR specification.

Submitting WG/Project/Implementer Group

FHIR Management Group (FMG) in association with Patient Care (PC)

Justification

This is the Patient Track testing that is included in all FHIR Connectathons.

While this track can help the Patient resource progress along the Maturity Model, this is a secondary objective as the Patient resource has already had substantial exposure both at connectathons and in the wild.

Proposed Track Lead

See Connectathon_Track_Lead_Responsibilities

Coordinator: Ron Shapiro

Test Support: Richard Ettema

Expected participants

Level 1

See Tracking Spreadsheet (link TBD)

Level 2

See Tracking Spreadsheet (link TBD)

Roles

FHIR Client - Patient Demographics Consumer

This actor initiates the processing requests that enable the creation, deletion, manipulation and retrieval of Patient resource instances. The required, supported interactions are the defined basic CRUD operations: create, read, update and delete. Additional required, supported interactions are the operations: vread, history and search.

(Example FHIR Client CapabilityStatement here)

FHIR Server - Patient Demographics Processor

This actor recieves, processes and responds to the requests for creation, deletion, manipulation and retrieval of Patient resource instances. The implementation of this actor would normally provide for a repository storage mechanism along with corresponding maintenance and retrieval capabilities of the Patient resource instances. The required, supported interactions are the defined basic CRUD operations: create, read, update and delete. Additional required, supported interactions are the operations: vread, history and search.

(Example FHIR Server CapabilityStatement here)

Scenarios

Level 1 - Introduction - New Participants/Systems

The following scenarios represent the basic scenarios that participants will work to implement during the Connectathon event. Execution of these scenarios is expected to be performed with the other participants of this track as well as the Publicly_Available_FHIR_Servers_for_testing. Each of the scenarios are implemented as FHIR TestScripts with basic assertions that provide initial validation/verification of the systems under test conformance to the FHIR specification.

1. Register a new patient

Action: (Patient Demographics consumer) creates a new patient and save to Patient Service. The client can assign the Id.
Precondition: Patient does not exist in service prior to action
Success Criteria: Patient created correctly on server (use browser to inspect Patient)
Bonus point: The Patient resource has an extension

>>Note: the resource Id can either be created by the client or the server (depending on the capability of the server). However, if the server assigns the Id, then the client will need to be able to retrieve the Id from the server response or by a patient query.

2. Update a patient

Action: (Patient Demographics consumer) updates the patient created in scenario #1 and updates to Patient Service. The patient is retrieved by Id.
Precondition: Patient has been created
Success Criteria: Patient updated on server (use browser to inspect Patient)
Bonus Point #1: Update a patient that has extensions, but leaving the extension untouched.
Bonus Point #2: Update a patient that has extensions, and update the extension also.

3. Retrieve Patient history

Action: (Patient Demographics consumer) searches the patient Service for the history of a Patient
Precondition: There is a patient that has at least one update
Success Criteria: Patient's history displayed in interface. (use browser query Patient Service)
Bonus point: The UI allows the user to display previous versions of the Patient

4. Search for a patient on name

Action: (Patient Demographics consumer) searches the patient Service for patients with a given name
Precondition: Patients with that name have been created
Success Criteria: patients displayed in interface. (use browser query to confirm)

5. Delete a patient

Action: (Patient Demographics consumer) deletes the patient with a given id
Precondition: a Patients with that Id has been created
Success Criteria: Subsequently querying for the patient - either searching by name or by Id - fails.

Level 2 - Formal Testing - Participants with FHIR experience

The following scenarios represent the formal testing scenarios that participants have been working to implement both prior to and during the Connectathon event. Execution of these scenarios will focus on automated testing with the public testing platforms and is expected to be performed with the other participants of this track as well as the Publicly_Available_FHIR_Servers_for_testing. Each of the scenarios are implemented as FHIR TestScripts with extensive assertions that provide a more comprehensive validation/verification of the systems under test conformance to the FHIR specification.

1. Patient Registration/Creation

(Steps go here)

2. Patient Modification/Update

(Steps go here)

3. Patient History and Version Read

(Steps go here)

4. Patient Searching via Multiple Criteria

(Steps go here)

5. Patient Deletion/Removal

(Steps go here)

Help Links

Here are some links to assist implementers:

TestScript(s)

The supporting TestScripts and corresponding fixtures will be committed to the FHIR SVN.