FHIR R4 Resources

Choose FHIR R4 4.0.1 resources for your application and find their supported operations.

These resources use DDFS OAuth scopes documented in the DDFS OAuth scope matrix. Each linked topic lists resource-specific authorization scopes plus request and response details.

Create a DDFS instance, to get an FHIR R4 endpoint, see Getting an Instance's Details:
https://<ddfs-instance-id>.ddfs.<region>.oci.oraclecloud.com/api/fhir/r4

Choose a Resource

Use the following table to choose resources for your application. The operation links open each resource's category page, which links to its supported endpoints, parameters, authorization scopes and response codes. This catalog covers FHIR R4 4.0.1; for the separate R6 resource set, see FHIR R6 Resources.

ResourceCustomer purposeFHIR versionOperations
AllergyIntoleranceRecord a patient's allergies, intolerances and associated reactions.R4 4.0.1AllergyIntolerance operations
CarePlanDescribe a plan of care, its intended activities and the patient or group it concerns.R4 4.0.1CarePlan operations
CareTeamIdentify the participants involved in a patient's care.R4 4.0.1CareTeam operations
CompositionOrganize clinical information into an authored, sectioned document structure.R4 4.0.1Composition operations
ConditionRecord a clinical problem, diagnosis or health concern.R4 4.0.1Condition operations
DeviceIdentify a medical device associated with patient care or measurements.R4 4.0.1Device operations
DiagnosticReportRecord diagnostic report findings and references to supporting results.R4 4.0.1DiagnosticReport operations
DocumentReferenceDescribe a clinical document and its attachment content or location.R4 4.0.1DocumentReference operations
EncounterRecord the care encounter that provides context for clinical information.R4 4.0.1Encounter operations
EndpointDescribe a technical connection point for exchanging information.R4 4.0.1Endpoint operations
FamilyMemberHistoryRecord health conditions reported for a patient's family members.R4 4.0.1FamilyMemberHistory operations
GroupRepresent a collection of people or other entities, such as a patient cohort.R4 4.0.1Group operations
ImmunizationRecord a vaccination event and its associated clinical details.R4 4.0.1Immunization operations
LocationDescribe a place where care is provided or a device is located.R4 4.0.1Location operations
MedicationDescribe a medication product referenced by other clinical records.R4 4.0.1Medication operations
MedicationRequestRecord a medication order or request and its prescribing instructions.R4 4.0.1MedicationRequest operations
MedicationStatementRecord a statement about a patient's medication use.R4 4.0.1MedicationStatement operations
ObservationRecord measurements and clinical findings, including device readings and laboratory results.R4 4.0.1Observation operations
OrganizationIdentify an organization involved in care or information exchange.R4 4.0.1Organization operations
PatientIdentify the person who receives care and associate records with that person.R4 4.0.1Patient operations
PractitionerIdentify a person involved in providing healthcare.R4 4.0.1Practitioner operations
PractitionerRoleDescribe a practitioner's role, specialty and organizational context.R4 4.0.1PractitionerRole operations
ProcedureRecord an action performed as part of patient care.R4 4.0.1Procedure operations
ProvenanceRecord the people, organizations or activities responsible for resource content.R4 4.0.1Provenance operations
RelatedPersonIdentify a person related to the patient, such as a family member or caregiver.R4 4.0.1RelatedPerson operations
ServiceRequestRecord a request for a clinical service, such as a procedure or diagnostic investigation.R4 4.0.1ServiceRequest operations
SpecimenDescribe a biological sample associated with diagnostic work.R4 4.0.1Specimen operations

For examples that combine medication records, care plans and clinical documents with device observations, see Connected Clinical Workflows. Your application coordinates these records and any clinical actions; storing a resource does not execute the workflow it describes.

Authorization

For the complete scope configuration model, see Where Scopes Are Configured and Requested.

ContextScope form
Resource-server definitionsystem/...
Client grant/token requestddfssystem/...
Issued token's scope claimsystem/...

The following guidance uses the canonical system/... form used in resource-server definitions and issued access-token scope claims. When configuring an OCI Identity Domains client, grant and request the corresponding fixed-prefix form, such as ddfssystem/Patient.rs. Grant only the resource-specific scopes required by the client workflow.

Resource groupCanonical scope guidance
AllergyIntolerance, CarePlan, CareTeam, Composition, Condition, DiagnosticReport, DocumentReference, Encounter, FamilyMemberHistory, Group, Immunization, Medication, MedicationRequest, MedicationStatement, Observation, Patient, Procedure, RelatedPerson, ServiceRequest, Specimensystem/{resource}.rs or system/{resource}.read for read and search access. Add system/{resource}.write only when the integration creates, updates, or logically deletes data.
Organization, Practitioner, PractitionerRole, Endpoint, Locationsystem/{resource}.rs or system/{resource}.read for read and search access. Add system/{resource}.write only when the integration creates, updates, or logically deletes data.
Devicesystem/Device.rs or system/Device.read for read and search access. Add system/Device.write only when the integration creates, updates, or logically deletes data.
Provenancesystem/Provenance.rs or system/Provenance.read for read and search access. Add system/Provenance.write only when applicable.

