For AI agents: the documentation index is at /docs/aidbox/llms.txt. A Markdown version of this page is available at /docs/aidbox/notebooks.md or by requesting it with the Accept: text/markdown header.
Aidbox Docs
All notebooks

Setup PA Test Patient

Description

10 cells · updated Mar 24, 2025

This is a read-only view. Responses shown were saved when the notebook was published — open it in your own Aidbox to run the cells against live data.
REST Send Cells run only inside Aidbox. Use Run in Aidbox above to open this notebook in your own instance.
DELETE /fhir/Observation/observation-height
Response: Body
Status: 200
{
  "meta": {
    "lastUpdated": "2025-03-24T00:15:10.641261Z",
    "versionId": "254055",
    "extension": [
      {
        "url": "http://fhir.aidbox.app/extension/createdat",
        "valueInstant": "2025-03-24T00:15:10.641261Z"
      }
    ]
  },
  "valueQuantity": {
    "unit": "m",
    "value": 1.78
  },
  "resourceType": "Observation",
  "effectiveDateTime": "2024-06-27T11:10:14.475Z",
  "status": "final",
  "id": "observation-height",
  "code": {
    "coding": [
      {
        "code": "8302-2",
        "system": "http://loinc.org",
        "display": "Body height"
      }
    ]
  },
  "subject": {
    "reference": "Patient/patient1"
  }
}
REST Send Cells run only inside Aidbox. Use Run in Aidbox above to open this notebook in your own instance.
DELETE /fhir/Observation/observation-weight
Response: Body
Status: 200
{
  "meta": {
    "lastUpdated": "2025-03-24T00:15:13.495185Z",
    "versionId": "254058",
    "extension": [
      {
        "url": "http://fhir.aidbox.app/extension/createdat",
        "valueInstant": "2025-03-24T00:15:13.495185Z"
      }
    ]
  },
  "valueQuantity": {
    "unit": "kg",
    "value": 105
  },
  "resourceType": "Observation",
  "effectiveDateTime": "2024-06-27T11:10:14.475Z",
  "status": "final",
  "id": "observation-weight",
  "code": {
    "coding": [
      {
        "code": "29463-7",
        "system": "http://loinc.org",
        "display": "Body weight"
      }
    ]
  },
  "subject": {
    "reference": "Patient/patient1"
  }
}
REST Send Cells run only inside Aidbox. Use Run in Aidbox above to open this notebook in your own instance.
DELETE /fhir/Condition/condition-diabetes
Response: Body
Status: 200
{
  "id": "condition-diabetes",
  "code": {
    "text": "Type 2 diabetes mellitus without complications",
    "coding": [
      {
        "code": "E11.9",
        "system": "http://hl7.org/fhir/sid/icd-10-cm",
        "display": "Type 2 diabetes mellitus without complications"
      }
    ]
  },
  "subject": {
    "reference": "Patient/patient1"
  },
  "resourceType": "Condition",
  "clinicalStatus": {
    "coding": [
      {
        "code": "active",
        "system": "http://terminology.hl7.org/CodeSystem/condition-clinical"
      }
    ]
  },
  "verificationStatus": {
    "coding": [
      {
        "code": "confirmed",
        "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status"
      }
    ]
  },
  "meta": {
    "lastUpdated": "2025-03-24T00:15:15.934419Z",
    "versionId": "254061",
    "extension": [
      {
        "url": "http://fhir.aidbox.app/extension/createdat",
        "valueInstant": "2025-03-24T00:15:15.934419Z"
      }
    ]
  }
}
REST Send Cells run only inside Aidbox. Use Run in Aidbox above to open this notebook in your own instance.
DELETE /fhir/Condition/condition-pcos
Response: Body
Status: 200
{
  "id": "condition-pcos",
  "code": {
    "text": "Polycystic ovarian syndrome",
    "coding": [
      {
        "code": "E28.2",
        "system": "http://hl7.org/fhir/sid/icd-10-cm",
        "display": "Polycystic ovarian syndrome"
      }
    ]
  },
  "subject": {
    "reference": "Patient/patient1"
  },
  "resourceType": "Condition",
  "clinicalStatus": {
    "coding": [
      {
        "code": "active",
        "system": "http://terminology.hl7.org/CodeSystem/condition-clinical"
      }
    ]
  },
  "verificationStatus": {
    "coding": [
      {
        "code": "confirmed",
        "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status"
      }
    ]
  },
  "meta": {
    "lastUpdated": "2025-03-24T00:15:19.135071Z",
    "versionId": "254064",
    "extension": [
      {
        "url": "http://fhir.aidbox.app/extension/createdat",
        "valueInstant": "2025-03-24T00:15:19.135071Z"
      }
    ]
  }
}
REST Send Cells run only inside Aidbox. Use Run in Aidbox above to open this notebook in your own instance.
DELETE /fhir/Encounter/encounter1
Response: Body
Status: 200
{
  "meta": {
    "lastUpdated": "2025-03-24T00:15:22.840513Z",
    "versionId": "254067",
    "extension": [
      {
        "url": "http://fhir.aidbox.app/extension/createdat",
        "valueInstant": "2025-03-24T00:15:22.840513Z"
      }
    ]
  },
  "participant": [
    {
      "type": [
        {
          "text": "primary performer",
          "coding": [
            {
              "code": "PPRF",
              "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
              "display": "primary performer"
            }
          ]
        }
      ],
      "individual": {
        "display": "Dr. Jane Doe",
        "reference": "Practitioner/practitioner1"
      }
    }
  ],
  "resourceType": "Encounter",
  "status": "finished",
  "id": "encounter1",
  "class": {
    "code": "AMB",
    "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
    "display": "ambulatory"
  },
  "period": {
    "end": "2025-03-20T09:30:00Z",
    "start": "2025-03-20T09:00:00Z"
  },
  "subject": {
    "reference": "Patient/patient1"
  }
}
REST Send Cells run only inside Aidbox. Use Run in Aidbox above to open this notebook in your own instance.
DELETE /fhir/MedicationRequest/medicationRequest1
Response: Body
Status: 200
{
  "meta": {
    "lastUpdated": "2025-03-24T00:15:26.454052Z",
    "versionId": "254070",
    "extension": [
      {
        "url": "http://fhir.aidbox.app/extension/createdat",
        "valueInstant": "2025-03-24T00:15:26.454052Z"
      }
    ]
  },
  "encounter": {
    "reference": "Encounter/encounter1"
  },
  "dispenseRequest": {
    "quantity": {
      "code": "pen",
      "unit": "pen(s)",
      "value": 3,
      "system": "http://unitsofmeasure.org"
    },
    "expectedSupplyDuration": {
      "code": "d",
      "unit": "days",
      "value": 30,
      "system": "http://unitsofmeasure.org"
    }
  },
  "medicationCodeableConcept": {
    "text": "Ozempic (0.25 or 0.5 MG/DOSE) 2MG/3ML SC SOPN",
    "coding": [
      {
        "code": "00169418113",
        "system": "http://hl7.org/fhir/sid/ndc",
        "display": "Ozempic"
      }
    ]
  },
  "authoredOn": "2025-03-20T09:15:00Z",
  "resourceType": "MedicationRequest",
  "requester": {
    "reference": "Practitioner/practitioner1"
  },
  "status": "active",
  "id": "medicationRequest1",
  "identifier": [
    {
      "value": "12345678",
      "system": "http://example.org/fhir/express-scripts/pa-case-id"
    },
    {
      "value": "ABCD1234",
      "system": "http://example.org/cmm/parequestkeys"
    }
  ],
  "intent": "order",
  "subject": {
    "reference": "Patient/patient1"
  },
  "reasonReference": [
    {
      "reference": "Condition/condition-diabetes"
    },
    {
      "reference": "Condition/condition-pcos"
    }
  ]
}
REST Send Cells run only inside Aidbox. Use Run in Aidbox above to open this notebook in your own instance.
DELETE /fhir/Patient/patient1
Response: Body
Status: 200
{
  "address": [
    {
      "city": "Testville",
      "line": [
        "123 Main St."
      ],
      "state": "MI",
      "postalCode": "48187"
    }
  ],
  "meta": {
    "lastUpdated": "2025-03-24T00:15:30.553458Z",
    "versionId": "254073",
    "extension": [
      {
        "url": "http://fhir.aidbox.app/extension/createdat",
        "valueInstant": "2025-03-24T00:15:30.553458Z"
      }
    ]
  },
  "name": [
    {
      "given": [
        "John"
      ],
      "family": "Smith"
    }
  ],
  "birthDate": "1977-12-08",
  "resourceType": "Patient",
  "id": "patient1",
  "identifier": [
    {
      "value": "I8235749154",
      "system": "http://example.org/fhir/identifier/patient-account"
    }
  ],
  "gender": "female"
}
REST Send Cells run only inside Aidbox. Use Run in Aidbox above to open this notebook in your own instance.
DELETE /fhir/Practitioner/practitioner1
Response: Body
Status: 200
{
  "id": "practitioner1",
  "name": [
    {
      "given": [
        "Jane"
      ],
      "family": "Doe"
    }
  ],
  "address": [
    {
      "city": "Detroit",
      "line": [
        "987 Liberty St, Ste 303"
      ],
      "state": "MI",
      "postalCode": "092345"
    }
  ],
  "telecom": [
    {
      "use": "work",
      "value": "5551234567",
      "system": "phone"
    },
    {
      "use": "work",
      "value": "5555555555",
      "system": "fax"
    }
  ],
  "identifier": [
    {
      "value": "1234567890",
      "system": "http://hl7.org/fhir/sid/us-npi"
    }
  ],
  "resourceType": "Practitioner",
  "meta": {
    "lastUpdated": "2025-03-24T00:15:33.607203Z",
    "versionId": "254076",
    "extension": [
      {
        "url": "http://fhir.aidbox.app/extension/createdat",
        "valueInstant": "2025-03-24T00:15:33.607203Z"
      }
    ]
  }
}
REST Send Cells run only inside Aidbox. Use Run in Aidbox above to open this notebook in your own instance.
DELETE /fhir/MedicationRequest/otherMedication1
Response: Body
Status: 200
{
  "meta": {
    "lastUpdated": "2025-03-24T00:15:36.779243Z",
    "versionId": "254079",
    "extension": [
      {
        "url": "http://fhir.aidbox.app/extension/createdat",
        "valueInstant": "2025-03-24T00:15:36.779243Z"
      }
    ]
  },
  "medicationCodeableConcept": {
    "text": "Zepbound (tirzepatide subcutaneous injection)",
    "coding": [
      {
        "code": "2006178",
        "system": "http://www.nlm.nih.gov/research/umls/rxnorm",
        "display": "Tirzepatide Injectable Solution"
      }
    ]
  },
  "authoredOn": "2025-03-15T10:00:00Z",
  "resourceType": "MedicationRequest",
  "requester": {
    "reference": "Practitioner/practitioner1"
  },
  "status": "active",
  "id": "otherMedication1",
  "identifier": [
    {
      "value": "ZYXW9876",
      "system": "http://example.org/cmm/parequestkeys"
    }
  ],
  "intent": "order",
  "subject": {
    "reference": "Patient/patient1"
  }
}
REST Send Cells run only inside Aidbox. Use Run in Aidbox above to open this notebook in your own instance.
POST /
Content-type: application/yaml

