MMM-Useful-Types DEFINITIONS IMPLICIT TAGS ::= BEGIN END ASN1-Builtin-Types DEFINITIONS IMPLICIT TAGS ::= BEGIN END HIRSasn DEFINITIONS IMPLICIT TAGS ::= BEGIN HIRSInfo ::= SET { comments Comments OPTIONAL, paramInfos ParamInfos OPTIONAL, talkInfo TalkInfo OPTIONAL, hirsLogInfo HirsLogInfo OPTIONAL, hirsFlags GeneralFlags OPTIONAL } HirsLogInfo ::= CHOICE { hirsLogApi HirsLogApi, hirsLogData HirsLogData } HirsLogApi ::= SET { hirsTranID INTEGER, hirsTranTime VisibleString, hirsService VisibleString, hirsApi VisibleString OPTIONAL, hirsStatusCode INTEGER OPTIONAL, hirsMessage VisibleString OPTIONAL, hirsReads INTEGER, hirsWrites INTEGER } HirsLogData ::= SET { hirsTranID INTEGER, hirsTranTime VisibleString, hirsService VisibleString, rcvTime VisibleString, facility VisibleString OPTIONAL, medRecNum VisibleString OPTIONAL, encounterNum VisibleString OPTIONAL, unitNum VisibleString OPTIONAL, sendingApp VisibleString, errorLevel INTEGER, logDataRecords LogDataRecords } LogDataRecords ::= SET OF LogDataRecord LogDataRecord ::= CHOICE { infoMmi TransData, infoHems TransData, infoHL7 TransData } TalkInfo ::= SET { serverID ServerID OPTIONAL, transMessage TransMessage OPTIONAL, errMessage ErrMessage OPTIONAL, patId PatId OPTIONAL, transMessages SEQUENCE OF TalkElement OPTIONAL } TalkElement ::= SET { msgOffset INTEGER, msgType INTEGER, transMessage TransData } ErrMessage ::= SET { sType VisibleString, iNumber INTEGER, sTitle VisibleString OPTIONAL, sUserMessage VisibleString OPTIONAL, sSystemMessage VisibleString OPTIONAL, sReporterId VisibleString OPTIONAL, sReporterSubId VisibleString OPTIONAL, sVersion VisibleString OPTIONAL } ParamInfos ::= SET OF ParamInfo ParamInfo ::= SET { comments Comments OPTIONAL, serverID ServerID OPTIONAL, serverInfo ServerInfo OPTIONAL } ServerInfo ::= SET { comments Comments OPTIONAL, commInfo CommInfo OPTIONAL, serverFlags GeneralFlags OPTIONAL, preProcInfo PreProcInfo OPTIONAL, orderInfo OrderInfo OPTIONAL } CommInfo ::= SET { comments Comments OPTIONAL, startComm StartComm OPTIONAL, procPath ProcPath OPTIONAL, whotocall ServerID OPTIONAL, commandLine CommandLine OPTIONAL, charInfo CharInfo OPTIONAL, tcpInfo TCPInfo OPTIONAL, lu62Info LU62Info OPTIONAL, writeTo INTEGER OPTIONAL } TCPInfo ::= SET { comments Comments OPTIONAL, tcpAddress TCPAddress OPTIONAL, tcpSocket TCPSocket OPTIONAL, tcpLinks TCPLinks OPTIONAL, bindRetry BindRetry OPTIONAL, logLevel LogLevel OPTIONAL, debugLevel DebugLevel OPTIONAL, traceLevel TraceLevel OPTIONAL, llProtocol LLProtocol OPTIONAL } CharInfo ::= SET { sb VisibleString OPTIONAL, cr VisibleString OPTIONAL, etb VisibleString OPTIONAL, nak VisibleString OPTIONAL, ack VisibleString OPTIONAL, stx VisibleString OPTIONAL, etx VisibleString OPTIONAL, eot VisibleString OPTIONAL, enq VisibleString OPTIONAL } LU62Info ::= SET { nullValue NullValue OPTIONAL } PreProcInfo ::= SET { nullValue NullValue OPTIONAL } OrderInfo ::= SET { servers Servers OPTIONAL } Servers ::= SET OF ServerID ServerID ::= SET { comments Comments OPTIONAL, serverName ServerName, serverType ServerType OPTIONAL, serverOrder ServerOrder OPTIONAL, dataOnly DataOnly OPTIONAL, readFrom INTEGER OPTIONAL, writeTo INTEGER OPTIONAL, logFile LogFile OPTIONAL } TransMessage ::= CHOICE { transCommand CommandMessage, infoMmi TransData, infoHems TransData, infoHL7 TransData } TCPAddress ::= VisibleString TCPSocket ::= VisibleString TCPLinks ::= VisibleString ServerName ::= VisibleString ServerType ::= VisibleString Deserialize ::= VisibleString NullValue ::= INTEGER StartComm ::= BOOLEAN CommandLine ::= VisibleString ProcPath ::= VisibleString TransData ::= OCTET-STRING ServerOrder ::= INTEGER DataOnly ::= VisibleString LogFile ::= VisibleString LLProtocol ::= VisibleString OneChar ::= VisibleString DebugLevel ::= VisibleString LogLevel ::= VisibleString TraceLevel ::= VisibleString BindRetry ::= VisibleString CmtName ::= VisibleString CmtTime ::= VisibleString CmtText ::= VisibleString GeneralFlags ::= SET OF GeneralFlag CommandMessage ::= SET { commandType CommandType, commandValue GeneralValue } CommandType ::= CHOICE { debug NULL, trace NULL, block NULL, a1disp NULL, matchtrace NULL, matchlevel NULL, logging NULL, otherCommand VisibleString } Comments ::= SET OF Comment Comment ::= SET { cmtName CmtName, cmtTime CmtTime, cmtText CmtText } PatId ::= SET { unitNum VisibleString OPTIONAL, referenceNum VisibleString OPTIONAL, medRecNum VisibleString OPTIONAL, encNum VisibleString OPTIONAL, facility VisibleString OPTIONAL, transactionId VisibleString OPTIONAL, eventId VisibleString OPTIONAL, location VisibleString OPTIONAL, lastName VisibleString OPTIONAL, msgControlId VisibleString OPTIONAL, sendingApp VisibleString OPTIONAL } GeneralFlag ::= SET { name VisibleString, value GeneralValue OPTIONAL } GeneralValue ::= CHOICE { boolean BOOLEAN, string VisibleString, lng Long, ulng ULong, lng2 Long2, ulng2 ULong2, ulng2List SEQUENCE OF ULong2 } END