이 페이지에서는 HL7v2 메시지를 파싱하기 위해 HL7v2 저장소에 스키마를 구성하는 방법과 시점을 간략히 설명합니다.
기본 스키마
Cloud Healthcare API는 기본 스키마를 사용하여 HL7v2 표준을 준수하는 HL7v2 메시지를 파싱합니다. HL7v2 메시지가 표준을 준수하고 커스텀 세그먼트, 필드 또는 표준에서 벗어난 기타 데이터를 포함하지 않는 경우 HL7v2 메시지에 스키마가 적용된 파싱 사용 설정을 참조하세요.
기본 스키마 또는 커스텀 스키마를 사용하는지 여부와 관계없이 ParserConfig 객체에서 파서 옵션을 지정할 수 있습니다. ParserConfig에는 파서 버전을 지정할 수 있는 ParserVersion 객체가 포함됩니다. 각 버전에 대한 자세한 내용은 참조 문서를 확인하세요.
모든 사용 사례에서 파서의 V3 버전을 지정하는 것이 좋습니다. V3 버전에는 다음과 같은 장점이 있습니다.
V2 버전의 기존 기능을 포함합니다.
기본 파서와 함께 사용할 경우 다음과 같은 기본 이스케이프 처리된 HL7v2 제어 문자를 이스케이프 취소합니다.
필드 구분자: |
구성요소 구분 기호: ^
하위 구성요소 구분 기호: &
반복 구분 기호: ~
이스케이프 문자: \
자르기 문자: #
커스텀 파서와 함께 사용할 경우 V3 파서는 다른 파서보다 향상된 일치 기법을 사용합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-04-15(UTC)"],[[["This page guides users on configuring schemas for HL7v2 stores to parse HL7v2 messages effectively."],["The Cloud Healthcare API uses a default schema for parsing standard HL7v2 messages, with a specific guide available for this use case."],["Custom schemas are necessary for HL7v2 messages that do not adhere to the standard, and a separate guide is available for these."],["Regardless of the schema used, the `ParserConfig` object allows specifying a `ParserVersion`, with `V3` recommended for its enhanced functionality, including unescaping default HL7v2 control characters and improved matching with custom parsers."]]],[]]