FHIR Chat · docs / Issue #155 A given property in a hook's context sh... · cds hooks/github

Stream: cds hooks/github

Topic: docs / Issue #155 A given property in a hook's context sh...


view this post on Zulip Github Notifications (Jan 28 2018 at 17:34):

isaacvetter opened Issue #155

Currently hook context documentation for order-review mixes FHIR resource types in a single json array / property.

Specifically, the order-review context states that a context.orders array is required and contains:

array DSTU2 - Array of MedicationOrder, DiagnosticOrder, DeviceUseRequest, ReferralRequest, ProcedureRequest, NutritionOrder, VisionPrescription
or
array STU3 - Array of MedicationRequest, ReferralRequest, ProcedureRequest, NutritionOrder, VisionPrescription

I think that each FHIR resource type belongs within its own array property.

view this post on Zulip Github Notifications (Jan 31 2018 at 17:37):

euvitudo commented on Issue #155

@isaacvetter why not a Bundle instead? (See #158 for similar discussion.)

view this post on Zulip Github Notifications (Mar 24 2018 at 03:22):

isaacvetter closed Issue #155

view this post on Zulip Github Notifications (Mar 24 2018 at 03:22):

isaacvetter commented on Issue #155

closing in favor of #158 as suggested by @euvitudo


Last updated: Apr 12 2022 at 19:14 UTC