Skip to content

Commit

Permalink
test case for fixing bug evaluating resolve() in contained resources …
Browse files Browse the repository at this point in the history
…when doing slicing
  • Loading branch information
Grahame Grieve committed Oct 14, 2024
1 parent 050e265 commit 5d90800
Show file tree
Hide file tree
Showing 3 changed files with 1,835 additions and 0 deletions.
40 changes: 40 additions & 0 deletions validator/ab/List-ListExample.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"resourceType" : "List",
"id" : "ListExample",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: List ListExample</b></p><a name=\"ListExample\"> </a><a name=\"hcListExample\"> </a><a name=\"ListExample-en-US\"> </a><table class=\"clstu\"><tr><td>Mode: Snapshot List </td><td>Status: Current </td></tr><tr><td/></tr></table><table class=\"grid\"><tr style=\"backgound-color: #eeeeee\"><td><b>Items</b></td></tr><tr><td><a href=\"#hcListExample/MyAppointmentExample\">Appointment: status = proposed</a></td></tr></table></div>"
},
"contained" : [{
"resourceType" : "Appointment",
"id" : "MyAppointmentExample",
"meta" : {
"profile" : ["http://fhir.geniesolutions.io/StructureDefinition/my-appointment-profile"]
},
"status" : "proposed",
"supportingInformation" : [{
"reference" : "#DeviceExample"
}],
"participant" : [{
"actor" : {
"display" : "Fred"
},
"status" : "accepted"
}]
},
{
"resourceType" : "Device",
"id" : "DeviceExample",
"deviceName" : [{
"name" : "Saline bag prosthesis for imaging procedure",
"type" : "user-friendly-name"
}]
}],
"status" : "current",
"mode" : "snapshot",
"entry" : [{
"item" : {
"reference" : "#MyAppointmentExample"
}
}]
}
Loading

0 comments on commit 5d90800

Please sign in to comment.