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

FHIR IG analytics

Packageke.fhir.eprescription
Resource TypeCapabilityStatement
IdCapabilityStatement-kenya-eprescription-server.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/IntelliSOFT-Consulting/Kenya-ePrescription-IG/CapabilityStatement-kenya-eprescription-server.html
URLhttps://fhir.dha.go.ke/fhir/CapabilityStatement/kenya-eprescription-server
Version0.1.0
Statusactive
Date2025-06-01
NameKenyaEPrescriptionServerCapabilityStatement
TitleKenya ePrescription Server CapabilityStatement
DescriptionThis CapabilityStatement defines the conformance requirements for any system claiming to be a Kenya ePrescription server. It covers the core prescription-to-dispense workflow as well as oncology care plan and allergy management capabilities.
CopyrightCopyright 2025+ Digital Health Agency, Kenya. This content is licensed under Creative Commons Attribution 4.0 International (CC-BY-4.0). Terminology content from the Kenya Pharmacy and Poisons Board (PPB) via Open Concept Lab (OCL) is subject to separate terms.
Kindrequirements

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: CapabilityStatement kenya-eprescription-server

Kenya ePrescription Server CapabilityStatement

  • Implementation Guide Version: 0.1.0
  • FHIR Version: 4.0.1
  • Supported Formats: json, xml
  • Published on: 2025-06-01
  • Published by: Digital Health Agency (DHA), Kenya

Note to Implementers: FHIR Capabilities

Any FHIR capability may be 'allowed' by the system unless explicitly marked as 'SHALL NOT'. A few items are marked as MAY in the Implementation Guide to highlight their potential relevance to the use case.

FHIR RESTful Capabilities

Mode: server

The Kenya ePrescription server supports resource-level CRUD operations and the search interactions listed below. All transactions must be authenticated via OAuth 2.0 / SMART on FHIR.

Security
Enable CORS: yes
Security services supported: SMART-on-FHIR

OAuth 2.0 with SMART on FHIR scopes. All clients must present a valid access token issued by the national HIE identity provider.

Capabilities by Resource/Profile

Summary

