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

FHIR IG analytics

Packagenictiz.fhir.nl.r4.medicationprocess9
Resource TypeOperationDefinition
Idoperationdefinition-LaatsteStops.json
FHIR VersionR4
Sourcehttps://simplifier.net/resolve?scope=nictiz.fhir.nl.r4.medicationprocess9@2.0.0-rc.7&canonical=http://nictiz.nl/fhir/OperationDefinition/mp-latest-stops
URLhttp://nictiz.nl/fhir/OperationDefinition/mp-latest-stops
Version2.0.0-rc.7
Statusactive
NameMpLatestStops
TitleLatest stops per pharmaceutical treatment (MBH)
Realmnl
DescriptionThis operation determines, for a given patient, the latest stop per pharmaceutical treatment (MBH) based on MedicationAgreement (MedicatieAfspraak, MA), AdministrationAgreement (ToedieningsAfspraak, TA) and MedicationRequest resources representing a VariableDosingRegimen (WisselendDoseerSchema, WDS) in the source system. When invoked in the context of a specific kind of building block (e.g. MedicationAgreement/MA, AdministrationAgreement/TA or VariableDosingRegimen/WDS), the server SHALL return the active and latest stopped building blocks of that kind for each pharmaceutical treatment/MBH. If requested (e.g. via the include-details parameter), the server MAY also return the underlying MedicationAgreement, AdministrationAgreement and VariableDosingRegimen resources that were used to determine the latest stop per MBH.
PurposeTo provide a deterministic, server-side application of the 'latest stop per MBH' rule in the MedicationProcess, so that clients can obtain a consistent view of stopped and ongoing medication without having to reimplement stop logic themselves.
Typetrue
Kindoperation

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

No narrative content found in resource


Source1

{
  "resourceType": "OperationDefinition",
  "id": "mp-latest-stops",
  "url": "http://nictiz.nl/fhir/OperationDefinition/mp-latest-stops",
  "version": "2.0.0-rc.7",
  "name": "MpLatestStops",
  "title": "Latest stops per pharmaceutical treatment (MBH)",
  "status": "active",
  "kind": "operation",
  "experimental": false,
  "publisher": "Nictiz",
  "contact": [
    {
      "name": "Nictiz",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.nictiz.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "This operation determines, for a given patient, the latest stop per pharmaceutical treatment (MBH) based on MedicationAgreement (MedicatieAfspraak, MA), AdministrationAgreement (ToedieningsAfspraak, TA) and MedicationRequest resources representing a VariableDosingRegimen (WisselendDoseerSchema, WDS) in the source system.                                                  When invoked in the context of a specific kind of building block (e.g. MedicationAgreement/MA, AdministrationAgreement/TA or VariableDosingRegimen/WDS), the server SHALL return the active and latest stopped building blocks of that kind for each pharmaceutical treatment/MBH.                                                  If requested (e.g. via the include-details parameter), the server MAY also return the underlying MedicationAgreement, AdministrationAgreement and VariableDosingRegimen resources that were used to determine the latest stop per MBH.",
  "purpose": "To provide a deterministic, server-side application of the 'latest stop per MBH' rule in the MedicationProcess, so that clients can obtain a consistent view of stopped and ongoing medication without having to reimplement stop logic themselves.",
  "affectsState": false,
  "code": "latest-stops",
  "resource": [
    "MedicationRequest",
    "MedicationDispense"
  ],
  "system": true,
  "type": true,
  "instance": false,
  "parameter": [
    {
      "name": "patient",
      "use": "in",
      "min": 1,
      "max": "1",
      "documentation": "Patient identifier for whom the latest stops per MBH should be determined (e.g. BSN).",
      "type": "Identifier"
    },
    {
      "name": "category",
      "use": "in",
      "min": 0,
      "max": "1",
      "documentation": "Optional category to support routing and targeted source querying. When provided, the server SHOULD limit evaluation to the relevant medication process building blocks in that category, according to MP9 conventions.",
      "type": "CodeableConcept"
    },
    {
      "name": "mbh",
      "use": "in",
      "min": 0,
      "max": "*",
      "documentation": "Optional restriction to one or more specific pharmaceutical treatments (MBHs). If omitted, the server SHALL determine the latest stop for all MBHs in the source system for the given patient.",
      "type": "Identifier"
    },
    {
      "name": "include-details",
      "use": "in",
      "min": 0,
      "max": "1",
      "documentation": "If true, the returned Bundle SHOULD include the underlying resources.",
      "type": "boolean"
    },
    {
      "name": "return",
      "use": "out",
      "min": 1,
      "max": "1",
      "documentation": "Bundle containing the results after applying the latest stop logic per MBH for the given patient (and any optional filters).\n\nWhen the operation is invoked in the context of a specific kind (MA, TA or WDS), the Bundle SHALL at least contain the building blocks of that kind that are active or represent the latest stop per MBH, including latest stopped building blocks of that kind even if their PeriodOfUse lies outside the searched period.",
      "type": "Bundle"
    }
  ]
}