Stream: IG creation
Topic: help with QA error...
Eric Haas (Feb 11 2020 at 21:50):
for the Alerts guide, I need help deciphering this error:
... "focus" : [ { "reference" : "urn:uuid:a33d1eed-c4ad-4def-8087-042b7ac0f2b7", "display" : "Inpatient Encounter" } ] } ... { "fullUrl" : "urn:uuid:a33d1eed-c4ad-4def-8087-042b7ac0f2b7", "resource" : { "resourceType" : "Encounter", "meta" : { "lastUpdated" : "2017-05-26T11:56:57.250-04:00", "profile" : [ "http://hl7.org/fhir/us/davinci-alerts/StructureDefinition/admit-discharge-notification-encounter" ] }, ....
getting this error: http://build.fhir.org/ig/HL7/davinci-alerts/qa.html#_scratch_ig-build-temp-RV355U_repo_source_examples_discharge-notification-message-bundle-01
Bundle/discharge-notification-message-bundle-01: Bundle.entry[0].resource.focus[0] error Profile based discriminators must have a type with a profile (MessageHeader.focus:discharge-notification)
what does that mean?
Grahame Grieve (Feb 12 2020 at 00:39):
it means that there's an error in the slicing definition of one of your profiles
Grahame Grieve (Feb 12 2020 at 00:41):
Next release will identify which profile in the error. But looks like you need a resolve() in your discriminator
Last updated: Apr 12 2022 at 19:14 UTC