The summary table lists the resources that are part of this configuration, and for each resource it lists:

  • The relevant profiles (if any)
  • The interactions supported by each resource (Read, Search, Update, and Create, are always shown, while VRead, Patch, Delete, History on Instance, or History on Type are only present if at least one of the resources has support for them.
  • The required, recommended, and some optional search parameters (if any).
  • The linked resources enabled for _include
  • The other resources enabled for _revinclude
  • The operations on the resource (if any)
Resource TypeProfileRSUCSearches_include_revincludeOperations
Patienthttp://hl7.org/fhir/StructureDefinition/PatientYYidentifier, name, birthdate
Practitionerhttp://hl7.org/fhir/StructureDefinition/PractitionerYYidentifier
Organizationhttp://hl7.org/fhir/StructureDefinition/OrganizationYYidentifier
Encounterhttps://fhir.dha.go.ke/fhir/StructureDefinition/ke-encounterYYYYpatient, status, date
MedicationRequesthttps://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication-requestYYYYpatient, requester, status, authoredon, medication, identifier
Medicationhttps://fhir.dha.go.ke/fhir/StructureDefinition/ke-medicationYYcode
MedicationDispensehttps://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication-dispenseYYYYpatient, prescription, status, whenhandedover
MedicationAdministrationhttps://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication-administrationYYYpatient, request, effective-time
MedicationStatementhttps://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication-statementYYYpatient, status
AllergyIntolerancehttps://fhir.dha.go.ke/fhir/StructureDefinition/ke-allergy-intoleranceYYYYpatient, clinical-status, code
Conditionhttp://hl7.org/fhir/StructureDefinition/ConditionYYYpatient, code, clinical-status
Provenancehttps://fhir.dha.go.ke/fhir/StructureDefinition/ke-provenanceYYYtarget, recorded, agent
EpisodeOfCarehttps://fhir.dha.go.ke/fhir/StructureDefinition/ke-episode-of-careYYYpatient, status

Resource Conformance: unspecified Patient

Base System Profile
Patient
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • SHALL support read, search-type.

Documentation

Patient resources are read-only on this server; patient registration is managed by the MPI.

Search Parameters
ConformanceParameterTypeDocumentation
SHALLidentifiertoken

Search by national ID or other patient identifier

SHALLnamestring
SHALLbirthdatedate
 

Resource Conformance: unspecified Practitioner

Base System Profile
Practitioner
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • SHALL support read, search-type.

Search Parameters
ConformanceParameterTypeDocumentation
SHALLidentifiertoken

Search by KMPDC medical licence number

 

Resource Conformance: unspecified Organization

Base System Profile
Organization
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • SHALL support read.
  • SHOULD support search-type.

Search Parameters
ConformanceParameterTypeDocumentation
SHALLidentifiertoken

Search by MFL facility code

 

Resource Conformance: unspecified Encounter

Base System Profile
https://fhir.dha.go.ke/fhir/StructureDefinition/ke-encounter
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • SHALL support read, create, update, search-type.

Search Parameters
ConformanceParameterTypeDocumentation
SHALLpatientreference
SHALLstatustoken
SHALLdatedate
 

Resource Conformance: unspecified MedicationRequest

Base System Profile
https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication-request
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • SHALL support read, create, update, search-type.

Documentation

Core ePrescription resource. Servers SHALL support create, read, update, and search by patient, requester, status, and authored date.

Search Parameters
ConformanceParameterTypeDocumentation
SHALLpatientreference

Search prescriptions by patient

SHALLrequesterreference
SHALLstatustoken
SHALLauthoredondate
SHALLmedicationtoken
SHALLidentifiertoken
 

Resource Conformance: unspecified Medication

Base System Profile
https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • SHALL support read.
  • SHOULD support search-type.

Search Parameters
ConformanceParameterTypeDocumentation
SHALLcodetoken

Search by PPB generic product code

 

Resource Conformance: unspecified MedicationDispense

Base System Profile
https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication-dispense
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • SHALL support read, create, update, search-type.

Search Parameters
ConformanceParameterTypeDocumentation
SHALLpatientreference
SHALLprescriptionreference

Filter dispenses by originating prescription

SHALLstatustoken
SHALLwhenhandedoverdate
 

Resource Conformance: unspecified MedicationAdministration

Base System Profile
https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication-administration
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • SHALL support read, create.
  • SHOULD support search-type.

Search Parameters
ConformanceParameterTypeDocumentation
SHALLpatientreference
SHALLrequestreference
SHALLeffective-timedate
 

Resource Conformance: unspecified MedicationStatement

Base System Profile
https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication-statement
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • SHALL support read, search-type.
  • SHOULD support create.

Search Parameters
ConformanceParameterTypeDocumentation
SHALLpatientreference
SHALLstatustoken
 

Resource Conformance: unspecified AllergyIntolerance

Base System Profile
https://fhir.dha.go.ke/fhir/StructureDefinition/ke-allergy-intolerance
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • SHALL support read, create, update, search-type.

Search Parameters
ConformanceParameterTypeDocumentation
SHALLpatientreference
SHALLclinical-statustoken
SHALLcodetoken

Search by allergen substance code (ActiveComponentsVS)

 

Resource Conformance: unspecified Condition

Base System Profile
Condition
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • SHALL support read, create, search-type.

Search Parameters
ConformanceParameterTypeDocumentation
SHALLpatientreference
SHALLcodetoken
SHALLclinical-statustoken
 

Resource Conformance: unspecified Provenance

Base System Profile
https://fhir.dha.go.ke/fhir/StructureDefinition/ke-provenance
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • SHALL support read, create.
  • SHOULD support search-type.

Documentation

Audit trail resource capturing authorship and lifecycle changes to prescriptions, dispenses, and administration records. Servers SHALL support read and create; search by target is SHOULD.

Search Parameters
ConformanceParameterTypeDocumentation
SHALLtargetreference

Filter provenance records by the target medication resource (MedicationRequest, MedicationDispense, MedicationAdministration, MedicationStatement)

SHALLrecordeddate

Filter provenance records by the date the record was created

SHALLagentreference

Filter provenance records by the responsible actor (prescriber, pharmacist, or system)

 

Resource Conformance: unspecified EpisodeOfCare

Base System Profile
https://fhir.dha.go.ke/fhir/StructureDefinition/ke-episode-of-care
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • SHALL support read.
  • SHOULD support create, search-type.

Search Parameters
ConformanceParameterTypeDocumentation
SHALLpatientreference
SHALLstatustoken
 

Source1

{
  "resourceType": "CapabilityStatement",
  "id": "kenya-eprescription-server",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "https://fhir.dha.go.ke/fhir/CapabilityStatement/kenya-eprescription-server",
  "version": "0.1.0",
  "name": "KenyaEPrescriptionServerCapabilityStatement",
  "title": "Kenya ePrescription Server CapabilityStatement",
  "status": "active",
  "experimental": false,
  "date": "2025-06-01",
  "publisher": "Digital Health Agency (DHA), Kenya",
  "contact": [
    {
      "name": "Digital Health Agency (DHA), Kenya",
      "telecom": [
        {
          "system": "url",
          "value": "https://dha.go.ke/"
        },
        {
          "system": "email",
          "value": "helpdesk@dha.go.ke"
        }
      ]
    },
    {
      "name": "Digital Health Agency, Kenya",
      "telecom": [
        {
          "system": "email",
          "value": "helpdesk@dha.go.ke",
          "use": "work"
        },
        {
          "system": "url",
          "value": "https://www.dha.go.ke/"
        }
      ]
    }
  ],
  "description": "This CapabilityStatement defines the conformance requirements for any system claiming to be a Kenya ePrescription server. It covers the core prescription-to-dispense workflow as well as oncology care plan and allergy management capabilities.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "KE",
          "display": "Kenya"
        }
      ]
    }
  ],
  "copyright": "Copyright 2025+ Digital Health Agency, Kenya. This content is licensed under Creative Commons Attribution 4.0 International (CC-BY-4.0). Terminology content from the Kenya Pharmacy and Poisons Board (PPB) via Open Concept Lab (OCL) is subject to separate terms.",
  "kind": "requirements",
  "fhirVersion": "4.0.1",
  "format": [
    "json",
    "xml"
  ],
  "rest": [
    {
      "mode": "server",
      "documentation": "The Kenya ePrescription server supports resource-level CRUD operations and the search interactions listed below. All transactions must be authenticated via OAuth 2.0 / SMART on FHIR.",
      "security": {
        "cors": true,
        "service": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/restful-security-service",
                "code": "SMART-on-FHIR",
                "display": "SMART-on-FHIR"
              }
            ]
          }
        ],
        "description": "OAuth 2.0 with SMART on FHIR scopes. All clients must present a valid access token issued by the national HIE identity provider."
      },
      "resource": [
        {
          "type": "Patient",
          "profile": "http://hl7.org/fhir/StructureDefinition/Patient",
          "documentation": "Patient resources are read-only on this server; patient registration is managed by the MPI.",
          "interaction": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "read"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "identifier",
              "type": "token",
              "documentation": "Search by national ID or other patient identifier"
            },
            {
              "name": "name",
              "type": "string"
            },
            {
              "name": "birthdate",
              "type": "date"
            }
          ]
        },
        {
          "type": "Practitioner",
          "profile": "http://hl7.org/fhir/StructureDefinition/Practitioner",
          "interaction": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "read"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "identifier",
              "type": "token",
              "documentation": "Search by KMPDC medical licence number"
            }
          ]
        },
        {
          "type": "Organization",
          "profile": "http://hl7.org/fhir/StructureDefinition/Organization",
          "interaction": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "read"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHOULD"
                }
              ],
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "identifier",
              "type": "token",
              "documentation": "Search by MFL facility code"
            }
          ]
        },
        {
          "type": "Encounter",
          "profile": "https://fhir.dha.go.ke/fhir/StructureDefinition/ke-encounter",
          "interaction": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "read"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "create"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "update"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "patient",
              "type": "reference"
            },
            {
              "name": "status",
              "type": "token"
            },
            {
              "name": "date",
              "type": "date"
            }
          ]
        },
        {
          "type": "MedicationRequest",
          "profile": "https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication-request",
          "documentation": "Core ePrescription resource. Servers SHALL support create, read, update, and search by patient, requester, status, and authored date.",
          "interaction": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "read"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "create"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "update"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "patient",
              "type": "reference",
              "documentation": "Search prescriptions by patient"
            },
            {
              "name": "requester",
              "type": "reference"
            },
            {
              "name": "status",
              "type": "token"
            },
            {
              "name": "authoredon",
              "type": "date"
            },
            {
              "name": "medication",
              "type": "token"
            },
            {
              "name": "identifier",
              "type": "token"
            }
          ]
        },
        {
          "type": "Medication",
          "profile": "https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication",
          "interaction": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "read"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHOULD"
                }
              ],
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "code",
              "type": "token",
              "documentation": "Search by PPB generic product code"
            }
          ]
        },
        {
          "type": "MedicationDispense",
          "profile": "https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication-dispense",
          "interaction": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "read"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "create"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "update"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "patient",
              "type": "reference"
            },
            {
              "name": "prescription",
              "type": "reference",
              "documentation": "Filter dispenses by originating prescription"
            },
            {
              "name": "status",
              "type": "token"
            },
            {
              "name": "whenhandedover",
              "type": "date"
            }
          ]
        },
        {
          "type": "MedicationAdministration",
          "profile": "https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication-administration",
          "interaction": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "read"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "create"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHOULD"
                }
              ],
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "patient",
              "type": "reference"
            },
            {
              "name": "request",
              "type": "reference"
            },
            {
              "name": "effective-time",
              "type": "date"
            }
          ]
        },
        {
          "type": "MedicationStatement",
          "profile": "https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication-statement",
          "interaction": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "read"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHOULD"
                }
              ],
              "code": "create"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "patient",
              "type": "reference"
            },
            {
              "name": "status",
              "type": "token"
            }
          ]
        },
        {
          "type": "AllergyIntolerance",
          "profile": "https://fhir.dha.go.ke/fhir/StructureDefinition/ke-allergy-intolerance",
          "interaction": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "read"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "create"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "update"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "patient",
              "type": "reference"
            },
            {
              "name": "clinical-status",
              "type": "token"
            },
            {
              "name": "code",
              "type": "token",
              "documentation": "Search by allergen substance code (ActiveComponentsVS)"
            }
          ]
        },
        {
          "type": "Condition",
          "profile": "http://hl7.org/fhir/StructureDefinition/Condition",
          "interaction": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "read"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "create"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "patient",
              "type": "reference"
            },
            {
              "name": "code",
              "type": "token"
            },
            {
              "name": "clinical-status",
              "type": "token"
            }
          ]
        },
        {
          "type": "Provenance",
          "profile": "https://fhir.dha.go.ke/fhir/StructureDefinition/ke-provenance",
          "documentation": "Audit trail resource capturing authorship and lifecycle changes to prescriptions, dispenses, and administration records. Servers SHALL support read and create; search by target is SHOULD.",
          "interaction": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "read"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "create"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHOULD"
                }
              ],
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "target",
              "type": "reference",
              "documentation": "Filter provenance records by the target medication resource (MedicationRequest, MedicationDispense, MedicationAdministration, MedicationStatement)"
            },
            {
              "name": "recorded",
              "type": "date",
              "documentation": "Filter provenance records by the date the record was created"
            },
            {
              "name": "agent",
              "type": "reference",
              "documentation": "Filter provenance records by the responsible actor (prescriber, pharmacist, or system)"
            }
          ]
        },
        {
          "type": "EpisodeOfCare",
          "profile": "https://fhir.dha.go.ke/fhir/StructureDefinition/ke-episode-of-care",
          "interaction": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "read"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHOULD"
                }
              ],
              "code": "create"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHOULD"
                }
              ],
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "patient",
              "type": "reference"
            },
            {
              "name": "status",
              "type": "token"
            }
          ]
        }
      ]
    }
  ]
}