Hard-delete and purge-deleted operations also require the canonical DDFS hard-delete scope. See Custom Hard-Delete Scope.

FHIR Contract Details

The following support matrix is generated from ddfs-r4.json. Check GET /api/fhir/r4/metadata before enabling optional client behavior.

Resource Interactions Operations Search parameters Includes Reverse includes
Compositioncreate, read, vread, update, delete, search-type$hardDelete, $purgeDeletedidentifier, _count, _total, _id, _lastUpdated, _profile, _tag, category, type, status, date, patient—Provenance:target
Medicationcreate, read, vread, update, delete, search-type$hardDelete, $purgeDeletedidentifier, _count, _total, _id, _lastUpdated, _profile, _tag, code——
Immunizationcreate, read, vread, update, delete, search-type$hardDelete, $purgeDeleted_count, _total, _id, _lastUpdated, _profile, _tag, identifier, patient, status, date, vaccine-code—Provenance:target
AllergyIntolerance create, read, vread, update, delete, search-type $hardDelete, $purgeDeleted identifier, _count, _total, _id, _lastUpdated, _profile, _tag, category, clinical-status, code, patient, verification-status — Provenance:target
Condition create, read, vread, update, delete, search-type $hardDelete, $purgeDeleted _count, _total, _id, _lastUpdated, _profile, _tag, abatement-date, category, clinical-status, code, encounter, onset-date, patient, recorded-date — Provenance:target
Device create, read, vread, update, delete, search-type $hardDelete, $purgeDeleted _count, _total, _id, _lastUpdated, _profile, _tag, patient, status, type, manufacturer, model — Provenance:target
DiagnosticReport create, read, vread, update, delete, search-type $hardDelete, $purgeDeleted _count, _total, _id, _lastUpdated, _profile, _tag, category, code, date, patient, status — Provenance:target
DocumentReference create, read, vread, update, delete, search-type $hardDelete, $purgeDeleted _count, _total, _id, _lastUpdated, _profile, _tag, identifier, patient, category, type, status, date, period — Provenance:target
Encounter create, read, vread, update, delete, search-type $hardDelete, $purgeDeleted _count, _total, _id, _lastUpdated, _profile, _tag, class, date, discharge-disposition, identifier, location, patient, status, type — Provenance:target
Endpoint create, read, vread, update, delete, search-type $hardDelete, $purgeDeleted _count, _total, _id, _lastUpdated, _profile, _tag, status, organization, connection-type, payload-type, name, identifier — —
CareTeam create, read, vread, update, delete, search-type $hardDelete, $purgeDeleted identifier, _count, _total, _id, _lastUpdated, _profile, _tag, patient, status — Provenance:target
CarePlan create, read, vread, update, delete, search-type $hardDelete, $purgeDeleted identifier, _count, _total, _id, _lastUpdated, _profile, _tag, patient, category, status, date — Provenance:target
FamilyMemberHistory create, read, vread, update, delete, search-type $hardDelete, $purgeDeleted identifier, _count, _total, _id, _lastUpdated, _profile, _tag, code, patient, status, relationship — Provenance:target
Group create, read, vread, update, delete, search-type $hardDelete, $purgeDeleted _count, _total, _id, _lastUpdated, _profile, _tag, actual, code, identifier, managing-entity, member, type — —
Location create, read, vread, update, delete, search-type $hardDelete, $purgeDeleted _count, _total, _id, _lastUpdated, _profile, _tag, identifier, status, partof, name, address, address-city, address-state, address-postalcode — —
MedicationStatement create, read, vread, update, delete, search-type $hardDelete, $purgeDeleted identifier, _count, _total, _id, _lastUpdated, _profile, _tag, code, patient, status, medication, effective — Provenance:target
MedicationRequest create, read, vread, update, delete, search-type $hardDelete, $purgeDeleted identifier, _count, _total, _id, _lastUpdated, _profile, _tag, code, patient, status, intent, medication, authoredon — Provenance:target
Observation create, read, vread, update, delete, search-type $hardDelete, $purgeDeleted _count, _total, _id, _lastUpdated, _profile, _tag, category, code, date, device, encounter, patient, specimen, status — Provenance:target
Organization create, read, vread, update, delete, search-type $hardDelete, $purgeDeleted _count, _total, _id, _lastUpdated, _profile, _tag, address, name — —
Patient create, read, vread, update, delete, search-type $hardDelete, $purgeDeleted _count, _total, _id, _lastUpdated, _profile, _tag, birthdate, death-date, family, given, identifier, name — Provenance:target
Practitioner create, read, vread, update, delete, search-type $hardDelete, $purgeDeleted _count, _total, _id, _lastUpdated, _profile, _tag, identifier, name — —
PractitionerRole create, read, vread, update, delete, search-type $hardDelete, $purgeDeleted _count, _total, _id, _lastUpdated, _profile, _tag, practitioner, specialty PractitionerRole:practitioner, PractitionerRole:endpoint —
Procedure create, read, vread, update, delete, search-type $hardDelete, $purgeDeleted identifier, _count, _total, _id, _lastUpdated, _profile, _tag, code, patient, status, date — Provenance:target
Provenance create, read, vread, update, delete, search-type $hardDelete, $purgeDeleted _count, _total, _id, _lastUpdated, _profile, _tag, activity, agent, target, when — —
RelatedPerson create, read, vread, update, delete, search-type $hardDelete, $purgeDeleted _count, _total, _id, _lastUpdated, _profile, _tag, patient, name — Provenance:target
ServiceRequest create, read, vread, update, delete, search-type $hardDelete, $purgeDeleted _count, _total, _id, _lastUpdated, _profile, _tag, authored, category, code, patient, status — Provenance:target
Specimen create, read, vread, update, delete, search-type $hardDelete, $purgeDeleted _count, _total, _id, _lastUpdated, _profile, _tag, patient — —
Resource behavior declarations

