# Medplum

> Search and retrieve authorized FHIR resources from a Medplum project.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/medplum

## Actions

### Get appointment

Get appointment.

**Inputs**

- Appointment ID (`appointment_id`, text, required): ID of the resource.

**Outputs**

- `data` (object): The response from Medplum.

**Example output**

```json
{
  "data": {
    "id": "example",
    "meta": {
      "lastUpdated": "example"
    },
    "resourceType": "example"
  }
}
```

### Get condition

Get condition.

**Inputs**

- Condition ID (`condition_id`, text, required): ID of the resource.

**Outputs**

- `data` (object): The response from Medplum.

**Example output**

```json
{
  "data": {
    "id": "example",
    "meta": {
      "lastUpdated": "example"
    },
    "resourceType": "example"
  }
}
```

### Get document reference

Get document reference.

**Inputs**

- Document reference ID (`document_reference_id`, text, required): ID of the resource.

**Outputs**

- `data` (object): The response from Medplum.

**Example output**

```json
{
  "data": {
    "id": "example",
    "meta": {
      "lastUpdated": "example"
    },
    "resourceType": "example"
  }
}
```

### Get encounter

Get encounter.

**Inputs**

- Encounter ID (`encounter_id`, text, required): ID of the resource.

**Outputs**

- `data` (object): The response from Medplum.

**Example output**

```json
{
  "data": {
    "id": "example",
    "meta": {
      "lastUpdated": "example"
    },
    "resourceType": "example"
  }
}
```

### Get medication request

Get medication request.

**Inputs**

- Medication request ID (`medication_request_id`, text, required): ID of the resource.

**Outputs**

- `data` (object): The response from Medplum.

**Example output**

```json
{
  "data": {
    "id": "example",
    "meta": {
      "lastUpdated": "example"
    },
    "resourceType": "example"
  }
}
```

### Get observation

Get observation.

**Inputs**

- Observation ID (`observation_id`, text, required): ID of the resource.

**Outputs**

- `data` (object): The response from Medplum.

**Example output**

```json
{
  "data": {
    "id": "example",
    "meta": {
      "lastUpdated": "example"
    },
    "resourceType": "example"
  }
}
```

### Get organization

Get organization.

**Inputs**

- Organization ID (`organization_id`, text, required): ID of the resource.

**Outputs**

- `data` (object): The response from Medplum.

**Example output**

```json
{
  "data": {
    "id": "example",
    "meta": {
      "lastUpdated": "example"
    },
    "resourceType": "example"
  }
}
```

### Get patient

Get patient.

**Inputs**

- Patient ID (`patient_id`, text, required): ID of the resource.

**Outputs**

- `data` (object): The response from Medplum.

**Example output**

```json
{
  "data": {
    "id": "example",
    "meta": {
      "lastUpdated": "example"
    },
    "resourceType": "example"
  }
}
```

### Get practitioner

Get practitioner.

**Inputs**

- Practitioner ID (`practitioner_id`, text, required): ID of the resource.

**Outputs**

- `data` (object): The response from Medplum.

**Example output**

```json
{
  "data": {
    "id": "example",
    "meta": {
      "lastUpdated": "example"
    },
    "resourceType": "example"
  }
}
```

### Get service request

Get service request.

**Inputs**

- Service request ID (`service_request_id`, text, required): ID of the resource.

**Outputs**

- `data` (object): The response from Medplum.

**Example output**

```json
{
  "data": {
    "id": "example",
    "meta": {
      "lastUpdated": "example"
    },
    "resourceType": "example"
  }
}
```

### List appointments

List appointments.

**Inputs**

- Page size (`page_size`, number): Number of records per page. From 1 to 100.
- Offset (`offset`, number): Number of records to skip. At least 0.
- Updated since (`updated_since`, date and time): Include records updated at or after this time.

**Outputs**

- `data` (object): The response from Medplum.

**Example output**

```json
{
  "data": {
    "entry": [
      {
        "fullUrl": "example",
        "resource": {
          "id": "example",
          "meta": {
            "lastUpdated": "example"
          },
          "resourceType": "example"
        }
      }
    ],
    "link": [
      {
        "relation": "example",
        "url": "example"
      }
    ],
    "resourceType": "example",
    "total": 1,
    "type": "example"
  }
}
```

### List conditions

List conditions.

**Inputs**

- Page size (`page_size`, number): Number of records per page. From 1 to 100.
- Offset (`offset`, number): Number of records to skip. At least 0.
- Updated since (`updated_since`, date and time): Include records updated at or after this time.

**Outputs**

- `data` (object): The response from Medplum.

**Example output**

```json
{
  "data": {
    "entry": [
      {
        "fullUrl": "example",
        "resource": {
          "id": "example",
          "meta": {
            "lastUpdated": "example"
          },
          "resourceType": "example"
        }
      }
    ],
    "link": [
      {
        "relation": "example",
        "url": "example"
      }
    ],
    "resourceType": "example",
    "total": 1,
    "type": "example"
  }
}
```

### List document references

List document references.

**Inputs**

- Page size (`page_size`, number): Number of records per page. From 1 to 100.
- Offset (`offset`, number): Number of records to skip. At least 0.
- Updated since (`updated_since`, date and time): Include records updated at or after this time.

**Outputs**

- `data` (object): The response from Medplum.

**Example output**