resourceType: Bundle
id: bundle1
type: transaction
entry:
- resource:
    resourceType: Patient
    id: patient1
    identifier:
    - system: http://example.org/fhir/identifier/patient-account
      value: I8235749154
    name:
    - given:
      - John
      family: Smith
    gender: female
    birthDate: '1977-12-08'
    address:
    - line:
      - 123 Main St.
      city: Testville
      state: MI
      postalCode: '48187'
  request:
    method: POST
    url: /Patient
- resource:
    id: observation-weight
    value:
      Quantity:
        unit: kg
        value: 105
    resourceType: Observation
    status: final
    effective:
      dateTime: '2024-06-27T11:10:14.475Z'
    code:
      coding:
      - code: 29463-7
        system: http://loinc.org
        display: Body weight
    subject:
      id: patient1
      resourceType: Patient
  request:
    method: POST
    url: /Observation
- resource:
    id: observation-height
    value:
      Quantity:
        unit: m
        value: 1.78
    resourceType: Observation
    status: final
    effective:
      dateTime: '2024-06-27T11:10:14.475Z'
    code:
      coding:
      - code: 8302-2
        system: http://loinc.org
        display: Body height
    subject:
      id: patient1
      resourceType: Patient
  request:
    method: POST
    url: /Observation
- resource:
    resourceType: Practitioner
    id: practitioner1
    identifier:
    - system: http://hl7.org/fhir/sid/us-npi
      value: '1234567890'
    name:
    - given:
      - Jane
      family: Doe
    telecom:
    - system: phone
      value: '5551234567'
      use: work
    - system: fax
      value: '5555555555'
      use: work
    address:
    - line:
      - 987 Liberty St, Ste 303
      city: Detroit
      state: MI
      postalCode: '092345'
  request:
    method: POST
    url: /Practitioner
