patient-foreign
type: OperationDefinition
node role: treeRoot
id:
  v: patient-foreign
text:
  status:
    v: generated
  div:
    v: Generated Narrative: OperationDefinition patient-foreign URL: [base]/Patient/$foreign Parameters Use Name Scope Cardinality Type Binding Documentation IN identifier-country 1..1 string Three-letter country code of the identifier issuer according to the ISO standard. IN birthdate 0..1 date Patient's date of birth in yyyy-mm-dd format. IN gender 0..1 string Patient's gender. IN given 0..1 string Given name. Search supports similarity, allows up to 2 typos, case-insensitive. Comma-separated values are allowed. IN family 0..1 string Family name. Search supports similarity, allows up to 2 typos, case-insensitive. Comma-separated values are allowed. IN telecom 0..1 string Telecom value, e-mail or phone number. Case-insensitive. Comma-separated values are allowed. OUT return 1..1 Bundle Returns Bundle (with type collection) with Patient instances.
url:
  v: https://fhir.ee/mpi/OperationDefinition/patient-foreign
  l: patient-foreign
version:
  v: 1.5.0
name:
  v: EEMPIPatientForeignSearch
title:
  v: Patient Foreign
status:
  v: active
kind:
  v: operation
experimental:
  v: false
date:
  v: 2025-10-31T12:34:39+00:00
publisher:
  v: TEHIK
contact:
  name:
    v: TEHIK
  telecom:
    system:
      v: url
    value:
      v: https://tehik.ee
description:
  v: The foreign operation perform complex search over non-estonian patient resources.
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
      l: 3166
    code:
      v: EE
    display:
      v: Estonia
affects state:
  v: false
code:
  v: foreign
resource:
  v: Patient
system:
  v: false
type:
  v: true
instance:
  v: false
parameter:
  name:
    v: identifier-country
  use:
    v: in
  min:
    v: 1
  max:
    v: 1
  documentation:
    v: Three-letter country code of the identifier issuer according to the ISO standard.
  type:
    v: string
parameter:
  name:
    v: birthdate
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  documentation:
    v: Patient's date of birth in yyyy-mm-dd format.
  type:
    v: date
parameter:
  name:
    v: gender
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  documentation:
    v: Patient's gender.
  type:
    v: string
parameter:
  name:
    v: given
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  documentation:
    v: Given name. Search supports similarity, allows up to 2 typos, case-insensitive. Comma-separated values are allowed.
  type:
    v: string
parameter:
  name:
    v: family
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  documentation:
    v: Family name. Search supports similarity, allows up to 2 typos, case-insensitive. Comma-separated values are allowed.
  type:
    v: string
parameter:
  name:
    v: telecom
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  documentation:
    v: Telecom value, e-mail or phone number. Case-insensitive. Comma-separated values are allowed.
  type:
    v: string
parameter:
  name:
    v: return
  use:
    v: out
  min:
    v: 1
  max:
    v: 1
  documentation:
    v: Returns Bundle (with type collection) with Patient instances.
  type:
    v: Bundle