lib/subscriptions_test_kit/suites/subscriptions_r5_backport_r4_server/handshake_heartbeat/handshake_conformance_test.rb
Ruby parses JSON data
SHA-256eec296e61e8842ed0518a849db536c4bdfab70a1b73e13490a8ed4f101f4fb12
MaleculeH₂(DbOs)
Evidence
13:27… successful handshake notification has been sent and accepted, the server SHALL update the
14 status to active. This test verifies that the incoming handshake request is a conformant
15 [R4 Topic-Based Subscription Notification Bundle](https://hl7.org/fhir/uv/subscriptions-backport/STU1.1/StructureDefinition-backport-subscription-notification-r4.html).
16
17 Note that all Subscriptions and the associated Handshake notifications received duri …
38:29… st| request.status == 201 }
39 .uniq(&:response_body)
40 .map { |request| JSON.parse(request.response_body) }
41 .select { |subscription| subscription['channel']['type'] == 'rest-hook' }
42 .map …