haau3 FHIR Implementation Guide (HFIG)
1.0.0 - ci-build
haau3 FHIR Implementation Guide (HFIG) - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Active as of 2026-09-25 |
<OperationDefinition xmlns="http://hl7.org/fhir">
<id value="reconcile-medications"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: OperationDefinition reconcile-medications</b></p><a name="reconcile-medications"> </a><a name="hcreconcile-medications"> </a><p>URL: [base]/$reconcile-medications</p><h3>Parameters</h3><table class="grid"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</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>bundle</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/bundle.html">Bundle</a></td><td/><td><div><p>The patient's medication records, as a Bundle of type collection or searchset. This is also the bare-body form: POST the Bundle itself as the request body, with nothing on the URL, and the list is evaluated as of the time of the request.</p>
</div></td></tr><tr><td>IN</td><td>resource</td><td/><td>0..*</td><td><a href="http://hl7.org/fhir/R4/resource.html">Resource</a></td><td/><td><div><p>One resource per repetition, for the Parameters form: a MedicationRequest, MedicationStatement, MedicationDispense or MedicationAdministration, or a Medication that one of those records references. Every part carries an id. A record's Medication/{id} reference resolves to the Medication part with that id, or to a Medication contained in the record, and the response names each source record as {resourceType}/{id}.</p>
</div></td></tr><tr><td>IN</td><td>asOf</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#dateTime">dateTime</a></td><td/><td><div><p>The date and time to evaluate the list as of. Parameters form only: the bare-body form evaluates the list as of the time of the request.</p>
</div></td></tr><tr><td>OUT</td><td>return</td><td/><td>1..1</td><td><a href="http://hl7.org/fhir/R4/bundle.html">Bundle</a></td><td/><td><div><p>The reconciled list: a Bundle conforming to haau3 Reconciled Medication Bundle, returned as the response body itself.</p>
</div></td></tr></table><div><p>Send <code>bundle</code>, or one or more <code>resource</code> parts, but not both. Every record must name the same patient in <code>subject</code>. A request is refused, with an OperationOutcome that names the reason, for a resource of any other type, records that name two patients or none, a Bundle that is not a <code>collection</code> or <code>searchset</code>, a body over 16 MiB, a resource part with no id, or malformed content. A record that names no medication, or whose <code>medicationReference</code> cannot be resolved, is skipped with a warning that names only its <code>fullUrl</code>. The response is the Bundle itself, conforming to <a href="StructureDefinition-haau3-reconciled-medication-bundle.html">haau3 Reconciled Medication Bundle</a>, not a Parameters resource.</p>
</div></div>
</text>
<url
value="https://haau3.com/fhir/OperationDefinition/reconcile-medications"/>
<version value="1.0.0"/>
<name value="ReconcileMedications"/>
<title value="Reconcile medications"/>
<status value="active"/>
<kind value="operation"/>
<date value="2026-09-25"/>
<publisher value="haau3"/>
<contact>
<name value="haau3"/>
<telecom>
<system value="url"/>
<value value="https://haau3.com"/>
</telecom>
<telecom>
<system value="email"/>
<value value="hello@haau3.com"/>
</telecom>
</contact>
<description
value="Reconciles one patient's medication records, which may come from many sources and overlap, into one clean medication list. The list holds one entry per clinical drug, each a [haau3 Reconciled MedicationRequest](StructureDefinition-haau3-reconciled-medication-request.html) with a [haau3 Reconciled Medication Provenance](StructureDefinition-haau3-reconciled-medication-provenance.html) naming the records it came from. Software computes the list; no person curates it."/>
<jurisdiction>
<coding>
<system value="urn:iso:std:iso:3166"/>
<code value="US"/>
<display value="United States of America"/>
</coding>
</jurisdiction>
<affectsState value="false"/>
<code value="reconcile-medications"/>
<comment
value="Send `bundle`, or one or more `resource` parts, but not both. Every record must name the same patient in `subject`. A request is refused, with an OperationOutcome that names the reason, for a resource of any other type, records that name two patients or none, a Bundle that is not a `collection` or `searchset`, a body over 16 MiB, a resource part with no id, or malformed content. A record that names no medication, or whose `medicationReference` cannot be resolved, is skipped with a warning that names only its `fullUrl`. The response is the Bundle itself, conforming to [haau3 Reconciled Medication Bundle](StructureDefinition-haau3-reconciled-medication-bundle.html), not a Parameters resource."/>
<system value="true"/>
<type value="false"/>
<instance value="false"/>
<parameter>
<name value="bundle"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<documentation
value="The patient's medication records, as a Bundle of type collection or searchset. This is also the bare-body form: POST the Bundle itself as the request body, with nothing on the URL, and the list is evaluated as of the time of the request."/>
<type value="Bundle"/>
</parameter>
<parameter>
<name value="resource"/>
<use value="in"/>
<min value="0"/>
<max value="*"/>
<documentation
value="One resource per repetition, for the Parameters form: a MedicationRequest, MedicationStatement, MedicationDispense or MedicationAdministration, or a Medication that one of those records references. Every part carries an id. A record's Medication/{id} reference resolves to the Medication part with that id, or to a Medication contained in the record, and the response names each source record as {resourceType}/{id}."/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="asOf"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<documentation
value="The date and time to evaluate the list as of. Parameters form only: the bare-body form evaluates the list as of the time of the request."/>
<type value="dateTime"/>
</parameter>
<parameter>
<extension
url="http://hl7.org/fhir/StructureDefinition/operationdefinition-profile">
<valueUri
value="https://haau3.com/fhir/StructureDefinition/haau3-reconciled-medication-bundle"/>
</extension>
<name value="return"/>
<use value="out"/>
<min value="1"/>
<max value="1"/>
<documentation
value="The reconciled list: a Bundle conforming to haau3 Reconciled Medication Bundle, returned as the response body itself."/>
<type value="Bundle"/>
</parameter>
</OperationDefinition>