```json
{
  "data": {
    "entry": [
      {
        "fullUrl": "example",
        "resource": {
          "id": "example",
          "meta": {
            "lastUpdated": "example"
          },
          "resourceType": "example"
        }
      }
    ],
    "link": [
      {
        "relation": "example",
        "url": "example"
      }
    ],
    "resourceType": "example",
    "total": 1,
    "type": "example"
  }
}
```

### List encounters

List encounters.

**Inputs**

- Page size (`page_size`, number): Number of records per page. From 1 to 100.
- Offset (`offset`, number): Number of records to skip. At least 0.
- Updated since (`updated_since`, date and time): Include records updated at or after this time.

**Outputs**

- `data` (object): The response from Medplum.

**Example output**

```json
{
  "data": {
    "entry": [
      {
        "fullUrl": "example",
        "resource": {
          "id": "example",
          "meta": {
            "lastUpdated": "example"
          },
          "resourceType": "example"
        }
      }
    ],
    "link": [
      {
        "relation": "example",
        "url": "example"
      }
    ],
    "resourceType": "example",
    "total": 1,
    "type": "example"
  }
}
```

### List medication requests

List medication requests.

**Inputs**

- Page size (`page_size`, number): Number of records per page. From 1 to 100.
- Offset (`offset`, number): Number of records to skip. At least 0.
- Updated since (`updated_since`, date and time): Include records updated at or after this time.

**Outputs**

- `data` (object): The response from Medplum.

**Example output**

```json
{
  "data": {
    "entry": [
      {
        "fullUrl": "example",
        "resource": {
          "id": "example",
          "meta": {
            "lastUpdated": "example"
          },
          "resourceType": "example"
        }
      }
    ],
    "link": [
      {
        "relation": "example",
        "url": "example"
      }
    ],
    "resourceType": "example",
    "total": 1,
    "type": "example"
  }
}
```

### List observations

List observations.

**Inputs**

- Page size (`page_size`, number): Number of records per page. From 1 to 100.
- Offset (`offset`, number): Number of records to skip. At least 0.
- Updated since (`updated_since`, date and time): Include records updated at or after this time.

**Outputs**

- `data` (object): The response from Medplum.

**Example output**

```json
{
  "data": {
    "entry": [
      {
        "fullUrl": "example",
        "resource": {
          "id": "example",
          "meta": {
            "lastUpdated": "example"
          },
          "resourceType": "example"
        }
      }
    ],
    "link": [
      {
        "relation": "example",
        "url": "example"
      }
    ],
    "resourceType": "example",
    "total": 1,
    "type": "example"
  }
}
```

### List organizations

List organizations.

**Inputs**

- Page size (`page_size`, number): Number of records per page. From 1 to 100.
- Offset (`offset`, number): Number of records to skip. At least 0.
- Updated since (`updated_since`, date and time): Include records updated at or after this time.

**Outputs**

- `data` (object): The response from Medplum.

**Example output**

```json
{
  "data": {
    "entry": [
      {
        "fullUrl": "example",
        "resource": {
          "id": "example",
          "meta": {
            "lastUpdated": "example"
          },
          "resourceType": "example"
        }
      }
    ],
    "link": [
      {
        "relation": "example",
        "url": "example"
      }
    ],
    "resourceType": "example",
    "total": 1,
    "type": "example"
  }
}
```

### List patients

List patients.

**Inputs**

- Page size (`page_size`, number): Number of records per page. From 1 to 100.
- Offset (`offset`, number): Number of records to skip. At least 0.
- Updated since (`updated_since`, date and time): Include records updated at or after this time.

**Outputs**

- `data` (object): The response from Medplum.

**Example output**

```json
{
  "data": {
    "entry": [
      {
        "fullUrl": "example",
        "resource": {
          "id": "example",
          "meta": {
            "lastUpdated": "example"
          },
          "resourceType": "example"
        }
      }
    ],
    "link": [
      {
        "relation": "example",
        "url": "example"
      }
    ],
    "resourceType": "example",
    "total": 1,
    "type": "example"
  }
}
```

### List practitioners

List practitioners.

**Inputs**

- Page size (`page_size`, number): Number of records per page. From 1 to 100.
- Offset (`offset`, number): Number of records to skip. At least 0.
- Updated since (`updated_since`, date and time): Include records updated at or after this time.

**Outputs**

- `data` (object): The response from Medplum.

**Example output**

```json
{
  "data": {
    "entry": [
      {
        "fullUrl": "example",
        "resource": {
          "id": "example",
          "meta": {
            "lastUpdated": "example"
          },
          "resourceType": "example"
        }
      }
    ],
    "link": [
      {
        "relation": "example",
        "url": "example"
      }
    ],
    "resourceType": "example",
    "total": 1,
    "type": "example"
  }
}
```

### List service requests

List service requests.

**Inputs**

- Page size (`page_size`, number): Number of records per page. From 1 to 100.
- Offset (`offset`, number): Number of records to skip. At least 0.
- Updated since (`updated_since`, date and time): Include records updated at or after this time.

**Outputs**

- `data` (object): The response from Medplum.

**Example output**

```json
{
  "data": {
    "entry": [
      {
        "fullUrl": "example",
        "resource": {
          "id": "example",
          "meta": {
            "lastUpdated": "example"
          },
          "resourceType": "example"
        }
      }
    ],
    "link": [
      {
        "relation": "example",
        "url": "example"
      }
    ],
    "resourceType": "example",
    "total": 1,
    "type": "example"
  }
}
```
