{
"resourceType" : "OperationDefinition",
"id" : "-s-fetch-patient-devices",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>fetch-patient-devices</h2><p>OPERATION: fetch-patient-devices</p><p>The official URL for this operation definition is: </p><pre>http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-fetch-patient-devices</pre><div><p>Run a report listing episodes of care with related devices, device use statements, and device metrics.</p>\n</div><p>URL: [base]/$fetch-patient-devices</p><p>Parameters</p><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>anonymization</td><td>1..1</td><td><a href=\"http://hl7.org/fhir/STU3/datatypes.html#string\">string</a></td><td/><td/></tr><tr><td>IN</td><td>organization</td><td>0..1</td><td><a href=\"http://hl7.org/fhir/STU3/references.html#Reference\">Reference</a></td><td/><td/></tr><tr><td>IN</td><td>period</td><td>0..1</td><td><a href=\"http://hl7.org/fhir/STU3/datatypes.html#Period\">Period</a></td><td/><td/></tr><tr><td>IN</td><td>devicetype</td><td>0..1</td><td><a href=\"http://hl7.org/fhir/STU3/datatypes.html#Coding\">Coding</a></td><td/><td/></tr><tr><td>OUT</td><td>return</td><td>0..1</td><td><a href=\"http://hl7.org/fhir/STU3/binary.html\">Binary</a></td><td/><td/></tr></table></div>"
},
"url" : "http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-fetch-patient-devices",
"name" : "fetch-patient-devices",
"status" : "active",
"kind" : "operation",
"date" : "2020-03-31T08:26:16+00:00",
"description" : "Run a report listing episodes of care with related devices, device use statements, and device metrics.",
"idempotent" : false,
"code" : "fetch-patient-devices",
"system" : true,
"type" : false,
"instance" : false,
"parameter" : [
{
"name" : "anonymization",
"use" : "in",
"min" : 1,
"max" : "1",
"type" : "string"
},
{
"name" : "organization",
"use" : "in",
"min" : 0,
"max" : "1",
"type" : "Reference"
},
{
"name" : "period",
"use" : "in",
"min" : 0,
"max" : "1",
"type" : "Period"
},
{
"name" : "devicetype",
"use" : "in",
"min" : 0,
"max" : "1",
"type" : "Coding"
},
{
"name" : "return",
"use" : "out",
"min" : 0,
"max" : "1",
"type" : "Binary"
}
]
}