前言
因公司项目需要,需要使用go语言解析hl7格式的文件,并读取其中的信息,遂开始学习hl7的相关内容,并将所学总结如下,欢迎批评指正。
本文主要对HL7示例文件的内容进行解读,关于HL7协议的含义和相关概念可以去百度百科或者其他网站查看。
HL7示例文件内容
MSH|^~\&|LAB|SUN|LAB|5579|20240812193945||ORU^R01|000900000000001|P|2.3||||||||||
PID|1||TEST01011967||TEST^TEST^^TEST, TEST^^^^||19670101|F|||LAB ST^^EL MONTE^CA^90731^^ ^^^||(626)234-2355|||||SST 2L U|||||||||||||||||
PV1||O|3^^^5579||||1346289915^SHEK^DAVID^^^^M.D.|1245319631^SHEK^DAVID^^^^M.D.|||||||||1245319631^SHEK^DAVID^^^^M.D.|||||||||||||||||||||||||||20240812102400||
ORC|RE||240345635||||1^^^202408121025^^R||20240812102500|DZ^BAUTISTA, JEIEL||1245319631^SHEK^DAVID^^^^M.D.^N^DAVID SHEK, M.D.^1401 S. ANAHEIM BLVD^ANAHEIM, CA^92805^7147729800^^01|||||||||^^^^^CLIA^|^^^ ^^^^^^|( ) -|1401 S. ANAHEIM BLVD^^ANAHEIM^CA^92805^^^^^|
OBR|1||240345635|0010^BMP WITH eGFR|||20240812102400|||||||20240812102500||1245319631^SHEK^DAVID^^^^M.D.^N^DAVID SHEK, M.D.^1401 S. ANAHEIM BLVD^ANAHEIM, CA^92805^7147729800^^01||||||20240812132300|||F||1^^^202408121025^^R|10105579^SHEK^DAVID^^^^M.D.||||||CA||202408121025|
OBX|1|ST|2068^CALCIUM||9.1|MG/DL|8.4-10.2||||F|20240812132300||20240812132300| ||||||||^^^^^^^^^^|^^^ ^^^^^^^^^^^|^^^^^^^^^^^^^^^^^^^^|
OBX|2|ST|2141^GLUCOSE||258|MG/DL|70-99|H|||F|20240812132300||20240812132300| ||||||||^^^^^^^^^^|^^^ ^^^^^^^^^^^|^^^^^^^^^^^^^^^^^^^^|
NTE|1|L|VERIFIED BY REPEAT ANALYSIS||
NTE|2|L|**PLEASE NOTE UPDATED REFERENCE RANGE**||
OBX|3|ST|2062^UREA NITROGEN||28|MG/DL|6-19|H|||F|20240812132300||20240812132300| ||||||||^^^^^^^^^^|^^^ ^^^^^^^^^^^|^^^^^^^^^^^^^^^^^^^^|
OBX|4|ST|2100^CREATININE||1.2|MG/DL|0.5-1.1|H|||F|20240812132300||20240812132300| ||||||||^^^^^^^^^^|^^^ ^^^^^^^^^^^|^^^^^^^^^^^^^^^^^^^^|
OBX|5|ST|3365^eGFR(MDRD)||42|ML/MIN|>90|L|||F|20240812132300||20240812132300| ||||||||^^^^^^^^^^|^^^ ^^^^^^^^^^^|^^^^^^^^^^^^^^^^^^^^|
NTE|1|L|eGFR IS EXPRESSED IN ML/MIN/1.73M*2 THIS RESULT HAS||
NTE|2|L|BEEN CALCULATED ASSUMING THE PATIENT IS NON-AFRICAN||
NTE|3|L|AMERICAN. IF THE PATIENT IS AFRICAN-AMERICAN, PLEASE||
NTE|4|L|MULTIPLY RESULT BY 1.21.||
NTE|5|L| ********||
NTE|6|L|CHRONIC KIDNEY DISEASE STAGES||
NTE|7|L|NORMAL : eGFR >90 ML/MIN W/O RISK FACTOR||
NTE|8|L|STAGE I : eGFR >90 ML/MIN W RISK FACTORS||
NTE|9|L|STAGE II : eGFR 60-89 ML/MIN||
NTE|10|L|STAGE III: eGFR 30-59 ML/MIN||
NTE|11|L|STAGE IV : eGFR 15-29 ML/MIN||
NTE|12|L|STAGE V : eGFR <15 ML/MIN||
OBX|6|ST|2284^SODIUM||137|MMOL/L|133-145||||F|20240812132300||20240812132300| ||||||||^^^^^^^^^^|^^^ ^^^^^^^^^^^|^^^^^^^^^^^^^^^^^^^^|
OBX|7|ST|2234^POTASSIUM||4.0|MMOL/L|3.3-5.4||||F|20240812132300||20240812132300| ||||||||^^^^^^^^^^|^^^ ^^^^^^^^^^^|^^^^^^^^^^^^^^^^^^^^|
OBX|8|ST|2074^CHLORIDE||103|MMOL/L|96-108||||F|20240812132300||20240812132300| ||||||||^^^^^^^^^^|^^^ ^^^^^^^^^^^|^^^^^^^^^^^^^^^^^^^^|
OBX|9|ST|2084^CARBON DIOXIDE(ANION GAP)||23|MEQ/L|23-32||||F|20240812132300||20240812132300| ||||||||^^^^^^^^^^|^^^ ^^^^^^^^^^^|^^^^^^^^^^^^^^^^^^^^|
OBR|2||240345635|2308^URIC ACID|||20240812102400|||||||20240812102500||1245319631^SHEK^DAVID^^^^M.D.^N^DAVID SHEK, M.D.^1401 S. ANAHEIM BLVD^ANAHEIM, CA^92805^7147729800^^01||||||20240812132300|||F||1^^^202408121025^^R|10105579^SHEK^DAVID^^^^M.D.||||||AH||202408121025|
OBX|1|ST|2308^URIC ACID||2.8|MG/DL|3.4-7.0|L|||F|20240812132300||20240812132300| ||||||||^^^^^^^^^^|^^^ ^^^^^^^^^^^|^^^^^^^^^^^^^^^^^^^^|
OBR|3||240345635|2166^GLYCOHEMOGLOBIN(HGB A1C)|||20240812102400|||||||20240812102500||1245319631^SHEK^DAVID^^^^M.D.^N^DAVID SHEK, M.D.^1401 S. ANAHEIM BLVD^ANAHEIM, CA^92805^7147729800^^01||||||20240812184500|||F||1^^^202408121025^^R|10105579^SHEK^DAVID^^^^M.D.||||||CS||202408121025|
OBX|1|ST|2166^GLYCOHEMOGLOBIN(HGB A1C)||12.7|%|4.8-5.6|H|||F|20240812184500||20240812184500| ||||||||^^^^^^^^^^|^^^ ^^^^^^^^^^^|^^^^^^^^^^^^^^^^^^^^|
NTE|1|L| *** PLEASE NOTE ADA UPDATE ***||
NTE|2|L| PREDIABETES: 5.7 - 6.4||
NTE|3|L| DIABETES: >6.4||
NTE|4|L| GLYCEMIC CONTROL FOR DIABETIC ADULT: <7.0||
OBR|4||240345635|0426^MICROALBUMIN W M/C RATIO|||20240812102400|||||||20240812102500||1245319631^SHEK^DAVID^^^^M.D.^N^DAVID SHEK, M.D.^1401 S. ANAHEIM BLVD^ANAHEIM, CA^92805^7147729800^^01||||||20240812193900|||F||1^^^202408121025^^R|10105579^SHEK^DAVID^^^^M.D.||||||CA||202408121025|
OBX|1|ST|4262^MICROALBUMIN URINE||71.1|MG/L|0-29.0|H|||F|20240812193900||20240812193900| ||||||||^^^^^^^^^^|^^^ ^^^^^^^^^^^|^^^^^^^^^^^^^^^^^^^^|
OBX|2|ST|4263^MALB/CREAT RATIO||167|UG/MG|0-32|H|||F|20240812193900||20240812193900| ||||||||^^^^^^^^^^|^^^ ^^^^^^^^^^^|^^^^^^^^^^^^^^^^^^^^|
OBX|3|ST|2105^CREATININE, URINE||42.5|MG/DL|||||F|20240812193900||20240812193900| ||||||||^^^^^^^^^^|^^^ ^^^^^^^^^^^|^^^^^^^^^^^^^^^^^^^^|
NTE|1|L|< OR = 6 MONTHS 2-32 MG/DL||
NTE|2|L| 11 MONTHS 2-36 MG/DL||
NTE|3|L| 2 YEARS 2-128 MG/DL||
NTE|4|L| 8 YEARS 2-149 MG/DL||
NTE|5|L| 12 YEARS 2-183 MG/DL||
NTE|6|L|MALE 22-128 MG/DL||
NTE|7|L|FEMALE 21-161 MG/DL||
OBR|5||240345635|0326^URINE PROTEIN W P/C RATIO|||20240812102400|||||||20240812102500||1245319631^SHEK^DAVID^^^^M.D.^N^DAVID SHEK, M.D.^1401 S. ANAHEIM BLVD^ANAHEIM, CA^92805^7147729800^^01||||||20240812193900|||F||1^^^202408121025^^R|10105579^SHEK^DAVID^^^^M.D.||||||CA||202408121025|
OBX|1|ST|2580^PROTEIN, URINE||29|MG/DL|5-24|H|||F|20240812193900||20240812193900| ||||||||^^^^^^^^^^|^^^ ^^^^^^^^^^^|^^^^^^^^^^^^^^^^^^^^|
NTE|1|L|MALE 5-25 MG/DL||
NTE|2|L|FEMALE 5-24 MG/DL||
OBX|2|ST|3263^PROTEIN/CREAT RATIO||0.68|MG/MG|||||F|20240812193900||20240812193900| ||||||||^^^^^^^^^^|^^^ ^^^^^^^^^^^|^^^^^^^^^^^^^^^^^^^^|
OBR|6||240345635|1253^NT-proBNP|||20240812102400|||||||20240812102500||1245319631^SHEK^DAVID^^^^M.D.^N^DAVID SHEK, M.D.^1401 S. ANAHEIM BLVD^ANAHEIM, CA^92805^7147729800^^01||||||20240812130700|||F||1^^^202408121025^^R|10105579^SHEK^DAVID^^^^M.D.||||||GI||202408121025|
OBX|1|ST|1253^NT-proBNP||125|PG/ML|< 450||||F|20240812130700||20240812130700| ||||||||^^^^^^^^^^|^^^ ^^^^^^^^^^^|^^^^^^^^^^^^^^^^^^^^|
NTE|1|L|INTERPRETATION:||
NTE|2|L|NON-DISEASE STUDY GROUP||
NTE|3|L| <125 PG/ML REPRESENTS A DECISION THRESHOLD FOR||
NTE|4|L| PATIENTS <75 YEARS OLD (>80% CONFIDENCE)||
NTE|5|L| <450 PG/ML REPRESENTS A DECISION THRESHOLD FOR||
NTE|6|L| PATIENTS >75 YEARS OLD (>90% CONFIDENCE)||
NTE|7|L|CHF DISEASE STUDY GROUP||
NTE|8|L| >125 PG/ML PATIENTS <75 YEARS OLD (90% CONFIDENCE)||
NTE|9|L| >450 PG/ML PATIENTS >75 YEARS OLD (90% CONFIDENCE)||
SPM|1||||||||||||||||20240812102400|20240812102500||||
各标识符解读
go函数库选择的是github.com/google/simhospital/pkg/hl7
下文结合函数库解析hl7示例文件返回的结果,对字段依次说明
MSH
含义:HL7 消息头 (MSH segment) ,描述了消息的基本元数据、编码字符、发送和接收信息、消息类型及处理信息等,这些字段共同定义了消息在 HL7 标准下的格式和处理方式
{
"EncodingCharacters": {
"Field": 124,
"Component": 94,
"Subcomponent": 38,
"Repetition": 126,
"Escape": 92
},
"SendingApplication": {
"NamespaceID": "LAB",
"UniversalID": null,
"UniversalIDType": null
},
"SendingFacility": {
"NamespaceID": "SUN",
"UniversalID": null,
"UniversalIDType": null
},
"ReceivingApplication": {
"NamespaceID": "LAB",
"UniversalID": null,
"UniversalIDType": null
},
"ReceivingFacility": {
"NamespaceID": "5579",
"UniversalID": null,
"UniversalIDType": null
},
"DateTimeOfMessage": {
"IsHL7Null": false,
"Time": "2024-08-12T19:39:45-04:00",
"Precision": 5,
"ElideTimezone": false
},
"Security": null,
"MessageType": {
"MessageCode": "ORU",
"TriggerEvent": "R01",
"MessageStructure": null
},
"MessageControlID": "000900000000001",
"ProcessingID": {
"ProcessingID": "P",
"ProcessingMode": null
},
"VersionID": {
"VersionID": "2.3",
"InternationalizationCode": null,
"InternationalVersionID": null
},
"SequenceNumber": null,
"ContinuationPointer": null,
"AcceptAcknowledgmentType": null,
"ApplicationAcknowledgmentType": null,
"CountryCode": null,
"CharacterSet": null,
"PrincipalLanguageOfMessage ": null,
"AlternateCharacterSetHandlingScheme ": null,
"MessageProfileIdentifier ": null
}
EncodingCharacters
Field
124,对应ASCII码表是|,字段分隔符,用于分隔 HL7 消息中的不同字段
Component
94,对应ASCII码表是^,组件分隔符,用于分隔一个字段内的多个组件
Subcomponent
38,对应ASCII码表是&,子组件分隔符,用于分隔组件内的子组件
Repetition
126,对应ASCII码表是~,重复分隔符,用于表示字段或组件的多个重复项
Escape
92,对应ASCII码表是\,转义字符,用于在字段内插入特殊字符
SendingApplication
NamespaceID
LAB,发送应用程序的命名空间标识符,表示生成此消息的应用程序
UniversalID
null,通用标识符,通常用于全局唯一标识
UniversalIDType
null,通用标识符的类型,表示 UniversalID 使用的命名空间类型
SendingFacility
NamespaceID
Sun,发送机构的命名空间标识符,表示生成此消息的机构或位置
UniversalID
null,通用标识符,通常用于全局唯一标识
UniversalIDType
null,通用标识符的类型,表示 UniversalID 使用的命名空间类型
ReceivingApplication
NamespaceID
LAB,发送应用程序的命名空间标识符,表示生成此消息的应用程序
UniversalID
null,通用标识符,通常用于全局唯一标识
UniversalIDType
null,通用标识符的类型,表示 UniversalID 使用的命名空间类型
ReceivingFacility
NamespaceID
5579,发送机构的命名空间标识符,表示生成此消息的机构或位置
UniversalID
null,通用标识符,通常用于全局唯一标识
UniversalIDType
null,通用标识符的类型,表示 UniversalID 使用的命名空间类型
DateTimeOfMessage
IsHL7Null
false,表示这个时间戳是否为空值
Time
2024-08-12T19:39:45-04:00,消息创建的日期和时间,包含时区信息
Precision
5,时间精度,通常表示秒的精度
ElideTimezone
false,是否省略时区信息
Security
null ,可选字段,用于提供与消息安全相关的信息,在此为 null
表示没有此信息。
MessageType
MessageCode
ORU,消息类型代码,在此为 "ORU"
,表示观察结果(Unsolicited Transmission of Observation)
TriggerEvent
R01,触发事件代码,表示触发此消息的具体事件
MessageStructure
null,消息结构标识符,通常用于标识消息的结构,null
表示未指定
MessageControlID
000900000000001,消息控制 ID,是消息的唯一标识符,用于跟踪和识别消息
ProcessingID
ProcessingID
P,处理 ID,表示此消息的处理阶段,P
通常表示生产 (Production) 环境
ProcessingMode
null,处理模式,可以表示消息处理的具体模式,在此为 null
表示未指定
VersionID
VersionID
2.3,HL7 版本号,此消息使用的 HL7 标准版本为 2.3
InternationalizationCode
null,国际化代码,用于表示消息的语言环境
InternationalVersionID
null,国际版本标识符
SequenceNumber
null,序列号,用于控制消息序列,null
表示未使用
ContinuationPointer
null
,续传指针,用于分页消息,null
表示未使用
AcceptAcknowledgmentType
null
,接收确认类型,表示如何确认消息接收,null
表示未指定
ApplicationAcknowledgmentType
null
,应用程序确认类型,表示应用程序如何确认消息,null
表示未指定
CountryCode
null
, 国家代码,null
表示未指定
CharacterSet
null
,字符集,null
表示使用默认字符集
PrincipalLanguageOfMessage
null
,消息的主要语言,null
表示未指定
AlternateCharacterSetHandlingScheme
null
, 备用字符集处理方案,null
表示未指定
MessageProfileIdentifier
null
,消息配置文件标识符,用于标识消息的特定配置文件,null
表示未使用
PID
含义:患者标识段 (PID segment),详细记录了患者的标识符、姓名、出生日期、性别、地址、联系方式、婚姻状态、宗教信仰等信息
{
"SetIDPID": { "Value": 1, "Valid": true },
"PatientID": null,
"PatientIdentifierList": [
{
"IDNumber": "TEST01011967",
"CheckDigit": null,
"CheckDigitScheme": null,
"AssigningAuthority": null,
"IdentifierTypeCode": null,
"AssigningFacility": null,
"EffectiveDate": null,
"ExpirationDate": null,
"AssigningJurisdiction": null,
"AssigningAgencyOrDepartment": null
}
],
"AlternatePatientIDPID": null,
"PatientName": [
{
"FamilyName": {
"Surname": "TEST",
"OwnSurnamePrefix": null,
"OwnSurname": null,
"SurnamePrefixFromPartnerSpouse": null,
"SurnameFromPartnerSpouse": null
},
"GivenName": "TEST",
"SecondAndFurtherGivenNamesOrInitialsThereof": null,
"SuffixEGJROrIII": "TEST, TEST",
"PrefixEGDR": null,
"DegreeEGMD": null,
"NameTypeCode": null,
"NameRepresentationCode": null,
"NameContext": null,
"NameValidityRange": null,
"NameAssemblyOrder": null,
"EffectiveDate": null,
"ExpirationDate": null,
"ProfessionalSuffix": null
}
],
"MotherSMaidenName": null,
"DateTimeOfBirth": {
"IsHL7Null": false,
"Time": "1967-01-01T00:00:00Z",
"Precision": 2,
"ElideTimezone": false
},
"AdministrativeSex": "F",
"PatientAlias": null,
"Race": null,
"PatientAddress": [
{
"StreetAddress": {
"StreetOrMailingAddress": "LAB ST",
"StreetName": null,
"DwellingNumber": null
},
"OtherDesignation": null,
"City": "EL MONTE",
"StateOrProvince": "CA",
"ZipOrPostalCode": "90731",
"Country": null,
"AddressType": " ",
"OtherGeographicDesignation": null,
"CountyParishCode": null,
"CensusTract": null,
"AddressRepresentationCode": null,
"AddressValidityRange": null,
"EffectiveDate": null,
"ExpirationDate": null
}
],
"CountyCode": null,
"PhoneNumberHome": [
{
"Number": "(626)234-2355",
"TelecommunicationUseCode": null,
"TelecommunicationEquipmentType": null,
"EmailAddress": null,
"CountryCode": null,
"AreaCityCode": null,
"LocalNumber": null,
"Extension": null,
"AnyText": null,
"ExtensionPrefix": null,
"SpeedDialCode": null,
"UnformattedTelephoneNumber": null
}
],
"PhoneNumberBusiness": null,
"PrimaryLanguage": null,
"MaritalStatus": null,
"Religion": null,
"PatientAccountNumber": {
"IDNumber": "SST 2L U",
"CheckDigit": null,
"CheckDigitScheme": null,
"AssigningAuthority": null,
"IdentifierTypeCode": null,
"AssigningFacility": null,
"EffectiveDate": null,
"ExpirationDate": null,
"AssigningJurisdiction": null,
"AssigningAgencyOrDepartment": null
},
"SSNNumberPatient": null,
"DriverSLicenseNumberPatient": null,
"MotherSIdentifier": null,
"EthnicGroup": null,
"BirthPlace": null,
"MultipleBirthIndicator": null,
"BirthOrder": null,
"Citizenship": null,
"VeteransMilitaryStatus": null,
"Nationality": null,
"PatientDeathDateAndTime": null,
"PatientDeathIndicator": null,
"IdentityUnknownIndicator": null,
"IdentityReliabilityCode": null,
"LastUpdateDateTime": null,
"LastUpdateFacility": null,
"SpeciesCode": null,
"BreedCode": null,
"Strain": null,
"ProductionClassCode": null,
"TribalCitizenship": null
}
SetIDPID
Value
1
, 这是 PID 段的序号,用于标识消息中多个 PID 段的顺序。值为 1 表示这是第一个 PID 段
Valid
true
, 表示这个 Set ID 是否有效
PatientID
null ,通常用于表示患者的唯一标识符 (Patient ID),在此为 null
表示没有此信息。
PatientIdentifierList
IDNumber
TEST01011967
, 患者标识符的号码。在此为 TEST01011967
,可能是患者的一个唯一识别码
CheckDigit
null
, 校验位,用于验证 ID 号码的完整性
CheckDigitScheme
null
, 校验位的计算方案
AssigningAuthority
null
, 分配该标识符的权威机构
IdentifierTypeCode
null
, 标识符类型代码,指示该标识符的类型,如国家身份证号、医院病历号等
AssigningFacility
null
, 分配标识符的机构
EffectiveDate
null
, 标识符的生效日期
ExpirationDate
null
,标识符的到期日期
AssigningJurisdiction
null
, 分配标识符的司法管辖区
AssigningAgencyOrDepartment
null
, 分配标识符的机构或部门
AlternatePatientIDPID
null , 替代患者标识符,通常用于记录备用的患者 ID,在此为 null
表示没有此信息
PatientName
FamilyName
Surname
TEST,
患者的姓氏
其他字段 null
— 这些字段通常用于存储姓氏的前缀、后缀、以及配偶的姓氏等
GivenName
TEST
, 患者的名字
SecondAndFurtherGivenNamesOrInitialsThereof
null
, 其他名字或首字母
SuffixEGJROrIII
TEST, TEST,
患者姓名的后缀,可能表示 Jr.、III 等
PrefixEGDR
null
, 患者姓名的前缀,可能表示 Dr.、Mr. 等
DegreeEGMD
null
,患者的学位,可能表示 MD、PhD 等
NameTypeCode
null
,姓名类型代码,表示姓名的用途(如法定姓名、笔名等)
NameRepresentationCode
null
, 姓名表示方式代码
NameContext
null
, 姓名的上下文信息
NameValidityRange
null
, 姓名的有效范围
NameAssemblyOrder
null
,姓名的排列顺序
EffectiveDate
null
, 姓名的生效日期
ExpirationDate
null
,姓名的到期日期
ProfessionalSuffix
null
, 职业后缀,可能表示患者的职业头衔
MotherSMaidenName
null ,患者母亲的娘家姓,在此为 null
表示没有此信息
DateTimeOfBirth
IsHL7Null
false
, 表示出生日期是否为空值
Time
1967-01-01T00:00:00Z
, 患者的出生日期和时间,格式为 ISO 8601
Precision
2
, 时间的精度,通常表示日期级别的精度
ElideTimezone
false
,是否省略时区信息
AdministrativeSex
F , 患者的性别,"F" 表示女性
PatientAlias
null , 患者的别名,在此为 null
表示没有此信息
Race
null , 患者的种族信息,在此为 null
表示没有此信息
PatientAddress
StreetAddress
StreetOrMailingAddress
LAB ST
, 患者的街道地址或邮寄地址
其他字段 null
, 这些字段通常用于表示街道名称和门牌号
City
EL MONTE
, 患者所在的城市
StateOrProvince
CA
, 患者所在的州或省份,在此为加利福尼亚州 (CA)
ZipOrPostalCode
90731
, 患者的邮政编码
Country
null
, 患者所在的国家
AddressType
" "
,地址类型,通常表示家庭地址、工作地址等
OtherDesignation
null
, 其他地址说明
CountyParishCode
null
,县代码
CensusTract
null
,人口普查区代码
AddressRepresentationCode
null
, 地址表示代码
AddressValidityRange
null
, 地址的有效范围
EffectiveDate
null
, 地址的生效日期
ExpirationDate
null
, 地址的到期日期
CountyCode
null , 患者所在县的代码
PhoneNumberHome
Number
(626)234-2355,
患者的家庭电话号码
其他字段 null
, 这些字段通常用于表示电话号码的使用代码、设备类型、电子邮件地址、国家代码等
PhoneNumberBusiness
null , 患者的工作电话号码
PrimaryLanguage
null , 患者的主要语言
MaritalStatus
null , 患者的婚姻状况
Religion
null , 患者的宗教信仰
PatientAccountNumber
IDNumber
SST 2L U
, 患者的帐户编号
其他字段 null
, 这些字段通常用于表示校验位、分配机构、标识符类型等
SSNNumberPatient
null — 患者的社会安全号码
DriverSLicenseNumberPatient
null — 患者的驾照号码
MotherSIdentifier
null — 患者母亲的标识符
EthnicGroup
null — 患者的族裔
BirthPlace
null — 患者的出生地
MultipleBirthIndicator
null — 多胎指示符,表示患者是否为多胎之一
BirthOrder
null — 出生顺序,表示患者在多胎中的出生顺序
Citizenship
null — 患者的公民身份
VeteransMilitaryStatus
null — 患者的退伍军人/军事状态
Nationality
null — 患者的国籍
PatientDeathDateAndTime
null — 患者的死亡日期和时间
PatientDeathIndicator
null — 患者死亡指示符,表示患者是否已死亡
IdentityUnknownIndicator
null — 身份未知指示符,表示患者的身份是否未知
IdentityReliabilityCode
null — 身份可靠性代码,表示患者身份的可靠性
LastUpdateDateTime
null — 最后更新时间,表示患者信息最后一次更新的时间
LastUpdateFacility
null — 最后更新机构,表示患者信息最后一次更新的机构
SpeciesCode
null — 物种代码,通常用于非人类患者
BreedCode
null — 品种代码,通常用于非人类患者
Strain
null — 品系,通常用于非人类患者
ProductionClassCode
null — 生产类别代码,通常用于非人类患者
TribalCitizenship
null — 部落公民身份,表示患者是否属于某个部落
PV1
含义:患者访问信息段 (PV1 segment),包含了患者的就诊信息以及与就诊相关的详细信息,包括患者的护理点、主治医生、转诊医生、收治医生、入院日期时间等
{
"SetIDPV1": null,
"PatientClass": "O",
"AssignedPatientLocation": {
"PointOfCare": "3",
"Room": null,
"Bed": null,
"Facility": {
"NamespaceID": "5579",
"UniversalID": null,
"UniversalIDType": null
},
"LocationStatus": null,
"PersonLocationType": null,
"Building": null,
"Floor": null,
"LocationDescription": null,
"ComprehensiveLocationIdentifier": null,
"AssigningAuthorityForLocation": null
},
"AdmissionType": null,
"PreadmitNumber": null,
"PriorPatientLocation": null,
"AttendingDoctor": [
{
"IDNumber": "1346289915",
"FamilyName": {
"Surname": "SHEK",
"OwnSurnamePrefix": null,
"OwnSurname": null,
"SurnamePrefixFromPartnerSpouse": null,
"SurnameFromPartnerSpouse": null
},
"GivenName": "DAVID",
"SecondAndFurtherGivenNamesOrInitialsThereof": null,
"SuffixEGJROrIII": null,
"PrefixEGDR": null,
"DegreeEGMD": "M.D.",
"SourceTable": null,
"AssigningAuthority": null,
"NameTypeCode": null,
"IdentifierCheckDigit": null,
"CheckDigitScheme": null,
"IdentifierTypeCode": null,
"AssigningFacility": null,
"NameRepresentationCode": null,
"NameContext": null,
"NameValidityRange": null,
"NameAssemblyOrder": null,
"EffectiveDate": null,
"ExpirationDate": null,
"ProfessionalSuffix": null,
"AssigningJurisdiction": null,
"AssigningAgencyOrDepartment": null
}
],
"ReferringDoctor": [
{
"IDNumber": "1245319631",
"FamilyName": {
"Surname": "SHEK",
"OwnSurnamePrefix": null,
"OwnSurname": null,
"SurnamePrefixFromPartnerSpouse": null,
"SurnameFromPartnerSpouse": null
},
"GivenName": "DAVID",
"SecondAndFurtherGivenNamesOrInitialsThereof": null,
"SuffixEGJROrIII": null,
"PrefixEGDR": null,
"DegreeEGMD": "M.D.",
"SourceTable": null,
"AssigningAuthority": null,
"NameTypeCode": null,
"IdentifierCheckDigit": null,
"CheckDigitScheme": null,
"IdentifierTypeCode": null,
"AssigningFacility": null,
"NameRepresentationCode": null,
"NameContext": null,
"NameValidityRange": null,
"NameAssemblyOrder": null,
"EffectiveDate": null,
"ExpirationDate": null,
"ProfessionalSuffix": null,
"AssigningJurisdiction": null,
"AssigningAgencyOrDepartment": null
}
],
"ConsultingDoctor": null,
"HospitalService": null,
"TemporaryLocation": null,
"PreadmitTestIndicator": null,
"ReAdmissionIndicator": null,
"AdmitSource": null,
"AmbulatoryStatus": null,
"VIPIndicator": null,
"AdmittingDoctor": [
{
"IDNumber": "1245319631",
"FamilyName": {
"Surname": "SHEK",
"OwnSurnamePrefix": null,
"OwnSurname": null,
"SurnamePrefixFromPartnerSpouse": null,
"SurnameFromPartnerSpouse": null
},
"GivenName": "DAVID",
"SecondAndFurtherGivenNamesOrInitialsThereof": null,
"SuffixEGJROrIII": null,
"PrefixEGDR": null,
"DegreeEGMD": "M.D.",
"SourceTable": null,
"AssigningAuthority": null,
"NameTypeCode": null,
"IdentifierCheckDigit": null,
"CheckDigitScheme": null,
"IdentifierTypeCode": null,
"AssigningFacility": null,
"NameRepresentationCode": null,
"NameContext": null,
"NameValidityRange": null,
"NameAssemblyOrder": null,
"EffectiveDate": null,
"ExpirationDate": null,
"ProfessionalSuffix": null,
"AssigningJurisdiction": null,
"AssigningAgencyOrDepartment": null
}
],
"PatientType": null,
"VisitNumber": null,
"FinancialClass": null,
"ChargePriceIndicator": null,
"CourtesyCode": null,
"CreditRating": null,
"ContractCode": null,
"ContractEffectiveDate": null,
"ContractAmount": null,
"ContractPeriod": null,
"InterestCode": null,
"TransferToBadDebtCode": null,
"TransferToBadDebtDate": null,
"BadDebtAgencyCode": null,
"BadDebtTransferAmount": null,
"BadDebtRecoveryAmount": null,
"DeleteAccountIndicator": null,
"DeleteAccountDate": null,
"DischargeDisposition": null,
"DischargedToLocation": null,
"DietType": null,
"ServicingFacility": null,
"BedStatus": null,
"AccountStatus": null,
"PendingLocation": null,
"PriorTemporaryLocation": null,
"AdmitDateTime": {
"IsHL7Null": false,
"Time": "2024-08-12T10:24:00-04:00",
"Precision": 5,
"ElideTimezone": false
},
"DischargeDateTime": null,
"CurrentPatientBalance": null,
"TotalCharges": null,
"TotalAdjustments": null,
"TotalPayments": null,
"AlternateVisitID": null,
"VisitIndicator": null,
"OtherHealthcareProvider": null
}
SetIDPV1
null — PV1 段的序号,用于标识消息中多个 PV1 段的顺序。这里为空值,表示未设置序号
PatientClass
"O" — 患者类别,表示患者的就诊类型。"O"
通常表示门诊 (Outpatient)
AssignedPatientLocation
PointOfCare
"3"
— 指定患者的护理点,可能指的是病区或特定的护理单元
Room
null
— 患者所在的房间号
Bed
null
— 患者的床号
Facility
NamespaceID
"5579"
— 表示患者所在的设施或医院的命名空间标识符
UniversalID
null
— 通用标识符,通常用于全球唯一标识
UniversalIDType
null
— 通用标识符的类型
LocationStatus
null
— 位置状态,表示患者所在位置的状态
PersonLocationType
null
— 人员位置类型
Building
null
— 患者所在的建筑物
Floor
null
— 患者所在的楼层
LocationDescription
null
— 位置描述,进一步描述患者所在的位置
ComprehensiveLocationIdentifier
null
— 综合位置标识符
AssigningAuthorityForLocation
null
— 分配位置的机构
AdmissionType
null — 入院类型,表示患者入院的具体类型
PreadmitNumber
null — 预先分配的患者编号
PriorPatientLocation
null — 患者之前的就诊位置
AttendingDoctor
IDNumber
"1346289915"
— 主治医生的标识号码
FamilyName
Surname
SHEK"
— 医生的姓氏
其他字段 null
— 这些字段通常用于存储姓氏的前缀、后缀、以及配偶的姓氏等
GivenName
"DAVID"
— 医生的名字
DegreeEGMD
M.D.
— 医生的学位,表示医学博士 (Doctor of Medicine)
其他字段 null
— 这些字段包括源表、分配机构、姓名类型代码等信息,未设置
ReferringDoctor
IDNumber
"1245319631"
— 转诊医生的标识号码
FamilyName
与 AttendingDoctor
类似,表示转诊医生的姓氏
GivenName
"DAVID"
— 转诊医生的名字
DegreeEGMD
"M.D."
— 转诊医生的学位
其他字段 null
— 这些字段未设置
ConsultingDoctor
null — 咨询医生的信息,在此为空值
HospitalService
null — 医院服务,表示患者接受的医院服务类型
TemporaryLocation
null — 临时位置,表示患者的临时就诊位置
PreadmitTestIndicator
null — 预入院测试指示符,表示是否进行了预入院测试
ReAdmissionIndicator
null — 再入院指示符,表示患者是否为再次入院
AdmitSource
null — 入院来源,表示患者入院的具体来源
AmbulatoryStatus
null — 行动状态,表示患者的行动能力状态
VIPIndicator
null — VIP 指示符,表示患者是否为 VIP
AdmittingDoctor
IDNumber
"1245319631"
— 收治医生的标识号码
FamilyName
与 AttendingDoctor
类似,表示收治医生的姓氏
GivenName
"DAVID"
— 收治医生的名字
DegreeEGMD
"M.D."
— 收治医生的学位
其他字段 null
— 这些字段未设置
PatientType
null — 患者类型,表示患者的具体类型
VisitNumber
null — 就诊号,表示患者此次就诊的唯一标识号
FinancialClass
null — 财务类别,表示患者的财务支付类别
ChargePriceIndicator
null — 收费价格指示符
CourtesyCode
null — 礼遇代码,表示患者是否享受特殊礼遇
CreditRating
null — 信用评级,表示患者的信用情况
ContractCode
null — 合同代码,表示患者是否签订了支付合同
ContractEffectiveDate
null — 合同生效日期
ContractAmount
null — 合同金额
ContractPeriod
null — 合同期限
InterestCode
null — 利息代码
TransferToBadDebtCode
null — 转至坏账代码
TransferToBadDebtDate
null — 转至坏账日期
BadDebtAgencyCode
null — 坏账机构代码
BadDebtTransferAmount
null — 转至坏账金额
BadDebtRecoveryAmount
null — 坏账回收金额
DeleteAccountIndicator
null — 删除账户指示符
DeleteAccountDate
null — 删除账户日期
DischargeDisposition
null — 出院处置,表示患者出院时的状态
DischargedToLocation
null — 出院至位置,表示患者出院后的去向
DietType
null — 饮食类型,表示患者的饮食要求
ServicingFacility
null — 服务机构,表示为患者提供服务的机构
BedStatus
null — 床位状态,表示患者床位的当前状态
AccountStatus
null — 帐户状态,表示患者帐户的当前状态
PendingLocation
null — 待定位置,表示患者可能的下一个就诊位置
PriorTemporaryLocation
null — 之前的临时位置
AdmitDateTime
IsHL7Null
false
— 表示入院日期时间是否为空值
Time
"2024-08-12T10:24:00-04:00"
— 患者入院的日期和时间,包含时区信息
Precision
5
— 时间精度,通常表示秒的精度
ElideTimezone
false
— 是否省略时区信息
DischargeDateTime
null — 出院日期时间
CurrentPatientBalance
null — 当前患者余额,表示患者在医院的当前账单余额
TotalCharges
null — 总费用,表示患者的总费用
TotalAdjustments
null — 总调整,表示对账单的调整总额
TotalPayments
null — 总支付,表示患者的总支付金额
AlternateVisitID
null — 替代就诊 ID,表示患者此次就诊的备用标识
VisitIndicator
null — 就诊指示符,表示此次就诊的相关指示信息
OtherHealthcareProvider
null — 其他医疗保健提供者,表示为患者提供服务的其他医疗人员
ORC
含义:订单控制段 (ORC segment),包含了关于医疗订单的各种信息,包括订单的控制信息、订单的放置者和填充者的标识、订单的数量和时间安排、录入者和订单提供者的信息,以及与订单相关的其他详细信息
{
"OrderControl": "RE",
"PlacerOrderNumber": null,
"FillerOrderNumber": {
"EntityIdentifier": "240345635",
"NamespaceID": null,
"UniversalID": null,
"UniversalIDType": null
},
"PlacerGroupNumber": null,
"OrderStatus": null,
"ResponseFlag": null,
"QuantityTiming": [
{
"Quantity": { "Quantity": { "Value": 1, "Valid": true }, "Units": null },
"Interval": null,
"Duration": null,
"StartDateTime": {
"IsHL7Null": false,
"Time": "2024-08-12T10:25:00-04:00",
"Precision": 4,
"ElideTimezone": false
},
"EndDateTime": null,
"Priority": "R",
"Condition": null,
"Text": null,
"Conjunction": null,
"OrderSequencing": null,
"OccurrenceDuration": null,
"TotalOccurrences": null
}
],
"Parent": null,
"DateTimeOfTransaction": {
"IsHL7Null": false,
"Time": "2024-08-12T10:25:00-04:00",
"Precision": 5,
"ElideTimezone": false
},
"EnteredBy": [
{
"IDNumber": "DZ",
"FamilyName": {
"Surname": "BAUTISTA, JEIEL",
"OwnSurnamePrefix": null,
"OwnSurname": null,
"SurnamePrefixFromPartnerSpouse": null,
"SurnameFromPartnerSpouse": null
},
"GivenName": null,
"SecondAndFurtherGivenNamesOrInitialsThereof": null,
"SuffixEGJROrIII": null,
"PrefixEGDR": null,
"DegreeEGMD": null,
"SourceTable": null,
"AssigningAuthority": null,
"NameTypeCode": null,
"IdentifierCheckDigit": null,
"CheckDigitScheme": null,
"IdentifierTypeCode": null,
"AssigningFacility": null,
"NameRepresentationCode": null,
"NameContext": null,
"NameValidityRange": null,
"NameAssemblyOrder": null,
"EffectiveDate": null,
"ExpirationDate": null,
"ProfessionalSuffix": null,
"AssigningJurisdiction": null,
"AssigningAgencyOrDepartment": null
}
],
"VerifiedBy": null,
"OrderingProvider": [
{
"IDNumber": "1245319631",
"FamilyName": {
"Surname": "SHEK",
"OwnSurnamePrefix": null,
"OwnSurname": null,
"SurnamePrefixFromPartnerSpouse": null,
"SurnameFromPartnerSpouse": null
},
"GivenName": "DAVID",
"SecondAndFurtherGivenNamesOrInitialsThereof": null,
"SuffixEGJROrIII": null,
"PrefixEGDR": null,
"DegreeEGMD": "M.D.",
"SourceTable": "N",
"AssigningAuthority": {
"NamespaceID": "DAVID SHEK, M.D.",
"UniversalID": null,
"UniversalIDType": null
},
"NameTypeCode": "1401 S. ANAHEIM BLVD",
"IdentifierCheckDigit": "ANAHEIM, CA",
"CheckDigitScheme": "92805",
"IdentifierTypeCode": "7147729800",
"AssigningFacility": null,
"NameRepresentationCode": "01",
"NameContext": null,
"NameValidityRange": null,
"NameAssemblyOrder": null,
"EffectiveDate": null,
"ExpirationDate": null,
"ProfessionalSuffix": null,
"AssigningJurisdiction": null,
"AssigningAgencyOrDepartment": null
}
],
"EntererSLocation": null,
"CallBackPhoneNumber": null,
"OrderEffectiveDateTime": null,
"OrderControlCodeReason": null,
"EnteringOrganization": null,
"EnteringDevice": null,
"ActionBy": null,
"AdvancedBeneficiaryNoticeCode": null,
"OrderingFacilityName": [
{
"OrganizationName": null,
"OrganizationNameTypeCode": null,
"IDNumber": null,
"CheckDigit": null,
"CheckDigitScheme": null,
"AssigningAuthority": {
"NamespaceID": "CLIA",
"UniversalID": null,
"UniversalIDType": null
},
"IdentifierTypeCode": null,
"AssigningFacility": null,
"NameRepresentationCode": null,
"OrganizationIdentifier": null
}
],
"OrderingFacilityAddress": [
{
"StreetAddress": null,
"OtherDesignation": null,
"City": null,
"StateOrProvince": " ",
"ZipOrPostalCode": null,
"Country": null,
"AddressType": null,
"OtherGeographicDesignation": null,
"CountyParishCode": null,
"CensusTract": null,
"AddressRepresentationCode": null,
"AddressValidityRange": null,
"EffectiveDate": null,
"ExpirationDate": null
}
],
"OrderingFacilityPhoneNumber": [
{
"Number": "( ) -",
"TelecommunicationUseCode": null,
"TelecommunicationEquipmentType": null,
"EmailAddress": null,
"CountryCode": null,
"AreaCityCode": null,
"LocalNumber": null,
"Extension": null,
"AnyText": null,
"ExtensionPrefix": null,
"SpeedDialCode": null,
"UnformattedTelephoneNumber": null
}
],
"OrderingProviderAddress": [
{
"StreetAddress": {
"StreetOrMailingAddress": "1401 S. ANAHEIM BLVD",
"StreetName": null,
"DwellingNumber": null
},
"OtherDesignation": null,
"City": "ANAHEIM",
"StateOrProvince": "CA",
"ZipOrPostalCode": "92805",
"Country": null,
"AddressType": null,
"OtherGeographicDesignation": null,
"CountyParishCode": null,
"CensusTract": null,
"AddressRepresentationCode": null,
"AddressValidityRange": null,
"EffectiveDate": null,
"ExpirationDate": null
}
],
"OrderStatusModifier": null,
"AdvancedBeneficiaryNoticeOverrideReason": null,
"FillerSExpectedAvailabilityDateTime": null,
"ConfidentialityCode": null,
"OrderType": null,
"EntererAuthorizationMode": null,
"ParentUniversalServiceIdentifier": null
}
OrderControl
"RE" — 订单控制代码,表示订单操作的类型。在此,"RE"
通常表示订单的重新执行或结果报告 (Reflex Order)
PlacerOrderNumber
null — 放置者订单号,通常用于识别由订单放置者分配的订单号
FillerOrderNumber
EntityIdentifier
"240345635"
— 填充者订单号的标识符,用于识别由填充者(例如实验室或成像部门)分配的订单号
NamespaceID
null
— 命名空间标识符
UniversalID
null
— 通用标识符
UniversalIDType
null
— 通用标识符的类型
PlacerGroupNumber
null — 放置者组号,通常用于表示与多个订单相关联的组号
OrderStatus
null — 订单状态,表示订单的当前状态,如新订单、取消订单等
ResponseFlag
null — 响应标志,用于指示系统如何响应订单
QuantityTiming
Quantity
Quantity
{"Value": 1, "Valid": true}
— 数量,表示所请求的服务或物品的数量。"Value": 1
表示数量为1,"Valid": true
表示此值有效
Units
null
— 单位,通常用于指定数量的单位,如毫升、片等
Interval
null
— 时间间隔,表示订单执行的时间间隔
Duration
null
— 持续时间,表示订单执行的持续时间
StartDateTime
Time
"2024-08-12T10:25:00-04:00"
— 开始日期时间,表示订单的开始时间,包含时区信息
Precision
4
— 时间的精度,通常表示分钟级别的精度
ElideTimezone
false
— 是否省略时区信息
EndDateTime
null
— 结束日期时间,表示订单的结束时间
Priority
"R"
— 优先级,表示订单的优先级别。"R"
通常表示常规优先级 (Routine)
Condition
null
— 条件,表示订单的特殊条件
Text
null
— 订单的文本描述
Conjunction
null
— 连词,用于将多个条件连接在一起
OrderSequencing
null
— 订单顺序,表示订单的执行顺序
OccurrenceDuration
null
— 发生持续时间
TotalOccurrences
null
— 总发生次数
Parent
null — 父订单,表示该订单是否有父订单。
DateTimeOfTransaction
Time
"2024-08-12T10:25:00-04:00"
— 事务日期时间,表示订单创建或最后更新的时间
Precision
5
— 时间精度,通常表示秒的精度
ElideTimezone
false
— 是否省略时区信息
EnteredBy
IDNumber
"DZ"
— 录入者的标识号,通常是订单录入者的标识符
FamilyName
Surname
"BAUTISTA, JEIEL"
— 录入者的姓氏
其他字段 null
— 这些字段通常用于表示名字、前缀、后缀等
VerifiedBy
null — 核实者,表示订单由谁核实
OrderingProvider
IDNumber
"1245319631"
— 订单提供者的标识号,通常是医生的标识符
FamilyName
Surname
"SHEK"
— 提供订单的医生的姓氏
GivenName
"DAVID"
— 医生的名字
DegreeEGMD
"M.D."
— 医生的学位
SourceTable
"N"
— 源表,表示医生标识来源的表格
AssigningAuthority
NamespaceID
"DAVID SHEK, M.D."
— 分配该标识符的权威机构的命名空间标识符
NameTypeCode
"1401 S. ANAHEIM BLVD"
— 姓名类型代码,可能用于表示办公地址
IdentifierCheckDigit
"ANAHEIM, CA"
— 标识符校验位,可能是地址
CheckDigitScheme
"92805"
— 校验位方案,可能是邮政编码
IdentifierTypeCode
"7147729800"
— 标识符类型代码,可能是电话号码
NameRepresentationCode
"01"
— 名称表示代码
EntererSLocation
null — 录入者位置,表示订单录入者的地理位置
CallBackPhoneNumber
null — 回拨电话号码,表示录入者或订单提供者的回拨电话号码
OrderEffectiveDateTime
null — 订单生效时间
OrderControlCodeReason
null — 订单控制代码原因,表示执行订单操作的原因
EnteringOrganization
null — 录入机构,表示录入订单的机构
EnteringDevice
null — 录入设备,表示用于录入订单的设备
ActionBy
null — 执行人,表示执行订单操作的人员
AdvancedBeneficiaryNoticeCode
null — 高级受益人通知代码,表示是否需要高级受益人通知
OrderingFacilityName
OrganizationName
null
— 订单机构的名称
AssigningAuthority
NamespaceID
"CLIA"
— 分配标识符的权威机构的命名空间标识符
OrderingFacilityAddress
StateOrProvince
" "
— 订单机构所在的州或省份
OrderingFacilityPhoneNumber
Number
"( ) -"
— 订单机构的电话号码
OrderingProviderAddress
StreetAddress
StreetOrMailingAddress
"1401 S. ANAHEIM BLVD"
— 订单提供者的地址
City
"ANAHEIM"
— 订单提供者所在的城市
StateOrProvince
"CA"
— 订单提供者所在的州
ZipOrPostalCode
"92805"
— 订单提供者的邮政编码
OrderStatusModifier
null
— 订单状态修饰符
AdvancedBeneficiaryNoticeOverrideReason
null
— 高级受益人通知覆盖原因
FillerSExpectedAvailabilityDateTime
null
— 填充者预期可用日期时间
ConfidentialityCode
null
— 保密代码
OrderType
null
— 订单类型
EntererAuthorizationMode
null
— 录入者授权模式
ParentUniversalServiceIdentifier
null
— 父通用服务标识符
OBR
含义:观察请求段 (OBR segment),包含了与特定医疗检查或测试请求相关的详细信息,描述了一个医疗测试或检查请求的相关信息,包括订单的标识符、服务标识、时间安排、订购医生的信息以及测试的结果状态等
{
"SetIDOBR": { "Value": 1, "Valid": true },
"PlacerOrderNumber": null,
"FillerOrderNumber": {
"EntityIdentifier": "240345635",
"NamespaceID": null,
"UniversalID": null,
"UniversalIDType": null
},
"UniversalServiceIdentifier": {
"Identifier": "0010",
"Text": "BMP WITH eGFR",
"NameOfCodingSystem": null,
"AlternateIdentifier": null,
"AlternateText": null,
"NameOfAlternateCodingSystem": null,
"CodingSystemVersionID": null,
"AlternateCodingSystemVersionID": null,
"OriginalText": null
},
"PriorityOBR": null,
"RequestedDateTime": null,
"ObservationDateTime": {
"IsHL7Null": false,
"Time": "2024-08-12T10:24:00-04:00",
"Precision": 5,
"ElideTimezone": false
},
"ObservationEndDateTime": null,
"CollectionVolume": null,
"CollectorIdentifier": null,
"SpecimenActionCode": null,
"DangerCode": null,
"RelevantClinicalInformation": null,
"SpecimenReceivedDateTime": {
"IsHL7Null": false,
"Time": "2024-08-12T10:25:00-04:00",
"Precision": 5,
"ElideTimezone": false
},
"SpecimenSource": null,
"OrderingProvider": [
{
"IDNumber": "1245319631",
"FamilyName": {
"Surname": "SHEK",
"OwnSurnamePrefix": null,
"OwnSurname": null,
"SurnamePrefixFromPartnerSpouse": null,
"SurnameFromPartnerSpouse": null
},
"GivenName": "DAVID",
"SecondAndFurtherGivenNamesOrInitialsThereof": null,
"SuffixEGJROrIII": null,
"PrefixEGDR": null,
"DegreeEGMD": "M.D.",
"SourceTable": "N",
"AssigningAuthority": {
"NamespaceID": "DAVID SHEK, M.D.",
"UniversalID": null,
"UniversalIDType": null
},
"NameTypeCode": "1401 S. ANAHEIM BLVD",
"IdentifierCheckDigit": "ANAHEIM, CA",
"CheckDigitScheme": "92805",
"IdentifierTypeCode": "7147729800",
"AssigningFacility": null,
"NameRepresentationCode": "01",
"NameContext": null,
"NameValidityRange": null,
"NameAssemblyOrder": null,
"EffectiveDate": null,
"ExpirationDate": null,
"ProfessionalSuffix": null,
"AssigningJurisdiction": null,
"AssigningAgencyOrDepartment": null
}
],
"OrderCallbackPhoneNumber": null,
"PlacerField1": null,
"PlacerField2": null,
"FillerField1": null,
"FillerField2": null,
"ResultsRptStatusChngDateTime": {
"IsHL7Null": false,
"Time": "2024-08-12T13:23:00-04:00",
"Precision": 5,
"ElideTimezone": false
},
"ChargeToPractice": null,
"DiagnosticServSectID": null,
"ResultStatus": "F",
"ParentResult": null,
"QuantityTiming": [
{
"Quantity": { "Quantity": { "Value": 1, "Valid": true }, "Units": null },
"Interval": null,
"Duration": null,
"StartDateTime": {
"IsHL7Null": false,
"Time": "2024-08-12T10:25:00-04:00",
"Precision": 4,
"ElideTimezone": false
},
"EndDateTime": null,
"Priority": "R",
"Condition": null,
"Text": null,
"Conjunction": null,
"OrderSequencing": null,
"OccurrenceDuration": null,
"TotalOccurrences": null
}
],
"ResultCopiesTo": [
{
"IDNumber": "10105579",
"FamilyName": {
"Surname": "SHEK",
"OwnSurnamePrefix": null,
"OwnSurname": null,
"SurnamePrefixFromPartnerSpouse": null,
"SurnameFromPartnerSpouse": null
},
"GivenName": "DAVID",
"SecondAndFurtherGivenNamesOrInitialsThereof": null,
"SuffixEGJROrIII": null,
"PrefixEGDR": null,
"DegreeEGMD": "M.D.",
"SourceTable": null,
"AssigningAuthority": null,
"NameTypeCode": null,
"IdentifierCheckDigit": null,
"CheckDigitScheme": null,
"IdentifierTypeCode": null,
"AssigningFacility": null,
"NameRepresentationCode": null,
"NameContext": null,
"NameValidityRange": null,
"NameAssemblyOrder": null,
"EffectiveDate": null,
"ExpirationDate": null,
"ProfessionalSuffix": null,
"AssigningJurisdiction": null,
"AssigningAgencyOrDepartment": null
}
],
"Parent": null,
"TransportationMode": null,
"ReasonForStudy": null,
"PrincipalResultInterpreter": null,
"AssistantResultInterpreter": null,
"Technician": [
{
"Name": {
"IDNumber": "CA",
"FamilyName": null,
"GivenName": null,
"SecondAndFurtherGivenNamesOrInitialsThereof": null,
"SuffixEGJROrIII": null,
"PrefixEGDR": null,
"DegreeEGMD": null,
"SourceTable": null,
"AssigningAuthorityNamespaceID": null,
"AssigningAuthorityUniversalID": null,
"AssigningAuthorityUniversalIDType": null
},
"StartDateTime": null,
"EndDateTime": null,
"PointOfCare": null,
"Room": null,
"Bed": null,
"Facility": null,
"LocationStatus": null,
"PatientLocationType": null,
"Building": null,
"Floor": null
}
],
"Transcriptionist": null,
"ScheduledDateTime": {
"IsHL7Null": false,
"Time": "2024-08-12T10:25:00-04:00",
"Precision": 4,
"ElideTimezone": false
},
"NumberOfSampleContainers": null,
"TransportLogisticsOfCollectedSample": null,
"CollectorSComment": null,
"TransportArrangementResponsibility": null,
"TransportArranged": null,
"EscortRequired": null,
"PlannedPatientTransportComment": null,
"ProcedureCode": null,
"ProcedureCodeModifier": null,
"PlacerSupplementalServiceInformation": null,
"FillerSupplementalServiceInformation": null,
"MedicallyNecessaryDuplicateProcedureReason": null,
"ResultHandling": null,
"ParentUniversalServiceIdentifier": null
}
SetIDOBR
Value
1
— OBR 段的序号,表示这是第一个 OBR 段
Valid
true
— 表示这个 Set ID 是有效的
PlacerOrderNumber
null — 放置者订单号,通常用于识别由订单放置者分配的订单号
FillerOrderNumber
EntityIdentifier
"240345635"
— 填充者订单号的标识符,用于识别由填充者(如实验室或成像部门)分配的订单号
NamespaceID
null
— 命名空间标识符
UniversalID
null
— 通用标识符
UniversalIDType
null
— 通用标识符的类型
UniversalServiceIdentifier
Identifier
"0010"
— 通用服务标识符,标识所请求的服务或测试。在这里,它表示服务代码 "0010"
Text
"BMP WITH eGFR"
— 服务描述,表示基本代谢面板 (BMP) 加上估算的肾小球滤过率 (eGFR)
NameOfCodingSystem
null
— 编码系统的名称
AlternateIdentifier
null
— 备用标识符
AlternateText
null
— 备用描述
NameOfAlternateCodingSystem
null
— 备用编码系统的名称
CodingSystemVersionID
null
— 编码系统版本 ID
AlternateCodingSystemVersionID
null
— 备用编码系统版本 ID
OriginalText
null
— 原始文本
PriorityOBR
null — 优先级,表示测试的优先级别
RequestedDateTime
null — 请求的日期和时间,表示何时提出的测试请求
ObservationDateTime
Time
"2024-08-12T10:24:00-04:00"
— 观察开始的日期和时间,表示样本采集或测试开始的时间
Precision
5
— 时间的精度,通常表示秒的精度
ElideTimezone
false
— 是否省略时区信息
ObservationEndDateTime
null — 观察结束的日期和时间
CollectionVolume
null — 收集的样本量
CollectorIdentifier
null — 采集者的标识符
SpecimenActionCode
null — 样本处理代码,指示如何处理样本
DangerCode
null — 危险代码,指示与样本或测试相关的危险
RelevantClinicalInformation
null — 相关临床信息,提供与该测试相关的临床背景
SpecimenReceivedDateTime
Time
"2024-08-12T10:25:00-04:00"
— 样本接收的日期和时间,表示实验室收到样本的时间
Precision
5
— 时间的精度
SpecimenSource
null — 样本来源,指示样本采集的部位或类型
OrderingProvider
IDNumber
"1245319631"
— 订单提供者的标识号,通常是医生的标识符
FamilyName
Surname
"SHEK"
— 医生的姓氏
GivenName
"DAVID"
— 医生的名字
DegreeEGMD
"M.D."
— 医生的学位
SourceTable
"N"
— 来源表格,标识医生的标识来源
AssigningAuthority
NamespaceID
"DAVID SHEK, M.D."
— 分配该标识符的权威机构
NameTypeCode
"1401 S. ANAHEIM BLVD"
— 姓名类型代码
IdentifierCheckDigit
"ANAHEIM, CA"
— 校验位,可能用于地址验证
CheckDigitScheme
"92805"
— 校验位方案,可能用于邮政编码
IdentifierTypeCode
"7147729800"
— 标识符类型代码,可能用于电话号码
OrderCallbackPhoneNumber
null — 回拨电话号码
PlacerField1
null — 放置者字段 1,通常用于自定义信息
PlacerField2
null — 放置者字段 2,通常用于自定义信息
FillerField1
null — 填充者字段 1,通常用于自定义信息
FillerField2
null — 填充者字段 2,通常用于自定义信息
ResultsRptStatusChngDateTime
Time
"2024-08-12T13:23:00-04:00"
— 结果报告状态更改的日期和时间
ChargeToPractice
null — 费用承担方
DiagnosticServSectID
null — 诊断服务部门 ID,表示执行测试的部门
ResultStatus
"F" — 结果状态,"F"
表示最终结果 (Final)
ParentResult
null — 父结果,表示该测试是否有相关的父测试结果
QuantityTiming
Quantity
Quantity
{"Value": 1, "Valid": true}
— 数量,表示所请求的服务或物品的数量
StartDateTime
Time
2024-08-12T10:25:00-04:00"
— 开始日期时间
Priority
"R"
— 优先级,表示订单的优先级别,"R"
通常表示常规优先级 (Routine)
ResultCopiesTo
IDNumber
"10105579"
— 结果复制到的标识符
FamilyName
Surname
"SHEK"
— 结果复制接收人的姓氏
GivenName
"DAVID"
— 结果复制接收人的名字
Parent
null — 父订单,表示该订单是否有父订单
TransportationMode
null — 运输模式,表示样本运输的方式
ReasonForStudy
null — 研究原因,表示进行该测试的原因
PrincipalResultInterpreter
null — 主要结果解释者
AssistantResultInterpreter
null — 助理结果解释者
Technician
Name
IDNumber
"CA"
— 技术人员的标识号
Transcriptionist
null — 记录员
ScheduledDateTime
Time
"2024-08-12T10:25:00-04:00"
— 计划的日期和时间
NumberOfSampleContainers
null — 样本容器的数量
TransportLogisticsOfCollectedSample
null — 收集样本的运输后勤
CollectorSComment
null — 采集者的评论
TransportArrangementResponsibility
null — 运输安排责任方
TransportArranged
null — 运输安排情况
EscortRequired
null — 是否需要护送
PlannedPatientTransportComment
null — 计划的患者运输评论
ProcedureCode
null — 程序代码
ProcedureCodeModifier
null — 程序代码修饰符
PlacerSupplementalServiceInformation
null — 放置者补充服务信息
FillerSupplementalServiceInformation
null — 填充者补充服务信息
MedicallyNecessaryDuplicateProcedureReason
null — 医疗必要的重复程序原因
ResultHandling
null — 结果处理信息
ParentUniversalServiceIdentifier
null — 父通用服务标识符
OBX
含义:观察结果段 (OBX segment),通常用于报告临床观察结果,包含了观察结果的时间、设备信息、执行机构的信息等
{
"SetIDOBX": { "Value": 1, "Valid": true },
"ValueType": "ST",
"ObservationIdentifier": {
"Identifier": "2068",
"Text": "CALCIUM",
"NameOfCodingSystem": null,
"AlternateIdentifier": null,
"AlternateText": null,
"NameOfAlternateCodingSystem": null,
"CodingSystemVersionID": null,
"AlternateCodingSystemVersionID": null,
"OriginalText": null
},
"ObservationSubID": null,
"ObservationValue": ["OS4x"],
"Units": {
"Identifier": "MG/DL",
"Text": null,
"NameOfCodingSystem": null,
"AlternateIdentifier": null,
"AlternateText": null,
"NameOfAlternateCodingSystem": null
},
"ReferencesRange": "8.4-10.2",
"AbnormalFlags": null,
"Probability": null,
"NatureOfAbnormalTest": null,
"ObservationResultStatus": "F",
"EffectiveDateOfReferenceRangeValues": {
"IsHL7Null": false,
"Time": "2024-08-12T13:23:00-04:00",
"Precision": 5,
"ElideTimezone": false
},
"UserDefinedAccessChecks": null,
"DateTimeOfTheObservation": {
"IsHL7Null": false,
"Time": "2024-08-12T13:23:00-04:00",
"Precision": 5,
"ElideTimezone": false
},
"ProducerSReference": {
"Identifier": " ",
"Text": null,
"NameOfCodingSystem": null,
"AlternateIdentifier": null,
"AlternateText": null,
"NameOfAlternateCodingSystem": null
},
"ResponsibleObserver": null,
"ObservationMethod": null,
"EquipmentInstanceIdentifier": null,
"DateTimeOfTheAnalysis": null,
"ReservedForHarmonizationWithVersion26A": null,
"ReservedForHarmonizationWithVersion26B": null,
"ReservedForHarmonizationWithVersion26C": null,
"PerformingOrganizationName": {
"OrganizationName": null,
"OrganizationNameTypeCode": null,
"IDNumber": null,
"CheckDigit": null,
"CheckDigitScheme": null,
"AssigningAuthority": null,
"IdentifierTypeCode": null,
"AssigningFacility": null,
"NameRepresentationCode": null,
"OrganizationIdentifier": null
},
"PerformingOrganizationAddress": {
"StreetAddress": null,
"OtherDesignation": null,
"City": null,
"StateOrProvince": " ",
"ZipOrPostalCode": null,
"Country": null,
"AddressType": null,
"OtherGeographicDesignation": null,
"CountyParishCode": null,
"CensusTract": null,
"AddressRepresentationCode": null,
"AddressValidityRange": null,
"EffectiveDate": null,
"ExpirationDate": null
},
"PerformingOrganizationMedicalDirector": {
"IDNumber": null,
"FamilyName": null,
"GivenName": null,
"SecondAndFurtherGivenNamesOrInitialsThereof": null,
"SuffixEGJROrIII": null,
"PrefixEGDR": null,
"DegreeEGMD": null,
"SourceTable": null,
"AssigningAuthority": null,
"NameTypeCode": null,
"IdentifierCheckDigit": null,
"CheckDigitScheme": null,
"IdentifierTypeCode": null,
"AssigningFacility": null,
"NameRepresentationCode": null,
"NameContext": null,
"NameValidityRange": null,
"NameAssemblyOrder": null,
"EffectiveDate": null,
"ExpirationDate": null,
"ProfessionalSuffix": null,
"AssigningJurisdiction": null,
"AssigningAgencyOrDepartment": null
}
}
SetIDOBX
Value
1
— OBX 段的序号,表示这是第一个 OBX 段、
Valid
true
— 表示这个 Set ID 是有效的
ValueType
"ST" — 值类型,表示观察结果的类型。在此,"ST"
表示文本字符串 (String Text),通常表示观察结果以文本形式表示
ObservationIdentifier
Identifier
"2068"
— 观察标识符,表示特定的测试或测量项目的代码。在这里,它标识的是 "2068"
Text
"CALCIUM"
— 观察项目的名称,表示所测量的项目是钙 (Calcium)
NameOfCodingSystem
null
— 编码系统的名称
AlternateIdentifier
null
— 备用标识符
AlternateText
null
— 备用文本
NameOfAlternateCodingSystem
null
— 备用编码系统的名称
CodingSystemVersionID
null
— 编码系统的版本 ID
AlternateCodingSystemVersionID
null
— 备用编码系统的版本 ID
OriginalText
null
— 原始文本
ObservationSubID
null — 观察子标识符,表示观察的子类别或进一步分级
ObservationValue
"OS4x" — 观察值,表示钙的测量结果值。在此例中,值为 "OS4x"
,这是一个字符串表示的观察结果
Units
Identifier
"MG/DL"
— 单位标识符,表示测量值的单位。在此,"MG/DL"
表示毫克/分升 (Milligrams per deciliter)
Text
null
— 单位的文本描述
NameOfCodingSystem
null
— 编码系统的名称
AlternateIdentifier
null
— 备用标识符
AlternateText
null
— 备用文本
NameOfAlternateCodingSystem
null
— 备用编码系统的名称
ReferencesRange
"8.4-10.2" — 参考范围,表示正常范围或标准范围。在这里,钙的正常参考范围为 8.4 到 10.2 mg/dL
AbnormalFlags
null — 异常标志,表示观察结果是否超出参考范围或具有异常值
Probability
null — 概率,表示观察结果的统计概率
NatureOfAbnormalTest
null — 异常测试的性质,表示测试结果的异常性质
ObservationResultStatus
"F" — 观察结果状态,"F"
表示最终结果 (Final)
EffectiveDateOfReferenceRangeValues
Time
"2024-08-12T13:23:00-04:00"
— 参考范围值的生效日期和时间
Precision
5
— 时间的精度,通常表示秒的精度
ElideTimezone
false
— 是否省略时区信息
UserDefinedAccessChecks
null — 用户定义的访问检查
DateTimeOfTheObservation
Time
"2024-08-12T13:23:00-04:00"
— 观察的日期和时间,表示该观察结果的记录时间
Precision
5
— 时间的精度
ProducerSReference
Identifier
" "
— 生产者参考,可能是样本或设备的标识
ResponsibleObserver
null — 负责观察的人员,表示负责记录或验证该结果的观察员
ObservationMethod
null — 观察方法,表示测试的执行方法或技术
EquipmentInstanceIdentifier
null — 设备实例标识符,表示执行测试的设备的标识符
DateTimeOfTheAnalysis
null — 分析日期和时间,表示样本分析的时间
ReservedForHarmonizationWithVersion26A/B/C
null — 预留字段,用于与 HL7 2.6 版本的兼容性
PerformingOrganizationName
OrganizationName
null
— 执行测试的组织名称
OrganizationNameTypeCode
null
— 组织名称类型代码
IDNumber
null
— 组织标识号
CheckDigit
null
— 校验位
CheckDigitScheme
null
— 校验位方案
AssigningAuthority
null
— 分配机构
IdentifierTypeCode
null
— 标识符类型代码
AssigningFacility
null
— 分配设施
NameRepresentationCode
null
— 名称表示代码
OrganizationIdentifier
null
— 组织标识符
PerformingOrganizationAddress
StateOrProvince
" "
— 执行测试的组织所在的州或省
PerformingOrganizationMedicalDirector
null — 执行测试的组织的医疗主任信息
NTE
含义:注释段 (NTE segment),通常用于附加注释或评论,附加在其他主要段(如 OBX 段)之后,以提供补充信息
{
"SetIDNTE": { "Value": 1, "Valid": true },
"SourceOfComment": "L",
"Comment": ["VERIFIED BY REPEAT ANALYSIS"],
"CommentType": null
}
SetIDNTE
Value
1
— NTE 段的序号,表示这是第一个 NTE 段
Valid
true
— 表示这个 Set ID 是有效的
SourceOfComment
"L" — 评论来源,表示注释的来源。在此,"L"
表示实验室(Laboratory)
Comment
["VERIFIED BY REPEAT ANALYSIS"] — 注释内容,是一个数组,表示一条或多条注释。在此,注释内容是 "VERIFIED BY REPEAT ANALYSIS"
,意为“通过重复分析验证”
CommentType
null — 注释类型,通常用于指示注释的类型或分类。在此为 null
,表示未指定注释类型
SPM
含义:标本段 (SPM segment),用于描述与标本采集、处理和管理相关的详细信息
{
"SetIDSPM": { "Value": 1, "Valid": true },
"SpecimenID": null,
"SpecimenParentIDs": null,
"SpecimenType": null,
"SpecimenTypeModifier": null,
"SpecimenAdditives": null,
"SpecimenCollectionMethod": null,
"SpecimenSourceSite": null,
"SpecimenSourceSiteModifier": null,
"SpecimenCollectionSite": null,
"SpecimenRole": null,
"SpecimenCollectionAmount": null,
"GroupedSpecimenCount": null,
"SpecimenDescription": null,
"SpecimenHandlingCode": null,
"SpecimenRiskCode": null,
"SpecimenCollectionDateTime": {
"RangeStartDateTime": {
"IsHL7Null": false,
"Time": "2024-08-12T10:24:00-04:00",
"Precision": 5,
"ElideTimezone": false
},
"RangeEndDateTime": null
},
"SpecimenReceivedDateTime": {
"IsHL7Null": false,
"Time": "2024-08-12T10:25:00-04:00",
"Precision": 5,
"ElideTimezone": false
},
"SpecimenExpirationDateTime": null,
"SpecimenAvailability": null,
"SpecimenRejectReason": null,
"SpecimenQuality": null,
"SpecimenAppropriateness": null,
"SpecimenCondition": null,
"SpecimenCurrentQuantity": null,
"NumberOfSpecimenContainers": null,
"ContainerType": null,
"ContainerCondition": null,
"SpecimenChildRole": null
}
SetIDSPM
Value
1
— SPM 段的序号,表示这是第一个 SPM 段
Valid
true
— 表示这个 Set ID 是有效的
SpecimenID
null — 标本 ID,用于唯一标识特定标本。在此为空值,表示未设置标本 ID
SpecimenParentIDs
null — 父标本 ID,表示该标本的父标本 ID(如果存在)
SpecimenType
null — 标本类型,指示标本的类型,例如血液、尿液等
SpecimenTypeModifier
null — 标本类型修饰符,用于进一步描述标本的类型
SpecimenAdditives
null — 标本添加剂,指示在标本中添加的任何添加剂或防腐剂
SpecimenCollectionMethod
null — 标本采集方法,指示标本的采集方法或技术
SpecimenSourceSite
null — 标本来源部位,指示标本采集的身体部位
SpecimenSourceSiteModifier
null — 标本来源部位修饰符,用于进一步描述采集部位
SpecimenCollectionSite
null — 标本采集地点,指示标本采集的物理地点
SpecimenRole
null — 标本角色,指示标本在分析过程中的角色,例如主要标本、备份标本等
SpecimenCollectionAmount
null — 标本采集量,指示采集的标本量
GroupedSpecimenCount
null — 分组标本数量,表示在一起处理或分析的标本数量
SpecimenDescription
null — 标本描述,用于提供标本的详细描述
SpecimenHandlingCode
null — 标本处理代码,指示标本的处理方式或要求
SpecimenRiskCode
null — 标本风险代码,指示标本可能存在的任何风险
SpecimenCollectionDateTime
RangeStartDateTime
Time
"2024-08-12T10:24:00-04:00"
— 标本采集的开始时间,表示标本采集的日期和时间
Precision
5
— 时间的精度,通常表示秒的精度
ElideTimezone
false
— 是否省略时区信息
RangeEndDateTime
null
— 标本采集的结束时间,指示标本采集过程的结束时间
SpecimenReceivedDateTime
Time
"2024-08-12T10:25:00-04:00"
— 标本接收的日期和时间,表示实验室或分析机构收到标本的时间
Precision
5
— 时间的精度
SpecimenExpirationDateTime
null — 标本到期日期和时间,指示标本在什么时间之后可能不再适合分析
SpecimenAvailability
null — 标本可用性,指示标本当前是否可用
SpecimenRejectReason
null — 标本拒收原因,表示拒绝接受标本的原因(如标本损坏、污染等)
SpecimenQuality
null — 标本质量,指示标本的质量状况
SpecimenAppropriateness
null — 标本适当性,表示标本是否适合进行计划的分析
SpecimenCondition
null — 标本条件,指示标本的当前状态或条件
SpecimenCurrentQuantity
null — 标本当前数量,表示当前可用于分析的标本量
NumberOfSpecimenContainers
null — 标本容器的数量,指示包含标本的容器数量
ContainerType
null — 容器类型,指示用于存储标本的容器类型
ContainerCondition
null — 容器状态,指示标本容器的物理状态
SpecimenChildRole
null — 标本子角色,指示标本在分析过程中的子角色或从属角色