- resource:
    resourceType: Condition
    id: condition-diabetes
    subject:
      reference: Patient/patient1
    code:
      coding:
      - system: http://hl7.org/fhir/sid/icd-10-cm
        code: E11.9
        display: Type 2 diabetes mellitus without complications
      text: Type 2 diabetes mellitus without complications
    clinicalStatus:
      coding:
      - system: http://terminology.hl7.org/CodeSystem/condition-clinical
        code: active
    verificationStatus:
      coding:
      - system: http://terminology.hl7.org/CodeSystem/condition-ver-status
        code: confirmed
  request:
    method: POST
    url: /Condition
- resource:
    resourceType: Condition
    id: condition-pcos
    subject:
      reference: Patient/patient1
    code:
      coding:
      - system: http://hl7.org/fhir/sid/icd-10-cm
        code: E28.2
        display: Polycystic ovarian syndrome
      text: Polycystic ovarian syndrome
    clinicalStatus:
      coding:
      - system: http://terminology.hl7.org/CodeSystem/condition-clinical
        code: active
    verificationStatus:
      coding:
      - system: http://terminology.hl7.org/CodeSystem/condition-ver-status
        code: confirmed
  request:
    method: POST
    url: /Condition
- resource:
    resourceType: Encounter
    id: encounter1
    status: finished
    class:
      system: http://terminology.hl7.org/CodeSystem/v3-ActCode
      code: AMB
      display: ambulatory
    subject:
      reference: Patient/patient1
    participant:
    - type:
      - coding:
        - system: http://terminology.hl7.org/CodeSystem/v3-ParticipationType
          code: PPRF
          display: primary performer
        text: primary performer
      individual:
        reference: Practitioner/practitioner1
        display: Dr. Jane Doe
    period:
      start: '2025-03-20T09:00:00Z'
      end: '2025-03-20T09:30:00Z'
  request:
    method: POST
    url: /Encounter
