Every API here is available over the APIs.io API and to AI agents over MCP.
{
"openapi": "3.0.1",
"info": {
"title": "Medication prescriptions",
"description": "Medication prescriptions of a patient\n<h4>Versions</h4>\n<table style=\"width:100%\">\n <tr>\n <th>COS version</th>\n <th>API version</th>\n <th>Required Cosmic version</th>\n <th>Date</th>\n <th>Description</th>\n </tr>\n <tr>\n <td>3.0.0</td>\n <td>1.0.0</td>\n <td>R8.3.05</td>\n <td>Feb 2022</td>\n <td>Initial version, deprecated</td>\n </tr>\n</table>",
"version": "deprecated"
},
"servers": [
{
"url": "https://api.openservices.cambio.se/open/api/medications"
}
],
"paths": {
"/": {
"get": {
"operationId": "getPrescriptionInfo",
"summary": "Get Prescriptions",
"description": "Get all prescriptions for the given patient. The result can be filtered by using a time interval. <p><a target=\"_blank\" href=\"/openidconnectprofile\">OAuth</a> <code>scope</code> for access : <code>user/MedicationPrescription-read</code></p>",
"responses": {
"200": {
"description": "Request succeeded for the given patient.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PrescriptionInfoResponse"
}
}
}
}
},
"parameters": [
{
"name": "fromDateTime",
"in": "query",
"description": "Time interval start, using date format: 1970-01-01T01:00:00",
"schema": {
"type": "string"
}
},
{
"name": "toDateTime",
"in": "query",
"description": "Time interval end, using date format: 1970-01-01T01:00:00",
"schema": {
"type": "string"
}
},
{
"name": "patient",
"in": "header",
"description": "Patient's personal number.",
"schema": {
"type": "string"
}
}
]
}
}
},
"components": {
"securitySchemes": {
"apiKeyHeader": {
"type": "apiKey",
"name": "Ocp-Apim-Subscription-Key",
"in": "header"
},
"apiKeyQuery": {
"type": "apiKey",
"name": "subscription-key",
"in": "query"
}
},
"schemas": {
"PrescriptionInfoResponse": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PrescriptionEHRExtracts"
}
},
"PrescriptionEHRExtracts": {
"type": "object",
"properties": {
"PrescriptionEHRExtract": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PrescriptionEHRExtract"
}
},
"XSDVersion": {
"$ref": "#/components/schemas/XSDVersion"
}
}
},
"PrescriptionEHRExtract": {
"type": "object",
"properties": {
"ehr_id": {
"$ref": "#/components/schemas/II"
},
"ehr_system": {
"$ref": "#/components/schemas/II"
},
"time_created": {
"$ref": "#/components/schemas/TS"
},
"Prescription": {
"$ref": "#/components/schemas/Prescription"
},
"Patient": {
"$ref": "#/components/schemas/Patient"
},
"Units": {
"$ref": "#/components/schemas/Units"
},
"CreationUnit": {
"$ref": "#/components/schemas/Unit"
},
"ResponsibleUnit": {
"$ref": "#/components/schemas/Unit"
},
"AccessZoneUnit": {
"$ref": "#/components/schemas/Unit"
},
"HeadCareproviderUnit": {
"$ref": "#/components/schemas/Unit"
},
"CareProviders": {
"$ref": "#/components/schemas/PICareProviders"
},
"HCMContact": {
"$ref": "#/components/schemas/Contact"
}
}
},
"Prescription": {
"type": "object",
"properties": {
"rc_id": {
"$ref": "#/components/schemas/II"
},
"AccordingToSchedule": {
"type": "boolean"
},
"ActualTerminateDate": {
"$ref": "#/components/schemas/TS"
},
"ReplacedByLatest": {
"type": "boolean"
},
"PrescriptionVersionDateTime": {
"$ref": "#/components/schemas/TS"
},
"PrescriptionPatientInstruction": {
"type": "string"
},
"PrescriptionCaregiverInstruction": {
"type": "string"
},
"ExtendedMedicationMiningData": {
"type": "array",
"items": {
"type": "object"
}
},
"PrescriptionReason": {
"type": "string"
},
"PrescriptionReasonText": {
"type": "string"
},
"TreatmentGoal": {
"type": "string"
},
"PrescriptionType": {
"type": "string"
},
"MedicationType": {
"type": "string"
},
"RouteDetail": {
"$ref": "#/components/schemas/RouteDetail"
},
"MedicationTreatmentId": {
"$ref": "#/components/schemas/II"
},
"MedicationTreatmentStatusDetail": {
"$ref": "#/components/schemas/MedicationTreatementStatusDetail"
},
"MainProductTreatment": {
"$ref": "#/components/schemas/ProductInformation"
},
"MedicationActive": {
"type": "boolean"
},
"FollowUpDateTime": {
"$ref": "#/components/schemas/TS"
},
"PrescriptionCancelComment": {
"type": "string"
},
"PrescriptionStartDateTime": {
"$ref": "#/components/schemas/TS"
},
"PrescriptionEndDateTime": {
"$ref": "#/components/schemas/TS"
},
"PrescriptionDosages": {
"$ref": "#/components/schemas/PrescriptionDosage"
},
"MedicationChoice": {
"$ref": "#/components/schemas/CD"
},
"PrescriptionDetails": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PrescriptionDetail"
}
},
"PrescriptionDrugExtemporeDescription": {
"type": "string"
},
"MedicationPurpose": {
"type": "string"
},
"MedicationPurposeText": {
"type": "string"
},
"MedicationIndication": {
"type": "string"
},
"MedicationIndicationText": {
"type": "string"
},
"MedicationTarget": {
"type": "string"
},
"MedicationTargetText": {
"type": "string"
},
"MedicationAdministrationMethod": {
"type": "string"
},
"MixingInstruction": {
"type": "string"
},
"Mixtures": {
"$ref": "#/components/schemas/MixturesType"
}
}
},
"RouteDetail": {
"type": "object",
"properties": {
"byWith": {
"type": "string"
},
"location": {
"type": "string"
},
"routeCode": {
"type": "string"
},
"name": {
"type": "string"
},
"abbreviation": {
"type": "string"
},
"routeLicensed": {
"type": "boolean"
}
}
},
"MedicationTreatementStatusDetail": {
"type": "object",
"properties": {
"TreatmentStatus": {
"type": "string",
"enum": [
"ACTIVE",
"PAUSED",
"ENDED",
"DISCONTINUED",
"UNPLANNED",
"DELETED",
"PLANNED",
"INVALIDATED",
"FUTURE_PAUSED",
"FUTURE_PLANNED",
"FUTURE_DISCONTINUED",
"FUTURE_REACTIVATED",
"UNPLANED_FUTURE_DISCONTINUED"
]
},
"EffectiveDateTime": {
"$ref": "#/components/schemas/TS"
}
}
},
"ProductInformation": {
"type": "object",
"properties": {
"PrescriptionProductTradeName": {
"type": "string"
},
"PrescriptionProductDrugFormTextSv": {
"type": "string"
},
"PrescriptionProductNplID": {
"$ref": "#/components/schemas/II"
},
"PrescriptionProductAtcCode": {
"$ref": "#/components/schemas/CD"
},
"PrescriptionProductStrengthNumeric": {
"type": "string"
},
"PrescriptionProductStrengthNumericUnit": {
"type": "string"
},
"MainSubstance": {
"type": "string"
}
}
},
"PrescriptionDosage": {
"type": "object",
"properties": {
"WhenNeeded": {
"type": "boolean"
},
"DosagePlugin": {
"type": "array",
"items": {
"$ref": "#/components/schemas/DosagePlugin"
}
}
}
},
"PrescriptionDetail": {
"type": "object",
"properties": {
"ProductInformation": {
"$ref": "#/components/schemas/ProductInformation"
},
"MixingDetail": {
"$ref": "#/components/schemas/MixingDetail"
},
"Type": {
"type": "string",
"enum": [
"Main",
"Additive",
"Diluent"
]
}
}
},
"MixingDetail": {
"type": "object",
"properties": {
"Amount": {
"type": "number"
},
"AmountUnit": {
"type": "string"
},
"ConcentrationValue": {
"type": "number"
},
"FinalConcentrationText": {
"type": "string"
}
}
},
"MixturesType": {
"type": "object",
"properties": {
"Mixture": {
"type": "array",
"items": {
"$ref": "#/components/schemas/MixtureType"
}
}
}
},
"MixtureType": {
"type": "object",
"properties": {
"Type": {
"type": "string"
},
"Name": {
"type": "string"
},
"Strength": {
"type": "string"
},
"Amount": {
"type": "string"
},
"Text": {
"type": "string"
}
}
},
"DosagePlugin": {
"type": "object",
"properties": {
"DripDosage": {
"$ref": "#/components/schemas/DripDosageType"
},
"MultiDosage": {
"$ref": "#/components/schemas/MultiDosageType"
},
"FreeTextDosage": {
"$ref": "#/components/schemas/FreeTextDosageType"
},
"NormalDosage": {
"$ref": "#/components/schemas/NormalDosageType"
},
"OccasionDosage": {
"$ref": "#/components/schemas/OccasionDosageType"
},
"OnceDosage": {
"$ref": "#/components/schemas/OnceDosageType"
},
"PeriodicDosage": {
"$ref": "#/components/schemas/PeriodicDosageType"
},
"WeeklyDosage": {
"$ref": "#/components/schemas/WeeklyDosageType"
},
"IX3Dosage": {
"$ref": "#/components/schemas/IX3DosageType"
}
}
},
"DripDosageType": {
"type": "object",
"properties": {
"Amount": {
"$ref": "#/components/schemas/DDAmount"
},
"Volume": {
"$ref": "#/components/schemas/DDVolume"
},
"Concentration": {
"$ref": "#/components/schemas/DDConcentration"
},
"Duration": {
"$ref": "#/components/schemas/DDDuration"
},
"Iteration": {
"$ref": "#/components/schemas/DDIteration"
},
"Speeds": {
"$ref": "#/components/schemas/Speeds"
},
"DosageText": {
"type": "string"
}
}
},
"DDAmount": {
"type": "object",
"properties": {
"$self": {
"type": "number"
},
"Unit": {
"type": "string"
}
}
},
"DDVolume": {
"type": "object",
"properties": {
"$self": {
"type": "number"
},
"Unit": {
"type": "string"
}
}
},
"DDConcentration": {
"type": "object",
"properties": {
"$self": {
"type": "number"
},
"Unit": {
"type": "string"
}
}
},
"DDDuration": {
"type": "object",
"properties": {
"$self": {
"type": "integer"
},
"TimeUnit": {
"$ref": "#/components/schemas/DoseTimeUnitType"
}
}
},
"DDIteration": {
"type": "object",
"properties": {
"DailyReoccurence": {
"$ref": "#/components/schemas/DailyReoccurence"
},
"SpecifiedTimes": {
"$ref": "#/components/schemas/SpecifiedTimes"
},
"TimesADay": {
"$ref": "#/components/schemas/TimesADay"
},
"Continuous": {
"type": "string"
}
}
},
"DailyReoccurence": {
"type": "object",
"properties": {
"Amount": {
"type": "integer"
}
}
},
"SpecifiedTimes": {
"type": "object",
"properties": {
"Time": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"TimesADay": {
"type": "object",
"properties": {
"StartTime": {
"type": "string"
},
"Amount": {
"type": "integer"
}
}
},
"Speeds": {
"type": "object",
"properties": {
"Speed": {
"type": "number"
},
"MinSpeed": {
"type": "number"
},
"MaxSpeed": {
"type": "number"
},
"AmountUnit": {
"type": "string"
},
"TimeUnit": {
"$ref": "#/components/schemas/DoseTimeUnitType"
}
}
},
"MultiDosageType": {
"type": "object",
"properties": {
"Dosage": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Dosage"
}
}
}
},
"Dosage": {
"type": "object",
"properties": {
"StartTime": {
"$ref": "#/components/schemas/StartTime"
},
"StartDateTime": {
"type": "string"
},
"DurationTime": {
"$ref": "#/components/schemas/DurationTime"
},
"DurationDateTime": {
"$ref": "#/components/schemas/DateTimeDuration"
},
"DosePlugin": {
"$ref": "#/components/schemas/DosePlugin"
}
}
},
"StartTime": {
"type": "object",
"properties": {
"$self": {
"type": "integer"
},
"Type": {
"$ref": "#/components/schemas/DoseTimeUnitType"
}
}
},
"DurationTime": {
"type": "object",
"properties": {
"$self": {
"type": "integer"
},
"Type": {
"type": "string",
"enum": [
"Minutes",
"Hours",
"Days",
"Weeks",
"Unlimited"
]
}
}
},
"DateTimeDuration": {
"type": "object",
"properties": {
"$self": {
"type": "string"
},
"Unlimited": {
"type": "boolean"
}
}
},
"DosePlugin": {
"type": "object",
"properties": {
"FreeTextDosage": {
"$ref": "#/components/schemas/FreeTextDosageType"
},
"NormalDosage": {
"$ref": "#/components/schemas/NormalDosageType"
},
"OccasionDosage": {
"$ref": "#/components/schemas/OccasionDosageType"
},
"OnceDosage": {
"$ref": "#/components/schemas/OnceDosageType"
},
"PeriodicDosage": {
"$ref": "#/components/schemas/PeriodicDosageType"
},
"WeeklyDosage": {
"$ref": "#/components/schemas/WeeklyDosageType"
}
}
},
"FreeTextDosageType": {
"type": "object",
"properties": {
"Text": {
"type": "string"
},
"Unit": {
"type": "string"
},
"Motivation": {
"type": "string"
},
"DosageText": {
"type": "string"
}
}
},
"NormalDosageType": {
"type": "object",
"properties": {
"MinDose": {
"type": "number"
},
"MaxDose": {
"type": "number"
},
"Unit": {
"type": "string"
},
"Time": {
"$ref": "#/components/schemas/Time"
},
"WhenNeeded": {
"$ref": "#/components/schemas/WhenNeeded"
},
"DosageText": {
"type": "string"
}
}
},
"Time": {
"type": "object",
"properties": {
"TimesPerDay": {
"type": "integer"
},
"Times": {
"$ref": "#/components/schemas/Times"
}
}
},
"Times": {
"type": "object",
"properties": {
"Time": {
"$ref": "#/components/schemas/DoseTimeOfDayType"
}
}
},
"WhenNeeded": {
"type": "object",
"properties": {
"MaxDose": {
"$ref": "#/components/schemas/MaxDose"
},
"MinimumIntervalBetweenDosages": {
"$ref": "#/components/schemas/MinimumIntervalBetweenDosages"
}
}
},
"MaxDose": {
"type": "object",
"properties": {
"$self": {
"type": "number"
},
"DoseRestriction": {
"type": "string",
"enum": [
"PerDay",
"PerDosage"
]
}
}
},
"MinimumIntervalBetweenDosages": {
"type": "object",
"properties": {
"$self": {
"type": "number"
},
"Type": {
"$ref": "#/components/schemas/DoseTimeUnitType"
}
}
},
"OccasionDosageType": {
"type": "object",
"properties": {
"Unit": {
"type": "string"
},
"Dosages": {
"$ref": "#/components/schemas/Dosages"
},
"DosageText": {
"type": "string"
}
}
},
"Dosages": {
"type": "object",
"properties": {
"OccasionPerDayDosages": {
"$ref": "#/components/schemas/OccasionPerDayDosages"
},
"TimeOfDayDosages": {
"$ref": "#/components/schemas/TimeOfDayDosages"
},
"SpecifiedTimeDosages": {
"$ref": "#/components/schemas/SpecifiedTimeDosages"
}
}
},
"OccasionPerDayDosages": {
"type": "object",
"properties": {
"OccasionPerDayDose": {
"type": "array",
"items": {
"$ref": "#/components/schemas/OccasionPerDayDose"
}
}
}
},
"OccasionPerDayDose": {
"type": "object",
"properties": {
"MinDose": {
"type": "number"
},
"MaxDose": {
"type": "number"
},
"DoseOrder": {
"type": "integer"
}
}
},
"TimeOfDayDosages": {
"type": "object",
"properties": {
"TimeOfDayDose": {
"type": "array",
"items": {
"$ref": "#/components/schemas/TimeOfDayDose"
}
}
}
},
"TimeOfDayDose": {
"type": "object",
"properties": {
"MinDose": {
"type": "number"
},
"MaxDose": {
"type": "number"
},
"Time": {
"$ref": "#/components/schemas/DoseTimeOfDayType"
}
}
},
"SpecifiedTimeDosages": {
"type": "object",
"properties": {
"SpecifiedTimeDose": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SpecifiedTimeDose"
}
}
}
},
"SpecifiedTimeDose": {
"type": "object",
"properties": {
"MinDose": {
"type": "number"
},
"MaxDose": {
"type": "number"
},
"Time": {
"type": "string"
}
}
},
"OnceDosageType": {
"type": "object",
"properties": {
"minDose": {
"type": "number"
},
"maxDose": {
"type": "number"
},
"unit": {
"type": "string"
},
"dateTime": {
"type": "string"
},
"dosageText": {
"type": "string"
}
}
},
"PeriodicDosageType": {
"type": "object",
"properties": {
"MinDose": {
"type": "number"
},
"MaxDose": {
"type": "number"
},
"Unit": {
"type": "string"
},
"IntervalTime": {
"$ref": "#/components/schemas/IntervalTime"
},
"DosageText": {
"type": "string"
}
}
},
"IntervalTime": {
"type": "object",
"properties": {
"$self": {
"type": "integer"
},
"Type": {
"$ref": "#/components/schemas/DoseTimeUnitType"
}
}
},
"WeeklyDosageType": {
"type": "object",
"properties": {
"Unit": {
"type": "string"
},
"Weeks": {
"$ref": "#/components/schemas/Weeks"
},
"DosageText": {
"type": "string"
}
}
},
"Weeks": {
"type": "object",
"properties": {
"Week": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Week"
}
}
}
},
"Week": {
"type": "object",
"properties": {
"Doses": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Doses"
}
}
}
},
"Doses": {
"type": "object",
"properties": {
"Dose": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Dose"
}
}
}
},
"Dose": {
"type": "object",
"properties": {
"Dose": {
"type": "number"
},
"Dayofweek": {
"$ref": "#/components/schemas/DoseWeekDayType"
},
"timeofday": {
"$ref": "#/components/schemas/DoseTimeOfDayType"
}
}
},
"IX3DosageType": {
"type": "object",
"properties": {
"Conditional": {
"type": "boolean"
},
"ConditionalText": {
"type": "string"
},
"DosageType": {
"type": "string"
},
"DoseDistributionType": {
"type": "string",
"enum": [
"SAME_DOSE_EACH_OCCASION",
"DIFFERENT_DOSE_SEPARATE_OCCASION",
"CONTINUOUS_DOSE",
"PERIODIC",
"NONE"
]
},
"DoseDuration": {
"$ref": "#/components/schemas/Duration"
},
"InfusionDuration": {
"$ref": "#/components/schemas/Duration"
},
"DoseStart": {
"$ref": "#/components/schemas/DoseStart"
},
"DoseEnd": {
"$ref": "#/components/schemas/DoseEnd"
},
"DoseInstance": {
"type": "array",
"items": {
"$ref": "#/components/schemas/DoseInstance"
}
},
"Continuous": {
"type": "boolean"
},
"DosageText": {
"type": "string"
},
"DosageShortText": {
"type": "string"
},
"DosageOrder": {
"type": "integer"
},
"ExtraDose": {
"type": "boolean"
},
"NoOfAdminTimes": {
"type": "integer"
},
"Rate": {
"type": "number"
},
"WholeWhenNeeded": {
"type": "boolean"
},
"RepetitionLength": {
"type": "integer"
}
}
},
"Duration": {
"type": "object",
"properties": {
"length": {
"type": "string"
},
"TimeType": {
"type": "string",
"enum": [
"MINUTE",
"HOUR",
"DAY",
"WEEK",
"MONTH",
"YEAR",
"ADMIN_OCCASION",
"UNLIMITED"
]
}
}
},
"DoseStart": {
"type": "object",
"properties": {
"DoseStartType": {
"type": "string",
"enum": [
"AFTER_PREVIOUS",
"DATE",
"UNKNOWN",
"IMMEDIATE_AFTER_PREVIOUS_DOSAGE"
]
},
"StartDuration": {
"$ref": "#/components/schemas/Duration"
},
"StartDate": {
"$ref": "#/components/schemas/TS"
}
}
},
"DoseEnd": {
"type": "object",
"properties": {
"DoseEndType": {
"type": "string",
"enum": [
"DURATION",
"DATE",
"UNLIMITED"
]
},
"EndDuration": {
"$ref": "#/components/schemas/Duration"
},
"EndDate": {
"$ref": "#/components/schemas/TS"
}
}
},
"DoseInstance": {
"type": "object",
"properties": {
"Conditional": {
"type": "boolean"
},
"DaysFromDosageStart": {
"type": "integer"
},
"NamedTime": {
"$ref": "#/components/schemas/DoseTimeOfDayType"
},
"DoseOrder": {
"type": "integer"
},
"DoseTime": {
"$ref": "#/components/schemas/TS"
},
"MaxQty": {
"type": "string"
},
"MinQty": {
"type": "string"
},
"OneOff": {
"type": "boolean"
},
"OneOffTime": {
"$ref": "#/components/schemas/TS"
},
"Type": {
"type": "string",
"enum": [
"NORMAL",
"ONE_OFF",
"WHEN_NEEDED_ONE_OFF",
"WHEN_NEEDED_WITHOUT_TIME",
"EXTRA_DOSE"
]
}
}
},
"DoseTimeUnitType": {
"type": "string",
"enum": [
"Minutes",
"Hours",
"Days",
"weeks"
]
},
"DoseTimeOfDayType": {
"type": "string",
"enum": [
"Morning",
"Lunch",
"Noon",
"Evening",
"Night"
]
},
"DoseWeekDayType": {
"type": "string",
"enum": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday",
"None"
]
},
"CD": {
"type": "object",
"allOf": [
{
"$ref": "#/components/schemas/ANY"
}
],
"properties": {
"displayName": {
"$ref": "#/components/schemas/ST"
},
"originalText": {
"$ref": "#/components/schemas/EDTEXT"
},
"translation": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CD"
}
},
"source": {
"$ref": "#/components/schemas/XReference"
},
"code": {
"type": "string"
},
"codeSystem": {
"type": "string"
},
"codeSystemName": {
"type": "string"
},
"codeSystemVersion": {
"type": "string"
},
"valueSet": {
"type": "string"
},
"valueSetVersion": {
"type": "string"
},
"codingRationale": {
"type": "array",
"items": {
"type": "string",
"enum": [
"O",
"P",
"R"
]
}
},
"id": {
"type": "string"
}
}
},
"XReference": {
"type": "object",
"properties": {
"xref": {
"type": "string"
}
}
},
"Patient": {
"type": "object",
"properties": {
"PatientId": {
"$ref": "#/components/schemas/II"
},
"PatientProtectedId": {
"type": "boolean"
},
"PatientInternalID": {
"type": "string"
},
"Gender": {
"type": "string"
},
"BirthDate": {
"$ref": "#/components/schemas/TSDATE"
},
"PatientSecrecyGroup": {
"$ref": "#/components/schemas/PatientSecrecyGroup"
},
"PatientNameData": {
"$ref": "#/components/schemas/PatientName"
}
}
},
"PatientSecrecyGroup": {
"type": "object",
"properties": {
"Group": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"PatientName": {
"type": "object",
"properties": {
"PatientFamilyName": {
"type": "string"
},
"PatientMiddleName": {
"type": "string"
},
"PatientGivenName": {
"type": "array",
"items": {
"type": "string"
}
},
"PatientNames": {
"$ref": "#/components/schemas/PatientNames"
}
}
},
"PatientNames": {
"type": "object",
"properties": {
"Name": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"Units": {
"type": "object",
"properties": {
"UnitData": {
# --- truncated at 32 KB (45 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/cambio-healthcare-systems/refs/heads/main/openapi/cambio-healthcare-systems-medication-prescriptions-openapi.json