{ "description": "This SearchParameter searches on the FHIR DataType Period in the PeriodOfUse extension, which is added to profiles on MedicationRequest and MedicationDispense resources. Clients use date parameter searches as described by the FHIR specification: http://hl7.org/fhir/stu3/search.html#date. Servers are expected to take the MedicationUse-Duration extension (http://nictiz.nl/fhir/StructureDefinition/zib-MedicationUse-Duration) into account when processing a client's search. This means that either a Period.start + Period.end or Period.start + Duration is used to determine the search results. To illustrate the expected behavior: if a Period.start and a Duration is known, but not the Period, the Duration should be added to the Period.start date to calculate the Period.end. The calculated Period.end date is then used to determine the search results.", "_filename": "SearchParameter-Medications-periodofuse.json", "package_name": "nictiz.fhir.nl.stu3.zib2017", "date": null, "expression": "MedicationRequest.extension('http://nictiz.nl/fhir/StructureDefinition/zib-Medication-PeriodOfUse') | MedicationDispense.extension('http://nictiz.nl/fhir/StructureDefinition/zib-Medication-PeriodOfUse')", "publisher": "Nictiz", "purpose": "To search MedicationRequest and MedicationDispense resources based on the Period datatype of the PeriodOfUse extension (http://nictiz.nl/fhir/StructureDefinition/zib-Medication-PeriodOfUse) and Duration datatype in the MedicactionUse-Duration extension (http://nictiz.nl/fhir/StructureDefinition/zib-MedicationUse-Duration).", "name": "Medications-periodofuse", "xpath": "f:MedicationRequest/f:extension[@url='http://nictiz.nl/fhir/StructureDefinition/zib-Medication-PeriodOfUse'] | f:MedicationDispense/f:extension[@url='http://nictiz.nl/fhir/StructureDefinition/zib-Medication-PeriodOfUse']", "xpathUsage": "normal", "type": "date", "experimental": null, "resourceType": "SearchParameter", "title": null, "package_version": "1.3.11", "status": "active", "id": "e113603c-9b41-44d9-a8ab-805d7efcfa5e", "kind": null, "url": "http://nictiz.nl/fhir/SearchParameter/Medications-periodofuse", "code": "periodofuse", "comparator": [ "eq", "le", "ge" ], "base": [ "MedicationRequest", "MedicationDispense" ], "version": "1.0.2", "contact": [ { "name": "Nictiz", "telecom": [ { "use": "work", "value": "info@nictiz.nl", "system": "email" } ] } ] }