- resource:
    resourceType: MedicationRequest
    id: medicationRequest1
    identifier:
    
    status: active
    intent: order
    medicationCodeableConcept:
      coding:
      - system: http://hl7.org/fhir/sid/ndc
        code: '00169418113'
        display: Ozempic
      text: Ozempic (0.25 or 0.5 MG/DOSE) 2MG/3ML SC SOPN
    subject:
      reference: Patient/patient1
    encounter:
      reference: Encounter/encounter1
    authoredOn: '2025-03-20T09:15:00Z'
    requester:
      reference: Practitioner/practitioner1
    reasonReference:
    - reference: Condition/condition-diabetes
    - reference: Condition/condition-pcos
    dispenseRequest:
      quantity:
        value: 3
        unit: pen(s)
        system: http://unitsofmeasure.org
        code: pen
      expectedSupplyDuration:
        value: 30
        unit: days
        system: http://unitsofmeasure.org
        code: d
    identifier:
    - system: http://example.org/fhir/express-scripts/pa-case-id
      value: '12345678'
    - system: http://example.org/cmm/parequestkeys
      value: 'ABCD1234'
  request:
    method: POST
    url: /MedicationRequest
- resource:
    resourceType: MedicationRequest
    id: otherMedication1
    identifier:
    - system: http://example.org/cmm/parequestkeys
      value: 'ZYXW9876'
    status: active
    intent: order
    medicationCodeableConcept:
      coding:
      - system: http://www.nlm.nih.gov/research/umls/rxnorm
        code: '2006178'
        display: Tirzepatide Injectable Solution
      text: Zepbound (tirzepatide subcutaneous injection)
    subject:
      reference: Patient/patient1
    authoredOn: '2025-03-15T10:00:00Z'
    requester:
      reference: Practitioner/practitioner1
  request:
    method: POST
    url: /MedicationRequest
