

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# 를 사용하여 환자 데이터 가져오기 `Patient/$everything`
<a name="reference-fhir-operations-everything"></a>

 `Patient/$everything` 작업은 해당와 관련된 다른 `Patient` 리소스와 함께 FHIR 리소스를 쿼리하는 데 사용됩니다`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는 다음 쿼리 파라미터를 지원합니다.


| 파라미터 | 세부 정보 | 
| --- | --- | 
| 시작 | 지정된 시작 날짜 이후의 모든 `Patient` 데이터를 가져옵니다. | 
| 최종 | 지정된 종료 날짜 이전의 모든 `Patient` 데이터를 가져옵니다. | 
| since | 지정된 날짜 이후에 모든 `Patient` 데이터를 업데이트합니다. | 
| \_유형 | 특정 리소스 유형에 대한 `Patient` 데이터를 가져옵니다. | 
| \_개 | `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` 데이터 가져오기**  
환자 $everything은 `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` 데이터 가져오기**  
환자 $everything은 `_type` 필터를 사용하여 응답에 포함할 특정 리소스 유형을 지정할 수 있습니다. 쉼표로 구분된 목록에서 여러 리소스 유형을 지정할 수 있습니다.  

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

**Example - `Patient` 데이터 가져오기 및 페이지 크기 지정**  
환자 $everything은 `_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` 쿼리 파라미터에 대해 다음과 같은 리소스 속성을 지원합니다.


| Resource | 리소스 요소 | 
| --- | --- | 
| Account | Account.servicePeriod.start | 
| AdverseEvent | AdverseEvent.date | 
| AllergyIntolerance | AllergyIntolerance.recordedDate | 
| 예약 | Appointment.start | 
| AppointmentResponse | AppointmentResponse.start | 
| AuditEvent | AuditEvent.period.start | 
| 기본 | Basic.created | 
| BodyStructure | NO\_DATE | 
| 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.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\_DATE | 
| 플래그 | Flag.period.start | 
| Goal | Goal.statusDate | 
| Group | NO\_DATE | 
| ImagingStudy | ImagingStudy.started | 
| 면역화 | Immunization.recorded | 
| ImmunizationEvaluation | ImmunizationEvaluation.date | 
| ImmunizationRecommendation | ImmunizationRecommendation.date | 
| Invoice | Invoice.date | 
| List | List.date | 
| MeasureReport | MeasureReport.period.start | 
| 미디어 | Media.issued | 
| MedicationAdministration | MedicationAdministration.effective | 
| MedicationDispense | MedicationDispense.whenPrepared | 
| MedicationRequest | MedicationRequest.authoredOn | 
| MedicationStatement | MedicationStatement.dateAsserted | 
| MolecularSequence | NO\_DATE | 
| NutritionOrder | NutritionOrder.dateTime | 
| 관측치 | Observation.effective | 
| 환자 | NO\_DATE | 
| Person | NO\_DATE | 
| 절차 | Procedure.performed | 
| 증명 | Provenance.occurredPeriod.start, Provenance.occurredDateTime | 
| QuestionnaireResponse | QuestionnaireResponse.authored | 
| RelatedPerson | NO\_DATE | 
| 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 | 