$apply-fhirpath
POST {{host}}/fhir/$apply-fhirpath
Request Body
{"ResourceType"=>"Parameters", "parameter"=>[{"name"=>"fhirPath", "valueString"=>"Observation.effective as dateTime implies Observation.effective.toString().length() >= 8"}, {"name"=>"resource", "resource"=>{"resourceType"=>"Observation", "id"=>"1e241b74-55ac-401e-88fc-27fde5dc786e", "identifier"=>[{"use"=>"official", "system"=>"http://www.bmc.nl/zorgportal/identifiers/observations", "value"=>"1e241b74-55ac-401e-88fc-27fde5dc786e"}], "category"=>[{"coding"=>[{"system"=>"http://terminology.hl7.org/CodeSystem/observation-category", "code"=>"vital-signs"}]}], "status"=>"final", "code"=>{"coding"=>[{"system"=>"http://loinc.org", "code"=>"85354-9", "display"=>"Glucose [Moles/volume] in Blood"}]}, "subject"=>{"reference"=>"Patient/25410a8d-1a59-4311-91cb-d03eb7827dd9"}, "effectiveDateTime"=>"2025-01-02T09:30:10+01:00", "issued"=>"2013-04-03T15:30:10+01:00", "performer"=>[{"identifier"=>{"system"=>"http://performer", "value"=>"0009"}, "display"=>"A. Langeveld"}], "valueQuantity"=>{"value"=>5.4, "comparator"=>">", "unit"=>"mg", "system"=>"http://unitsofmeasure.org", "code"=>"mg"}, "interpretation"=>[{"coding"=>[{"system"=>"http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", "code"=>"H", "display"=>"High"}]}], "referenceRange"=>[{"low"=>{"value"=>3.1, "unit"=>"mmol/l", "system"=>"http://unitsofmeasure.org", "code"=>"mmol/L"}, "high"=>{"value"=>6.2, "unit"=>"mmol/l", "system"=>"http://unitsofmeasure.org", "code"=>"mmol/L"}}], "component"=>[{"code"=>{"coding"=>[{"system"=>"http://loinc.org", "code"=>"8480-6"}]}, "valueQuantity"=>{"value"=>5.4, "comparator"=>">", "unit"=>"kg/m2", "system"=>"http://unitsofmeasure.org", "code"=>"kg/m2"}}, {"code"=>{"coding"=>[{"system"=>"http://loinc.org", "code"=>"8462-4"}]}, "valueQuantity"=>{"value"=>5.4, "comparator"=>">", "unit"=>"kg/m2", "system"=>"http://unitsofmeasure.org", "code"=>"kg/m2"}}]}}]}