- resource:
    resourceType: Task
    id: priorAuthTask1
    identifier:
    - system: http://example.org/fhir/express-scripts/pa-case-id
      value: '12345678'
    - system: http://example.org/cmm/parequestkeys
      value: 'ABCD1234'
    status: in-progress
    intent: order
    code:
      coding:
      - system: http://terminology.hl7.org/CodeSystem/task-code
        code: fulfill
        display: Fulfill the focal request
      text: Prior Authorization Request
    focus:
      reference: MedicationRequest/medicationRequest1
    for:
      reference: Patient/patient1
    requester:
      reference: Practitioner/practitioner1
    owner:
      display: CoverMyMeds
    authoredOn: '2025-03-20T09:20:00Z'
    lastModified: '2025-03-20T09:20:00Z'
    restriction:
      period:
        start: '2025-03-20T09:20:00Z'
        end: '2025-03-23T10:34:00Z'
    businessStatus:
      coding:
      - system: http://example.org/cmm/pa-status
        code: initiated
        display: Initiated
      text: Prior Authorization has been initiatied and required documentation
    description: Prior Authorization request for Ozempic (semaglutide)
  request:
    method: POST
    url: /Task
Response: Body
Status: 200
type: transaction-response
resourceType: Bundle
entry:
- resource:
    id: patient1
    name:
    - given: [John]
      family: Smith
    gender: female
    address:
    - city: Testville
      line: [123 Main St.]
      state: MI
      postalCode: '48187'
    birthDate: '1977-12-08'
    identifier:
    - {value: I8235749154, system: 'http://example.org/fhir/identifier/patient-account'}
    resourceType: Patient
    meta: {lastUpdated: '2025-03-24T00:15:41.059826Z', createdAt: '2025-03-24T00:15:41.059826Z', versionId: '254082'}
  response: {etag: '254082', location: /Patient/patient1/_history/254082, status: '201', lastModified: '2025-03-24T00:15:41.059826Z'}
- resource:
    id: observation-weight
    code:
      coding:
      - {code: 29463-7, system: 'http://loinc.org', display: Body weight}
    value:
      Quantity: {unit: kg, value: 105}
    status: final
    subject: {id: patient1, resourceType: Patient}
    effective: {dateTime: '2024-06-27T11:10:14.475Z'}
    resourceType: Observation
    meta: {lastUpdated: '2025-03-24T00:15:41.059826Z', createdAt: '2025-03-24T00:15:41.059826Z', versionId: '254084'}
  response: {etag: '254084', location: /Observation/observation-weight/_history/254084, status: '201', lastModified: '2025-03-24T00:15:41.059826Z'}
