19.5.12. API: update
생산자 및 소비자 모두 지원
업데이트 API는 다음과 같이 구문에 정의됩니다.
fhir:update/methodName?[parameters]
fhir:update/methodName?[parameters]
두 가지 방법은 아래 표에 나열되어 있으며 각 방법에 대한 자세한 구문이 나와 있습니다. (API 메서드에는 이름 대신 구문에서 사용할 수 있는 단축 별칭 이름이 있을 수 있습니다.)
방법 | 별칭 | 설명 |
---|---|---|
19.5.12.1. 메서드 리소스 링크 복사링크가 클립보드에 복사되었습니다!
서명:
- ca.uhn.fhir.rest.api.MethodOutcome 리소스(String resourceAsString, String stringId, ca.uhn.fhir.rest.api.PreferReturnEnum preferReturnEnum preferReturnEnum.org.apache.camel.component.fhir.api.ExtraParameters));
- ca.uhn.fhir.rest.api.MethodOutcome 리소스(String resourceAsString, org.hl7.fhir.instance.model.api.IIdType ID, ca.uhn.fhir.rest.api.PreferReturnEnum preferReturnEnum preferReturn, java.util.apache.camels); extra.hl7.fhir.instance.
- ca.uhn.fhir.rest.api.MethodOutcome 리소스(org.hl7.fhir.instance.model.api.IBaseResource 리소스, String stringId, ca.uhn.fhir.rest.api.PreferReturnEnum preferReturnEnum preferReturn, java.util.apache.camels).
- ca.uhn.fhir.rest.api.MethodOutcome 리소스(org.hl7.fhir.instance.api.IBaseResource 리소스, org.hl7.fhir.instance.model.api.IIdType ID, ca.uhn.fhir.rest.api.PreferReturnEnum, preferReturnEnume resource) prefer java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, Object> extraParameters);
fhir/resource API 메서드에는 아래 표에 나열된 매개변수가 있습니다.
매개변수 | 설명 | 유형 |
---|---|---|
extraParameters | map | |
id | IIdType | |
preferReturn | PreferReturnEnum | |
resource | IBaseResource | |
resourceAsString | 문자열 | |
stringId | 문자열 |