...
Properties
eventType: The type of event
messageType: The name of the message type
messageVersion: The version of the message type, eg. “1.0”
resourceReference: The reference (absolute URL) of the resource for which the event message is issued
messageClass: The Java class path of the event message. For internal use (serializing/deserializing from/to Java objects))
patientReference: The reference (absolute URL) to the patient resource, if the resource, for which the event message is issued, is related to a patient
resourceProfile: The FHIR profile of the resource for which the event message is issued
Code Block | ||
---|---|---|
| ||
{ "type" : "object", "id" : "urn:jsonschema:com:systematic:ehealth:event:event:EHealthSimpleEvent", "properties" : { "messageType" : { "type" : "string", "description" : "EHealthSimpleEvent" }, "messageVersion" : { "type" : "string", "description" : "1.0" }, "eventType" : { "type" : "string", "description" : "{ enum : [ created, updated, deleted ] }" }, "resourceReference" : { "type" : "string", "description" : "The reference (absolute URL) of the resource for which the event message is issued" }, "resourceVersion" : { "type" : "string", "description" : "The version of the resource (version after: created, updated, version before: deleted)" } } } |
...
Simple Events are published
Code Block | ||
---|---|---|
| ||
{ "messageType": "EHealthSimpleEvent", "messageVersion": "1.0", "eventType": "created", "resourceReference": "http://careplan.inttest.ehealth.sundhed.dk/fhir/ProcedureRequest/68", "resourceVersion": "1" } Message properties: { date = Fri, 27 Sep 2019 09:37:59 GMT server = istio-envoy expires = Thu, 01 Jan 1970 00:00:00 GMT x-envoy-upstream-service-time = 1 messageversion = 1.0 transfer-encoding = chunked messagetype = EHealthSimpleEvent x-frame-options = SAMEORIGIN destination = topic://ehealth-procedurerequest patientreference = http://patient.inttest.ehealth.sundhed.dk/fhir/Patient/10907 resourcereference = http://careplan.inttest.ehealth.sundhed.dk/fhir/ProcedureRequest/68 pragma = no-cache resourceprofile = ehealth-procedurerequest content-type = text/plain; charset=ISO-8859-1 eventtype = created id = ID:careplan-6b7f84d69d-sdpkp-39827-1569566074696-1:2:66:3:1 cache-control = no-cache, no-store, must-revalidate messageclass = com.systematic.ehealth.event.event.EHealthSimpleEvent } |