<OperationDefinition xmlns="http://hl7.org/fhir"> <id value="-s-fetch-patient-devices"/> <text> <status value="generated"/> <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> </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> </text> <url value="http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-fetch-patient-devices"/> <name value="fetch-patient-devices"/> <status value="active"/> <kind value="operation"/> <date value="2020-03-31T08:26:16+00:00"/> <description value="Run a report listing episodes of care with related devices, device use statements, and device metrics."/> <idempotent value="false"/> <code value="fetch-patient-devices"/> <system value="true"/> <type value="false"/> <instance value="false"/> <parameter> <name value="anonymization"/> <use value="in"/> <min value="1"/> <max value="1"/> <type value="string"/> </parameter> <parameter> <name value="organization"/> <use value="in"/> <min value="0"/> <max value="1"/> <type value="Reference"/> </parameter> <parameter> <name value="period"/> <use value="in"/> <min value="0"/> <max value="1"/> <type value="Period"/> </parameter> <parameter> <name value="devicetype"/> <use value="in"/> <min value="0"/> <max value="1"/> <type value="Coding"/> </parameter> <parameter> <name value="return"/> <use value="out"/> <min value="0"/> <max value="1"/> <type value="Binary"/> </parameter> </OperationDefinition>