CareCommunication Test scripts
4.0.1 - release
This page is part of the CareCommunication Testscripts (v4.0.1: Release) based on FHIR (HL7® FHIR® Standard) R4. . For a full list of available versions, see the Directory of published versions
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.
All examples include are based on the test patient:
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 with 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 escape signs and without sender and receiver name (Organization.name). |
CareCommunication_Ex_send-E-new | A new CareCommunication. The PractitionerRole is not from the structured 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 (< br/ >). |
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. |
Download test examples for receiving a CareCommunication (.zip)
Test example | Description |
---|---|
CareCommunication_Ex_receive_A-new | A new CareCommunication. Including long journal note, specifik sender and recipient, topic, the category 'other', attachment and associated structured author information. |
CareCommunication_Ex_receive_B-reply | A reply message. The reply contains an attachment. |
CareCommunication_Ex_receive_C-forward | A forwarded message |
CareCommunication_Ex_receive_Tek-A_new_priority | A new CareCommunication. Including priority, escape signs and line breaks in the message text. |
CareCommunication_Ex_receive_Tek-B_new_attachment | A new CareCommunication. Including one of each type of attachment. |
CareCommunication_Ex_receive_Tek-C-new_zulutime | A new CareCommunication. The timezone is zulutime. |
CareCommunication_Ex_receive_Tek-D_new_timezone | A new CareCommunication. A timezone is included. |
CareCommunication_Ex_receive_Tek-E_new_EpisodeOfCare-identifier | A new CareCommunication. EpisodeOfCare-identifers are included. |
CareCommunication_Ex_receive_Tek-F_new_deceased | A new CareCommunication. The test patient is deceased. |
CareCommunication_Ex_receive_Tek-G_new_replacementCPR | A new CareCommunication. The test patient has a replacement CPR. |
CareCommunication_Ex_receive_Tek-H_new_ID | A new CareCommunication. The instances in the message doesn't have UUIDs. |
CareCommunication_Ex_receive_Tek-I_new_moreInfo | A new CareCommunication. More information than specified in the CareCommunication standard is included. |
CareCommunication_Ex_receive_Tek-J-new-noOrgName | A new CareCommunication without name included for the sender and receiver organization. No role for the practitioner is available. |
CareCommunication_Ex_receive_Tek-K-new-xml | A new CareCommunication in xml. The PractitionerRole of the is not from the list of roles. |
CareCommunication_Ex_receive_Tek-L-new-json | A new CareCommunication in json. The instance id's are not UUID. |
CareCommunication_Ex_receive_Tek-M-new-parallel | A new CareCommunication. |
CareCommunication_Ex_receive_Tek-N-reply-parallel | A reply CareCommunication. |
CareCommunication_Ex_receive_Tek-O-new | A new CareCommunication. Patient is deceased. |
CareCommunication_Ex_receive_Tek-P-reply-order | A new CareCommunication. |
CareCommunication_Ex_receive_Tek-Q-new-order | A new CareCommunication. |
CareCommunication_Ex_receive_Tek-R-new-dublicate | A new CareCommunication. |
CareCommunication_Ex_receive_Tek-S-new-dublicate | A new CareCommunication. |
CareCommunication_Ex_receive_Tek-T-new-dublicate | A new CareCommunication. |
CareCommunication_Ex_receive_Tek-U-new-dublicate | A new CareCommunication. |
CareCommunication_Ex_receive_Tek-V-new-dublicate-invalid | A new invalid CareCommunication. Missing Payload.identifier and reference from provenance. |
CareCommunication_Ex_receive_Tek-X-new-dublicate-invalid | A new invalid CareCommunication. Missing Payload.identifier and reference from provenance. |
CareCommunication_Ex_receive_Tek-Y-new-invalid | A new invalid CareCommunication. No message text is included. |