EEHRxF-ResourceConsumer
type: CapabilityStatement
node role: treeRoot
id:
  v: EEHRxF-ResourceConsumer
language:
  v: en
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: CapabilityStatement EEHRxF-ResourceConsumer EEHRxF Resource Consumer CapabilityStatement Implementation Guide Version: 0.1.0 FHIR Version: 4.0.1 Supported Formats: json, xml Published on: 2026-02-02 Published by: HL7 Europe 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: client The Resource Consumer actor queries for clinical data resources from a Resource Access Provider following IPA and QEDm patterns. This enables direct resource access complementing document-based exchange via MHD. All transactions require SMART Backend Services authorization. Security Enable CORS: no Security services supported: SMART-on-FHIR SMART Backend Services authorization is REQUIRED for all transactions. Systems SHALL: Authenticate using JWT client credentials (RFC 7523) Request appropriate scopes for resource access Use TLS 1.2 or higher for all communications Resource Flexibility Following IPA's approach, clients MAY choose which clinical resources to request based on their needs and the server's capabilities (as declared in the server's CapabilityStatement). Patient lookup is required; other resources are requested as needed. Scopes for Desired Resources Clients SHALL request scopes for the resources they need: system/Patient.read, system/Patient.search (REQUIRED - read and search Patient) system/Condition.read, system/Condition.search (if Condition needed) system/AllergyIntolerance.read, system/AllergyIntolerance.search (if AllergyIntolerance needed) system/Observation.read, system/Observation.search (if Observation needed) system/DiagnosticReport.read, system/DiagnosticReport.search (if DiagnosticReport needed) system/MedicationRequest.read, system/MedicationRequest.search (if MedicationRequest needed) system/MedicationDispense.read, s…
url:
  v: http://hl7.eu/fhir/eu-health-data-api/CapabilityStatement/EEHRxF-ResourceConsumer
  l: EEHRxF-ResourceConsumer
version:
  v: 0.1.0
name:
  v: EEHRxFResourceConsumer
title:
  v: EEHRxF Resource Consumer CapabilityStatement
status:
  v: active
experimental:
  v: false
date:
  v: 2026-02-02
publisher:
  v: HL7 Europe
contact:
  name:
    v: HL7 Europe
  telecom:
    system:
      v: url
    value:
      v: http://hl7.eu
description:
  v: CapabilityStatement for the EEHRxF Resource Consumer actor. This actor queries for clinical data resources following the International Patient Access (IPA) patterns and IHE QEDm Clinical Data Consumer capabilities. This CapabilityStatement defines the requirements for systems consuming direct resource access (beyond document-based exchange) in the EU EHR Exchange Format (EEHRxF) ecosystem. It inherits patterns from: - **IPA (International Patient Access)**: Resource profiles and search parameter patterns - **IHE QEDm (Query for Existing Data for Mobile)**: Clinical Data Consumer actor capabilities ### Resource Flexibility (IPA Alignment) Following IPA's approach, clients are not required to consume all clinical resources listed below. Clients MAY choose which resources to query based on their needs and the server's declared capabilities. The only required capability is Patient lookup. This flexibility allows clients to implement targeted use cases without requiring support for all resource types. **Required**: Patient (for lookup context) **Optional (request based on needs and server support)**: - Practitioner, Organization: Reference resolution - Condition, AllergyIntolerance: Patient safety data - Observation, DiagnosticReport: Clinical results - MedicationRequest, MedicationDispense, MedicationStatement: Medication data - Immunization: Vaccination records - Encounter: Visit context Clients should check the server's CapabilityStatement to discover which resources are available. ### Security Systems SHALL support SMART Backend Services authorization for all transactions. ### Profile Inheritance Consumers SHOULD expect resources conforming to EU Core profiles where available.
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
      l: m49.htm
    code:
      v: 150
    display:
      v: Europe
copyright:
  v: Copyright HL7 Europe. Licensed under Creative Commons public domain (CC0 1.0).
kind:
  v: requirements
fhir version:
  v: 4.0.1
format:
  v: json
format:
  v: xml
rest:
  mode:
    v: client
  documentation:
    v: The Resource Consumer actor queries for clinical data resources from a Resource Access Provider following IPA and QEDm patterns. This enables direct resource access complementing document-based exchange via MHD. All transactions require SMART Backend Services authorization.
  security:
    cors:
      v: false
    description:
      v: SMART Backend Services authorization is REQUIRED for all transactions. Systems SHALL: - Authenticate using JWT client credentials (RFC 7523) - Request appropriate scopes for resource access - Use TLS 1.2 or higher for all communications ### Resource Flexibility Following IPA's approach, clients MAY choose which clinical resources to request based on their needs and the server's capabilities (as declared in the server's CapabilityStatement). Patient lookup is required; other resources are requested as needed. ### Scopes for Desired Resources Clients SHALL request scopes for the resources they need: - system/Patient.read, system/Patient.search (REQUIRED - read and search Patient) - system/Condition.read, system/Condition.search (if Condition needed) - system/AllergyIntolerance.read, system/AllergyIntolerance.search (if AllergyIntolerance needed) - system/Observation.read, system/Observation.search (if Observation needed) - system/DiagnosticReport.read, system/DiagnosticReport.search (if DiagnosticReport needed) - system/MedicationRequest.read, system/MedicationRequest.search (if MedicationRequest needed) - system/MedicationDispense.read, system/MedicationDispense.search (if MedicationDispense needed) - system/Immunization.read, system/Immunization.search (if Immunization needed) - system/MedicationStatement.read, system/MedicationStatement.search (if MedicationStatement needed) - system/Encounter.read, system/Encounter.search (if Encounter needed) - system/Practitioner.read (if Practitioner needed) - system/Organization.read (if Organization needed)
  resource:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
        l: capabilitystatement-expectation
      value: Code
        v: SHALL
    type:
      v: Patient
    documentation:
      v: Patient resources are queried for patient lookup per PDQm [ITI-78] with identifier as a required search parameter. Note: Patient is used for lookup context, not as a primary clinical data resource in this actor.
    interaction:
      extension:
        value: Code
      code:
        v: read
      documentation:
        v: Read Patient by logical ID
    interaction:
      extension:
        value: Code
      code:
        v: search-type
      documentation:
        v: Search for patients for lookup purposes
    search param:
      extension:
        value: Code
      name:
        v: _id
      definition:
        v: http://hl7.org/fhir/SearchParameter/Resource-id
        l: Resource-id
      type:
        v: token
      documentation:
        v: Patient logical ID
    search param:
      extension:
        value: Code
      name:
        v: identifier
      definition:
        v: http://hl7.org/fhir/SearchParameter/Patient-identifier
        l: Patient-identifier
      type:
        v: token
      documentation:
        v: Patient identifier (e.g., national ID, MRN) - required for patient lookup
    search param:
      extension:
        value: Code
      name:
        v: family
      definition:
        v: http://hl7.org/fhir/SearchParameter/individual-family
        l: individual-family
      type:
        v: string
      documentation:
        v: Patient family name
    search param:
      extension:
        value: Code
      name:
        v: given
      definition:
        v: http://hl7.org/fhir/SearchParameter/individual-given
        l: individual-given
      type:
        v: string
      documentation:
        v: Patient given name
    search param:
      extension:
        value: Code
      name:
        v: birthdate
      definition:
        v: http://hl7.org/fhir/SearchParameter/individual-birthdate
        l: individual-birthdate
      type:
        v: date
      documentation:
        v: Patient date of birth
  resource:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
        l: capabilitystatement-expectation
      value: Code
        v: SHOULD
    type:
      v: Practitioner
    documentation:
      v: Practitioner resources are read to resolve clinical context for referenced healthcare providers. Clients SHOULD support this resource but MAY omit it based on their needs.
    interaction:
      extension:
        value: Code
      code:
        v: read
      documentation:
        v: Read Practitioner by logical ID
  resource:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
        l: capabilitystatement-expectation
      value: Code
        v: SHOULD
    type:
      v: Organization
    documentation:
      v: Organization resources are read to resolve context for referenced healthcare organizations. Clients SHOULD support this resource but MAY omit it based on their needs.
    interaction:
      extension:
        value: Code
      code:
        v: read
      documentation:
        v: Read Organization by logical ID
  resource:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
        l: capabilitystatement-expectation
      value: Code
        v: SHOULD
    type:
      v: Condition
    documentation:
      v: Condition resources represent problems, diagnoses, and health concerns. If supported, clients SHALL support search by patient and SHOULD support additional filters. Clients MAY omit this resource based on their needs.
    interaction:
      extension:
        value: Code
      code:
        v: read

v: SMART-on-FHIR

Code
v: SHALL

Code
v: SHALL

Code
v: SHALL

Code
v: SHALL

Code
v: SHOULD

Code
v: SHOULD

Code
v: SHOULD

Code
v: SHALL

Code
v: SHALL

Code
v: SHALL

v: Read Condition by logical ID

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    l: capabilitystatement-expectation
  value: Code
    v: SHALL
code:
  v: search-type
documentation:
  v: Search for Condition resources

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    l: capabilitystatement-expectation
  value: Code
    v: SHALL
name:
  v: patient
definition:
  v: http://hl7.org/fhir/SearchParameter/clinical-patient
  l: clinical-patient
type:
  v: reference
documentation:
  v: The patient who has the condition (SHALL support)

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    l: capabilitystatement-expectation
  value: Code
    v: SHOULD
name:
  v: clinical-status
definition:
  v: http://hl7.org/fhir/SearchParameter/Condition-clinical-status
  l: Condition-clinical-status
type:
  v: token
documentation:
  v: The clinical status of the condition

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    l: capabilitystatement-expectation
  value: Code
    v: SHOULD
name:
  v: category
definition:
  v: http://hl7.org/fhir/SearchParameter/Condition-category
  l: Condition-category
type:
  v: token
documentation:
  v: The category of condition

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    l: capabilitystatement-expectation
  value: Code
    v: SHOULD
name:
  v: code
definition:
  v: http://hl7.org/fhir/SearchParameter/clinical-code
  l: clinical-code
type:
  v: token
documentation:
  v: Code for the condition

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    l: capabilitystatement-expectation
  value: Code
    v: SHOULD
type:
  v: AllergyIntolerance
documentation:
  v: AllergyIntolerance resources represent patient allergies and intolerances. If supported, clients SHALL support search by patient. Clients MAY omit this resource based on their needs.
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHALL
  code:
    v: read
  documentation:
    v: Read AllergyIntolerance by logical ID
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHALL
  code:
    v: search-type
  documentation:
    v: Search for AllergyIntolerance resources
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHALL
  name:
    v: patient
  definition:
    v: http://hl7.org/fhir/SearchParameter/clinical-patient
    l: clinical-patient
  type:
    v: reference
  documentation:
    v: The patient who has the allergy or intolerance (SHALL support)
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: clinical-status
  definition:
    v: http://hl7.org/fhir/SearchParameter/AllergyIntolerance-clinical-status
    l: AllergyIntolerance-clinical-status
  type:
    v: token
  documentation:
    v: The clinical status of the allergy or intolerance

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    l: capabilitystatement-expectation
  value: Code
    v: SHOULD
type:
  v: Observation
documentation:
  v: Observation resources represent clinical observations including vital signs, laboratory results, and other measurements. If supported, clients SHALL support search by patient and category. Clients MAY omit this resource based on their needs.
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHALL
  code:
    v: read
  documentation:
    v: Read Observation by logical ID
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHALL
  code:
    v: search-type
  documentation:
    v: Search for Observation resources
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHALL
  name:
    v: patient
  definition:
    v: http://hl7.org/fhir/SearchParameter/clinical-patient
    l: clinical-patient
  type:
    v: reference
  documentation:
    v: The patient the observation is about (SHALL support)
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHALL
  name:
    v: category
  definition:
    v: http://hl7.org/fhir/SearchParameter/Observation-category
    l: Observation-category
  type:
    v: token
  documentation:
    v: Category of observation (e.g., vital-signs, laboratory)
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: code
  definition:
    v: http://hl7.org/fhir/SearchParameter/clinical-code
    l: clinical-code
  type:
    v: token
  documentation:
    v: The code of the observation type
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: date
  definition:
    v: http://hl7.org/fhir/SearchParameter/clinical-date
    l: clinical-date
  type:
    v: date
  documentation:
    v: Obtained date/time. Date modifiers ge, le, gt, lt SHOULD be supported.
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: status
  definition:
    v: http://hl7.org/fhir/SearchParameter/Observation-status
    l: Observation-status
  type:
    v: token
  documentation:
    v: The status of the observation

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    l: capabilitystatement-expectation
  value: Code
    v: SHOULD
type:
  v: DiagnosticReport
documentation:
  v: DiagnosticReport resources represent laboratory results and imaging reports. If supported, clients SHALL support search by patient and category. Clients MAY omit this resource based on their needs.
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHALL
  code:
    v: read
  documentation:
    v: Read DiagnosticReport by logical ID
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHALL
  code:
    v: search-type
  documentation:
    v: Search for DiagnosticReport resources
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHALL
  name:
    v: patient
  definition:
    v: http://hl7.org/fhir/SearchParameter/clinical-patient
    l: clinical-patient
  type:
    v: reference
  documentation:
    v: The patient the report is about (SHALL support)
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHALL
  name:
    v: category
  definition:
    v: http://hl7.org/fhir/SearchParameter/DiagnosticReport-category
    l: DiagnosticReport-category
  type:
    v: token
  documentation:
    v: Category of report (e.g., LAB, RAD)
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: code
  definition:
    v: http://hl7.org/fhir/SearchParameter/clinical-code
    l: clinical-code
  type:
    v: token
  documentation:
    v: The code for the report type
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: date
  definition:
    v: http://hl7.org/fhir/SearchParameter/clinical-date
    l: clinical-date
  type:
    v: date
  documentation:
    v: The clinically relevant time of the report
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: status
  definition:
    v: http://hl7.org/fhir/SearchParameter/DiagnosticReport-status
    l: DiagnosticReport-status
  type:
    v: token
  documentation:
    v: The status of the report

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    l: capabilitystatement-expectation
  value: Code
    v: SHOULD
type:
  v: MedicationRequest
documentation:
  v: MedicationRequest resources represent medication orders and prescriptions. If supported, clients SHALL support search by patient. Clients MAY omit this resource based on their needs.
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHALL
  code:
    v: read
  documentation:
    v: Read MedicationRequest by logical ID
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHALL
  code:
    v: search-type
  documentation:
    v: Search for MedicationRequest resources
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHALL
  name:
    v: patient
  definition:
    v: http://hl7.org/fhir/SearchParameter/clinical-patient
    l: clinical-patient
  type:
    v: reference
  documentation:
    v: The patient for whom the medication was ordered (SHALL support)
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: status
  definition:
    v: http://hl7.org/fhir/SearchParameter/medications-status
    l: medications-status
  type:
    v: token
  documentation:
    v: Status of the prescription
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: intent
  definition:
    v: http://hl7.org/fhir/SearchParameter/MedicationRequest-intent
    l: MedicationRequest-intent
  type:
    v: token
  documentation:
    v: The intent of the medication request
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: authoredon
  definition:
    v: http://hl7.org/fhir/SearchParameter/MedicationRequest-authoredon
    l: MedicationRequest-authoredon
  type:
    v: date
  documentation:
    v: Return prescriptions written on this date

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    l: capabilitystatement-expectation
  value: Code
    v: SHOULD
type:
  v: MedicationDispense
documentation:
  v: MedicationDispense resources represent medication dispensing events. If supported, clients SHALL support search by patient. Clients MAY omit this resource based on their needs.
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHALL
  code:
    v: read
  documentation:
    v: Read MedicationDispense by logical ID
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHALL
  code:
    v: search-type
  documentation:
    v: Search for MedicationDispense resources
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHALL
  name:
    v: patient
  definition:
    v: http://hl7.org/fhir/SearchParameter/clinical-patient
    l: clinical-patient
  type:
    v: reference
  documentation:
    v: The patient for whom the medication was dispensed (SHALL support)
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: status
  definition:
    v: http://hl7.org/fhir/SearchParameter/medications-status
    l: medications-status
  type:
    v: token
  documentation:
    v: Status of the dispense
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: whenhandedover
  definition:
    v: http://hl7.org/fhir/SearchParameter/MedicationDispense-whenhandedover
    l: MedicationDispense-whenhandedover
  type:
    v: date
  documentation:
    v: When the medication was handed over

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    l: capabilitystatement-expectation
  value: Code
    v: SHOULD
type:
  v: Immunization
documentation:
  v: Immunization resources represent vaccination records. If supported, clients SHALL support search by patient. Clients MAY omit this resource based on their needs.
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHALL
  code:
    v: read
  documentation:
    v: Read Immunization by logical ID
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHALL
  code:
    v: search-type
  documentation:
    v: Search for Immunization resources
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHALL
  name:
    v: patient
  definition:
    v: http://hl7.org/fhir/SearchParameter/clinical-patient
    l: clinical-patient
  type:
    v: reference
  documentation:
    v: The patient for the vaccination record (SHALL support)
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: date
  definition:
    v: http://hl7.org/fhir/SearchParameter/clinical-date
    l: clinical-date
  type:
    v: date
  documentation:
    v: Vaccination date
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: status
  definition:
    v: http://hl7.org/fhir/SearchParameter/Immunization-status
    l: Immunization-status
  type:
    v: token
  documentation:
    v: Status of the immunization

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    l: capabilitystatement-expectation
  value: Code
    v: SHOULD
type:
  v: MedicationStatement
documentation:
  v: MedicationStatement resources represent a patient's medication usage, including self-reported medications. If supported, clients SHALL support search by patient. Clients MAY omit this resource based on their needs.
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHALL
  code:
    v: read
  documentation:
    v: Read MedicationStatement by logical ID
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHALL
  code:
    v: search-type
  documentation:
    v: Search for MedicationStatement resources
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHALL
  name:
    v: patient
  definition:
    v: http://hl7.org/fhir/SearchParameter/clinical-patient
    l: clinical-patient
  type:
    v: reference
  documentation:
    v: The patient for the medication statement (SHALL support)
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: status
  definition:
    v: http://hl7.org/fhir/SearchParameter/medications-status
    l: medications-status
  type:
    v: token
  documentation:
    v: Status of the medication statement
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: effective
  definition:
    v: http://hl7.org/fhir/SearchParameter/MedicationStatement-effective
    l: MedicationStatement-effective
  type:
    v: date
  documentation:
    v: Date when patient was taking the medication

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    l: capabilitystatement-expectation
  value: Code
    v: SHOULD
type:
  v: Encounter
documentation:
  v: Encounter resources represent patient encounters (visits, admissions, etc.). If supported, clients SHALL support search by patient. Clients MAY omit this resource based on their needs.
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHALL
  code:
    v: read
  documentation:
    v: Read Encounter by logical ID
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHALL
  code:
    v: search-type
  documentation:
    v: Search for Encounter resources
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHALL
  name:
    v: patient
  definition:
    v: http://hl7.org/fhir/SearchParameter/clinical-patient
    l: clinical-patient
  type:
    v: reference
  documentation:
    v: The patient present at the encounter (SHALL support)
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: date
  definition:
    v: http://hl7.org/fhir/SearchParameter/clinical-date
    l: clinical-date
  type:
    v: date
  documentation:
    v: A date within the encounter period
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: status
  definition:
    v: http://hl7.org/fhir/SearchParameter/Encounter-status
    l: Encounter-status
  type:
    v: token
  documentation:
    v: Status of the encounter
search param:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      l: capabilitystatement-expectation
    value: Code
      v: SHOULD
  name:
    v: class
  definition:
    v: http://hl7.org/fhir/SearchParameter/Encounter-class
    l: Encounter-class
  type:
    v: token
  documentation:
    v: Classification of the encounter (e.g., inpatient, outpatient)