FHIR © HL7.org  |  Server Home  |  XIG Home  |  XIG Stats  |  Server Source  |  FHIR  

FHIR IG Statistics: SearchParameter/SearchParameter-MedicationDispense-whendispensed

Packagenictiz.fhir.nl.stu3.zib2015
Resource TypeSearchParameter
IdSearchParameter-MedicationDispense-whendispensed
FHIR VersionR3
Sourcehttps://simplifier.net/resolve?scope=nictiz.fhir.nl.stu3.zib2015@1.0.0&canonical=http://nictiz.nl/fhir/SearchParameter/MedicationDispense-whendispensed
URLhttp://nictiz.nl/fhir/SearchParameter/MedicationDispense-whendispensed
Version1.0
Statusdraft
Date2017-07-17T14:26:13.365+00:00
NameMedicationDispense-whendispensed
Realmnl
DescriptionThe information in whenHandedOver is not always available. In this case you want to be able to select based on the next best thing which is whenPrepared. The existing parameters whenHandedOver and whenPrepared would not let you query that way.
PurposeTo select the medication dispense instances based on the date/time medication was handed over or, if this is unavailable, when it was prepared
Typedate

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

No narrative content found in resource


Source

{
  "resourceType": "SearchParameter",
  "url": "http://nictiz.nl/fhir/SearchParameter/MedicationDispense-whendispensed",
  "version": "1.0",
  "name": "MedicationDispense-whendispensed",
  "status": "draft",
  "experimental": true,
  "date": "2017-07-17T14:26:13.365+00:00",
  "publisher": "Nictiz",
  "contact": [
    {
      "name": "Nictiz",
      "telecom": [
        {
          "system": "email",
          "value": "info@nictiz.nl",
          "use": "work"
        }
      ]
    }
  ],
  "purpose": "To select the medication dispense instances based on the date/time medication was handed over or, if this is unavailable, when it was prepared",
  "code": "whendispensed",
  "base": [
    "MedicationDispense"
  ],
  "type": "date",
  "description": "The information in whenHandedOver is not always available. In this case you want to be able to select based on the next best thing which is whenPrepared. The existing parameters whenHandedOver and whenPrepared would not let you query that way.",
  "expression": "iif (MedicationDispense.whenHandedOver.empty(), MedicationDispense.whenPrepared, MedicationDispense.whenHandedOver)",
  "xpath": "if (f:MedicationDispense/f:whenHandedOver[@value]) then f:MedicationDispense/f:whenHandedOver/@value else f:MedicationDispense/f:whenPrepared/@value",
  "xpathUsage": "normal",
  "comparator": [
    "le",
    "ge"
  ]
}