Not declared means that the CapabilityStatement does not make a declaration for that field; clients must not infer support.

Resource Profile Supported profiles Versioning Read history Update create Conditional create Conditional read Conditional update Conditional patch Conditional delete
MedicationRequesthttp://hl7.org/fhir/StructureDefinition/MedicationRequest—versioned-updateYesYesNonot-supportedNoNot declarednot-supported
AllergyIntolerancehttp://hl7.org/fhir/StructureDefinition/AllergyIntolerance—versioned-updateYesYesNonot-supportedNoNot declarednot-supported
Compositionhttp://hl7.org/fhir/StructureDefinition/Composition—versioned-updateYesYesNonot-supportedNoNot declarednot-supported
Immunizationhttp://hl7.org/fhir/StructureDefinition/Immunization—versioned-updateYesYesNonot-supportedNoNot declarednot-supported
Medicationhttp://hl7.org/fhir/StructureDefinition/Medication—versioned-updateYesYesNonot-supportedNoNot declarednot-supported
Procedurehttp://hl7.org/fhir/StructureDefinition/Procedure—versioned-updateYesYesNonot-supportedNoNot declarednot-supported
Condition http://hl7.org/fhir/StructureDefinition/Condition — versioned Yes No No not-supported No Not declared not-supported
Device http://hl7.org/fhir/StructureDefinition/Device — versioned Yes No No not-supported No Not declared not-supported
DiagnosticReport http://hl7.org/fhir/StructureDefinition/DiagnosticReport — versioned Yes No No not-supported No Not declared not-supported
DocumentReference http://hl7.org/fhir/StructureDefinition/DocumentReference — versioned-update Yes Yes No not-supported No Not declared not-supported
Encounter http://hl7.org/fhir/StructureDefinition/Encounter — versioned Yes No No not-supported No Not declared not-supported
Endpoint http://hl7.org/fhir/StructureDefinition/Endpoint — versioned Yes No No not-supported No Not declared not-supported
CareTeam http://hl7.org/fhir/StructureDefinition/CareTeam — versioned-update Yes Yes No not-supported No Not declared not-supported
CarePlan http://hl7.org/fhir/StructureDefinition/CarePlan — versioned-update Yes Yes No not-supported No Not declared not-supported
FamilyMemberHistory http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory — versioned-update Yes Yes No not-supported No Not declared not-supported
Group http://hl7.org/fhir/StructureDefinition/Group — versioned Yes No No not-supported No Not declared not-supported
Location http://hl7.org/fhir/StructureDefinition/Location — versioned Yes No No not-supported No Not declared not-supported
MedicationStatement http://hl7.org/fhir/StructureDefinition/MedicationStatement — versioned-update Yes Yes No not-supported No Not declared not-supported
Observation http://hl7.org/fhir/StructureDefinition/Observation — versioned Yes No No not-supported No Not declared not-supported
Organization http://hl7.org/fhir/StructureDefinition/Organization — versioned Yes No No not-supported No Not declared not-supported
Patient http://hl7.org/fhir/StructureDefinition/Patient — versioned Yes No No not-supported No Not declared not-supported
Practitioner http://hl7.org/fhir/StructureDefinition/Practitioner — versioned Yes No No not-supported No Not declared not-supported
PractitionerRole http://hl7.org/fhir/StructureDefinition/PractitionerRole — versioned Yes No No not-supported No Not declared not-supported
Provenance http://hl7.org/fhir/StructureDefinition/Provenance — versioned Yes No No not-supported No Not declared not-supported
RelatedPerson http://hl7.org/fhir/StructureDefinition/RelatedPerson — versioned Yes No No not-supported No Not declared not-supported
ServiceRequest http://hl7.org/fhir/StructureDefinition/ServiceRequest — versioned Yes No No not-supported No Not declared not-supported
Specimen http://hl7.org/fhir/StructureDefinition/Specimen — versioned Yes No No not-supported No Not declared not-supported