MMM-Useful-Types DEFINITIONS IMPLICIT TAGS ::= BEGIN END ASN1-Builtin-Types DEFINITIONS IMPLICIT TAGS ::= BEGIN END MMM-BuiltIn-Types DEFINITIONS IMPLICIT TAGS ::= BEGIN OctetString ::= OCTET-STRING BitString ::= BIT-STRING Null ::= NULL NumericId ::= ULong2 Ncid ::= NumericId Cid ::= BasicString(SIZE( 1..30 )) SInteger ::= LInteger( WITH COMPONENTS { integer}) LLong ::= LInteger LInteger ::= CHOICE { integer Long, coded CODEDWOSFORM( WITH COMPONENTS { ..., ncid ({IntegerCode}) PRESENT }), text BasicString } DecimalX ::= BasicString SDecimal ::= LDecimal( WITH COMPONENTS { decimal}) LDecimal ::= CHOICE { decimal DecimalX, coded CODEDWOSFORM( WITH COMPONENTS { ..., ncid ({DecimalCode}) PRESENT }), text BasicString } Range ::= DecimalRange LRange ::= LDecimalRange DecimalRange ::= SET { lower DecimalX, upper DecimalX } IntegerRange ::= SET { lower Long, upper Long } SDecimalRange ::= LDecimalRange( WITH COMPONENTS { range}) SIntegerRange ::= LIntegerRange( WITH COMPONENTS { range}) LDecimalRange ::= CHOICE { range DecimalRange, coded CODEDWOSFORM( WITH COMPONENTS { ..., ncid ({RangeCode}) PRESENT }), decimal DecimalX, text BasicString } LIntegerRange ::= CHOICE { range IntegerRange, coded CODEDWOSFORM( WITH COMPONENTS { ..., ncid ({RangeCode}) PRESENT }), decimal DecimalX, text BasicString } Titer ::= SET { lower DecimalX, upper DecimalX } STiter ::= LTiter( WITH COMPONENTS { titer}) LTiter ::= CHOICE { titer Titer, coded CODEDWOSFORM( WITH COMPONENTS { ..., ncid ({TiterCode}) PRESENT }), text BasicString } XDateTime ::= ULong2 GDateTime ::= XDateTime DateTime ::= GeneralizedTime SDateTime ::= LDateTime( WITH COMPONENTS { dateTime}) LDateTime ::= CHOICE { dateTime DateTime, coded CODEDWOSFORM( WITH COMPONENTS { ..., ncid ({DateTimeCode}) PRESENT }), text BasicString } XCoded ::= SET { ncid Ncid OPTIONAL, text BasicString OPTIONAL, relSFormNumId RelSFormNumId OPTIONAL } RelSFormNumId ::= ULong2 CODED ::= XCoded( WITH COMPONENTS { ncid}) SCoded ::= CODED CODEDWOSFORM ::= XCoded( WITH COMPONENTS { ncid, relSFormNumId OPTIONAL }) CODEDWRSFORM ::= XCoded( WITH COMPONENTS { ncid, relSFormNumId}) LCODED ::= XCoded( WITH COMPONENTS { ncid OPTIONAL , text OPTIONAL }) LCODEDWOSFORM ::= XCoded( WITH COMPONENTS { ncid OPTIONAL , text OPTIONAL , relSFormNumId OPTIONAL }) LCODEDWRSFORM ::= XCoded( WITH COMPONENTS { ncid OPTIONAL , text OPTIONAL , relSFormNumId}) BasicString ::= VisibleString Image ::= YetToBeDesigned Barcode ::= YetToBeDesigned Icon ::= YetToBeDesigned Sound ::= YetToBeDesigned Video ::= YetToBeDesigned YetToBeDesigned ::= Null END MMM-SubscriptionTrans DEFINITIONS IMPLICIT TAGS ::= BEGIN SubsTrans ::= SET { subsFunctions SubsFunctions } SubsFunctions ::= CHOICE { loadSubs SubsLoadEvent, saveSubs SubsSaveEvent } SubsLoadEvent ::= CHOICE { loadInput SubsEvent, loadOutput SubsEvent } SubsSaveEvent ::= CHOICE { saveInput SubsEvent, saveOutput BOOLEAN } SubsEvent ::= SET { userNcid Ncid, logonName BasicString, transOptions ULong, userSubs Subscriptions, locSubs Subscriptions, supportedTypes SupportedTypes, templates Template, filters PatientFilters, devices Devices } Subscriptions ::= SET OF Subscription SupportedTypes ::= SET OF DataTypeDef PatientFilters ::= SET OF PatientFilter Subscription ::= SET { opCode Long, name BasicString, userNcid Ncid, logonName BasicString, locationNcid Ncid, patientGroupId Long, patientFilterId Long, dataTypes DataTypes, statusNcid Ncid, subscriptionId Long } Template ::= SET { userTemplates Subscriptions, othersTemplates Subscriptions } DataTypeDef ::= SET { id Long, name BasicString, cwModuleNcid Ncid } PatientFilter ::= SET { opCode Long, patientFilterId Long, userNcid Ncid, name BasicString, sex BasicString, raceNcid Ncid, facilityNcid Ncid, lowAgeDays Long, highAgeDays Long, city BasicString, state BasicString, county BasicString, postCode BasicString } DataTypes ::= SET OF DataType DataType ::= SET { opCode Long, dataTypeID Long, conditions Conditions, devices Devices, recipients Recipients, activeFlag BOOLEAN, conditionID Long, subDeviceID Long, subRecipientID Long } Conditions ::= SET OF Condition Condition ::= SET { asn1Name BasicString, asn1Contents BasicString, codedValue Ncid, compareRuleNcid Ncid, loValue DecimalX, hiValue DecimalX, evalPriority Long } Devices ::= SET OF Device Device ::= SET { deviceName BasicString, deviceID ULong, dateAdded GDateTime } Recipients ::= SET OF Recipient Recipient ::= SET { userNcid Ncid, logonName BasicString, dateAdded GDateTime } END