As an illustration, here is a fully working sample command-line session (in this case, the PatientID is "1067-005"):
[
{
"ID" : "1ab19372-79ed2273-b52d2f5a-a5cd98bd-148011cf",
"Path" : "/patients/1ab19372-79ed2273-b52d2f5a-a5cd98bd-148011cf",
"Type" : "Patient"
}
]
$ curl http://localhost:8042/patients/1ab19372-79ed2273-b52d2f5a-a5cd98bd-148011cf/instances[
{
"FileSize" : 133752,
"FileUuid" : "2bb91829-da46-42bf-a8db-a0bbf690ce9e",
"ID" : "55ca4f69-49878954-2df1f09b-0d97051c-b85651b7",
"IndexInSeries" : 1,
"MainDicomTags" : {
"AcquisitionNumber" : "1",
"InstanceCreationDate" : "20140917",
"InstanceCreationTime" : "121458.349000",
"InstanceNumber" : "1",
"SOPInstanceUID" : "1.2.276.0.7230010.3.1.4.2831204194.2150.1418918234.311564"
},
"ParentSeries" : "3b7628e4-b246e631-670ad2b1-6d2cd1bc-81f4c7e8",
"Type" : "Instance"
},
<...>
]
$ imagej image.dcm