FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packageee.fhir.vris
Resource TypeOperationDefinition
IdOperationDefinition-EEVRISPatientObservations.json
FHIR VersionR5
Sourcehttps://build.fhir.org/ig/TEHIK-EE/ig-ee-vris/OperationDefinition-EEVRISPatientObservations.html
URLhttps://fhir.ee/vris/OperationDefinition/patient-observations
Version0.1.0
Statusdraft
Date2026-07-15
NamePatientObservations
Title$patient-observations operation
Realmee
DescriptionTEST Custom operation to retrieve all Observation resources for a specific patient in Estonian VRIS. Supports optional filtering by profile, category, code, and date range. (ee Operatioon kõikide Observation ressursside pärimiseks VRIS-ist. Tagastab Bundle'i kõikide Observationitega, kus subject viitab antud patsiendile.)
Typetrue
Kindoperation

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: OperationDefinition EEVRISPatientObservations

URL: [base]/Patient/$patient-observations

URL: [base]/Patient/[id]/$patient-observations

Parameters

UseNameScopeCardinalityTypeBindingDocumentation
INpatient0..1Reference (Patient: EE VRIS Patient, EE MPI Patient Verified, EE MPI Patient Unknown)

Reference to the patient whose observations are being requested. Required when invoked at type level; optional (implied) when invoked at instance level.

INprofile0..*canonical

Filter results to include only Observations conforming to specified profile(s). Multiple profiles can be provided (OR condition).

INcategory0..*CodeableConcept

Filter by Observation.category value(s) (e.g., laboratory, exam, procedure, social-history).

INcode0..*CodeableConcept

Filter by Observation.code value(s) (e.g., specific LOINC or SNOMED CT codes).

INdate-from0..1dateTime

Include only Observations with effective date on or after this date.

INdate-to0..1dateTime

Include only Observations with effective date on or before this date.

INstatus0..*code

Filter by Observation.status (e.g., final, amended, corrected, cancelled).

OUTreturn1..1Bundle

Bundle of type 'searchset' containing all matching Observation resources. Empty Bundle if patient has no observations.

This operation returns all Observation resources associated with a given patient, optionally filtered by profile, category, code, or effective date range.


Source1

{
  "resourceType": "OperationDefinition",
  "id": "EEVRISPatientObservations",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "url": "https://fhir.ee/vris/OperationDefinition/patient-observations",
  "version": "0.1.0",
  "name": "PatientObservations",
  "title": "$patient-observations operation",
  "status": "draft",
  "kind": "operation",
  "experimental": true,
  "date": "2026-07-15",
  "publisher": "TEHIK",
  "contact": [
    {
      "name": "TEHIK",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.tehik.ee"
        },
        {
          "system": "email",
          "value": "fhir@tehik.ee"
        }
      ]
    },
    {
      "name": "TEHIK Andmekorraldus",
      "telecom": [
        {
          "system": "email",
          "value": "andmekorraldus@tehik.ee",
          "use": "work"
        }
      ]
    }
  ],
  "description": "TEST Custom operation to retrieve all Observation resources for a specific patient in Estonian VRIS. Supports optional filtering by profile, category, code, and date range. (ee Operatioon kõikide Observation ressursside pärimiseks VRIS-ist. Tagastab Bundle'i kõikide Observationitega, kus subject viitab antud patsiendile.)",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "EE",
          "display": "Estonia"
        }
      ]
    }
  ],
  "affectsState": false,
  "code": "patient-observations",
  "comment": "This operation returns all Observation resources associated with a given patient, optionally filtered by profile, category, code, or effective date range.",
  "resource": [
    "Patient"
  ],
  "system": false,
  "type": true,
  "instance": true,
  "parameter": [
    {
      "name": "patient",
      "use": "in",
      "min": 0,
      "max": "1",
      "documentation": "Reference to the patient whose observations are being requested. Required when invoked at type level; optional (implied) when invoked at instance level.",
      "type": "Reference",
      "targetProfile": [
        "https://fhir.ee/vris/StructureDefinition/ee-vris-patient-universal",
        "https://fhir.ee/mpi/StructureDefinition/ee-mpi-patient-verified",
        "https://fhir.ee/mpi/StructureDefinition/ee-mpi-patient-unknown"
      ]
    },
    {
      "name": "profile",
      "use": "in",
      "min": 0,
      "max": "*",
      "documentation": "Filter results to include only Observations conforming to specified profile(s). Multiple profiles can be provided (OR condition).",
      "type": "canonical"
    },
    {
      "name": "category",
      "use": "in",
      "min": 0,
      "max": "*",
      "documentation": "Filter by Observation.category value(s) (e.g., laboratory, exam, procedure, social-history).",
      "type": "CodeableConcept"
    },
    {
      "name": "code",
      "use": "in",
      "min": 0,
      "max": "*",
      "documentation": "Filter by Observation.code value(s) (e.g., specific LOINC or SNOMED CT codes).",
      "type": "CodeableConcept"
    },
    {
      "name": "date-from",
      "use": "in",
      "min": 0,
      "max": "1",
      "documentation": "Include only Observations with effective date on or after this date.",
      "type": "dateTime"
    },
    {
      "name": "date-to",
      "use": "in",
      "min": 0,
      "max": "1",
      "documentation": "Include only Observations with effective date on or before this date.",
      "type": "dateTime"
    },
    {
      "name": "status",
      "use": "in",
      "min": 0,
      "max": "*",
      "documentation": "Filter by Observation.status (e.g., final, amended, corrected, cancelled).",
      "type": "code"
    },
    {
      "name": "return",
      "use": "out",
      "min": 1,
      "max": "1",
      "documentation": "Bundle of type 'searchset' containing all matching Observation resources. Empty Bundle if patient has no observations.",
      "type": "Bundle"
    }
  ]
}