CareCommunication Test scripts
4.0.0 - release

This page is part of the CareCommunication Testscripts (v4.0.0: Release) based on FHIR (HL7® FHIR® Standard) R4. . For a full list of available versions, see the Directory of published versions

Testexamples

The examples presented below are intended to be used in the test protocol for sending and receiving CareCommunication. Testprotocols can be found on the GitHub pages for CareCommunication.

Test patient/citizens

All examples include are based on the test patient:

  • Name: Bruno Test Elmer
  • CPR-no.: 2509479989 and
  • Name: Peter Hansen
  • E-CPR: 0703921VJ5

Test examples for sending a CareCommunication

Download test examples for sending a CareCommunication (.zip)

Test example Description
CareCommunication_Ex_send-A-new A new CareCommunication. Including long journal note, specifik sender and recipient, topic, prioritet, attachment structured author information.
CareCommunication_Ex_send-B-new-attachment A new CareCommunication with attachment.
CareCommunication_Ex_send-C-new-attachment A new CareCommunication with attachment.
CareCommunication_Ex_send-D-new A new CareCommunication. ContentString includes escaped signs and without sender and receiver name (Organization.name).
CareCommunication_Ex_send-E-new A new CareCommunication. The PractitionerRole of the is not from the list of roles.
CareCommunication_Ex_send-F-new-change A new CareCommunication.
G-EDIFACT1 An EDIFACT message
G-OIOXML1 An OIOXML message
CareCommunication_Ex_send-H-new A new CareCommunication. Patient has a replacement CPR (e-CPR).
CareCommunication_Ex_send-I-new-attachment A new CareCommunication with attachment. Patient is deceased.
CareCommunication_Ex_send-J-new-change A new CareCommunication. Instance IDs are not UUIDs. ContentString includes line breaks (
).
CareCommunication_Ex_send-K-forward A forward CareCommunication.
CareCommunication_Ex_send-Tek-A-new-episodeOfCare A new CareCommunication with an EpisodeOfCare-identifier.
CareCommunication_Ex_send-Tek-B-new-episodeOfCare A new CareCommunication with an EpisodeOfCare-identifier.

Test examples for receiving a CareCommunication

Download test examples for receiving a CareCommunication (.zip)

Test example Description Used for test of use case
CareCommunication_Ex_receive_A-new A new CareCommunication. Including long journal note, specifik sender and recipient, topic, the category ‘other’, attachment, structured author information. R1 Receive CareCommunication
CareCommunication_Ex_receive_B-reply A reply message. The reply contains an attachment. R2 Receive a replied CareCommunication
CareCommunication_Ex_receive_C-forward A forwarded message R3 Receive a forwarded CareCommunication
CareCommunication_Ex_receive_D-TEK_new_priority A new CareCommunication. Including priority, escapet signs and line breaks in the message text. R1 Receive a CareCommunication and sending an Acknowledgement
CareCommunication_Ex_receive_E-tek-new-noOrgName A new CareCommunication without name included for the sender and receiver organization. No role for the practitioner is available. R1 Receive a CareCommunication
CareCommunication_Ex_receive_F-tek-new-xml A new CareCommunication in xml. The PractitionerRole of the is not from the list of roles. R1 Receive a CareCommunication
CareCommunication_Ex_receive_G-tek-new-json A new CareCommunication in json. The instance id’s are not UUID. R1 Receive a CareCommunication
CareCommunication_Ex_receive_H-tek-new-parallel A new CareCommunication. R1 Receive a CareCommunication
CareCommunication_Ex_receive_I-tek-reply-parallel A reply CareCommunication. R1 Receive a CareCommunication
CareCommunication_Ex_receive_J-tek-new A new CareCommunication. Patient is deceased. R1 Receive a CareCommunication
CareCommunication_Ex_receive_K-tek-reply-order A new CareCommunication. R1 Receive a CareCommunication
CareCommunication_Ex_receive_L-tek-new-order A new CareCommunication. Patient has a replacement CPR. R1 Receive a CareCommunication
CareCommunication_Ex_receive_M-tek-new-dublicate A new CareCommunication. R1 Receive a CareCommunication
CareCommunication_Ex_receive_N-tek-new-dublicate A new CareCommunication. R1 Receive a CareCommunication
CareCommunication_Ex_receive_O-tek-new-dublicate A new CareCommunication. R1 Receive a CareCommunication
CareCommunication_Ex_receive_P-tek-new-dublicate A new invalid CareCommunication. Missing Payload.identifier and reference from provenance. R1 Receive a CareCommunication
CareCommunication_Ex_receive_Q-tek-new-invalid A new invalid CareCommunication. No message text is included. R1 Receive a CareCommunication
  1. A referal, discharge letter or another relevant OIOXML message may be selected here.  2