- resource:
    id: observation-height
    code:
      coding:
      - {code: 8302-2, system: 'http://loinc.org', display: Body height}
    value:
      Quantity: {unit: m, value: 1.78}
    status: final
    subject: {id: patient1, resourceType: Patient}
    effective: {dateTime: '2024-06-27T11:10:14.475Z'}
    resourceType: Observation
    meta: {lastUpdated: '2025-03-24T00:15:41.059826Z', createdAt: '2025-03-24T00:15:41.059826Z', versionId: '254086'}
  response: {etag: '254086', location: /Observation/observation-height/_history/254086, status: '201', lastModified: '2025-03-24T00:15:41.059826Z'}
- resource:
    id: practitioner1
    name:
    - given: [Jane]
      family: Doe
    address:
    - city: Detroit
      line: ['987 Liberty St, Ste 303']
      state: MI
      postalCode: '092345'
    telecom:
    - {use: work, value: '5551234567', system: phone}
    - {use: work, value: '5555555555', system: fax}
    identifier:
    - {value: '1234567890', system: 'http://hl7.org/fhir/sid/us-npi'}
    resourceType: Practitioner
    meta: {lastUpdated: '2025-03-24T00:15:41.059826Z', createdAt: '2025-03-24T00:15:41.059826Z', versionId: '254088'}
  response: {etag: '254088', location: /Practitioner/practitioner1/_history/254088, status: '201', lastModified: '2025-03-24T00:15:41.059826Z'}
- resource:
    id: condition-diabetes
    code:
      text: Type 2 diabetes mellitus without complications
      coding:
      - {code: E11.9, system: 'http://hl7.org/fhir/sid/icd-10-cm', display: Type 2 diabetes mellitus without complications}
    subject: {reference: Patient/patient1}
    resourceType: Condition
    clinicalStatus:
      coding:
      - {code: active, system: 'http://terminology.hl7.org/CodeSystem/condition-clinical'}
    verificationStatus:
      coding:
      - {code: confirmed, system: 'http://terminology.hl7.org/CodeSystem/condition-ver-status'}
    meta: {lastUpdated: '2025-03-24T00:15:41.059826Z', createdAt: '2025-03-24T00:15:41.059826Z', versionId: '254090'}
  response: {etag: '254090', location: /Condition/condition-diabetes/_history/254090, status: '201', lastModified: '2025-03-24T00:15:41.059826Z'}
- resource:
    id: condition-pcos
    code:
      text: Polycystic ovarian syndrome
      coding:
      - {code: E28.2, system: 'http://hl7.org/fhir/sid/icd-10-cm', display: Polycystic ovarian syndrome}
    subject: {reference: Patient/patient1}
    resourceType: Condition
    clinicalStatus:
      coding:
      - {code: active, system: 'http://terminology.hl7.org/CodeSystem/condition-clinical'}
    verificationStatus:
      coding:
      - {code: confirmed, system: 'http://terminology.hl7.org/CodeSystem/condition-ver-status'}
    meta: {lastUpdated: '2025-03-24T00:15:41.059826Z', createdAt: '2025-03-24T00:15:41.059826Z', versionId: '254092'}
  response: {etag: '254092', location: /Condition/condition-pcos/_history/254092, status: '201', lastModified: '2025-03-24T00:15:41.059826Z'}
