

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# を使用した患者データの取得 `Patient/$everything`
<a name="reference-fhir-operations-everything"></a>

 `Patient/$everything` オペレーションは、FHIR `Patient`リソースとその に関連する他のリソースをクエリするために使用されます`Patient`。オペレーションを使用して、レコード全体へのアクセスを患者に提供したり、プロバイダーが患者に関連する一括データダウンロードを実行したりできます。HealthLake は、特定の患者の `Patient/$everything`をサポートします`id`。

`Patient/$everything` は、以下の例に示すように呼び出すことができる FHIR REST API オペレーションです。

------
#### [ GET request ]

```
GET https://healthlake.region.amazonaws.com/datastore/datastoreId/r4/Patient/id/$everything
```

------

**注記**  
応答するリソースは、リソースタイプとリソース でソートされます`id`。  
レスポンスには常に が入力されます`Bundle.total`。

## `Patient/$everything` 個のパラメータ
<a name="patient-everything-query-params"></a>

HealthLake は、次のクエリパラメータをサポートしています。


| パラメータ | Details | 
| --- | --- | 
|  開始  |  指定された開始日より後にすべての`Patient`データを取得します。  | 
|  end  |  指定された終了日より前にすべての`Patient`データを取得します。  | 
|  since  |  指定された日付以降に更新されたすべての`Patient`データを取得します。  | 
|  \$1type  |  特定のリソースタイプの`Patient`データを取得します。  | 
|  \$1count  |  `Patient` データを取得し、ページサイズを指定します。  | 

**Example - 指定された開始日以降にすべての患者データを取得する**  
`Patient/$everything` は、`start`フィルターを使用して、特定の日付より後のデータのみをクエリできます。  

```
GET https://healthlake.region.amazonaws.com/datastore/datastoreId/r4/Patient/id/$everything?start=2024-03-15T00:00:00.000Z
```

**Example - 指定された終了日より前にすべての`Patient`データを取得する**  
患者 \$1すべての は、`end`フィルターを使用して、特定の日付より前のデータのみをクエリできます。  

```
GET https://healthlake.region.amazonaws.com/datastore/datastoreId/r4/Patient/id/$everything?end=2024-03-15T00:00:00.000Z
```

**Example - 指定された日付以降に更新されたすべての`Patient`データを取得する**  
`Patient/$everything` は、`since`フィルターを使用して、特定の日付以降に更新されたデータのみをクエリできます。  

```
GET https://healthlake.region.amazonaws.com/datastore/datastoreId/r4/Patient/id/$everything?since=2024-03-15T00:00:00.000Z
```

**Example - 特定のリソースタイプの`Patient`データを取得する**  
患者 \$1Everything は`_type`フィルターを使用して、レスポンスに含める特定のリソースタイプを指定できます。複数のリソースタイプをカンマ区切りリストで指定できます。  

```
GET https://healthlake.region.amazonaws.com/datastore/datastoreId/r4/Patient/id/$everything?_type=Observation,Condition
```

**Example - `Patient` データを取得し、ページサイズを指定する**  
患者 \$1すべての は、 `_count` を使用してページサイズを設定できます。  

```
GET https://healthlake.region.amazonaws.com/datastore/datastoreId/r4/Patient/id/$everything?_count=15
```

## `Patient/$everything`  `start` および `end` 属性
<a name="reference-patient-everything-start-end-attributes"></a>

HealthLake は、 `Patient/ $everything``start`および `end`クエリパラメータに対して次のリソース属性をサポートしています。


| [リソース]  | リソースエレメント | 
| --- | --- | 
| アカウント | Account.servicePeriod.start | 
| AdverseEvent | AdverseEvent.date | 
| AllergyIntolerance | AllergyIntolerance.recordedDate | 
| 予約 | Appointment.start | 
| AppointmentResponse | AppointmentResponse.start | 
| AuditEvent | AuditEvent.period.start | 
| Basic | Basic.created | 
| BodyStructure | NO\$1DATE | 
| CarePlan | CarePlan.period.start | 
| CareTeam | CareTeam.period.start | 
| ChargeItem | ChargeItem.occurrenceDateTime,ChargeItem.occurrencePeriod.start,ChargeItem.occurrenceTiming.event | 
| Claim | Claim.billablePeriod.start | 
| ClaimResponse | ClaimResponse.created | 
| ClinicalImpression | ClinicalImpression.date | 
| コミュニケーション | Communication.sent | 
| CommunicationRequest | CommunicationRequest.occurrenceDateTime,CommunicationRequest.occurrencePeriod.start | 
| コンポジション | Composition.date | 
| Condition | Condition.recordedDate | 
| 同意 | consent.dateTime | 
| カバレッジ | Coverage.period.start | 
| CoverageEligibilityRequest | CoverageEligibilityRequest.created | 
| CoverageEligibilityResponse | CoverageEligibilityResponse.created | 
| DetectedIssue | DetectedIssue.identified | 
| DeviceRequest | DeviceRequest.authoredOn | 
| DeviceUseStatement | DeviceUseStatement.recordedOn | 
| DiagnosticReport | DiagnosticReport.effective | 
| DocumentManifest | DocumentManifest.created | 
| DocumentReference | DocumentReference.context.period.start | 
| エンカウンター | Encounter.period.start | 
| EnrollmentRequest | EnrollmentRequest.created | 
| EpisodeOfCare | EpisodeOfCare.period.start | 
| ExplanationOfBenefit | ExplanationOfBenefit.billablePeriod.start | 
| FamilyMemberHistory | NO\$1DATE | 
| フラグ | Flag.period.start | 
| 目標 | Goal.statusDate | 
| Group | NO\$1DATE | 
| ImagingStudy | ImagingStudy.started | 
| イミュナイゼーション | Immunization.recorded | 
| ImmunizationEvaluation | ImmunizationEvaluation.date | 
| ImmunizationRecommendation | ImmunizationRecommendation.date | 
| Invoice | Invoice.date | 
| リスト | List.date | 
| MeasureReport | MeasureReport.period.start | 
| メディア | Media.issued | 
| MedicationAdministration | MedicationAdministration.effective | 
| MedicationDispense | MedicationDispense.whenPrepared | 
| MedicationRequest | MedicationRequest.authoredOn | 
| MedicationStatement | MedicationStatement.dateAsserted | 
| MolecularSequence | NO\$1DATE | 
| NutritionOrder | NutritionOrder.dateTime | 
| 監視結果 | 観測効果 | 
| 患者 | NO\$1DATE | 
| 個人 | NO\$1DATE | 
| 手順 | Procedure.perform | 
| プロベナンス | Provenance.occurredPeriod.start,Provenance.occurredDateTime | 
| QuestionnaireResponse | QuestionnaireResponse.authored | 
| RelatedPerson | NO\$1DATE | 
| RequestGroup | RequestGroup.authoredOn | 
| ResearchSubject | ResearchSubject.period | 
| RiskAssessment | RiskAssessment.occurrenceDateTime, RiskAssessment.occurrencePeriod.start | 
| スケジュール | Schedule.planningHorizon | 
| ServiceRequest | ServiceRequest.authoredOn | 
| 標本 | ".receivedTime | 
| SupplyDelivery | SupplyDelivery.occurrenceDateTime, SupplyDelivery.occurrencePeriod.start, SupplyDelivery.occurrenceTiming.event | 
| SupplyRequest | SupplyRequest.authoredOn | 
| VisionPrescription | VisionPrescription.dateWritten | 