Medication Request / Patient Prescription Records

 
CareSpan available search parameters Details Search Paramters

Name Field Name Type Value Description Required
Encounter ID encounter - eg. 6ADF2368-4490-4844-99E2-D3CC62E6D79B Encounter Identification Yes
page_index _getpagesoffset - eg. 10 from start record position. Default is 0 No
Per_page _count - eg. 20 Total Number of records in each requrest No

Request Type

GET


Sample Request URL

https://test-api.carespan.clinic/R4/MedicationRequest?encounter={{encounter_id}} - look up with encounter ID

https://test-api.carespan.clinic/R4/MedicationRequest?patient={{patient_mrn}} - look up with patient MRN

Response
        
{
    "resourceType": "Bundle",
    "entry": [
        {
            "fullUrl": "//MedicationRequest/b0c56a7de7bec396d8959ac0e3fe099b",
            "resource": {
                "resourceType": "MedicationRequest",
                "contained": [
                    {
                        "resourceType": "Medication",
                        "code": {
                            "coding": [
                                {
                                    "display": "Silvadene 1% cream"
                                },
                                {
                                    "system": "http://www.nlm.nih.gov/research/umls/rxnorm",
                                    "code": "208186"
                                }
                            ]
                        },
                        "status": "active"
                    }
                ],
                "extension": [
                    {
                        "valueString": "1%",
                        "url": "https://api.carespan.clinic/fhir/StructureDefinition/valueset-medication/strength-and-form"
                    }
                ],
                "status": "active",
                "intent": "order",
                "priority": "routine",
                "encounter": {
                    "reference": "Encounter/6ADF2368-4490-4844-99E2-D3CC62E6D79B"
                },
                "authoredOn": "2022-01-12T19:16:30+00:00",
                "dosageInstruction": [
                    {
                        "resourceType": "Dosage",
                        "text": "Gently cleanse wound daily and reapply Silvadene cream. Re-dress wound.",
                        "doseAndRate": [
                            {
                                "doseQuantity": {
                                    "value": "1%"
                                }
                            }
                        ]
                    }
                ],
                "substitution": {
                    "allowedBoolean": false
                }
            },
            "search": {
                "mode": "match"
            }
        },
        {
            "fullUrl": "//MedicationRequest/6a71706b7b2bf7a490b068c3fd97eb60",
            "resource": {
                "resourceType": "MedicationRequest",
                "contained": [
                    {
                        "resourceType": "Medication",
                        "code": {
                            "coding": [
                                {
                                    "display": "Acetaminophen 325 mg tablet"
                                },
                                {
                                    "system": "http://www.nlm.nih.gov/research/umls/rxnorm",
                                    "code": "313782"
                                }
                            ]
                        },
                        "status": "active"
                    }
                ],
                "extension": [
                    {
                        "valueString": "325 mg",
                        "url": "https://api.carespan.clinic/fhir/StructureDefinition/valueset-medication/strength-and-form"
                    }
                ],
                "status": "active",
                "intent": "order",
                "priority": "routine",
                "encounter": {
                    "reference": "Encounter/6ADF2368-4490-4844-99E2-D3CC62E6D79B"
                },
                "authoredOn": "2022-01-26T15:07:26+00:00",
                "dosageInstruction": [
                    {
                        "resourceType": "Dosage",
                        "text": "As needed",
                        "doseAndRate": [
                            {
                                "doseQuantity": {
                                    "value": "325",
                                    "unit": "mg"
                                }
                            }
                        ]
                    }
                ],
                "dispenseRequest": {
                    "validityPeriod": [],
                    "quantity": "5"
                },
                "substitution": {
                    "allowedBoolean": false
                }
            },
            "search": {
                "mode": "match"
            }
        },
        {
            "fullUrl": "//MedicationRequest/f9af32c462d6758f3ea046897e81abed",
            "resource": {
                "resourceType": "MedicationRequest",
                "contained": [
                    {
                        "resourceType": "Medication",
                        "code": {
                            "coding": [
                                {
                                    "display": "Melatonin 5 mg capsule"
                                },
                                {
                                    "system": "http://www.nlm.nih.gov/research/umls/rxnorm",
                                    "code": "199647"
                                }
                            ]
                        },
                        "status": "active"
                    }
                ],
                "extension": [
                    {
                        "valueString": "5 mg",
                        "url": "https://api.carespan.clinic/fhir/StructureDefinition/valueset-medication/strength-and-form"
                    }
                ],
                "status": "active",
                "intent": "order",
                "priority": "routine",
                "encounter": {
                    "reference": "Encounter/6ADF2368-4490-4844-99E2-D3CC62E6D79B"
                },
                "authoredOn": "2022-01-26T15:07:27+00:00",
                "dosageInstruction": [
                    {
                        "resourceType": "Dosage",
                        "text": "As needed",
                        "doseAndRate": [
                            {
                                "doseQuantity": {
                                    "value": "5",
                                    "unit": "mg"
                                }
                            }
                        ]
                    }
                ],
                "dispenseRequest": {
                    "validityPeriod": [],
                    "quantity": "10"
                },
                "substitution": {
                    "allowedBoolean": false
                }
            },
            "search": {
                "mode": "match"
            }
        }
    ]
}