- resource:
    id: encounter1
    class: {code: AMB, system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode', display: ambulatory}
    period: {end: '2025-03-20T09:30:00Z', start: '2025-03-20T09:00:00Z'}
    status: finished
    subject: {reference: Patient/patient1}
    participant:
    - type:
      - text: primary performer
        coding:
        - {code: PPRF, system: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType', display: primary performer}
      individual: {display: Dr. Jane Doe, reference: Practitioner/practitioner1}
    resourceType: Encounter
    meta: {lastUpdated: '2025-03-24T00:15:41.059826Z', createdAt: '2025-03-24T00:15:41.059826Z', versionId: '254094'}
  response: {etag: '254094', location: /Encounter/encounter1/_history/254094, status: '201', lastModified: '2025-03-24T00:15:41.059826Z'}
- resource:
    meta: {lastUpdated: '2025-03-24T00:15:41.059826Z', createdAt: '2025-03-24T00:15:41.059826Z', versionId: '254096'}
    encounter: {reference: Encounter/encounter1}
    dispenseRequest:
      quantity: {code: pen, unit: pen(s), value: 3, system: 'http://unitsofmeasure.org'}
      expectedSupplyDuration: {code: d, unit: days, value: 30, system: 'http://unitsofmeasure.org'}
    medicationCodeableConcept:
      text: Ozempic (0.25 or 0.5 MG/DOSE) 2MG/3ML SC SOPN
      coding:
      - {code: '00169418113', system: 'http://hl7.org/fhir/sid/ndc', display: Ozempic}
    authoredOn: '2025-03-20T09:15:00Z'
    resourceType: MedicationRequest
    requester: {reference: Practitioner/practitioner1}
    status: active
    id: medicationRequest1
    identifier:
    - {value: '12345678', system: 'http://example.org/fhir/express-scripts/pa-case-id'}
    - {value: ABCD1234, system: 'http://example.org/cmm/parequestkeys'}
    intent: order
    subject: {reference: Patient/patient1}
    reasonReference:
    - {reference: Condition/condition-diabetes}
    - {reference: Condition/condition-pcos}
  response: {etag: '254096', location: /MedicationRequest/medicationRequest1/_history/254096, status: '201', lastModified: '2025-03-24T00:15:41.059826Z'}
- resource:
    meta: {lastUpdated: '2025-03-24T00:15:41.059826Z', createdAt: '2025-03-24T00:15:41.059826Z', versionId: '254098'}
    medicationCodeableConcept:
      text: Zepbound (tirzepatide subcutaneous injection)
      coding:
      - {code: '2006178', system: 'http://www.nlm.nih.gov/research/umls/rxnorm', display: Tirzepatide Injectable Solution}
    authoredOn: '2025-03-15T10:00:00Z'
    resourceType: MedicationRequest
    requester: {reference: Practitioner/practitioner1}
    status: active
    id: otherMedication1
    identifier:
    - {value: ZYXW9876, system: 'http://example.org/cmm/parequestkeys'}
    intent: order
    subject: {reference: Patient/patient1}
  response: {etag: '254098', location: /MedicationRequest/otherMedication1/_history/254098, status: '201', lastModified: '2025-03-24T00:15:41.059826Z'}
- resource:
    restriction:
      period: {end: '2025-03-23T10:34:00Z', start: '2025-03-20T09:20:00Z'}
    description: Prior Authorization request for Ozempic (semaglutide)
    meta: {lastUpdated: '2025-03-24T00:15:41.059826Z', createdAt: '2025-03-24T00:15:41.059826Z', versionId: '254100'}
    authoredOn: '2025-03-20T09:20:00Z'
    resourceType: Task
    businessStatus:
      text: Prior Authorization has been initiatied and required documentation
      coding:
      - {code: initiated, system: 'http://example.org/cmm/pa-status', display: Initiated}
    for: {reference: Patient/patient1}
    requester: {reference: Practitioner/practitioner1}
    lastModified: '2025-03-20T09:20:00Z'
    status: in-progress
    id: priorAuthTask1
    code:
      text: Prior Authorization Request
      coding:
      - {code: fulfill, system: 'http://terminology.hl7.org/CodeSystem/task-code', display: Fulfill the focal request}
    identifier:
    - {value: '12345678', system: 'http://example.org/fhir/express-scripts/pa-case-id'}
    - {value: ABCD1234, system: 'http://example.org/cmm/parequestkeys'}
    intent: order
    focus: {reference: MedicationRequest/medicationRequest1}
    owner: {display: CoverMyMeds}
  response: {etag: '254100', location: /Task/priorAuthTask1/_history/254100, status: '201', lastModified: '2025-03-24T00:15:41.059826Z'}
id: '254102'