health.clients.fhir.cerner
Module health.clients.fhir.cerner
API
Definitions
ballerinax/health.clients.fhir.cerner Ballerina library
FHIR Client Connector
FHIR client connector that can be used to connect to a FHIR server and perform common interactions and operations.
Capability Statement
https://fhir-ehr-code.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/metadata?_format=application/json
Supported FHIR Resource Types
The table below lists supported resource types, interactions and operations. Interactions are shown as inline code and separated by line breaks for readability.
| Resource Type | Interactions | Operations |
|---|---|---|
| CapabilityStatement | read | - |
| Account | readsearch-type | - |
| AllergyIntolerance | readsearch-typecreateupdate | - |
| Appointment | readsearch-typecreatepatch | - |
| Basic | create | - |
| Binary | read | autogen-ccd-if |
| CarePlan | readsearch-type | - |
| CareTeam | readsearch-type | - |
| ChargeItem | readsearch-type | modifycreatecredit |
| Communication | readsearch-typecreatepatch | - |
| Condition | readsearch-typecreateupdate | - |
| Consent | readsearch-type | - |
| Coverage | readsearch-typecreatepatchdelete | - |
| Device | readsearch-type | - |
| DiagnosticReport | readsearch-typecreate | - |
| DocumentReference | readsearch-typecreateupdate | USCoreFetchDocumentReferences |
| Encounter | readsearch-typecreatepatch | - |
| FamilyMemberHistory | readsearch-typecreateupdate | - |
| Goal | readsearch-type | - |
| Group | export | |
| Immunization | readsearch-typecreateupdate | - |
| InsurancePlan | readsearch-type | - |
| Location | readsearch-type | - |
| Media | read | - |
| MedicationAdministration | readsearch-type | - |
| MedicationDispense | readsearch-type | - |
| MedicationRequest | readsearch-typecreatepatch | - |
| NutritionOrder | readsearch-type | - |
| Observation | readsearch-typecreateupdate | - |
| OperationDefinition | read | - |
| Organization | readsearch-typecreate | get-cg-for-mrcu |
| Patient | readsearch-typecreatepatch | health-cards-issueexport |
| Person | readsearch-type | - |
| Practitioner | readsearch-typecreate | - |
| Procedure | readsearch-typecreate | - |
| Provenance | readsearch-typecreate | - |
| Questionnaire | readsearch-type | - |
| QuestionnaireResponse | readsearch-typeupdate | - |
| RelatedPerson | readsearch-typecreatepatch | - |
| Schedule | readsearch-type | - |
| ServiceRequest | readsearch-type | - |
| Slot | readsearch-typepatch | - |
| Specimen | readsearch-type | - |
| StructureDefinition | read | - |
Notes:
—indicates no special operations supported for that resource in this connector.- Use the server's CapabilityStatement to verify support for additional interactions or operations on a given server instance.
Functions
The connector represents the interactions and operations as functions. Each function corresponds to a specific FHIR interaction or operation.
| Interaction/Operation | Function |
|---|---|
| Read | get{ResourceType}ById |
| Version Read | get{ResourceType}ByVersion |
| Update | update{ResourceType} |
| Patch | patch{ResourceType} |
| Delete | delete{ResourceType} |
| History Type | get{ResourceType}History |
| History Instance | get{ResourceType}InstanceHistory |
| Create | create{ResourceType} |
| Search Type | search{ResourceType} |
| $Operation | {Operation}{ResourceType}Operation |
Replace {ResourceType} with the actual resource type (e.g., Patient, Observation) and {Operation} with the specific operation name (e.g., everything, validate).
Sample Usage
import ballerinax/health.clients.fhir as fhirClient; import <package>/cerner.fhir.connector; import ballerina/io; public function main() returns error? { // Initialize the Cerner connector client fhirClient:FHIRConnectorConfig cernerConfig = { baseURL: base, mimeType: fhirClient:FHIR_JSON, authConfig: { tokenUrl: tokenUrl, clientId: clientId, clientSecret: clientSecret, scopes: scopes } }; connector:FHIRClientConnector cernerFhirclientconnector = check new (cernerConfig); // Example 1: Read a patient by ID fhirClient:FHIRResponse patientResult = check cernerFhirclientconnector->getPatientById("12724067"); io:println("[FHIR GET] Patient resource by ID (12724067): ", patientResult.'resource); // Example 2: Search Encounters by Patient fhirClient:FHIRResponse encounterResult = check cernerFhirclientconnector->searchEncounter(patient = "12724066"); io:println("[FHIR SEARCH] Encounter resources for Patient ID (12724067): ", encounterResult.'resource); }
Clients
health.clients.fhir.cerner: FHIRClientConnector
This connector allows you to connect and interact with any FHIR server
getCapabilityStatementById
function getCapabilityStatementById(string id) returns FHIRResponse|FHIRErrorAuto-generated operations
Parameters
- id string - The logical ID of the CapabilityStatement resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getAccountById
function getAccountById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Account resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchAccount
function searchAccount(string? _id, string? patient, string? _encounter, string? _guarantor, string? 'type, string? identifier, string? _count) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of Account ids
- patient string? (default ()) - Search parameter for patient (reference) - The entity that caused the expenses
- _encounter string? (default ()) - Search parameter for -encounter (reference) - The encounter associated with the resource
- _guarantor string? (default ()) - Search parameter for -guarantor (reference) - The entity that responsible for payment
- 'type string? (default ()) - Search parameter for type (token) - The identifier for the account
- identifier string? (default ()) - Search parameter for identifier (token) - Statement Account number
- _count string? (default () ) - Search parameter for _count (number) - The maximum number of results to return in a page
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getAllergyIntoleranceById
function getAllergyIntoleranceById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the AllergyIntolerance resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchAllergyIntolerance
function searchAllergyIntolerance(string? _id, string? patient, string? clinical_status, string[]? _lastUpdated) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of AllergyIntolerance ids
- patient string? (default ()) - Search parameter for patient (reference) - Who the sensitivity is for
- clinical_status string? (default ()) - Search parameter for clinical-status (token) - Certainty of the allergy or intolerance
- _lastUpdated string[]? (default () ) - Search parameter for _lastUpdated (date) - A date or date range used to search for AllergyIntolerance records which were last updated in that period
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
createAllergyIntolerance
function createAllergyIntolerance(USCoreAllergyIntolerance newAllergyIntolerance) returns FHIRResponse|FHIRErrorParameters
- newAllergyIntolerance USCoreAllergyIntolerance - A new instance of the AllergyIntolerance resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
updateAllergyIntolerance
function updateAllergyIntolerance(USCoreAllergyIntolerance updatedAllergyIntolerance) returns FHIRResponse|FHIRErrorParameters
- updatedAllergyIntolerance USCoreAllergyIntolerance - A new or updated instance of the AllergyIntolerance resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getAppointmentById
function getAppointmentById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Appointment resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchAppointment
function searchAppointment(string? _id, string? _count, string? date, string? _date_or_req_period, string? patient, string? practitioner, string? location, string? status) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of Appointment ids
- _count string? (default ()) - Search parameter for _count (number) - The maximum number of results to return in a page
- date string? (default ()) - Search parameter for date (date) - A date or date range from which to find appointments
- _date_or_req_period string? (default ()) - Search parameter for -date-or-req-period (date) - A start date or requested period from which to find appointments
- patient string? (default ()) - Search parameter for patient (reference) - One of the individuals of the appointment is this patient
- practitioner string? (default ()) - Search parameter for practitioner (reference) - One of the individuals of the appointment is this practitioner
- location string? (default ()) - Search parameter for location (reference) - This location is listed in the participants of the appointment
- status string? (default () ) - Search parameter for status (token) - The overall status of the appointment
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
createAppointment
function createAppointment(Appointment newAppointment) returns FHIRResponse|FHIRErrorParameters
- newAppointment Appointment - A new instance of the Appointment resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
patchAppointment
function patchAppointment(string id, Appointment patchAppointment) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Appointment resource
- patchAppointment Appointment - An updated instance of the Appointment resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
createBasic
function createBasic(Basic newBasic) returns FHIRResponse|FHIRErrorParameters
- newBasic Basic - A new instance of the Basic resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getBinaryById
function getBinaryById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Binary resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
autogenCcdIfBinaryOperation
function autogenCcdIfBinaryOperation(RequestMode mode, string? id, map<string[]>? queryParameters, json|xml? data) returns FHIRResponse|FHIRErrorParameters
- mode RequestMode (default fhirClient:POST) -
- id string? (default ()) -
- data json|xml? (default ()) -
getCarePlanById
function getCarePlanById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the CarePlan resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchCarePlan
function searchCarePlan(string? _id, string? date, string? patient, string? category, string? _count) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of CarePlan ids
- date string? (default ()) - Search parameter for date (date) - A date range with which to find CarePlans
- patient string? (default ()) - Search parameter for patient (reference) - Who the careplan is for
- category string? (default ()) - Search parameter for category (token) - The category of the careplan
- _count string? (default () ) - Search parameter for _count (number) - The maximum number of results to return
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getCareTeamById
function getCareTeamById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the CareTeam resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchCareTeam
function searchCareTeam(string? _id, string? category, string? encounter, string? patient, string? status) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - CareTeam id supports only the single id
- category string? (default ()) - Search parameter for category (token) - The category of the careteam
- encounter string? (default ()) - Search parameter for encounter (reference) - The Encounter level CareTeam are displayed
- patient string? (default ()) - Search parameter for patient (reference) - Who the careteam is for
- status string? (default () ) - Search parameter for status (token) - The status of the CareTeam
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getChargeItemById
function getChargeItemById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the ChargeItem resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchChargeItem
function searchChargeItem(string? _id, string? context, string? account, string? _status, string? _count) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - ChargeItem id supports only the single id
- context string? (default ()) - Search parameter for context (reference) - Encounter associated with the ChargeItem
- account string? (default ()) - Search parameter for account (reference) - Account associated with the ChargeItem
- _status string? (default ()) - Search parameter for -status (token) - The status of the ChargeItem
- _count string? (default () ) - Search parameter for _count (number) - The maximum number of results to return in a page
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
modifyChargeItemOperation
function modifyChargeItemOperation(RequestMode mode, string? id, map<string[]>? queryParameters, json|xml? data) returns FHIRResponse|FHIRErrorParameters
- mode RequestMode (default fhirClient:POST) -
- id string? (default ()) -
- data json|xml? (default ()) -
createChargeItemOperation
function createChargeItemOperation(RequestMode mode, string? id, map<string[]>? queryParameters, json|xml? data) returns FHIRResponse|FHIRErrorParameters
- mode RequestMode (default fhirClient:POST) -
- id string? (default ()) -
- data json|xml? (default ()) -
creditChargeItemOperation
function creditChargeItemOperation(RequestMode mode, string? id, map<string[]>? queryParameters, json|xml? data) returns FHIRResponse|FHIRErrorParameters
- mode RequestMode (default fhirClient:POST) -
- id string? (default ()) -
- data json|xml? (default ()) -
getCommunicationById
function getCommunicationById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Communication resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchCommunication
function searchCommunication(string? _id, string? category, string? received, string? recipient, string? _email_status) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of Communication ids
- category string? (default ()) - Search parameter for category (token) - The message category
- received string? (default ()) - Search parameter for received (date) - When the message is received
- recipient string? (default ()) - Search parameter for recipient (reference) - The recipient of the message
- _email_status string? (default () ) - Search parameter for -email-status (token) - The email status of the message
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
createCommunication
function createCommunication(Communication newCommunication) returns FHIRResponse|FHIRErrorParameters
- newCommunication Communication - A new instance of the Communication resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
patchCommunication
function patchCommunication(string id, Communication patchCommunication) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Communication resource
- patchCommunication Communication - An updated instance of the Communication resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getConditionById
function getConditionById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Condition resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchCondition
function searchCondition(string? _id, string? patient, string? encounter, string? subject, string? clinical_status, string? category, string[]? _lastUpdated) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of Condition ids
- patient string? (default ()) - Search parameter for patient (reference) - Who has the condition
- encounter string? (default ()) - Search parameter for encounter (reference) - The encounter of the patient
- subject string? (default ()) - Search parameter for subject (reference) - Who has the condition
- clinical_status string? (default ()) - Search parameter for clinical-status (token) - The clinical status of the condition
- category string? (default ()) - Search parameter for category (token) - The category of the condition
- _lastUpdated string[]? (default () ) - Search parameter for _lastUpdated (date) - A date or date range used to search for conditions which were last updated in that period
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
createCondition
function createCondition(Condition|USCoreConditionEncounterDiagnosisProfile|USCoreConditionProblemsHealthConcernsProfile newCondition) returns FHIRResponse|FHIRErrorParameters
- newCondition Condition|USCoreConditionEncounterDiagnosisProfile|USCoreConditionProblemsHealthConcernsProfile - A new instance of the Condition resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
updateCondition
function updateCondition(Condition|USCoreConditionEncounterDiagnosisProfile|USCoreConditionProblemsHealthConcernsProfile updatedCondition) returns FHIRResponse|FHIRErrorParameters
- updatedCondition Condition|USCoreConditionEncounterDiagnosisProfile|USCoreConditionProblemsHealthConcernsProfile - A new or updated instance of the Condition resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getConsentById
function getConsentById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Consent resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchConsent
function searchConsent(string? _id, string? patient, string? actor, string? patient_identifier, string? actor_identifier) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of Consent ids
- patient string? (default ()) - Search parameter for patient (reference) - Who the consent applies to
- actor string? (default ()) - Search parameter for actor (reference) - Resource for the actor (or group, by role)
- patient_identifier string? (default ()) - Search parameter for patient.identifier (token) - The patient
- actor_identifier string? (default () ) - Search parameter for actor.identifier (token) - The actor
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getCoverageById
function getCoverageById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Coverage resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchCoverage
function searchCoverage(string? _id, string? patient, string? _encounter) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) -
- patient string? (default ()) - Search parameter for patient (reference) - Retrieve coverages for a patient
- _encounter string? (default () ) - Search parameter for -encounter (reference) - Retrieve coverages for an encounter
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
createCoverage
function createCoverage(USCoreCoverageProfile newCoverage) returns FHIRResponse|FHIRErrorParameters
- newCoverage USCoreCoverageProfile - A new instance of the Coverage resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
patchCoverage
function patchCoverage(string id, USCoreCoverageProfile patchCoverage) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Coverage resource
- patchCoverage USCoreCoverageProfile - An updated instance of the Coverage resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
deleteCoverage
function deleteCoverage(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Coverage resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getDeviceById
function getDeviceById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Device resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchDevice
function searchDevice(string? _id, string? patient) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of Device ids
- patient string? (default () ) - Search parameter for patient (reference) - The patient to whom Device is affixed
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getDiagnosticReportById
function getDiagnosticReportById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the DiagnosticReport resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchDiagnosticReport
function searchDiagnosticReport(string? _id, string? category, string? code, string? encounter, string? patient, string? date, string[]? _lastUpdated, string? _count) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of DiagnosticReport ids
- category string? (default ()) - Search parameter for category (token) - Which diagnostic discipline/department created the report
- code string? (default ()) - Search parameter for code (token) - The code for the report
- encounter string? (default ()) - Search parameter for encounter (reference) - The Encounter when the report was made
- patient string? (default ()) - Search parameter for patient (reference) - The subject of the report
- date string? (default ()) - Search parameter for date (date) - A date range with which to find Documents
- _lastUpdated string[]? (default ()) - Search parameter for _lastUpdated (date) - A date or date range used to search for Documents of diagnostic report which were last updated in that period
- _count string? (default () ) - Search parameter for _count (number) - The maximum number of results to return in a page
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
createDiagnosticReport
function createDiagnosticReport(USCoreDiagnosticReportProfileNoteExchange|USCoreDiagnosticReportProfileLaboratoryReporting newDiagnosticReport) returns FHIRResponse|FHIRErrorParameters
- newDiagnosticReport USCoreDiagnosticReportProfileNoteExchange|USCoreDiagnosticReportProfileLaboratoryReporting - A new instance of the DiagnosticReport resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getDocumentReferenceById
function getDocumentReferenceById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the DocumentReference resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchDocumentReference
function searchDocumentReference(string? _id, string? patient, string? encounter, string? period, string? _count, string? 'type, string? category, string? date, string[]? _lastUpdated) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of DocumentReference ids
- patient string? (default ()) - Search parameter for patient (reference) - The patient the document is about
- encounter string? (default ()) - Search parameter for encounter (reference) - The Encounter in which the document was created
- period string? (default ()) - Search parameter for period (date) - A date range with which to find Documents
- _count string? (default ()) - Search parameter for _count (number) - The maximum number of results to return in a page
- 'type string? (default ()) - Search parameter for type (token) - The kind of document (LOINC if possible)
- category string? (default ()) - Search parameter for category (token) - The categorization of document
- date string? (default ()) - Search parameter for date (date) - It must be provided once with a prefix to imply a date range or without a prefix to search for document(s) at a specific date
- _lastUpdated string[]? (default () ) - Search parameter for _lastUpdated (date) - A date or date range used to search for Documents which were last updated in that period
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
createDocumentReference
function createDocumentReference(USCoreDocumentReferenceProfile newDocumentReference) returns FHIRResponse|FHIRErrorParameters
- newDocumentReference USCoreDocumentReferenceProfile - A new instance of the DocumentReference resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
updateDocumentReference
function updateDocumentReference(USCoreDocumentReferenceProfile updatedDocumentReference) returns FHIRResponse|FHIRErrorParameters
- updatedDocumentReference USCoreDocumentReferenceProfile - A new or updated instance of the DocumentReference resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
uscorefetchdocumentreferencesDocumentReferenceOperation
function uscorefetchdocumentreferencesDocumentReferenceOperation(RequestMode mode, string? id, map<string[]>? queryParameters, json|xml? data) returns FHIRResponse|FHIRErrorParameters
- mode RequestMode (default fhirClient:POST) -
- id string? (default ()) -
- data json|xml? (default ()) -
getEncounterById
function getEncounterById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Encounter resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchEncounter
function searchEncounter(string? _id, string? _count, string? patient, string? subject, string? status, string? date, string? identifier, string? account, string[]? _lastUpdated) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of Encounter ids
- _count string? (default ()) - Search parameter for _count (number) - The maximum number of results to return in a page
- patient string? (default ()) - Search parameter for patient (reference) - The patient present at the encounter
- subject string? (default ()) - Search parameter for subject (reference) - The patient present at the encounter
- status string? (default ()) - Search parameter for status (token) - The status of the encounter
- date string? (default ()) - Search parameter for date (date) - A date parameter may be provided once with a prefix and time component to imply a date range
- identifier string? (default ()) - Search parameter for identifier (token) - An encounter's identifier
- account string? (default ()) - Search parameter for account (reference) - The account associated with the encounters
- _lastUpdated string[]? (default () ) - Search parameter for _lastUpdated (date) - A date or date range used to search for Encounter records which were last updated in that period
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
createEncounter
function createEncounter(USCoreEncounterProfile newEncounter) returns FHIRResponse|FHIRErrorParameters
- newEncounter USCoreEncounterProfile - A new instance of the Encounter resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
patchEncounter
function patchEncounter(string id, USCoreEncounterProfile patchEncounter) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Encounter resource
- patchEncounter USCoreEncounterProfile - An updated instance of the Encounter resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getFamilyMemberHistoryById
function getFamilyMemberHistoryById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the FamilyMemberHistory resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchFamilyMemberHistory
function searchFamilyMemberHistory(string? _id, string? patient, string? status) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of FamilyMemberHistory ids
- patient string? (default ()) - Search parameter for patient (reference) - Who the family member history is for
- status string? (default () ) - Search parameter for status (token) - The status of the FamilyMemberHistory
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
createFamilyMemberHistory
function createFamilyMemberHistory(FamilyMemberHistory newFamilyMemberHistory) returns FHIRResponse|FHIRErrorParameters
- newFamilyMemberHistory FamilyMemberHistory - A new instance of the FamilyMemberHistory resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
updateFamilyMemberHistory
function updateFamilyMemberHistory(FamilyMemberHistory updatedFamilyMemberHistory) returns FHIRResponse|FHIRErrorParameters
- updatedFamilyMemberHistory FamilyMemberHistory - A new or updated instance of the FamilyMemberHistory resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getGoalById
function getGoalById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Goal resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchGoal
function searchGoal(string? _id, string? patient, string? target_date) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - Goal id supports only the single id
- patient string? (default ()) - Search parameter for patient (reference) - Who has the goal is for
- target_date string? (default () ) - Search parameter for target-date (date) - A date or date range from which to find Goals
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
exportGroupOperation
function exportGroupOperation(RequestMode mode, string? id, map<string[]>? queryParameters, json|xml? data) returns FHIRResponse|FHIRErrorParameters
- mode RequestMode (default fhirClient:POST) -
- id string? (default ()) -
- data json|xml? (default ()) -
getImmunizationById
function getImmunizationById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Immunization resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchImmunization
function searchImmunization(string? _id, string? patient, string[]? _lastUpdated, string? date, string? target_disease) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of Immunization ids
- patient string? (default ()) - Search parameter for patient (reference) - The patient for the vaccination record
- _lastUpdated string[]? (default ()) - Search parameter for _lastUpdated (date) - Vaccination LastUpdated Date
- date string? (default ()) - Search parameter for date (date) - Vaccination (non)-Administration Date
- target_disease string? (default () ) - Search parameter for target-disease (token) - A single or comma separated list of target diseases the dose is being administered against
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
createImmunization
function createImmunization(USCoreImmunizationProfile newImmunization) returns FHIRResponse|FHIRErrorParameters
- newImmunization USCoreImmunizationProfile - A new instance of the Immunization resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
updateImmunization
function updateImmunization(USCoreImmunizationProfile updatedImmunization) returns FHIRResponse|FHIRErrorParameters
- updatedImmunization USCoreImmunizationProfile - A new or updated instance of the Immunization resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getInsurancePlanById
function getInsurancePlanById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the InsurancePlan resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchInsurancePlan
function searchInsurancePlan(string? _id, string? owned_by) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of InsurancePlan ids
- owned_by string? (default () ) - Search parameter for owned-by (reference) - The organization that is providing the health insurance product
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getLocationById
function getLocationById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Location resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchLocation
function searchLocation(string? _id, string? _physicalType, string? identifier, string? address, string? address_city, string? address_state, string? address_postalcode, string? name, string? organization, string? 'type) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of Location ids
- _physicalType string? (default ()) - Search parameter for -physicalType (token) - The Location's physical type
- identifier string? (default ()) - Search parameter for identifier (token) - A location's identifier
- address string? (default ()) - Search parameter for address (string) - A (part of the) address of the location
- address_city string? (default ()) - Search parameter for address-city (string) - A city specified in an address
- address_state string? (default ()) - Search parameter for address-state (string) - A state specified in an address
- address_postalcode string? (default ()) - Search parameter for address-postalcode (string) - A postal code specified in an address
- name string? (default ()) - Search parameter for name (string) - A portion of the location's name or alias
- organization string? (default ()) - Search parameter for organization (reference) - Searches for locations that are managed by the provided organization
- 'type string? (default () ) - Search parameter for type (token) - The Location's type
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getMediaById
function getMediaById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Media resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getMedicationAdministrationById
function getMedicationAdministrationById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the MedicationAdministration resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchMedicationAdministration
function searchMedicationAdministration(string? _id, string? patient, string? status, string? performer, string? effective_time) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of MedicationAdministration ids
- patient string? (default ()) - Search parameter for patient (reference) - The identity of a patient to list administrations for
- status string? (default ()) - Search parameter for status (token) - MedicationAdministration event status
- performer string? (default ()) - Search parameter for performer (reference) - The identity of the individual who administered the medication
- effective_time string? (default () ) - Search parameter for effective-time (date) - A effective-time parameter may be provided once with 'le' or 'lt' or 'ge' or 'gt' prefix and time component to imply a date range
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getMedicationDispenseById
function getMedicationDispenseById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the MedicationDispense resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchMedicationDispense
function searchMedicationDispense(string? _id, string? patient, string? _count) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of MedicationDispense ids
- patient string? (default ()) - Search parameter for patient (reference) - The identity of a patient to list dispenses for
- _count string? (default () ) - Search parameter for _count (number) - The maximum number of results to return
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getMedicationRequestById
function getMedicationRequestById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the MedicationRequest resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchMedicationRequest
function searchMedicationRequest(string? _id, string? patient, string? intent, string? status, string[]? _lastUpdated, string? _timing_boundsPeriod, string? _count) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of MedicationRequest ids
- patient string? (default ()) - Search parameter for patient (reference) - The patient to return MedicationRequests for
- intent string? (default ()) - Search parameter for intent (token) - The intent of the MedicationRequest
- status string? (default ()) - Search parameter for status (token) - The status of the MedicationRequest
- _lastUpdated string[]? (default ()) - Search parameter for _lastUpdated (date) - When the resource version last changed
- _timing_boundsPeriod string? (default ()) - Search parameter for -timing-boundsPeriod (date) - The date-time within the period the medication should be given to the patient
- _count string? (default () ) - Search parameter for _count (number) - The maximum number of results to return in a page
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
createMedicationRequest
function createMedicationRequest(USCoreMedicationRequestProfile newMedicationRequest) returns FHIRResponse|FHIRErrorParameters
- newMedicationRequest USCoreMedicationRequestProfile - A new instance of the MedicationRequest resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
patchMedicationRequest
function patchMedicationRequest(string id, USCoreMedicationRequestProfile patchMedicationRequest) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the MedicationRequest resource
- patchMedicationRequest USCoreMedicationRequestProfile - An updated instance of the MedicationRequest resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getNutritionOrderById
function getNutritionOrderById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the NutritionOrder resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchNutritionOrder
function searchNutritionOrder(string? _id, string? patient, string? status, string[]? _lastUpdated, string? _count) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of NutritionOrder ids
- patient string? (default ()) - Search parameter for patient (reference) - The patient to return NutritionOrders for
- status string? (default ()) - Search parameter for status (token) - The status of the NutritionOrder
- _lastUpdated string[]? (default ()) - Search parameter for _lastUpdated (date) - When the resource version last changed
- _count string? (default () ) - Search parameter for _count (number) - The maximum number of results to return in a page
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getObservationById
function getObservationById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Observation resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchObservation
function searchObservation(string? _id, string? patient, string? subject, string? category, string? code, string? date, string[]? _lastUpdated, string? _count) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of Observation ids
- patient string? (default ()) - Search parameter for patient (reference) - The patient the observation is about
- subject string? (default ()) - Search parameter for subject (reference) - The patient subject the observation is about
- category string? (default ()) - Search parameter for category (token) - A single or comma separated list of classifications of the type of observation
- code string? (default ()) - Search parameter for code (token) - A single or comma separated list of observation types
- date string? (default ()) - Search parameter for date (date) - A date or date range from which to find observations
- _lastUpdated string[]? (default ()) - Search parameter for _lastUpdated (date) - A date or date range used to search for observations which were last updated in that period
- _count string? (default () ) - Search parameter for _count (number) - The maximum number of results to return in a page
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
createObservation
function createObservation(USCoreLaboratoryResultObservationProfile|USCoreBMIProfile|USCorePediatricWeightForHeightObservationProfile|USCorePulseOximetryProfile|USCoreSmokingStatusProfile|USCoreBloodPressureProfile|USCoreBodyHeightProfile|USCoreBodyWeightProfile|USCoreHeartRateProfile|USCoreRespiratoryRateProfile|USCoreBodyTemperatureProfile|USCoreHeadCircumferenceProfile|USCoreVitalSignsProfile|USCorePediatricBMIforAgeObservationProfile|USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile|USCoreObservationOccupationProfile|USCoreObservationPregnancyStatusProfile|USCoreObservationPregnancyIntentProfile|Observation|USCoreObservationClinicalResultProfile|USCoreObservationScreeningAssessmentProfile|USCoreObservationSexualOrientationProfile newObservation) returns FHIRResponse|FHIRErrorParameters
- newObservation USCoreLaboratoryResultObservationProfile|USCoreBMIProfile|USCorePediatricWeightForHeightObservationProfile|USCorePulseOximetryProfile|USCoreSmokingStatusProfile|USCoreBloodPressureProfile|USCoreBodyHeightProfile|USCoreBodyWeightProfile|USCoreHeartRateProfile|USCoreRespiratoryRateProfile|USCoreBodyTemperatureProfile|USCoreHeadCircumferenceProfile|USCoreVitalSignsProfile|USCorePediatricBMIforAgeObservationProfile|USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile|USCoreObservationOccupationProfile|USCoreObservationPregnancyStatusProfile|USCoreObservationPregnancyIntentProfile|Observation|USCoreObservationClinicalResultProfile|USCoreObservationScreeningAssessmentProfile|USCoreObservationSexualOrientationProfile - A new instance of the Observation resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
updateObservation
function updateObservation(USCoreLaboratoryResultObservationProfile|USCoreBMIProfile|USCorePediatricWeightForHeightObservationProfile|USCorePulseOximetryProfile|USCoreSmokingStatusProfile|USCoreBloodPressureProfile|USCoreBodyHeightProfile|USCoreBodyWeightProfile|USCoreHeartRateProfile|USCoreRespiratoryRateProfile|USCoreBodyTemperatureProfile|USCoreHeadCircumferenceProfile|USCoreVitalSignsProfile|USCorePediatricBMIforAgeObservationProfile|USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile|USCoreObservationOccupationProfile|USCoreObservationPregnancyStatusProfile|USCoreObservationPregnancyIntentProfile|Observation|USCoreObservationClinicalResultProfile|USCoreObservationScreeningAssessmentProfile|USCoreObservationSexualOrientationProfile updatedObservation) returns FHIRResponse|FHIRErrorParameters
- updatedObservation USCoreLaboratoryResultObservationProfile|USCoreBMIProfile|USCorePediatricWeightForHeightObservationProfile|USCorePulseOximetryProfile|USCoreSmokingStatusProfile|USCoreBloodPressureProfile|USCoreBodyHeightProfile|USCoreBodyWeightProfile|USCoreHeartRateProfile|USCoreRespiratoryRateProfile|USCoreBodyTemperatureProfile|USCoreHeadCircumferenceProfile|USCoreVitalSignsProfile|USCorePediatricBMIforAgeObservationProfile|USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile|USCoreObservationOccupationProfile|USCoreObservationPregnancyStatusProfile|USCoreObservationPregnancyIntentProfile|Observation|USCoreObservationClinicalResultProfile|USCoreObservationScreeningAssessmentProfile|USCoreObservationSexualOrientationProfile - A new or updated instance of the Observation resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getOperationDefinitionById
function getOperationDefinitionById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the OperationDefinition resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getOrganizationById
function getOrganizationById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Organization resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchOrganization
function searchOrganization(string? _id, string? identifier, string? 'type, string? _count, string? name, string? address) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of Organization ids
- identifier string? (default ()) - Search parameter for identifier (token) - The Organization's Identifier
- 'type string? (default ()) - Search parameter for type (token) - The Organization's type
- _count string? (default ()) - Search parameter for _count (number) - The maximum number of results to return in a page
- name string? (default ()) - Search parameter for name (string) - The Organization's name
- address string? (default () ) - Search parameter for address (string) - The Organization's address
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
createOrganization
function createOrganization(USCoreOrganizationProfile newOrganization) returns FHIRResponse|FHIRErrorParameters
- newOrganization USCoreOrganizationProfile - A new instance of the Organization resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getCgForMrcuOrganizationOperation
function getCgForMrcuOrganizationOperation(RequestMode mode, string? id, map<string[]>? queryParameters, json|xml? data) returns FHIRResponse|FHIRErrorParameters
- mode RequestMode (default fhirClient:POST) -
- id string? (default ()) -
- data json|xml? (default ()) -
getPatientById
function getPatientById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Patient resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchPatient
function searchPatient(string? _id, string? identifier, string? name, string? given, string? family, string? address_postalcode, string? birthdate, string? phone, string? email, string? gender, string? _count) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of Patient ids
- identifier string? (default ()) - Search parameter for identifier (token) - A patient identifier
- name string? (default ()) - Search parameter for name (string) - The beginning of any name of the patient
- given string? (default ()) - Search parameter for given (string) - The beginning of the given name of the patient
- family string? (default ()) - Search parameter for family (string) - The beginning of the family name of the patient
- address_postalcode string? (default ()) - Search parameter for address-postalcode (string) - The postal code of the address of the patient
- birthdate string? (default ()) - Search parameter for birthdate (date) - The date of birth of the patient
- phone string? (default ()) - Search parameter for phone (token) - The value of the phone number of the patient
- email string? (default ()) - Search parameter for email (token) - The value of the email address of the patient
- gender string? (default ()) - Search parameter for gender (token) - The administrative gender of the patient
- _count string? (default () ) - Search parameter for _count (number) - The maximum number of results to return in a page
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
createPatient
function createPatient(USCorePatientProfile newPatient) returns FHIRResponse|FHIRErrorParameters
- newPatient USCorePatientProfile - A new instance of the Patient resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
patchPatient
function patchPatient(string id, USCorePatientProfile patchPatient) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Patient resource
- patchPatient USCorePatientProfile - An updated instance of the Patient resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
healthCardsIssuePatientOperation
function healthCardsIssuePatientOperation(RequestMode mode, string? id, map<string[]>? queryParameters, json|xml? data) returns FHIRResponse|FHIRErrorParameters
- mode RequestMode (default fhirClient:POST) -
- id string? (default ()) -
- data json|xml? (default ()) -
exportPatientOperation
function exportPatientOperation(RequestMode mode, string? id, map<string[]>? queryParameters, json|xml? data) returns FHIRResponse|FHIRErrorParameters
- mode RequestMode (default fhirClient:POST) -
- id string? (default ()) -
- data json|xml? (default ()) -
getPersonById
function getPersonById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Person resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchPerson
function searchPerson(string? _id, string? identifier) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of Person ids
- identifier string? (default () ) - Search parameter for identifier (token) - A person's Identifier
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getPractitionerById
function getPractitionerById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Practitioner resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchPractitioner
function searchPractitioner(string? _id, string? identifier, string? given, string? family, string? name, string? active, string? _count) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of Practitioner ids
- identifier string? (default ()) - Search parameter for identifier (token) - A practitioner's Identifier
- given string? (default ()) - Search parameter for given (string) - The beginning of the given name of the practitioner
- family string? (default ()) - Search parameter for family (string) - The beginning of the family name of the practitioner
- name string? (default ()) - Search parameter for name (string) - The beginning of the first, last or middle name of the practitioner
- active string? (default ()) - Search parameter for active (token) - Whether the practitioner record is active
- _count string? (default () ) - Search parameter for _count (number) - The maximum number of results to return in a page
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
createPractitioner
function createPractitioner(USCorePractitionerProfile newPractitioner) returns FHIRResponse|FHIRErrorParameters
- newPractitioner USCorePractitionerProfile - A new instance of the Practitioner resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getProcedureById
function getProcedureById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Procedure resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchProcedure
function searchProcedure(string? _id, string? patient, string? subject, string? date, string[]? _lastUpdated) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of Procedure ids
- patient string? (default ()) - Search parameter for patient (reference) - Search by subject - a patient
- subject string? (default ()) - Search parameter for subject (reference) - Search by subject
- date string? (default ()) - Search parameter for date (date) - A date parameter may be provided once without a prefix or time component to imply a date range or once without a prefix and with a time component
- _lastUpdated string[]? (default () ) - Search parameter for _lastUpdated (date) - A date or date range used to search for procedures which were last updated in that period
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
createProcedure
function createProcedure(USCoreProcedureProfile newProcedure) returns FHIRResponse|FHIRErrorParameters
- newProcedure USCoreProcedureProfile - A new instance of the Procedure resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getProvenanceById
function getProvenanceById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Provenance resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchProvenance
function searchProvenance(string? _id, string? target) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of Provenance ids
- target string? (default () ) - Search parameter for target (reference) - The resource(s) the Provenance is associated with
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
createProvenance
function createProvenance(USCoreProvenance newProvenance) returns FHIRResponse|FHIRErrorParameters
- newProvenance USCoreProvenance - A new instance of the Provenance resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getQuestionnaireById
function getQuestionnaireById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Questionnaire resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchQuestionnaire
function searchQuestionnaire(string? _id) returns FHIRResponse|FHIRErrorParameters
- _id string? (default () ) - Search parameter for _id (token) - A single or comma separated list of Questionnaire ids
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getQuestionnaireResponseById
function getQuestionnaireResponseById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the QuestionnaireResponse resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchQuestionnaireResponse
function searchQuestionnaireResponse(string? _id, string? patient) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of QuestionnaireResponse ids
- patient string? (default () ) - Search parameter for patient (reference) - The patient that is the subject of the questionnaire response
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
updateQuestionnaireResponse
function updateQuestionnaireResponse(QuestionnaireResponse updatedQuestionnaireResponse) returns FHIRResponse|FHIRErrorParameters
- updatedQuestionnaireResponse QuestionnaireResponse - A new or updated instance of the QuestionnaireResponse resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getRelatedPersonById
function getRelatedPersonById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the RelatedPerson resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchRelatedPerson
function searchRelatedPerson(string? _id, string? identifier, string? patient, string? _encounter, string? _relationship_level) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of RelatedPerson ids
- identifier string? (default ()) - Search parameter for identifier (token) - An Identifier of the RelatedPerson
- patient string? (default ()) - Search parameter for patient (reference) - The patient this related person is related to
- _encounter string? (default ()) - Search parameter for -encounter (reference) - The encounter this related person is related to
- _relationship_level string? (default () ) - Search parameter for -relationship-level (token) - The resource's relationship to either the patient or encounter level
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
createRelatedPerson
function createRelatedPerson(USCoreRelatedPersonProfile newRelatedPerson) returns FHIRResponse|FHIRErrorParameters
- newRelatedPerson USCoreRelatedPersonProfile - A new instance of the RelatedPerson resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
patchRelatedPerson
function patchRelatedPerson(string id, USCoreRelatedPersonProfile patchRelatedPerson) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the RelatedPerson resource
- patchRelatedPerson USCoreRelatedPersonProfile - An updated instance of the RelatedPerson resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getScheduleById
function getScheduleById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Schedule resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchSchedule
function searchSchedule(string? _id) returns FHIRResponse|FHIRErrorParameters
- _id string? (default () ) - Search parameter for _id (token) - A single or comma separated list of Schedule ids
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getServiceRequestById
function getServiceRequestById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the ServiceRequest resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchServiceRequest
function searchServiceRequest(string? _id, string? patient, string? subject, string? code, string[]? _lastUpdated, string? _count) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of ServiceRequest ids
- patient string? (default ()) - Search parameter for patient (reference) - The patient to return ServiceRequests for
- subject string? (default ()) - Search parameter for subject (reference) - Individual or Entity the service is ordered for
- code string? (default ()) - Search parameter for code (token) - What is being requested/ordered
- _lastUpdated string[]? (default ()) - Search parameter for _lastUpdated (date) - When the resource version last changed
- _count string? (default () ) - Search parameter for _count (number) - The maximum number of results to return in a page
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getSlotById
function getSlotById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Slot resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchSlot
function searchSlot(string? _id, string? 'start, string? service_type, string? schedule_actor, string? _location, string? _count) returns FHIRResponse|FHIRErrorParameters
- _id string? (default ()) - Search parameter for _id (token) - A single or comma separated list of Slot ids
- 'start string? (default ()) - Search parameter for start (date) - A date or date range from which the slots are to be retrieved
- service_type string? (default ()) - Search parameter for service-type (token) - A single or comma separated list of appointment types that can be booked into the slot
- schedule_actor string? (default ()) - Search parameter for schedule.actor (reference) - A single or comma separated list of schedule actors
- _location string? (default ()) - Search parameter for -location (reference) - A single or comma separated list of Location references
- _count string? (default () ) - Search parameter for _count (number) - The maximum number of results to return in a page
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
patchSlot
function patchSlot(string id, Slot patchSlot) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Slot resource
- patchSlot Slot - An updated instance of the Slot resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getSpecimenById
function getSpecimenById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the Specimen resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
searchSpecimen
function searchSpecimen(string? _id) returns FHIRResponse|FHIRErrorParameters
- _id string? (default () ) - Search parameter for _id (token) - A single or comma separated list of Specimen ids
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
getStructureDefinitionById
function getStructureDefinitionById(string id) returns FHIRResponse|FHIRErrorParameters
- id string - The logical ID of the StructureDefinition resource
Return Type
- FHIRResponse|FHIRError - Returns a FHIRResponse or FHIRError for the operation
Import
import ballerinax/health.clients.fhir.cerner;Other versions
1.0.0
Metadata
Released date: 1 day ago
Version: 1.0.0
Compatibility
Platform: any
Ballerina version: 2201.12.3
GraalVM compatible: Yes
Pull count
Total: 0
Current verison: 0
Weekly downloads
Keywords
Area/Healthcare
Industry/Healthcare
Type/Connector
Vendor/Cerner
Cerner FHIR Connector