content
stringlengths 4
1.04M
| lang
stringclasses 358
values | score
int64 0
5
| repo_name
stringlengths 5
114
| repo_path
stringlengths 4
229
| repo_licenses
sequencelengths 1
8
|
---|---|---|---|---|---|
<?xml version='1.0' encoding='UTF-8'?>
<Project Type="Project" LVVersion="19008000">
<Property Name="NI.LV.All.SourceOnly" Type="Bool">true</Property>
<Item Name="My Computer" Type="My Computer">
<Property Name="server.app.propertiesEnabled" Type="Bool">true</Property>
<Property Name="server.control.propertiesEnabled" Type="Bool">true</Property>
<Property Name="server.tcp.enabled" Type="Bool">false</Property>
<Property Name="server.tcp.port" Type="Int">0</Property>
<Property Name="server.tcp.serviceName" Type="Str">My Computer/VI Server</Property>
<Property Name="server.tcp.serviceName.default" Type="Str">My Computer/VI Server</Property>
<Property Name="server.vi.callsEnabled" Type="Bool">true</Property>
<Property Name="server.vi.propertiesEnabled" Type="Bool">true</Property>
<Property Name="specify.custom.address" Type="Bool">false</Property>
<Item Name="Helper" Type="Folder">
<Item Name="SampleCommonLib.lvlib" Type="Library" URL="../SampleCommonLib.lvlib"/>
</Item>
<Item Name="ExternalLib.lvlib" Type="Library" URL="../ExternalLib.lvlib"/>
<Item Name="Main.vi" Type="VI" URL="../Main.vi"/>
<Item Name="SampleDependentLib.lvlib" Type="Library" URL="../SampleDependentLib.lvlib"/>
<Item Name="SampleLib.lvlib" Type="Library" URL="../SampleLib.lvlib"/>
<Item Name="Dependencies" Type="Dependencies">
<Item Name="vi.lib" Type="Folder">
<Item Name="NI_XML.lvlib" Type="Library" URL="/<vilib>/xml/NI_XML.lvlib"/>
</Item>
<Item Name="DOMUserDefRef.dll" Type="Document" URL="DOMUserDefRef.dll">
<Property Name="NI.PreserveRelativePath" Type="Bool">true</Property>
</Item>
<Item Name="ExternalDep.lvlib" Type="Library" URL="../ExternalDep/ExternalDep.lvlib"/>
</Item>
<Item Name="Build Specifications" Type="Build">
<Item Name="My Application" Type="EXE">
<Property Name="App_copyErrors" Type="Bool">true</Property>
<Property Name="App_INI_aliasGUID" Type="Str">{76F6202F-E796-42BC-893E-7677B6C7E421}</Property>
<Property Name="App_INI_GUID" Type="Str">{1797D919-B5FD-466E-82FA-6B9B37BCC8F3}</Property>
<Property Name="App_serverConfig.httpPort" Type="Int">8002</Property>
<Property Name="Bld_autoIncrement" Type="Bool">true</Property>
<Property Name="Bld_buildCacheID" Type="Str">{5A4B88B2-A710-484F-8760-E39BF4AC5209}</Property>
<Property Name="Bld_buildSpecName" Type="Str">My Application</Property>
<Property Name="Bld_excludeDependentDLLs" Type="Bool">true</Property>
<Property Name="Bld_excludeDependentPPLs" Type="Bool">true</Property>
<Property Name="Bld_localDestDir" Type="Path">../obj/NI_AB_PROJECTNAME/MyApplication</Property>
<Property Name="Bld_localDestDirType" Type="Str">relativeToCommon</Property>
<Property Name="Bld_previewCacheID" Type="Str">{E912A177-1BC2-4676-ADDD-CFBBBDBEE124}</Property>
<Property Name="Bld_version.major" Type="Int">1</Property>
<Property Name="Destination[0].destName" Type="Str">Application.exe</Property>
<Property Name="Destination[0].path" Type="Path">../obj/NI_AB_PROJECTNAME/MyApplication/Application.exe</Property>
<Property Name="Destination[0].preserveHierarchy" Type="Bool">true</Property>
<Property Name="Destination[0].type" Type="Str">App</Property>
<Property Name="Destination[1].destName" Type="Str">Support Directory</Property>
<Property Name="Destination[1].path" Type="Path">../obj/NI_AB_PROJECTNAME/MyApplication/data</Property>
<Property Name="DestinationCount" Type="Int">2</Property>
<Property Name="Source[0].itemID" Type="Str">{35664B49-D137-4D43-AFBD-A0EA49FFF313}</Property>
<Property Name="Source[0].type" Type="Str">Container</Property>
<Property Name="Source[1].destinationIndex" Type="Int">0</Property>
<Property Name="Source[1].itemID" Type="Ref">/My Computer/Main.vi</Property>
<Property Name="Source[1].sourceInclusion" Type="Str">TopLevel</Property>
<Property Name="Source[1].type" Type="Str">VI</Property>
<Property Name="SourceCount" Type="Int">2</Property>
<Property Name="TgtF_companyName" Type="Str">National Instruments</Property>
<Property Name="TgtF_fileDescription" Type="Str">My Application</Property>
<Property Name="TgtF_internalName" Type="Str">My Application</Property>
<Property Name="TgtF_legalCopyright" Type="Str">Copyright © 2020 National Instruments</Property>
<Property Name="TgtF_productName" Type="Str">My Application</Property>
<Property Name="TgtF_targetfileGUID" Type="Str">{728AF30F-340A-4A97-BDCD-17711B4FD27B}</Property>
<Property Name="TgtF_targetfileName" Type="Str">Application.exe</Property>
<Property Name="TgtF_versionIndependent" Type="Bool">true</Property>
</Item>
<Item Name="My Application Same Methods" Type="EXE">
<Property Name="App_INI_aliasGUID" Type="Str">{427B60CA-5DDE-4E27-93D8-D79B1F652646}</Property>
<Property Name="App_INI_GUID" Type="Str">{4BE22C62-A91C-4331-BAC9-EE78BE1CDD41}</Property>
<Property Name="App_serverConfig.httpPort" Type="Int">8002</Property>
<Property Name="Bld_autoIncrement" Type="Bool">true</Property>
<Property Name="Bld_buildCacheID" Type="Str">{97BC368A-191A-44BC-BCC7-53C9A4832745}</Property>
<Property Name="Bld_buildSpecName" Type="Str">My Application Same Methods</Property>
<Property Name="Bld_localDestDir" Type="Path">../obj/NI_AB_PROJECTNAME/MyApplicationSameMethods</Property>
<Property Name="Bld_localDestDirType" Type="Str">relativeToCommon</Property>
<Property Name="Bld_previewCacheID" Type="Str">{B5D786F1-CC1B-4290-973A-0B847D1111E4}</Property>
<Property Name="Bld_version.major" Type="Int">1</Property>
<Property Name="Destination[0].destName" Type="Str">Application2.exe</Property>
<Property Name="Destination[0].path" Type="Path">../obj/NI_AB_PROJECTNAME/MyApplicationSameMethods/Application2.exe</Property>
<Property Name="Destination[0].preserveHierarchy" Type="Bool">true</Property>
<Property Name="Destination[0].type" Type="Str">App</Property>
<Property Name="Destination[1].destName" Type="Str">Support Directory</Property>
<Property Name="Destination[1].path" Type="Path">../obj/NI_AB_PROJECTNAME/MyApplicationSameMethods/data</Property>
<Property Name="DestinationCount" Type="Int">2</Property>
<Property Name="Source[0].itemID" Type="Str">{35664B49-D137-4D43-AFBD-A0EA49FFF313}</Property>
<Property Name="Source[0].type" Type="Str">Container</Property>
<Property Name="Source[1].destinationIndex" Type="Int">0</Property>
<Property Name="Source[1].itemID" Type="Ref">/My Computer/SampleDependentLib.lvlib/SampleDependentClass.lvclass/SampleMethod.vi</Property>
<Property Name="Source[1].sourceInclusion" Type="Str">TopLevel</Property>
<Property Name="Source[1].type" Type="Str">VI</Property>
<Property Name="Source[2].destinationIndex" Type="Int">0</Property>
<Property Name="Source[2].itemID" Type="Ref">/My Computer/SampleLib.lvlib/SampleClass.lvclass/SampleMethod.vi</Property>
<Property Name="Source[2].sourceInclusion" Type="Str">Include</Property>
<Property Name="Source[2].type" Type="Str">VI</Property>
<Property Name="SourceCount" Type="Int">3</Property>
<Property Name="TgtF_companyName" Type="Str">National Instruments</Property>
<Property Name="TgtF_fileDescription" Type="Str">My Application Same Methods</Property>
<Property Name="TgtF_internalName" Type="Str">My Application Same Methods</Property>
<Property Name="TgtF_legalCopyright" Type="Str">Copyright © 2020 National Instruments</Property>
<Property Name="TgtF_productName" Type="Str">My Application Same Methods</Property>
<Property Name="TgtF_targetfileGUID" Type="Str">{90F4F18A-024F-4F17-A166-3E04B93AA41F}</Property>
<Property Name="TgtF_targetfileName" Type="Str">Application2.exe</Property>
<Property Name="TgtF_versionIndependent" Type="Bool">true</Property>
</Item>
<Item Name="My DLL" Type="DLL">
<Property Name="App_copyErrors" Type="Bool">true</Property>
<Property Name="App_INI_aliasGUID" Type="Str">{AA851ADB-652A-4F29-ADEC-E0B3961AE99B}</Property>
<Property Name="App_INI_GUID" Type="Str">{B8FAB35F-3870-4637-B2E2-E2CD0DF62EBA}</Property>
<Property Name="App_serverConfig.httpPort" Type="Int">8002</Property>
<Property Name="Bld_autoIncrement" Type="Bool">true</Property>
<Property Name="Bld_buildCacheID" Type="Str">{9F5A6997-1072-4A85-8FD6-1F8A08700099}</Property>
<Property Name="Bld_buildSpecName" Type="Str">My DLL</Property>
<Property Name="Bld_excludeDependentPPLs" Type="Bool">true</Property>
<Property Name="Bld_localDestDir" Type="Path">../obj/NI_AB_PROJECTNAME/MyDLL</Property>
<Property Name="Bld_localDestDirType" Type="Str">relativeToCommon</Property>
<Property Name="Bld_previewCacheID" Type="Str">{B2D7D636-6C57-4BAA-8F01-946E4633021B}</Property>
<Property Name="Bld_version.major" Type="Int">1</Property>
<Property Name="Destination[0].destName" Type="Str">SharedLib.dll</Property>
<Property Name="Destination[0].path" Type="Path">../obj/NI_AB_PROJECTNAME/MyDLL/SharedLib.dll</Property>
<Property Name="Destination[0].preserveHierarchy" Type="Bool">true</Property>
<Property Name="Destination[0].type" Type="Str">App</Property>
<Property Name="Destination[1].destName" Type="Str">Support Directory</Property>
<Property Name="Destination[1].path" Type="Path">../obj/NI_AB_PROJECTNAME/MyDLL/data</Property>
<Property Name="DestinationCount" Type="Int">2</Property>
<Property Name="Dll_compatibilityWith2011" Type="Bool">false</Property>
<Property Name="Dll_delayOSMsg" Type="Bool">true</Property>
<Property Name="Dll_headerGUID" Type="Str">{B9CCFCF0-895D-414F-BB55-8ADDBCE4006E}</Property>
<Property Name="Dll_libGUID" Type="Str">{4035CD2F-8AAE-43CF-8B31-02CD0B389825}</Property>
<Property Name="Dll_privateExecSys" Type="Bool">true</Property>
<Property Name="Source[0].itemID" Type="Str">{35664B49-D137-4D43-AFBD-A0EA49FFF313}</Property>
<Property Name="Source[0].type" Type="Str">Container</Property>
<Property Name="Source[1].destinationIndex" Type="Int">0</Property>
<Property Name="Source[1].itemID" Type="Ref">/My Computer/Helper/SampleCommonLib.lvlib/SampleCommonVI.vi</Property>
<Property Name="Source[1].sourceInclusion" Type="Str">TopLevel</Property>
<Property Name="Source[1].type" Type="Str">ExportedVI</Property>
<Property Name="SourceCount" Type="Int">2</Property>
<Property Name="TgtF_companyName" Type="Str">National Instruments</Property>
<Property Name="TgtF_fileDescription" Type="Str">My DLL</Property>
<Property Name="TgtF_internalName" Type="Str">My DLL</Property>
<Property Name="TgtF_legalCopyright" Type="Str">Copyright © 2020 National Instruments</Property>
<Property Name="TgtF_productName" Type="Str">My DLL</Property>
<Property Name="TgtF_targetfileGUID" Type="Str">{323D5E68-4691-4BED-ACAC-6190B92D7140}</Property>
<Property Name="TgtF_targetfileName" Type="Str">SharedLib.dll</Property>
<Property Name="TgtF_versionIndependent" Type="Bool">true</Property>
</Item>
<Item Name="My Installer" Type="Installer">
<Property Name="Destination[0].name" Type="Str">SampleProject</Property>
<Property Name="Destination[0].parent" Type="Str">{3912416A-D2E5-411B-AFEE-B63654D690C0}</Property>
<Property Name="Destination[0].tag" Type="Str">{23BA94CC-7CB2-422B-A2C2-0B83B315021E}</Property>
<Property Name="Destination[0].type" Type="Str">userFolder</Property>
<Property Name="DestinationCount" Type="Int">1</Property>
<Property Name="DistPart[0].flavorID" Type="Str">DefaultFull</Property>
<Property Name="DistPart[0].productID" Type="Str">{1E3C5D81-5D10-421A-AE16-1FC585D2FB7D}</Property>
<Property Name="DistPart[0].productName" Type="Str">NI LabVIEW Runtime 2019 SP1 f3</Property>
<Property Name="DistPart[0].SoftDep[0].exclude" Type="Bool">false</Property>
<Property Name="DistPart[0].SoftDep[0].productName" Type="Str">NI ActiveX Container</Property>
<Property Name="DistPart[0].SoftDep[0].upgradeCode" Type="Str">{1038A887-23E1-4289-B0BD-0C4B83C6BA21}</Property>
<Property Name="DistPart[0].SoftDep[1].exclude" Type="Bool">false</Property>
<Property Name="DistPart[0].SoftDep[1].productName" Type="Str">NI Deployment Framework 2019</Property>
<Property Name="DistPart[0].SoftDep[1].upgradeCode" Type="Str">{838942E4-B73C-492E-81A3-AA1E291FD0DC}</Property>
<Property Name="DistPart[0].SoftDep[10].exclude" Type="Bool">false</Property>
<Property Name="DistPart[0].SoftDep[10].productName" Type="Str">NI VC2015 Runtime</Property>
<Property Name="DistPart[0].SoftDep[10].upgradeCode" Type="Str">{D42E7BAE-6589-4570-B6A3-3E28889392E7}</Property>
<Property Name="DistPart[0].SoftDep[11].exclude" Type="Bool">false</Property>
<Property Name="DistPart[0].SoftDep[11].productName" Type="Str">NI TDM Streaming 19.0</Property>
<Property Name="DistPart[0].SoftDep[11].upgradeCode" Type="Str">{4CD11BE6-6BB7-4082-8A27-C13771BC309B}</Property>
<Property Name="DistPart[0].SoftDep[2].exclude" Type="Bool">false</Property>
<Property Name="DistPart[0].SoftDep[2].productName" Type="Str">NI Error Reporting 2019</Property>
<Property Name="DistPart[0].SoftDep[2].upgradeCode" Type="Str">{42E818C6-2B08-4DE7-BD91-B0FD704C119A}</Property>
<Property Name="DistPart[0].SoftDep[3].exclude" Type="Bool">false</Property>
<Property Name="DistPart[0].SoftDep[3].productName" Type="Str">NI LabVIEW Real-Time NBFifo 2019</Property>
<Property Name="DistPart[0].SoftDep[3].upgradeCode" Type="Str">{8386B074-C90C-43A8-99F2-203BAAB4111C}</Property>
<Property Name="DistPart[0].SoftDep[4].exclude" Type="Bool">false</Property>
<Property Name="DistPart[0].SoftDep[4].productName" Type="Str">NI LabVIEW Runtime 2019 SP1 Non-English Support.</Property>
<Property Name="DistPart[0].SoftDep[4].upgradeCode" Type="Str">{446D49A5-F830-4ADF-8C78-F03284D6882D}</Property>
<Property Name="DistPart[0].SoftDep[5].exclude" Type="Bool">false</Property>
<Property Name="DistPart[0].SoftDep[5].productName" Type="Str">NI Logos 19.0</Property>
<Property Name="DistPart[0].SoftDep[5].upgradeCode" Type="Str">{5E4A4CE3-4D06-11D4-8B22-006008C16337}</Property>
<Property Name="DistPart[0].SoftDep[6].exclude" Type="Bool">false</Property>
<Property Name="DistPart[0].SoftDep[6].productName" Type="Str">NI LabVIEW Web Server 2019</Property>
<Property Name="DistPart[0].SoftDep[6].upgradeCode" Type="Str">{0960380B-EA86-4E0C-8B57-14CD8CCF2C15}</Property>
<Property Name="DistPart[0].SoftDep[7].exclude" Type="Bool">false</Property>
<Property Name="DistPart[0].SoftDep[7].productName" Type="Str">NI mDNS Responder 19.0</Property>
<Property Name="DistPart[0].SoftDep[7].upgradeCode" Type="Str">{9607874B-4BB3-42CB-B450-A2F5EF60BA3B}</Property>
<Property Name="DistPart[0].SoftDep[8].exclude" Type="Bool">false</Property>
<Property Name="DistPart[0].SoftDep[8].productName" Type="Str">Math Kernel Libraries 2017</Property>
<Property Name="DistPart[0].SoftDep[8].upgradeCode" Type="Str">{699C1AC5-2CF2-4745-9674-B19536EBA8A3}</Property>
<Property Name="DistPart[0].SoftDep[9].exclude" Type="Bool">false</Property>
<Property Name="DistPart[0].SoftDep[9].productName" Type="Str">Math Kernel Libraries 2018</Property>
<Property Name="DistPart[0].SoftDep[9].upgradeCode" Type="Str">{33A780B9-8BDE-4A3A-9672-24778EFBEFC4}</Property>
<Property Name="DistPart[0].SoftDepCount" Type="Int">12</Property>
<Property Name="DistPart[0].upgradeCode" Type="Str">{7D6295E5-8FB8-4BCE-B1CD-B5B396FA1D3F}</Property>
<Property Name="DistPartCount" Type="Int">1</Property>
<Property Name="INST_author" Type="Str">National Instruments</Property>
<Property Name="INST_autoIncrement" Type="Bool">true</Property>
<Property Name="INST_buildLocation" Type="Path">../obj/SampleProject/MyInstaller</Property>
<Property Name="INST_buildLocation.type" Type="Str">relativeToCommon</Property>
<Property Name="INST_buildSpecName" Type="Str">My Installer</Property>
<Property Name="INST_defaultDir" Type="Str">{23BA94CC-7CB2-422B-A2C2-0B83B315021E}</Property>
<Property Name="INST_installerName" Type="Str">install.exe</Property>
<Property Name="INST_productName" Type="Str">SampleProject</Property>
<Property Name="INST_productVersion" Type="Str">1.0.0</Property>
<Property Name="InstSpecBitness" Type="Str">32-bit</Property>
<Property Name="InstSpecVersion" Type="Str">19018005</Property>
<Property Name="MSI_arpCompany" Type="Str">National Instruments</Property>
<Property Name="MSI_autoselectDrivers" Type="Bool">true</Property>
<Property Name="MSI_distID" Type="Str">{0773F445-D9C3-48AB-B7DC-ECC0294C1EDE}</Property>
<Property Name="MSI_hideNonRuntimes" Type="Bool">true</Property>
<Property Name="MSI_osCheck" Type="Int">0</Property>
<Property Name="MSI_upgradeCode" Type="Str">{B9926396-4130-4CA9-A0FB-9FD6F54C663A}</Property>
<Property Name="RegDest[0].dirName" Type="Str">Software</Property>
<Property Name="RegDest[0].dirTag" Type="Str">{DDFAFC8B-E728-4AC8-96DE-B920EBB97A86}</Property>
<Property Name="RegDest[0].parentTag" Type="Str">2</Property>
<Property Name="RegDestCount" Type="Int">1</Property>
<Property Name="Source[0].dest" Type="Str">{23BA94CC-7CB2-422B-A2C2-0B83B315021E}</Property>
<Property Name="Source[0].File[0].dest" Type="Str">{23BA94CC-7CB2-422B-A2C2-0B83B315021E}</Property>
<Property Name="Source[0].File[0].name" Type="Str">Application.exe</Property>
<Property Name="Source[0].File[0].Shortcut[0].destIndex" Type="Int">0</Property>
<Property Name="Source[0].File[0].Shortcut[0].name" Type="Str">Application</Property>
<Property Name="Source[0].File[0].Shortcut[0].subDir" Type="Str">SampleProject</Property>
<Property Name="Source[0].File[0].ShortcutCount" Type="Int">1</Property>
<Property Name="Source[0].File[0].tag" Type="Str">{728AF30F-340A-4A97-BDCD-17711B4FD27B}</Property>
<Property Name="Source[0].FileCount" Type="Int">1</Property>
<Property Name="Source[0].name" Type="Str">My Application</Property>
<Property Name="Source[0].tag" Type="Ref">/My Computer/Build Specifications/My Application</Property>
<Property Name="Source[0].type" Type="Str">EXE</Property>
<Property Name="SourceCount" Type="Int">1</Property>
</Item>
<Item Name="My Interop Assembly" Type=".NET Interop Assembly">
<Property Name="App_INI_aliasGUID" Type="Str">{3303CF71-4F3E-42EA-A187-1360527B9432}</Property>
<Property Name="App_INI_GUID" Type="Str">{BF257050-21A6-4EE6-8E5B-378F60CE2057}</Property>
<Property Name="App_serverConfig.httpPort" Type="Int">8002</Property>
<Property Name="Bld_autoIncrement" Type="Bool">true</Property>
<Property Name="Bld_buildCacheID" Type="Str">{098497A0-C8B8-4611-868D-58E2AC96FC56}</Property>
<Property Name="Bld_buildSpecName" Type="Str">My Interop Assembly</Property>
<Property Name="Bld_excludeDependentPPLs" Type="Bool">true</Property>
<Property Name="Bld_localDestDir" Type="Path">../obj/NI_AB_PROJECTNAME/MyInteropAssembly</Property>
<Property Name="Bld_localDestDirType" Type="Str">relativeToCommon</Property>
<Property Name="Bld_previewCacheID" Type="Str">{7645858C-D8AA-4BE2-828A-B6A6B8FA2396}</Property>
<Property Name="Bld_version.major" Type="Int">1</Property>
<Property Name="Destination[0].destName" Type="Str">InteropAssembly.dll</Property>
<Property Name="Destination[0].path" Type="Path">../obj/NI_AB_PROJECTNAME/MyInteropAssembly/InteropAssembly.dll</Property>
<Property Name="Destination[0].preserveHierarchy" Type="Bool">true</Property>
<Property Name="Destination[0].type" Type="Str">App</Property>
<Property Name="Destination[1].destName" Type="Str">Support Directory</Property>
<Property Name="Destination[1].path" Type="Path">../obj/NI_AB_PROJECTNAME/MyInteropAssembly/data</Property>
<Property Name="DestinationCount" Type="Int">2</Property>
<Property Name="DotNET2011CompatibilityMode" Type="Bool">false</Property>
<Property Name="DotNETAssembly_ClassName" Type="Str">LabVIEWExports</Property>
<Property Name="DotNETAssembly_delayOSMsg" Type="Bool">true</Property>
<Property Name="DotNETAssembly_Namespace" Type="Str">InteropAssembly</Property>
<Property Name="DotNETAssembly_signAssembly" Type="Bool">false</Property>
<Property Name="DotNETAssembly_StrongNameKeyFileItemID" Type="Ref"></Property>
<Property Name="DotNETAssembly_StrongNameKeyGUID" Type="Str">{ACE4BC2B-E088-4400-BE57-54CB119CD7CC}</Property>
<Property Name="Source[0].itemID" Type="Str">{35664B49-D137-4D43-AFBD-A0EA49FFF313}</Property>
<Property Name="Source[0].type" Type="Str">Container</Property>
<Property Name="Source[1].destinationIndex" Type="Int">0</Property>
<Property Name="Source[1].ExportedAssemblyVI.VIProtoInfo[0]MethodName" Type="Str">Main</Property>
<Property Name="Source[1].ExportedAssemblyVI.VIProtoInfo[0]VIName" Type="Str">Main.vi</Property>
<Property Name="Source[1].ExportedAssemblyVI.VIProtoInfo[0]VIProtoConNum" Type="Int">-1</Property>
<Property Name="Source[1].ExportedAssemblyVI.VIProtoInfo[0]VIProtoDataType" Type="Str">void</Property>
<Property Name="Source[1].ExportedAssemblyVI.VIProtoInfo[0]VIProtoDir" Type="Int">1</Property>
<Property Name="Source[1].ExportedAssemblyVI.VIProtoInfo[0]VIProtoIutputIdx" Type="Int">-1</Property>
<Property Name="Source[1].ExportedAssemblyVI.VIProtoInfo[0]VIProtoName" Type="Str">returnvalue</Property>
<Property Name="Source[1].ExportedAssemblyVI.VIProtoInfo[0]VIProtoOutputIdx" Type="Int">-1</Property>
<Property Name="Source[1].ExportedAssemblyVI.VIProtoInfoVIDocumentation" Type="Str"></Property>
<Property Name="Source[1].ExportedAssemblyVI.VIProtoInfoVIDocumentationEnabled" Type="Int">0</Property>
<Property Name="Source[1].ExportedAssemblyVI.VIProtoInfoVIIsNamesSanitized" Type="Int">1</Property>
<Property Name="Source[1].ExportedAssemblyVI.VIProtoInfoVIProtoItemCount" Type="Int">1</Property>
<Property Name="Source[1].itemID" Type="Ref">/My Computer/Main.vi</Property>
<Property Name="Source[1].sourceInclusion" Type="Str">TopLevel</Property>
<Property Name="Source[1].type" Type="Str">ExportedAssemblyVI</Property>
<Property Name="SourceCount" Type="Int">2</Property>
<Property Name="TgtF_companyName" Type="Str">National Instruments</Property>
<Property Name="TgtF_fileDescription" Type="Str">My Interop Assembly</Property>
<Property Name="TgtF_internalName" Type="Str">My Interop Assembly</Property>
<Property Name="TgtF_legalCopyright" Type="Str">Copyright © 2020 National Instruments</Property>
<Property Name="TgtF_productName" Type="Str">My Interop Assembly</Property>
<Property Name="TgtF_targetfileGUID" Type="Str">{BB5506F1-D09F-4099-89A8-019C05233BE6}</Property>
<Property Name="TgtF_targetfileName" Type="Str">InteropAssembly.dll</Property>
<Property Name="TgtF_versionIndependent" Type="Bool">true</Property>
</Item>
<Item Name="My Source Distribution" Type="Source Distribution">
<Property Name="Bld_autoIncrement" Type="Bool">true</Property>
<Property Name="Bld_buildCacheID" Type="Str">{76FBC094-0C53-40F8-8803-03842760EE5A}</Property>
<Property Name="Bld_buildSpecName" Type="Str">My Source Distribution</Property>
<Property Name="Bld_excludedDirectory[0]" Type="Path">vi.lib</Property>
<Property Name="Bld_excludedDirectory[0].pathType" Type="Str">relativeToAppDir</Property>
<Property Name="Bld_excludedDirectory[1]" Type="Path">resource/objmgr</Property>
<Property Name="Bld_excludedDirectory[1].pathType" Type="Str">relativeToAppDir</Property>
<Property Name="Bld_excludedDirectory[2]" Type="Path">/C/ProgramData/National Instruments/InstCache/20.0</Property>
<Property Name="Bld_excludedDirectory[3]" Type="Path">/C/Users/labview/Documents/LabVIEW Data/2020(32-bit)/ExtraVILib</Property>
<Property Name="Bld_excludedDirectory[4]" Type="Path">instr.lib</Property>
<Property Name="Bld_excludedDirectory[4].pathType" Type="Str">relativeToAppDir</Property>
<Property Name="Bld_excludedDirectory[5]" Type="Path">user.lib</Property>
<Property Name="Bld_excludedDirectory[5].pathType" Type="Str">relativeToAppDir</Property>
<Property Name="Bld_excludedDirectoryCount" Type="Int">6</Property>
<Property Name="Bld_excludeDependentDLLs" Type="Bool">true</Property>
<Property Name="Bld_excludeDependentPPLs" Type="Bool">true</Property>
<Property Name="Bld_localDestDir" Type="Path">../obj/NI_AB_PROJECTNAME/MySourceDistribution</Property>
<Property Name="Bld_localDestDirType" Type="Str">relativeToCommon</Property>
<Property Name="Bld_previewCacheID" Type="Str">{CE1E3DD1-6FDA-4AC4-AE2F-95CA0C584080}</Property>
<Property Name="Bld_removeVIObj" Type="Int">2</Property>
<Property Name="Bld_version.major" Type="Int">1</Property>
<Property Name="Destination[0].destName" Type="Str">Destination Directory</Property>
<Property Name="Destination[0].path" Type="Path">../obj/NI_AB_PROJECTNAME/MySourceDistribution</Property>
<Property Name="Destination[1].destName" Type="Str">Support Directory</Property>
<Property Name="Destination[1].path" Type="Path">../obj/NI_AB_PROJECTNAME/MySourceDistribution/data</Property>
<Property Name="DestinationCount" Type="Int">2</Property>
<Property Name="Source[0].itemID" Type="Str">{35664B49-D137-4D43-AFBD-A0EA49FFF313}</Property>
<Property Name="Source[0].type" Type="Str">Container</Property>
<Property Name="Source[1].destinationIndex" Type="Int">0</Property>
<Property Name="Source[1].itemID" Type="Ref">/My Computer/Main.vi</Property>
<Property Name="Source[1].sourceInclusion" Type="Str">Include</Property>
<Property Name="Source[1].type" Type="Str">VI</Property>
<Property Name="Source[2].destinationIndex" Type="Int">0</Property>
<Property Name="Source[2].itemID" Type="Ref">/My Computer/SampleLib.lvlib</Property>
<Property Name="Source[2].Library.allowMissingMembers" Type="Bool">true</Property>
<Property Name="Source[2].sourceInclusion" Type="Str">Exclude</Property>
<Property Name="Source[2].type" Type="Str">Library</Property>
<Property Name="Source[3].Container.applyInclusion" Type="Bool">true</Property>
<Property Name="Source[3].Container.depDestIndex" Type="Int">0</Property>
<Property Name="Source[3].destinationIndex" Type="Int">0</Property>
<Property Name="Source[3].itemID" Type="Ref">/My Computer/Helper</Property>
<Property Name="Source[3].sourceInclusion" Type="Str">Exclude</Property>
<Property Name="Source[3].type" Type="Str">Container</Property>
<Property Name="Source[4].destinationIndex" Type="Int">0</Property>
<Property Name="Source[4].itemID" Type="Ref">/My Computer/SampleDependentLib.lvlib</Property>
<Property Name="Source[4].Library.allowMissingMembers" Type="Bool">true</Property>
<Property Name="Source[4].sourceInclusion" Type="Str">Exclude</Property>
<Property Name="Source[4].type" Type="Str">Library</Property>
<Property Name="SourceCount" Type="Int">5</Property>
</Item>
<Item Name="SampleDependentLib" Type="Packed Library">
<Property Name="Bld_autoIncrement" Type="Bool">true</Property>
<Property Name="Bld_buildCacheID" Type="Str">{F2DF8815-C340-41AC-A257-9C3D53424975}</Property>
<Property Name="Bld_buildSpecName" Type="Str">SampleDependentLib</Property>
<Property Name="Bld_excludeDependentPPLs" Type="Bool">true</Property>
<Property Name="Bld_localDestDir" Type="Path">../obj/NI_AB_PROJECTNAME/SampleDependentLib</Property>
<Property Name="Bld_localDestDirType" Type="Str">relativeToCommon</Property>
<Property Name="Bld_previewCacheID" Type="Str">{0B088D96-0633-4618-B192-84D6244D2EEC}</Property>
<Property Name="Bld_version.major" Type="Int">1</Property>
<Property Name="Destination[0].destName" Type="Str">SampleDependentLib.lvlibp</Property>
<Property Name="Destination[0].path" Type="Path">../obj/NI_AB_PROJECTNAME/SampleDependentLib/SampleDependentLib.lvlibp</Property>
<Property Name="Destination[0].preserveHierarchy" Type="Bool">true</Property>
<Property Name="Destination[0].type" Type="Str">App</Property>
<Property Name="Destination[1].destName" Type="Str">Support Directory</Property>
<Property Name="Destination[1].path" Type="Path">../obj/NI_AB_PROJECTNAME/SampleDependentLib</Property>
<Property Name="DestinationCount" Type="Int">2</Property>
<Property Name="PackedLib_callersAdapt" Type="Bool">true</Property>
<Property Name="Source[0].itemID" Type="Str">{35664B49-D137-4D43-AFBD-A0EA49FFF313}</Property>
<Property Name="Source[0].type" Type="Str">Container</Property>
<Property Name="Source[1].destinationIndex" Type="Int">0</Property>
<Property Name="Source[1].itemID" Type="Ref">/My Computer/SampleDependentLib.lvlib</Property>
<Property Name="Source[1].Library.allowMissingMembers" Type="Bool">true</Property>
<Property Name="Source[1].Library.atomicCopy" Type="Bool">true</Property>
<Property Name="Source[1].Library.LVLIBPtopLevel" Type="Bool">true</Property>
<Property Name="Source[1].preventRename" Type="Bool">true</Property>
<Property Name="Source[1].sourceInclusion" Type="Str">TopLevel</Property>
<Property Name="Source[1].type" Type="Str">Library</Property>
<Property Name="SourceCount" Type="Int">2</Property>
<Property Name="TgtF_companyName" Type="Str">National Instruments</Property>
<Property Name="TgtF_fileDescription" Type="Str">SampleDependentLib</Property>
<Property Name="TgtF_internalName" Type="Str">SampleDependentLib</Property>
<Property Name="TgtF_legalCopyright" Type="Str">Copyright © 2020 National Instruments</Property>
<Property Name="TgtF_productName" Type="Str">SampleDependentLib</Property>
<Property Name="TgtF_targetfileGUID" Type="Str">{E0424F2A-0511-40BE-A5B6-7C1E5277308E}</Property>
<Property Name="TgtF_targetfileName" Type="Str">SampleDependentLib.lvlibp</Property>
<Property Name="TgtF_versionIndependent" Type="Bool">true</Property>
</Item>
<Item Name="SampleLib" Type="Packed Library">
<Property Name="Bld_autoIncrement" Type="Bool">true</Property>
<Property Name="Bld_buildCacheID" Type="Str">{C77E9408-E149-4BB0-ADA0-8AB32B2CB477}</Property>
<Property Name="Bld_buildSpecName" Type="Str">SampleLib</Property>
<Property Name="Bld_excludeDependentPPLs" Type="Bool">true</Property>
<Property Name="Bld_localDestDir" Type="Path">../obj/NI_AB_PROJECTNAME/SampleLib</Property>
<Property Name="Bld_localDestDirType" Type="Str">relativeToCommon</Property>
<Property Name="Bld_previewCacheID" Type="Str">{8ABE8629-BDB8-46C6-BB27-633AE8BB7153}</Property>
<Property Name="Bld_version.major" Type="Int">1</Property>
<Property Name="Destination[0].destName" Type="Str">SampleLib.lvlibp</Property>
<Property Name="Destination[0].path" Type="Path">../obj/NI_AB_PROJECTNAME/SampleLib/SampleLib.lvlibp</Property>
<Property Name="Destination[0].preserveHierarchy" Type="Bool">true</Property>
<Property Name="Destination[0].type" Type="Str">App</Property>
<Property Name="Destination[1].destName" Type="Str">Support Directory</Property>
<Property Name="Destination[1].path" Type="Path">../obj/NI_AB_PROJECTNAME/SampleLib</Property>
<Property Name="DestinationCount" Type="Int">2</Property>
<Property Name="PackedLib_callersAdapt" Type="Bool">true</Property>
<Property Name="Source[0].itemID" Type="Str">{35664B49-D137-4D43-AFBD-A0EA49FFF313}</Property>
<Property Name="Source[0].type" Type="Str">Container</Property>
<Property Name="Source[1].destinationIndex" Type="Int">0</Property>
<Property Name="Source[1].itemID" Type="Ref">/My Computer/SampleLib.lvlib</Property>
<Property Name="Source[1].Library.allowMissingMembers" Type="Bool">true</Property>
<Property Name="Source[1].Library.atomicCopy" Type="Bool">true</Property>
<Property Name="Source[1].Library.LVLIBPtopLevel" Type="Bool">true</Property>
<Property Name="Source[1].preventRename" Type="Bool">true</Property>
<Property Name="Source[1].sourceInclusion" Type="Str">TopLevel</Property>
<Property Name="Source[1].type" Type="Str">Library</Property>
<Property Name="SourceCount" Type="Int">2</Property>
<Property Name="TgtF_companyName" Type="Str">National Instruments</Property>
<Property Name="TgtF_fileDescription" Type="Str">SampleLib</Property>
<Property Name="TgtF_internalName" Type="Str">SampleLib</Property>
<Property Name="TgtF_legalCopyright" Type="Str">Copyright © 2020 National Instruments</Property>
<Property Name="TgtF_productName" Type="Str">SampleLib</Property>
<Property Name="TgtF_targetfileGUID" Type="Str">{79729703-475C-4524-9B96-5D400582C408}</Property>
<Property Name="TgtF_targetfileName" Type="Str">SampleLib.lvlibp</Property>
<Property Name="TgtF_versionIndependent" Type="Bool">true</Property>
</Item>
</Item>
</Item>
</Project>
| LabVIEW | 1 | jovianarts/LVSolutionBuilder | src/_tests/Tests.Assets/SampleProject.lvproj | [
"MIT"
] |
source "../tests/includes/init-tests.tcl"
# Initial slot distribution.
set ::slot0 [list 0 1000 1002 5459 5461 5461 10926 10926]
set ::slot1 [list 5460 5460 5462 10922 10925 10925]
set ::slot2 [list 10923 10924 10927 16383]
set ::slot3 [list 1001 1001]
proc cluster_create_with_split_slots {masters replicas} {
for {set j 0} {$j < $masters} {incr j} {
R $j cluster ADDSLOTSRANGE {*}[set ::slot${j}]
}
if {$replicas} {
cluster_allocate_slaves $masters $replicas
}
set ::cluster_master_nodes $masters
set ::cluster_replica_nodes $replicas
}
# Get the node info with the specific node_id from the
# given reference node. Valid type options are "node" and "shard"
proc get_node_info_from_shard {id reference {type node}} {
set shards_response [R $reference CLUSTER SHARDS]
foreach shard_response $shards_response {
set nodes [dict get $shard_response nodes]
foreach node $nodes {
if {[dict get $node id] eq $id} {
if {$type eq "node"} {
return $node
} elseif {$type eq "shard"} {
return $shard_response
} else {
return {}
}
}
}
}
# No shard found, return nothing
return {}
}
test "Create a 8 nodes cluster with 4 shards" {
cluster_create_with_split_slots 4 4
}
test "Cluster should start ok" {
assert_cluster_state ok
}
test "Set cluster hostnames and verify they are propagated" {
for {set j 0} {$j < $::cluster_master_nodes + $::cluster_replica_nodes} {incr j} {
R $j config set cluster-announce-hostname "host-$j.com"
}
# Wait for everyone to agree about the state
wait_for_cluster_propagation
}
test "Verify information about the shards" {
set ids {}
for {set j 0} {$j < $::cluster_master_nodes + $::cluster_replica_nodes} {incr j} {
lappend ids [R $j CLUSTER MYID]
}
set slots [list $::slot0 $::slot1 $::slot2 $::slot3 $::slot0 $::slot1 $::slot2 $::slot3]
# Verify on each node (primary/replica), the response of the `CLUSTER SLOTS` command is consistent.
for {set ref 0} {$ref < $::cluster_master_nodes + $::cluster_replica_nodes} {incr ref} {
for {set i 0} {$i < $::cluster_master_nodes + $::cluster_replica_nodes} {incr i} {
assert_equal [lindex $slots $i] [dict get [get_node_info_from_shard [lindex $ids $i] $ref "shard"] slots]
assert_equal "host-$i.com" [dict get [get_node_info_from_shard [lindex $ids $i] $ref "node"] hostname]
assert_equal "127.0.0.1" [dict get [get_node_info_from_shard [lindex $ids $i] $ref "node"] ip]
# Default value of 'cluster-preferred-endpoint-type' is ip.
assert_equal "127.0.0.1" [dict get [get_node_info_from_shard [lindex $ids $i] $ref "node"] endpoint]
if {$::tls} {
assert_equal [get_instance_attrib redis $i plaintext-port] [dict get [get_node_info_from_shard [lindex $ids $i] $ref "node"] port]
assert_equal [get_instance_attrib redis $i port] [dict get [get_node_info_from_shard [lindex $ids $i] $ref "node"] tls-port]
} else {
assert_equal [get_instance_attrib redis $i port] [dict get [get_node_info_from_shard [lindex $ids $i] $ref "node"] port]
}
if {$i < 4} {
assert_equal "master" [dict get [get_node_info_from_shard [lindex $ids $i] $ref "node"] role]
assert_equal "online" [dict get [get_node_info_from_shard [lindex $ids $i] $ref "node"] health]
} else {
assert_equal "replica" [dict get [get_node_info_from_shard [lindex $ids $i] $ref "node"] role]
# Replica could be in online or loading
}
}
}
}
test "Verify no slot shard" {
# Node 8 has no slots assigned
set node_8_id [R 8 CLUSTER MYID]
assert_equal {} [dict get [get_node_info_from_shard $node_8_id 8 "shard"] slots]
assert_equal {} [dict get [get_node_info_from_shard $node_8_id 0 "shard"] slots]
}
set node_0_id [R 0 CLUSTER MYID]
test "Kill a node and tell the replica to immediately takeover" {
kill_instance redis 0
R 4 cluster failover force
}
# Primary 0 node should report as fail, wait until the new primary acknowledges it.
test "Verify health as fail for killed node" {
wait_for_condition 50 100 {
"fail" eq [dict get [get_node_info_from_shard $node_0_id 4 "node"] "health"]
} else {
fail "New primary never detected the node failed"
}
}
set primary_id 4
set replica_id 0
test "Restarting primary node" {
restart_instance redis $replica_id
}
test "Instance #0 gets converted into a replica" {
wait_for_condition 1000 50 {
[RI $replica_id role] eq {slave}
} else {
fail "Old primary was not converted into replica"
}
}
test "Test the replica reports a loading state while it's loading" {
# Test the command is good for verifying everything moves to a happy state
set replica_cluster_id [R $replica_id CLUSTER MYID]
wait_for_condition 50 1000 {
[dict get [get_node_info_from_shard $replica_cluster_id $primary_id "node"] health] eq "online"
} else {
fail "Replica never transitioned to online"
}
# Set 1 MB of data, so there is something to load on full sync
R $primary_id debug populate 1000 key 1000
# Kill replica client for primary and load new data to the primary
R $primary_id config set repl-backlog-size 100
# Set the key load delay so that it will take at least
# 2 seconds to fully load the data.
R $replica_id config set key-load-delay 4000
# Trigger event loop processing every 1024 bytes, this trigger
# allows us to send and receive cluster messages, so we are setting
# it low so that the cluster messages are sent more frequently.
R $replica_id config set loading-process-events-interval-bytes 1024
R $primary_id multi
R $primary_id client kill type replica
# populate the correct data
set num 100
set value [string repeat A 1024]
for {set j 0} {$j < $num} {incr j} {
# Use hashtag valid for shard #0
set key "{ch3}$j"
R $primary_id set $key $value
}
R $primary_id exec
# The replica should reconnect and start a full sync, it will gossip about it's health to the primary.
wait_for_condition 50 1000 {
"loading" eq [dict get [get_node_info_from_shard $replica_cluster_id $primary_id "node"] health]
} else {
fail "Replica never transitioned to loading"
}
# Speed up the key loading and verify everything resumes
R $replica_id config set key-load-delay 0
wait_for_condition 50 1000 {
"online" eq [dict get [get_node_info_from_shard $replica_cluster_id $primary_id "node"] health]
} else {
fail "Replica never transitioned to online"
}
# Final sanity, the replica agrees it is online.
assert_equal "online" [dict get [get_node_info_from_shard $replica_cluster_id $replica_id "node"] health]
} | Tcl | 5 | dawnwalk/redis | tests/cluster/tests/28-cluster-shards.tcl | [
"BSD-3-Clause"
] |
resource "aws_route53_zone" "tf_route53_zone" {
name = "test.example.com"
tags = {
name = "tf-route53-zone"
}
}
resource "aws_route53_record" "tf_route53_record" {
zone_id = aws_route53_zone.tf_route53_zone.zone_id
name = "test.example.com"
type = "A"
ttl = "1"
records = ["1.1.1.1"]
} | HCL | 3 | ravithejappl/localstak-rest-api | tests/integration/terraform/route53.tf | [
"Apache-2.0"
] |
# TODO: Translation updated at 2022-01-11 21:45
# game/scripts/labels/hacker_space_story.rpy:2
translate english hacker_space_tech_trivia_4fbbe31c:
# player "(Maybe I won't get a prize for doing this, but it sounds like fun!)"
player "(Maybe I won't get a prize for doing this, but it sounds like fun!)"
# game/scripts/labels/hacker_space_story.rpy:3
translate english hacker_space_tech_trivia_1c5b0f93:
# trivia_guy "Glad to hear you're interested!"
trivia_guy "Glad to hear you're interested!"
# game/scripts/labels/hacker_space_story.rpy:4
translate english hacker_space_tech_trivia_6427e83f:
# trivia_guy "I have a prize for you if you get all questions correct."
trivia_guy "I have a prize for you if you get all questions correct."
# game/scripts/labels/hacker_space_story.rpy:5
translate english hacker_space_tech_trivia_a156e84f:
# trivia_guy "Don't worry if you can't get all of them correct this time."
trivia_guy "Don't worry if you can't get all of them correct this time."
# game/scripts/labels/hacker_space_story.rpy:6
translate english hacker_space_tech_trivia_4b0bde72:
# trivia_guy "I ask the same eight questions to everyone here until someone gets them all correct."
trivia_guy "I ask the same eight questions to everyone here until someone gets them all correct."
# game/scripts/labels/hacker_space_story.rpy:7
translate english hacker_space_tech_trivia_5173f518:
# trivia_guy "Are you ready?"
trivia_guy "Are you ready?"
# game/scripts/labels/hacker_space_story.rpy:8
translate english hacker_space_tech_trivia_fa19f549:
# player "Yes, let's do this!"
player "Yes, let's do this!"
# game/scripts/labels/hacker_space_story.rpy:15
translate english hacker_space_tech_talk_327fd080:
# player @ surprised "Looks like there is someone giving a tech talk!"
player @ surprised "Looks like there is someone giving a tech talk!"
# game/scripts/labels/hacker_space_story.rpy:16
translate english hacker_space_tech_talk_242040ff:
# player "Sounds like something cool! Let's go listen."
player "Sounds like something cool! Let's go listen."
# game/scripts/labels/hacker_space_story.rpy:19
translate english hacker_space_tech_talk_d7027403:
# player "I could only understand some parts of it, but that was cool."
player "I could only understand some parts of it, but that was cool."
# game/scripts/labels/hacker_space_story.rpy:20
translate english hacker_space_tech_talk_9f890a6d:
# player "Well, enough tech talk for the day."
player "Well, enough tech talk for the day."
# game/scripts/labels/hacker_space_story.rpy:24
translate english hacker_space_project_aa83cb19:
# player @ surprised "Wow. Whiteboards and sticky notes everywhere..."
player @ surprised "Wow. Whiteboards and sticky notes everywhere..."
# game/scripts/labels/hacker_space_story.rpy:25
translate english hacker_space_project_77656d23:
# player "Looks like people are hard at work on their projects."
player "Looks like people are hard at work on their projects."
# game/scripts/labels/hacker_space_story.rpy:27
translate english hacker_space_project_03887d34:
# player "Let's not disturb them and just watch from a distance."
player "Let's not disturb them and just watch from a distance."
# game/scripts/labels/hacker_space_story.rpy:29
translate english hacker_space_project_5eca136b:
# player "Their app idea is really cool even if it's still nothing but mocks."
player "Their app idea is really cool even if it's still nothing but mocks."
# game/scripts/labels/hacker_space_story.rpy:30
translate english hacker_space_project_9f5b499e:
# player "I guess that's a nice skill to have if I want to develop my own project one day."
player "I guess that's a nice skill to have if I want to develop my own project one day."
# game/scripts/labels/hacker_space_story.rpy:31
translate english hacker_space_project_1aaedf20:
# player "Well, enough people-watching for the day."
player "Well, enough people-watching for the day."
# game/scripts/labels/hacker_space_story.rpy:35
translate english hacker_space_open_source_469f12a8:
# player @ surprised "Looks like there is someone talking about their open-source project."
player @ surprised "Looks like there is someone talking about their open-source project."
# game/scripts/labels/hacker_space_story.rpy:36
translate english hacker_space_open_source_01b03875:
# player "Let's listen to what they have to say."
player "Let's listen to what they have to say."
# game/scripts/labels/hacker_space_story.rpy:38
translate english hacker_space_open_source_70d7b4bd:
# male "Contributing to open-source is a great way to practice your technical skills, and to make your résumé more impressive."
male "Contributing to open-source is a great way to practice your technical skills, and to make your résumé more impressive."
# game/scripts/labels/hacker_space_story.rpy:39
translate english hacker_space_open_source_96e31608:
# player "(Is that so? Then contributing to open-source sounds like a great side project for me.)"
player "(Is that so? Then contributing to open-source sounds like a great side project for me.)"
# game/scripts/labels/hacker_space_story.rpy:40
translate english hacker_space_open_source_0ca1d67f:
# male "You might be wondering, where do we find open-source projects that could use a hand? Well, they are technically everywhere."
male "You might be wondering, where do we find open-source projects that could use a hand? Well, they are technically everywhere."
# game/scripts/labels/hacker_space_story.rpy:41
translate english hacker_space_open_source_d65920f2:
# male "Check out these websites as a starter!"
male "Check out these websites as a starter!"
# game/scripts/labels/hacker_space_story.rpy:43
translate english hacker_space_open_source_58bbfb7b:
# player "Hmm... that was an informative talk. Let's maybe put some of that into action."
player "Hmm... that was an informative talk. Let's maybe put some of that into action."
# game/scripts/labels/hacker_space_story.rpy:48
translate english hacker_space_playtest_6f1d5b7e:
# college_girl "Hey there!"
college_girl "Hey there!"
# game/scripts/labels/hacker_space_story.rpy:49
translate english hacker_space_playtest_d64be058:
# player @ surprised "Huh? Me?"
player @ surprised "Huh? Me?"
# game/scripts/labels/hacker_space_story.rpy:50
translate english hacker_space_playtest_04c0402a:
# college_girl "Yes. Do you have a moment?"
college_girl "Yes. Do you have a moment?"
# game/scripts/labels/hacker_space_story.rpy:51
translate english hacker_space_playtest_6669cfcf:
# college_girl "We are working on a game project for our college CS course, and we'd really appreciate it if you'd be willing to play-test it."
college_girl "We are working on a game project for our college CS course, and we'd really appreciate it if you'd be willing to play-test it."
# game/scripts/labels/hacker_space_story.rpy:52
translate english hacker_space_playtest_47aac646:
# college_girl "It's a simple pong game, in case you are wondering."
college_girl "It's a simple pong game, in case you are wondering."
# game/scripts/labels/hacker_space_story.rpy:71
translate english hacker_space_playtest_d2fae7e0:
# player "Wow. The computer was really good..."
player "Wow. The computer was really good..."
# game/scripts/labels/hacker_space_story.rpy:72
translate english hacker_space_playtest_bf764c63:
# college_girl "Yay! I have a feeling that we are doing well on this project!"
college_girl "Yay! I have a feeling that we are doing well on this project!"
# game/scripts/labels/hacker_space_story.rpy:76
translate english hacker_space_playtest_5b9eb2e3:
# player @ laugh "That's my victory!"
player @ laugh "That's my victory!"
# game/scripts/labels/hacker_space_story.rpy:77
translate english hacker_space_playtest_b2bd8a83:
# college_girl "Wow. Congrats! That was a nice game."
college_girl "Wow. Congrats! That was a nice game."
# game/scripts/labels/hacker_space_story.rpy:81
translate english hacker_space_playtest_458ae044:
# college_girl "Thanks for your time!"
college_girl "Thanks for your time!"
# game/scripts/labels/hacker_space_story.rpy:82
translate english hacker_space_playtest_3a29e5e0:
# player "No problem. Happy to help!"
player "No problem. Happy to help!"
# game/scripts/labels/hacker_space_story.rpy:86
translate english hacker_space_playtest_3f6f49b4:
# player @ neutral "Sorry, but I'm not super into arcade games. Best of luck on your project!"
player @ neutral "Sorry, but I'm not super into arcade games. Best of luck on your project!"
# game/scripts/labels/hacker_space_story.rpy:87
translate english hacker_space_playtest_db4a51b3:
# college_girl "No worries and thanks!"
college_girl "No worries and thanks!"
# game/scripts/labels/hacker_space_story.rpy:89
translate english hacker_space_playtest_6ec33b47:
# player "What's next? Let's check out that other group of people over there."
player "What's next? Let's check out that other group of people over there."
translate english strings:
# game/scripts/labels/hacker_space_story.rpy:53
old "Shall we play-test the pong game?"
new "Shall we play-test the pong game?"
# game/scripts/labels/hacker_space_story.rpy:53
old "Yes!"
new "Yes!"
# game/scripts/labels/hacker_space_story.rpy:53
old "Sorry, but I'll pass."
new "Sorry, but I'll pass."
| Ren'Py | 3 | googlebleh/LearnToCodeRPG | game/tl/english/scripts/labels/hacker_space_story.rpy | [
"BSD-3-Clause"
] |
# Makefile for core library for VMS
# contributed by Jouk Jansen [email protected]
# Last revision : 27 May 2008
.first
define gl [---.include.gl]
define math [-.math]
define swrast [-.swrast]
define array_cache [-.array_cache]
define glapi [-.glapi]
define main [-.main]
define shader [-.shader]
.include [---]mms-config.
##### MACROS #####
VPATH = RCS
INCDIR = [---.include],[.grammar],[-.main],[-.glapi],[.slang]
LIBDIR = [---.lib]
CFLAGS = /include=($(INCDIR),[])/define=(PTHREADS=1,"__extension__=")/name=(as_is,short)/float=ieee/ieee=denorm
SOURCES = \
atifragshader.c \
arbprogparse.c \
arbprogram.c \
nvfragparse.c \
nvprogram.c \
nvvertparse.c \
program.c \
programopt.c \
prog_debug.c \
prog_execute.c \
prog_instruction.c \
prog_parameter.c \
prog_print.c \
prog_statevars.c \
shader_api.c prog_uniform.c
OBJECTS = \
atifragshader.obj,\
arbprogparse.obj,\
arbprogram.obj,\
nvfragparse.obj,\
nvprogram.obj,\
nvvertparse.obj,\
program.obj,\
programopt.obj,\
prog_debug.obj,\
prog_execute.obj,\
prog_instruction.obj,\
prog_parameter.obj,\
prog_print.obj,\
prog_statevars.obj,\
shader_api.obj,prog_uniform.obj
##### RULES #####
VERSION=Mesa V3.4
##### TARGETS #####
all :
$(MMS)$(MMSQUALIFIERS) $(LIBDIR)$(GL_LIB)
set def [.slang]
$(MMS)$(MMSQUALIFIERS)
set def [-.grammar]
$(MMS)$(MMSQUALIFIERS)
set def [-]
# Make the library
$(LIBDIR)$(GL_LIB) : $(OBJECTS)
@ library $(LIBDIR)$(GL_LIB) $(OBJECTS)
clean :
purge
delete *.obj;*
atifragshader.obj : atifragshader.c
arbprogparse.obj : arbprogparse.c
arbprogram.obj : arbprogram.c
nvfragparse.obj : nvfragparse.c
nvprogram.obj : nvprogram.c
nvvertparse.obj : nvvertparse.c
program.obj : program.c
programopt. obj : programopt.c
prog_debug.obj : prog_debug.c
prog_execute.obj : prog_execute.c
prog_instruction.obj : prog_instruction.c
prog_parameter.obj : prog_parameter.c
prog_print.obj : prog_print.c
prog_statevars.obj : prog_statevars.c
shader_api.obj : shader_api.c
prog_uniform.obj : prog_uniform.c
| Module Management System | 3 | manggoguy/parsec-modified | pkgs/libs/mesa/src/src/mesa/shader/descrip.mms | [
"BSD-3-Clause"
] |
CREATE TABLE `tb_vmghxdnngw` (
`col_cuofmwfcxy` tinytext
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
| SQL | 3 | yuanweikang2020/canal | parse/src/test/resources/ddl/alter/mysql_68.sql | [
"Apache-2.0"
] |
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright (c) 2020 Linumiz
* Author: Parthiban Nallathambi <[email protected]>
*
* Extracted from: infineon/XMCLib/devices/XMC4500/Source/GCC/XMC4500x1024.ld
*/
/* .no_init section contains chipid, SystemCoreClock and trimming data */
KEEP(*(.no_init))
| Linker Script | 2 | maxvankessel/zephyr | soc/arm/infineon_xmc/4xxx/noinit.ld | [
"Apache-2.0"
] |
concrete StructuralUrd of Structural = CatUrd **
open MorphoUrd, ParadigmsUrd, Prelude, NounUrd,ParamX,CommonHindustani in {
flags optimize=all ;
coding = utf8;
lin
above_Prep = mkPrep ["kE awpr"] ["kE awpr"] ;
after_Prep = mkPrep ["kE bed"] ["kE bed"] ;
all_Predet = ss "tmam" ;
almost_AdA, almost_AdN = mkAdN "tqryba" ;
although_Subj = ss "agrch" ;
always_AdV = ss "hmyXh" ;
and_Conj = sd2 [] "awr" ** {n = Pl} ;
because_Subj = ss "kywnkh" ;
before_Prep = mkPrep ["sE phlE"] ["sE phlE"] ;
behind_Prep = mkPrep ["kE pych'E"] ["kE pych'E"] ;
between_Prep = mkPrep "drmyaN" "drmyaN" ;
both7and_DConj = sd2 "dwnwN" "awr" ** {n = Pl} ;
but_PConj = ss "lykn" ;
by8agent_Prep = mkPrep "sE" "" ;
by8means_Prep = mkPrep "pr" "" ;
can8know_VV,can_VV = mkV "skna" ** { isAux = True} ;
during_Prep = mkPrep ["kE drmyaN"] ["kE drmyaN"] ;
either7or_DConj = sd2 "kwy ayk" "ya" ** {n = Sg} ;
everybody_NP = MassNP (UseN (ParadigmsUrd.mkN "hr kwy" "hr kwy" "hr kwy" "hr kwy" "hr kwy" "hr kwy" Masc )); -- not a good way coz need to include NounUrd
every_Det = mkDet "hr" "hr" "hr" "hr" Sg;
everything_NP = MassNP (UseN (ParadigmsUrd.mkN "hr cyz" "hr cyz" "hr cyzw" "sb cyzyN" "sb cyzwN" "sb cyzw" Masc ));
everywhere_Adv = mkAdv "hr jgh" ;
few_Det = mkDet "cnd" "cnd" "cnd" "cnd" Pl ;
first_Ord = {s = "pehla" ; n = Sg} ; --DEPRECATED
for_Prep = mkPrep "kylyE" "kylyE" ;
from_Prep = mkPrep "sE" "sE" ;
he_Pron = personalPN "wh" "as" "" ["as ka"] ["as ky"] ["as kE"] ["as ky"] Sg Masc Pers3_Distant ;
here_Adv = mkAdv "yhaN" ;
here7to_Adv = mkAdv ["yhaN pr"] ;
here7from_Adv = mkAdv ["yhaN sE"] ;
how_IAdv = ss "kysE" ;
how8many_IDet = makeIDet "ktnE" "ktny" Pl ;
how8much_IAdv = ss "ktna" ;
if_Subj = ss "agr" ;
in8front_Prep = mkPrep ["kE samnE"] ["kE samnE"] ;
i_Pron = personalPN "myN" "mjh'" "" "myra" "myry" "myrE" "myry" Sg Masc Pers1;
in_Prep = mkPrep "myN" "myN" ;
it_Pron = personalPN "yh" "as" "as" ["as ka"] ["as ky"] ["as kE"] ["as ky"] Sg Masc Pers3_Near;
less_CAdv = {s = "km" ; p = ""} ;
many_Det = mkDet "bht zyadh" "bht zyadh" "bht zyadh" "bht zyadh" Pl ;
more_CAdv = {s = "zyadh" ; p = "sE" } ;
most_Predet = ss "zyadh tr" ;
much_Det = mkDet "bht" "bht" "bht" "bht" Sg ;
-- must_VV = {
-- s = table {
-- VVF VInf => ["have to"] ;
-- VVF VPres => "must" ;
-- VVF VPPart => ["had to"] ;
-- VVF VPresPart => ["having to"] ;
-- VVF VPast => ["had to"] ; --# notpresent
-- VVPastNeg => ["hadn't to"] ; --# notpresent
-- VVPresNeg => "mustn't"
-- } ;
-- isAux = True
-- } ;
-----b no_Phr = ss "no" ;
no_Utt = ss "nhyN" ;
on_Prep = mkPrep "pr" "pr" ;
-- one_Quant = demoPN "ayk" "ayk" "ayk" ; -- DEPRECATED
only_Predet = ss "Srf" ;
or_Conj = sd2 [] "ya" ** {n = Sg} ;
otherwise_PConj = ss "ya ph'r" ;
part_Prep = mkPrep "" "" ;
please_Voc = ss "mhrbany" ;
possess_Prep = mkPrep "ka" "ky" ;
quite_Adv = ss "KamwX" ;
she_Pron = personalPN "wh" "as" "wh" ["as ky"] ["as ky"] ["as kE"] ["as ky"] Sg Fem Pers3_Distant ;
so_AdA = ss "as lyE" ;
somebody_NP = MassNP (UseN (ParadigmsUrd.mkN "kwy" "kwy" "kwy" "kwy" "kwy" "kwy" Masc ));
someSg_Det = mkDet "kch'" "kch'" "kch'" "kch'" Sg ;
somePl_Det = mkDet "kch'" "kch'" "kch'" "kch'" Pl ;
something_NP = MassNP (UseN (ParadigmsUrd.mkN "kwy cyz" "kwy cyz" "kwy cyz" "kh' cyzyN" "kh' cyzwN" "kh' cyzw" Masc ));
somewhere_Adv = mkAdv ["khyN pr"] ;
that_Quant = demoPN "wh" "as" "an" ;
that_Subj = ss "kh";
there_Adv = mkAdv "whaN" ;
there7to_Adv = mkAdv ["whaN pr"] ;
there7from_Adv = mkAdv ["whaN sE"] ;
therefore_PConj = ss "as lyE" ;
they_Pron = personalPN "wh" "wh" "wh" ["an ka"] ["an ky"] ["an kE"] ["an ky"] Pl Masc Pers3_Distant ; ----
this_Quant = demoPN "yh" "as" "an";
through_Prep = mkPrep ["myN sE"] ["myN sE"] ;
too_AdA = ss "bht" ;
to_Prep = mkPrep "kw" "kw" ; -- ** {lock_Prep = <>};
under_Prep = mkPrep "kE nycE" "kE nycE" ; -- ** {lock_Prep = <>};
very_AdA = ss "bht" ;
want_VV = mkV "cahna" ** { isAux = False} ;
we_Pron = personalPN "hm" "hm" "hm" "hmara" "hmary" "hmarE" "hmary" Pl Masc Pers1 ;
whatSg_IP = mkIP "kya" "ks" "ks" Sg Masc ;
whatPl_IP = mkIP "kya" "kn" "kn" Pl Masc ;
when_IAdv = ss "kb" ;
when_Subj = ss "jb" ;
where_IAdv = ss "khaN" ;
-- which_IQuant = {s = \\_ => "kwn sy"} ;
which_IQuant = mkIQuant "kwn" ;
-- whichPl_IDet = makeDet "kwn sa" "kwn sy" "kwn sE" "kwn sy" ;
-- whichSg_IDet = makeDet "kwn sa" "kwn sy" "kwn sE" "kwn sy" ;
whoSg_IP = mkIP "kwn" "ks" "ks" Sg Masc ;
whoPl_IP = mkIP "kwn" "kn" "knhwN" Pl Masc ;
why_IAdv = ss "kywN" ;
without_Prep = mkPrep ["kE bGyr"] ["kE bGyr"] ;
with_Prep = mkPrep ["kE sath'"] ["kE sath'"] ;
-- yes_Phr = ss "haN" ;
yes_Utt = ss "haN" ;
youSg_Pron = personalPN "tw" "tw" "tw" "tyra" "tyry" "tyrE" "tyry" Sg Masc Pers2_Casual ;
youPl_Pron = personalPN "tm" "tm" "tm" "tmh'ara" "tmh'ary" "tmh'arE" "tmh'ary" Pl Masc Pers2_Casual ;
youPol_Pron = personalPN "Ap" "Ap" "Ap" ["Ap ka"] ["Ap ky"] ["Ap kE"] ["Ap ky"] Pl Masc Pers2_Respect ;
no_Quant = demoPN " kwy nhyN" "kwy nhyN" "kwy nhyN" ;
not_Predet = {s="nhyN"} ;
if_then_Conj = sd2 "agr" "tw" ** {n = Sg} ;
at_least_AdN = mkAdN ["km az km"] ;
at_most_AdN = mkAdN ["zyadh sE zyadh"];
nothing_NP = MassNP (UseN (ParadigmsUrd.mkN "kwy cyz nhyN" "kwy cyz nhyN" "kwy cyz nhyN" "kwy cyz nhyN" "kwy cyz nhyN" "kwy cyz nhyN" Masc ));
except_Prep = mkPrep "kE swaE" "kE swaE" ;
nobody_NP = MassNP (UseN (ParadigmsUrd.mkN "kwy nhyN" "kwy nhyN" "kwy nhyN" "kwy nhyN" "kwy nhyN" "kwy nhyN" Masc ));
as_CAdv = {s = "atna" ; p = "jtna"} ;
have_V2 = mkV2 (mkV "rkh'na") "" ;
language_title_Utt = ss "ardw" ;
}
| Grammatical Framework | 4 | daherb/gf-rgl | src/urdu/src/StructuralUrd.gf | [
"BSD-3-Clause"
] |
\documentclass{article}
\usepackage{agda}
\begin{document}
100\% postulated: \begin{code}
postulate A : Set
\end{code}
\end{document}
| Literate Agda | 2 | shlevy/agda | test/LaTeXAndHTML/succeed/EscapedTeXComment.lagda | [
"BSD-3-Clause"
] |
%namespace LSLib.LS.Stats.StatParser
%visibility public
%scannertype StatScanner
%scanbasetype StatScanBase
%tokentype StatTokens
letter [a-zA-Z]
digit [0-9]
namechar [a-zA-Z_]
%%
data([ ]+)\"([^\"]+)\"([ ]+)\"(.*)\" { yylval = MakeDataProperty(yylloc, yytext); return (int)StatTokens.DATA_ITEM; }
/* Reserved words */
"new" return (int)StatTokens.NEW;
"add" return (int)StatTokens.ADD;
"entry" return (int)StatTokens.ENTRY;
"type" return (int)StatTokens.TYPE;
"data" return (int)StatTokens.DATA;
"param" return (int)StatTokens.PARAM;
"using" return (int)StatTokens.USING;
"key" return (int)StatTokens.KEY;
/* Stat entry types */
/* Stat entry types */
"ability" return (int)StatTokens.ABILITY;
/* ItemColors */
"itemcolor" return (int)StatTokens.ITEMCOLOR;
/* ItemProgressionNames */
"namegroup" return (int)StatTokens.NAMEGROUP;
"namecool" return (int)StatTokens.NAMECOOL;
"name" return (int)StatTokens.NAME;
/* ItemProgressionVisuals */
"itemgroup" return (int)StatTokens.ITEMGROUP;
"levelgroup" return (int)StatTokens.LEVELGROUP;
"rootgroup" return (int)StatTokens.ROOTGROUP;
/* Requirements */
"requirement" return (int)StatTokens.REQUIREMENT;
/* DeltaModifiers */
"deltamod" return (int)StatTokens.DELTAMOD;
"new boost" return (int)StatTokens.NEW_BOOST;
/* Equipment */
"equipment" return (int)StatTokens.EQUIPMENT;
"add equipmentgroup" return (int)StatTokens.ADD_EQUIPMENTGROUP;
"add equipment entry" return (int)StatTokens.ADD_EQUIPMENT_ENTRY;
/* ItemComboProperties - TODO */
/* "ItemComboProperty" return (int)StatTokens.ITEMCOMBOPROPERTY;
"new ItemComboPropertyEntry" return (int)StatTokens.NEW_ITEMCOMBOPROPERTYENTRY; */
"ItemCombination" return (int)StatTokens.ITEM_COMBINATION;
"ItemCombinationResult" return (int)StatTokens.ITEM_COMBINATION_RESULT;
/* ObjectCategoryItemComboPreviewData */
"CraftingPreviewData" return (int)StatTokens.CRAFTING_PREVIEW_DATA;
/* SkillSet */
"skillset" return (int)StatTokens.SKILLSET;
"skill" return (int)StatTokens.SKILL;
/* TreasureGroups */
"CategoryMap" return (int)StatTokens.CATEGORY_MAP;
"WeaponCounter" return (int)StatTokens.WEAPON_COUNTER;
"SkillbookCounter" return (int)StatTokens.SKILLBOOK_COUNTER;
"ArmorCounter" return (int)StatTokens.ARMOR_COUNTER;
/* TreasureTable */
"treasure" return (int)StatTokens.TREASURE;
"itemtypes" return (int)StatTokens.ITEMTYPES;
"treasuretable" return (int)StatTokens.TREASURE_TABLE;
"new subtable" return (int)StatTokens.NEW_SUBTABLE;
"object category" return (int)StatTokens.OBJECT_CATEGORY;
"StartLevel" return (int)StatTokens.START_LEVEL;
"EndLevel" return (int)StatTokens.END_LEVEL;
"MinLevel" return (int)StatTokens.MIN_LEVEL;
"MaxLevel" return (int)StatTokens.MAX_LEVEL;
"IgnoreLevelDiff" return (int)StatTokens.IGNORE_LEVEL_DIFF;
"UseTreasureGroups" return (int)StatTokens.USE_TREASURE_GROUPS;
/* Special characters */
"," return (int)',';
[ \t\v\r\n\f] ;
/* Comments */
^[/][/][^\n]*\n ;
({namechar})+ { yylval = MakeLiteral(yytext); return (int)StatTokens.NAME; }
{digit}({digit})* { yylval = MakeLiteral(yytext); return (int)StatTokens.INTEGER; }
L?\"(\\.|[^\\"])*\" { yylval = MakeString(yytext); return (int)StatTokens.STRING; }
. return ((int)StatTokens.BAD);
%{
yylloc = new LSLib.LS.Story.GoalParser.CodeLocation(fileName, tokLin, tokCol, tokELin, tokECol);
%}
| Lex | 3 | EmperorPark/lslib | LSLib/LS/Stats/Parser/Stat.lex | [
"MIT"
] |
export function is32BitInteger(x: unknown): boolean {
return typeof x === `number` && (x | 0) === x
}
| TypeScript | 4 | JQuinnie/gatsby | packages/gatsby/src/utils/is-32-bit-integer.ts | [
"MIT"
] |
t gpio 43 sw out0
t ia2 -ae still_exp P X Y
sleep A
t gpio 43 sw out1
t gpio 43 sw out0
d:\autoexec.ash
reboot yes
| AGS Script | 1 | waltersgrey/autoexechack | LongExpTimeLapse/HERO3-White-Or-Silver/autoexec.ash | [
"MIT"
] |
KIDS Distribution saved on Mar 23, 2021@13:07:15
Released SAMI*18.0*10 SEQ #10 (1.18.0.10-i10)
**KIDS**:SAMI*18.0*10^
**INSTALL NAME**
SAMI*18.0*10
"BLD",11507,0)
SAMI*18.0*10^SAMI^0^3210323^n
"BLD",11507,1,0)
^^1^1^3210310^
"BLD",11507,1,1,0)
Corrections to the CT Eval report
"BLD",11507,4,0)
^9.64PA^^
"BLD",11507,6)
^10
"BLD",11507,6.3)
3
"BLD",11507,"KRN",0)
^9.67PA^1.5^25
"BLD",11507,"KRN",.4,0)
.4
"BLD",11507,"KRN",.401,0)
.401
"BLD",11507,"KRN",.402,0)
.402
"BLD",11507,"KRN",.403,0)
.403
"BLD",11507,"KRN",.5,0)
.5
"BLD",11507,"KRN",.84,0)
.84
"BLD",11507,"KRN",1.5,0)
1.5
"BLD",11507,"KRN",1.6,0)
1.6
"BLD",11507,"KRN",1.61,0)
1.61
"BLD",11507,"KRN",1.62,0)
1.62
"BLD",11507,"KRN",3.6,0)
3.6
"BLD",11507,"KRN",3.8,0)
3.8
"BLD",11507,"KRN",9.2,0)
9.2
"BLD",11507,"KRN",9.8,0)
9.8
"BLD",11507,"KRN",9.8,"NM",0)
^9.68A^13^13
"BLD",11507,"KRN",9.8,"NM",1,0)
SAMICTT0^^0^B95163696
"BLD",11507,"KRN",9.8,"NM",2,0)
SAMICTT1^^0^B117982335
"BLD",11507,"KRN",9.8,"NM",3,0)
SAMICTT2^^0^B115984956
"BLD",11507,"KRN",9.8,"NM",4,0)
SAMICTT3^^0^B222224982
"BLD",11507,"KRN",9.8,"NM",5,0)
SAMICTT4^^0^B54435090
"BLD",11507,"KRN",9.8,"NM",6,0)
SAMICTT9^^0^B17246420
"BLD",11507,"KRN",9.8,"NM",7,0)
SAMICTTA^^0^B34902655
"BLD",11507,"KRN",9.8,"NM",8,0)
SAMIFLD^^0^B215854610
"BLD",11507,"KRN",9.8,"NM",9,0)
SAMICTUL^^0^B93951
"BLD",11507,"KRN",9.8,"NM",10,0)
SAMIFUL^^0^B129116
"BLD",11507,"KRN",9.8,"NM",11,0)
SAMINOT1^^0^B436917317
"BLD",11507,"KRN",9.8,"NM",12,0)
SAMIUR^^0^B283175290
"BLD",11507,"KRN",9.8,"NM",13,0)
SAMINUL^^0^B99724
"BLD",11507,"KRN",9.8,"NM","B","SAMICTT0",1)
"BLD",11507,"KRN",9.8,"NM","B","SAMICTT1",2)
"BLD",11507,"KRN",9.8,"NM","B","SAMICTT2",3)
"BLD",11507,"KRN",9.8,"NM","B","SAMICTT3",4)
"BLD",11507,"KRN",9.8,"NM","B","SAMICTT4",5)
"BLD",11507,"KRN",9.8,"NM","B","SAMICTT9",6)
"BLD",11507,"KRN",9.8,"NM","B","SAMICTTA",7)
"BLD",11507,"KRN",9.8,"NM","B","SAMICTUL",9)
"BLD",11507,"KRN",9.8,"NM","B","SAMIFLD",8)
"BLD",11507,"KRN",9.8,"NM","B","SAMIFUL",10)
"BLD",11507,"KRN",9.8,"NM","B","SAMINOT1",11)
"BLD",11507,"KRN",9.8,"NM","B","SAMINUL",13)
"BLD",11507,"KRN",9.8,"NM","B","SAMIUR",12)
"BLD",11507,"KRN",19,0)
19
"BLD",11507,"KRN",19.1,0)
19.1
"BLD",11507,"KRN",101,0)
101
"BLD",11507,"KRN",409.61,0)
409.61
"BLD",11507,"KRN",771,0)
771
"BLD",11507,"KRN",779.2,0)
779.2
"BLD",11507,"KRN",870,0)
870
"BLD",11507,"KRN",8989.51,0)
8989.51
"BLD",11507,"KRN",8989.52,0)
8989.52
"BLD",11507,"KRN",8993,0)
8993
"BLD",11507,"KRN",8994,0)
8994
"BLD",11507,"KRN","B",.4,.4)
"BLD",11507,"KRN","B",.401,.401)
"BLD",11507,"KRN","B",.402,.402)
"BLD",11507,"KRN","B",.403,.403)
"BLD",11507,"KRN","B",.5,.5)
"BLD",11507,"KRN","B",.84,.84)
"BLD",11507,"KRN","B",1.5,1.5)
"BLD",11507,"KRN","B",1.6,1.6)
"BLD",11507,"KRN","B",1.61,1.61)
"BLD",11507,"KRN","B",1.62,1.62)
"BLD",11507,"KRN","B",3.6,3.6)
"BLD",11507,"KRN","B",3.8,3.8)
"BLD",11507,"KRN","B",9.2,9.2)
"BLD",11507,"KRN","B",9.8,9.8)
"BLD",11507,"KRN","B",19,19)
"BLD",11507,"KRN","B",19.1,19.1)
"BLD",11507,"KRN","B",101,101)
"BLD",11507,"KRN","B",409.61,409.61)
"BLD",11507,"KRN","B",771,771)
"BLD",11507,"KRN","B",779.2,779.2)
"BLD",11507,"KRN","B",870,870)
"BLD",11507,"KRN","B",8989.51,8989.51)
"BLD",11507,"KRN","B",8989.52,8989.52)
"BLD",11507,"KRN","B",8993,8993)
"BLD",11507,"KRN","B",8994,8994)
"BLD",11507,"QDEF")
^^^^NO^^^^NO^^NO
"BLD",11507,"QUES",0)
^9.62^^
"BLD",11507,"REQB",0)
^9.611^6^6
"BLD",11507,"REQB",1,0)
SAMI*18.0*2^1
"BLD",11507,"REQB",2,0)
SAMI*18.0*4^1
"BLD",11507,"REQB",3,0)
SAMI 18.0T05^1
"BLD",11507,"REQB",4,0)
SAMI*18.0*6^1
"BLD",11507,"REQB",5,0)
SAMI*18.0*8^1
"BLD",11507,"REQB",6,0)
SAMI*18.0*9^1
"BLD",11507,"REQB","B","SAMI 18.0T05",3)
"BLD",11507,"REQB","B","SAMI*18.0*2",1)
"BLD",11507,"REQB","B","SAMI*18.0*4",2)
"BLD",11507,"REQB","B","SAMI*18.0*6",4)
"BLD",11507,"REQB","B","SAMI*18.0*8",5)
"BLD",11507,"REQB","B","SAMI*18.0*9",6)
"MBREQ")
0
"PKG",230,-1)
1^1
"PKG",230,0)
SAMI^SAMI^SCREENING APPLICATIONS MANAGEMENT - IELCAP
"PKG",230,22,0)
^9.49I^1^1
"PKG",230,22,1,0)
18.0^3191203
"PKG",230,22,1,"PAH",1,0)
10^3210323^66
"PKG",230,22,1,"PAH",1,1,0)
^^1^1^3210323
"PKG",230,22,1,"PAH",1,1,1,0)
Corrections to the CT Eval report
"QUES","XPF1",0)
Y
"QUES","XPF1","??")
^D REP^XPDH
"QUES","XPF1","A")
Shall I write over your |FLAG| File
"QUES","XPF1","B")
YES
"QUES","XPF1","M")
D XPF1^XPDIQ
"QUES","XPF2",0)
Y
"QUES","XPF2","??")
^D DTA^XPDH
"QUES","XPF2","A")
Want my data |FLAG| yours
"QUES","XPF2","B")
YES
"QUES","XPF2","M")
D XPF2^XPDIQ
"QUES","XPI1",0)
YO
"QUES","XPI1","??")
^D INHIBIT^XPDH
"QUES","XPI1","A")
Want KIDS to INHIBIT LOGONs during the install
"QUES","XPI1","B")
NO
"QUES","XPI1","M")
D XPI1^XPDIQ
"QUES","XPM1",0)
PO^VA(200,:EM
"QUES","XPM1","??")
^D MG^XPDH
"QUES","XPM1","A")
Enter the Coordinator for Mail Group '|FLAG|'
"QUES","XPM1","B")
"QUES","XPM1","M")
D XPM1^XPDIQ
"QUES","XPO1",0)
Y
"QUES","XPO1","??")
^D MENU^XPDH
"QUES","XPO1","A")
Want KIDS to Rebuild Menu Trees Upon Completion of Install
"QUES","XPO1","B")
NO
"QUES","XPO1","M")
D XPO1^XPDIQ
"QUES","XPZ1",0)
Y
"QUES","XPZ1","??")
^D OPT^XPDH
"QUES","XPZ1","A")
Want to DISABLE Scheduled Options, Menu Options, and Protocols
"QUES","XPZ1","B")
NO
"QUES","XPZ1","M")
D XPZ1^XPDIQ
"QUES","XPZ2",0)
Y
"QUES","XPZ2","??")
^D RTN^XPDH
"QUES","XPZ2","A")
Want to MOVE routines to other CPUs
"QUES","XPZ2","B")
NO
"QUES","XPZ2","M")
D XPZ2^XPDIQ
"RTN")
13
"RTN","SAMICTT0")
0^1^B95163696
"RTN","SAMICTT0",1,0)
SAMICTT0 ;ven/gpl - ctreport text main ;2021-03-22T15:32Z
"RTN","SAMICTT0",2,0)
;;18.0;SAMI;**4,10**;2020-01;Build 3
"RTN","SAMICTT0",3,0)
;;1.18.0.10-i10
"RTN","SAMICTT0",4,0)
;
"RTN","SAMICTT0",5,0)
; SAMICTT0 contains a web route & associated subroutines to produce
"RTN","SAMICTT0",6,0)
; the ELCAP CT Report in text format (route ctreport, format text).
"RTN","SAMICTT0",7,0)
; SAMICTT* routines serve web service interfaces WSVAPALS^SAMIHOM3
"RTN","SAMICTT0",8,0)
; (the main VAPALS-ELCAP post web service) & WSHOME^SAMIHOM3 (the
"RTN","SAMICTT0",9,0)
; VAPALS-ELCAP home-page service).
"RTN","SAMICTT0",10,0)
;
"RTN","SAMICTT0",11,0)
quit ; no entry from top
"RTN","SAMICTT0",12,0)
;
"RTN","SAMICTT0",13,0)
;
"RTN","SAMICTT0",14,0)
;
"RTN","SAMICTT0",15,0)
;@section 0 primary development
"RTN","SAMICTT0",16,0)
;
"RTN","SAMICTT0",17,0)
;
"RTN","SAMICTT0",18,0)
;
"RTN","SAMICTT0",19,0)
;@license see routine SAMIUL
"RTN","SAMICTT0",20,0)
;@documentation see SAMICTUL
"RTN","SAMICTT0",21,0)
;@contents
"RTN","SAMICTT0",22,0)
; WSREPORT: web route: ctreport in text format
"RTN","SAMICTT0",23,0)
; OUT: output a line of ct report
"RTN","SAMICTT0",24,0)
; OUTOLD: old version of out
"RTN","SAMICTT0",25,0)
; HOUT: output a ct report header line
"RTN","SAMICTT0",26,0)
; $$XVAL = patient value for var
"RTN","SAMICTT0",27,0)
; $$XSUB = dictionary value defined by var
"RTN","SAMICTT0",28,0)
; GETFILTR: fill in the filter for Ct Eval for sid
"RTN","SAMICTT0",29,0)
; T1: test
"RTN","SAMICTT0",30,0)
;
"RTN","SAMICTT0",31,0)
;
"RTN","SAMICTT0",32,0)
;
"RTN","SAMICTT0",33,0)
;@section 1 wsi WSREPORT & related subroutines
"RTN","SAMICTT0",34,0)
;
"RTN","SAMICTT0",35,0)
;
"RTN","SAMICTT0",36,0)
;
"RTN","SAMICTT0",37,0)
;@wsr WSREPORT^SAMICTT0
"RTN","SAMICTT0",38,0)
WSREPORT(return,filter) ; web route: ctreport in text format
"RTN","SAMICTT0",39,0)
;
"RTN","SAMICTT0",40,0)
;@called-by
"RTN","SAMICTT0",41,0)
; WSNOTE^SAMINOT3
"RTN","SAMICTT0",42,0)
; (called-by wsi WSVAPALS^SAMIHOM3)
"RTN","SAMICTT0",43,0)
; (called by wsi WSHOME^SAMIHOM3)
"RTN","SAMICTT0",44,0)
; (sibling to wri WSREPORT^SAMICTR0, keep in sync)
"RTN","SAMICTT0",45,0)
;@calls
"RTN","SAMICTT0",46,0)
; INIT2GPH^SAMICTD2
"RTN","SAMICTT0",47,0)
; $$setroot^%wd
"RTN","SAMICTT0",48,0)
; $$XVAL
"RTN","SAMICTT0",49,0)
; OUT
"RTN","SAMICTT0",50,0)
; $$XSUB
"RTN","SAMICTT0",51,0)
; HOUT
"RTN","SAMICTT0",52,0)
; NODULES^SAMICTT1
"RTN","SAMICTT0",53,0)
; OTHRLUNG^SAMICTT2
"RTN","SAMICTT0",54,0)
; EMPHYS^SAMICTT3
"RTN","SAMICTT0",55,0)
; BREAST^SAMICTT4
"RTN","SAMICTT0",56,0)
; IMPRSN^SAMICTT9
"RTN","SAMICTT0",57,0)
; RCMND^SAMICTTA
"RTN","SAMICTT0",58,0)
;
"RTN","SAMICTT0",59,0)
s debug=0
"RTN","SAMICTT0",60,0)
n outmode s outmode="go"
"RTN","SAMICTT0",61,0)
n line s line=""
"RTN","SAMICTT0",62,0)
i $g(filter("debug"))=1 s debug=1
"RTN","SAMICTT0",63,0)
;
"RTN","SAMICTT0",64,0)
;s rtn=$na(^TMP("SAMICTT",$J))
"RTN","SAMICTT0",65,0)
s rtn="return"
"RTN","SAMICTT0",66,0)
k @rtn
"RTN","SAMICTT0",67,0)
s HTTPRSP("mime")="text/html"
"RTN","SAMICTT0",68,0)
;
"RTN","SAMICTT0",69,0)
n cnt s cnt=0 ; line number
"RTN","SAMICTT0",70,0)
;
"RTN","SAMICTT0",71,0)
; set up dictionary and patient values
"RTN","SAMICTT0",72,0)
;
"RTN","SAMICTT0",73,0)
n dict,vals
"RTN","SAMICTT0",74,0)
;d INIT^SAMICTD2("dict")
"RTN","SAMICTT0",75,0)
s dict=$$setroot^%wd("cteval-dict")
"RTN","SAMICTT0",76,0)
s dict=$na(@dict@("cteval-dict"))
"RTN","SAMICTT0",77,0)
i $g(@dict@("pet"))="" d INIT2GPH^SAMICTD2 ; init dictionary 1st time
"RTN","SAMICTT0",78,0)
n si
"RTN","SAMICTT0",79,0)
s si=$g(filter("studyid"))
"RTN","SAMICTT0",80,0)
i si="" d ;
"RTN","SAMICTT0",81,0)
. s si="XXX00102"
"RTN","SAMICTT0",82,0)
q:si=""
"RTN","SAMICTT0",83,0)
n samikey
"RTN","SAMICTT0",84,0)
s samikey=$g(filter("form"))
"RTN","SAMICTT0",85,0)
i samikey="" d ;
"RTN","SAMICTT0",86,0)
. s samikey="ceform-2018-10-09"
"RTN","SAMICTT0",87,0)
n root s root=$$setroot^%wd("vapals-patients")
"RTN","SAMICTT0",88,0)
i $g(filter("studyid"))="" s root=$$setroot^%wd("vapals-patients")
"RTN","SAMICTT0",89,0)
s vals=$na(@root@("graph",si,samikey))
"RTN","SAMICTT0",90,0)
;W !,vals
"RTN","SAMICTT0",91,0)
;zwr @vals@(*)
"RTN","SAMICTT0",92,0)
i '$d(@vals) d q ;
"RTN","SAMICTT0",93,0)
. w !,"error, patient values not found"
"RTN","SAMICTT0",94,0)
;
"RTN","SAMICTT0",95,0)
; report parameters
"RTN","SAMICTT0",96,0)
;
"RTN","SAMICTT0",97,0)
n nt,sectionheader,dummy,cac,tex,para,legout
"RTN","SAMICTT0",98,0)
;; n lang,lanread
"RTN","SAMICTT0",99,0)
;
"RTN","SAMICTT0",100,0)
s nt=1
"RTN","SAMICTT0",101,0)
s sectionheader=1
"RTN","SAMICTT0",102,0)
;;s dummy="******"
"RTN","SAMICTT0",103,0)
s cac=""
"RTN","SAMICTT0",104,0)
n cacrec s cacrec=""
"RTN","SAMICTT0",105,0)
;;s tex=0
"RTN","SAMICTT0",106,0)
;s para="<p>"
"RTN","SAMICTT0",107,0)
;s para=$char(13,10)
"RTN","SAMICTT0",108,0)
s para=""
"RTN","SAMICTT0",109,0)
;;s legout=0
"RTN","SAMICTT0",110,0)
n qheader s qheader=0
"RTN","SAMICTT0",111,0)
;
"RTN","SAMICTT0",112,0)
n lang s lang=""
"RTN","SAMICTT0",113,0)
n langread s langread=0
"RTN","SAMICTT0",114,0)
;
"RTN","SAMICTT0",115,0)
n auth s auth("perm")="a"
"RTN","SAMICTT0",116,0)
s auth("inst")=$g(filter("auth"))
"RTN","SAMICTT0",117,0)
;
"RTN","SAMICTT0",118,0)
n newct s newct=0
"RTN","SAMICTT0",119,0)
i $$XVAL("ceoppa",vals)'="" s newct=1
"RTN","SAMICTT0",120,0)
;
"RTN","SAMICTT0",121,0)
n registryForm s registryForm=0
"RTN","SAMICTT0",122,0)
i $$XVAL("ceaf",vals)'="" s registryForm=1
"RTN","SAMICTT0",123,0)
;
"RTN","SAMICTT0",124,0)
;d OUT("<HTML>")
"RTN","SAMICTT0",125,0)
;d OUT("<HEAD>")
"RTN","SAMICTT0",126,0)
;d OUT("<!-- Calling TR: CT Evaluation Report -->")
"RTN","SAMICTT0",127,0)
;d OUT("<TITLE>CT Evaluation Report</TITLE>")
"RTN","SAMICTT0",128,0)
;d OUT("<link rel='stylesheet' href='/css/report.css'>")
"RTN","SAMICTT0",129,0)
;d OUT("</HEAD>")
"RTN","SAMICTT0",130,0)
;d OUT("<BODY BGCOLOR=""#ffffff"" TEXT=""#000000"">")
"RTN","SAMICTT0",131,0)
;;d OUT("<TABLE border=""0"" cellspacing=""0"" cellpadding=""3"" WIDTH=""640""><TR><TD>")
"RTN","SAMICTT0",132,0)
;d OUT("<FONT SIZE=""+2""><CENTER>")
"RTN","SAMICTT0",133,0)
;d OUT("<!-- Calling TR: CT Evaluation Report -->")
"RTN","SAMICTT0",134,0)
;d OUT("<B>CT Evaluation Report</B>")
"RTN","SAMICTT0",135,0)
d OUT("CT Evaluation Report")
"RTN","SAMICTT0",136,0)
;d OUT("</CENTER></FONT>")
"RTN","SAMICTT0",137,0)
;d OUT("</TD></TR><TR><TD>")
"RTN","SAMICTT0",138,0)
;d OUT("<HR SIZE=""2"" WIDTH=""100%"" ALIGN=""center"" NOSHADE>")
"RTN","SAMICTT0",139,0)
;d OUT("</TD></TR>")
"RTN","SAMICTT0",140,0)
;
"RTN","SAMICTT0",141,0)
;d OUT("<!-- patient information -->")
"RTN","SAMICTT0",142,0)
;d OUT("<TR><TD><TABLE border=""0"" cellspacing=""0"" cellpadding=""3"" WIDTH=""640"">")
"RTN","SAMICTT0",143,0)
;
"RTN","SAMICTT0",144,0)
; generate header
"RTN","SAMICTT0",145,0)
;
"RTN","SAMICTT0",146,0)
d ;
"RTN","SAMICTT0",147,0)
. n pname
"RTN","SAMICTT0",148,0)
. ;s pname=$$XVAL("sinamel",vals)_", "_$$XVAL("sinamef",vals)
"RTN","SAMICTT0",149,0)
. s pname=$$XVAL("saminame",vals)
"RTN","SAMICTT0",150,0)
. d OUT("Participant Name: "_pname)
"RTN","SAMICTT0",151,0)
;d OUT("<TR><TD WIDTH=""180""><B>Participant Name:</B></TD><TD WIDTH=""365"">")
"RTN","SAMICTT0",152,0)
;d OUT($$XVAL("sinamel",vals)_", "_$$XVAL("sinamef",vals))
"RTN","SAMICTT0",153,0)
;d OUT("</TD>")
"RTN","SAMICTT0",154,0)
;
"RTN","SAMICTT0",155,0)
d ;
"RTN","SAMICTT0",156,0)
. n sid s sid=$$XVAL("sisid",vals)
"RTN","SAMICTT0",157,0)
. d OUT("Study ID: "_sid)
"RTN","SAMICTT0",158,0)
;d OUT("<TD WIDTH=""120""><B>Study ID:</B></TD><TD WIDTH=""75"">")
"RTN","SAMICTT0",159,0)
;d OUT($$XVAL("sisid",vals))
"RTN","SAMICTT0",160,0)
;d OUT("</TD>")
"RTN","SAMICTT0",161,0)
;
"RTN","SAMICTT0",162,0)
d ;
"RTN","SAMICTT0",163,0)
. n etype s etype=$$XSUB("cetex",vals,dict)_" "_$$XSUB("cectp",vals,dict)
"RTN","SAMICTT0",164,0)
. d OUT("Type of Examination: "_etype)
"RTN","SAMICTT0",165,0)
;d OUT("<TR><TD><B>Type of Examination:</B></TD><TD>")
"RTN","SAMICTT0",166,0)
;d OUT($$XSUB("cetex",vals,dict)_" "_$$XSUB("cectp",vals,dict))
"RTN","SAMICTT0",167,0)
;d OUT("</TD>")
"RTN","SAMICTT0",168,0)
;d OUT("<TD> </TD><TD> </TD></TR>")
"RTN","SAMICTT0",169,0)
;
"RTN","SAMICTT0",170,0)
d ;
"RTN","SAMICTT0",171,0)
. n edate s edate=$$XVAL("cedos",vals)
"RTN","SAMICTT0",172,0)
. d OUT("Examination Date: "_edate)
"RTN","SAMICTT0",173,0)
;d OUT("<TR><TD><B>Examination Date:</B></TD><TD>")
"RTN","SAMICTT0",174,0)
;d OUT($$XVAL("cedos",vals))
"RTN","SAMICTT0",175,0)
;
"RTN","SAMICTT0",176,0)
;i $$XVAL("sidob",vals)'=-1 d ;
"RTN","SAMICTT0",177,0)
;. d OUT("<TD><B>Date of Birth:</B></TD><TD>")
"RTN","SAMICTT0",178,0)
;. d OUT($$XVAL("sidob",vals))
"RTN","SAMICTT0",179,0)
;e d OUT("<TD> </TD><TD> </TD></TR>")
"RTN","SAMICTT0",180,0)
;
"RTN","SAMICTT0",181,0)
d ;
"RTN","SAMICTT0",182,0)
. n dob s dob=$$XVAL("sidob",vals)
"RTN","SAMICTT0",183,0)
. i dob>0 d OUT("Date of Birth: "_dob)
"RTN","SAMICTT0",184,0)
. d OUT("")
"RTN","SAMICTT0",185,0)
;i $$XVAL("sidob",vals)>0 d ;
"RTN","SAMICTT0",186,0)
;. d OUT("<TD><B>Date of Birth:</B></TD><TD>")
"RTN","SAMICTT0",187,0)
;. d OUT($$XVAL("sidob",vals))
"RTN","SAMICTT0",188,0)
;. d OUT("</TD></TR>")
"RTN","SAMICTT0",189,0)
;e d ;
"RTN","SAMICTT0",190,0)
;. d OUT("<TD> </TD><TD> </TD></TR>")
"RTN","SAMICTT0",191,0)
;
"RTN","SAMICTT0",192,0)
;# End of Header
"RTN","SAMICTT0",193,0)
;
"RTN","SAMICTT0",194,0)
;d OUT("</TABLE>")
"RTN","SAMICTT0",195,0)
;;d OUT("</TD></TR><TR><TD>")
"RTN","SAMICTT0",196,0)
;d OUT("<HR SIZE=""2"" WIDTH=""100%"" ALIGN=""center"" NOSHADE>")
"RTN","SAMICTT0",197,0)
;d OUT("</TD></TR>")
"RTN","SAMICTT0",198,0)
;d OUT("<!-- report -->")
"RTN","SAMICTT0",199,0)
;d OUT("<TR><TD>")
"RTN","SAMICTT0",200,0)
;d OUT("<FONT SIZE=""+2""><B>")
"RTN","SAMICTT0",201,0)
;d OUT("Report:")
"RTN","SAMICTT0",202,0)
;d OUT("</B></FONT>")
"RTN","SAMICTT0",203,0)
;d OUT("</TD></TR><TR><TD><TABLE><TR><TD WIDTH=20></TD><TD>")
"RTN","SAMICTT0",204,0)
d OUT("Report:")
"RTN","SAMICTT0",205,0)
;
"RTN","SAMICTT0",206,0)
s outmode="hold"
"RTN","SAMICTT0",207,0)
s line=""
"RTN","SAMICTT0",208,0)
i $$XVAL("ceclin",vals)'="" d ;
"RTN","SAMICTT0",209,0)
. d HOUT("Clinical Information: ")
"RTN","SAMICTT0",210,0)
. d OUT($$XVAL("ceclin",vals))
"RTN","SAMICTT0",211,0)
. s outmode="go" d OUT("")
"RTN","SAMICTT0",212,0)
;
"RTN","SAMICTT0",213,0)
s outmode="hold"
"RTN","SAMICTT0",214,0)
n nopri s nopri=1
"RTN","SAMICTT0",215,0)
d HOUT("Comparison CT Scans: ")
"RTN","SAMICTT0",216,0)
if $$XVAL("cedcs",vals)'="" d ;
"RTN","SAMICTT0",217,0)
. d OUT($$XSUB("cetex",vals,dict)_". ")
"RTN","SAMICTT0",218,0)
. d OUT("Comparisons: "_$$XVAL("cedcs",vals))
"RTN","SAMICTT0",219,0)
. s nopri=0
"RTN","SAMICTT0",220,0)
if $$XVAL("cedps",vals)'="" d ;
"RTN","SAMICTT0",221,0)
. d OUT(" "_$$XVAL("cedps",vals))
"RTN","SAMICTT0",222,0)
. s nopri=0
"RTN","SAMICTT0",223,0)
d:nopri OUT("None")
"RTN","SAMICTT0",224,0)
s outmode="go" d OUT("")
"RTN","SAMICTT0",225,0)
;
"RTN","SAMICTT0",226,0)
s outmode="hold"
"RTN","SAMICTT0",227,0)
d HOUT(" Description: ")
"RTN","SAMICTT0",228,0)
i $$XVAL("cectp",vals)="i" d ;
"RTN","SAMICTT0",229,0)
. d OUT("Limited Diagnostic CT examination was performed. ")
"RTN","SAMICTT0",230,0)
e d ;
"RTN","SAMICTT0",231,0)
. d OUT("CT examination of the entire thorax was performed at "_$$XSUB("cectp",vals,dict)_" settings. ")
"RTN","SAMICTT0",232,0)
;
"RTN","SAMICTT0",233,0)
i $$XVAL("cectrst",vals)'="" d ;
"RTN","SAMICTT0",234,0)
. d OUT(" Images were obtained at "_$$XVAL("cectrst",vals)_" mm slice thickness. ")
"RTN","SAMICTT0",235,0)
. d OUT(" Multiplanar reconstructions were performed. ")
"RTN","SAMICTT0",236,0)
;
"RTN","SAMICTT0",237,0)
i newct d ;
"RTN","SAMICTT0",238,0)
. n nvadbo s nvadbo=1
"RTN","SAMICTT0",239,0)
. n ii
"RTN","SAMICTT0",240,0)
. f ii="ceoaa","ceaga","ceasa","ceala","ceapa","ceaaa","ceaka" d ;
"RTN","SAMICTT0",241,0)
. . i $$XVAL(ii,vals)="y" set nvadbo=0
"RTN","SAMICTT0",242,0)
. ;
"RTN","SAMICTT0",243,0)
. i nvadbo=1 d ;
"RTN","SAMICTT0",244,0)
. . d OUT("Upper abdominal images were not acquired on the current scan due to its limited nature. ")
"RTN","SAMICTT0",245,0)
s outmode="go" d OUT("")
"RTN","SAMICTT0",246,0)
;
"RTN","SAMICTT0",247,0)
; lung nodules
"RTN","SAMICTT0",248,0)
;
"RTN","SAMICTT0",249,0)
;d OUT("")
"RTN","SAMICTT0",250,0)
d HOUT("Lung Nodules:")
"RTN","SAMICTT0",251,0)
;d OUT("")
"RTN","SAMICTT0",252,0)
;
"RTN","SAMICTT0",253,0)
; see if there are any nodules using the cectXch fields
"RTN","SAMICTT0",254,0)
;
"RTN","SAMICTT0",255,0)
n ij,hasnodules s hasnodules=0
"RTN","SAMICTT0",256,0)
f ij=1:1:10 i ($$XVAL("cect"_ij_"ch",vals)'="")&($$XVAL("cect"_ij_"ch",vals)'="-") s hasnodules=1
"RTN","SAMICTT0",257,0)
;
"RTN","SAMICTT0",258,0)
i hasnodules=0 d ;
"RTN","SAMICTT0",259,0)
. d OUT(para)
"RTN","SAMICTT0",260,0)
. d OUT("No pulmonary nodules are seen. "_para)
"RTN","SAMICTT0",261,0)
;
"RTN","SAMICTT0",262,0)
;i $$XVAL("cennod",vals)="" d ;
"RTN","SAMICTT0",263,0)
;. d OUT(para)
"RTN","SAMICTT0",264,0)
;. d OUT("No pulmonary nodules are seen. "_para)
"RTN","SAMICTT0",265,0)
;e i $$XVAL("ceanod",vals)="n" d ;
"RTN","SAMICTT0",266,0)
;. d OUT(para)
"RTN","SAMICTT0",267,0)
;. d OUT("No pulmonary nodules are seen. "_para)
"RTN","SAMICTT0",268,0)
;
"RTN","SAMICTT0",269,0)
d NODULES^SAMICTT1(rtn,.vals,.dict)
"RTN","SAMICTT0",270,0)
;
"RTN","SAMICTT0",271,0)
d OTHRLUNG^SAMICTT2(rtn,.vals,.dict)
"RTN","SAMICTT0",272,0)
;
"RTN","SAMICTT0",273,0)
d EMPHYS^SAMICTT3(rtn,.vals,.dict)
"RTN","SAMICTT0",274,0)
;
"RTN","SAMICTT0",275,0)
d BREAST^SAMICTT4(rtn,.vals,.dict)
"RTN","SAMICTT0",276,0)
;
"RTN","SAMICTT0",277,0)
d IMPRSN^SAMICTT9(rtn,.vals,.dict)
"RTN","SAMICTT0",278,0)
;
"RTN","SAMICTT0",279,0)
d RCMND^SAMICTTA(rtn,.vals,.dict)
"RTN","SAMICTT0",280,0)
;
"RTN","SAMICTT0",281,0)
; etc etc
"RTN","SAMICTT0",282,0)
;
"RTN","SAMICTT0",283,0)
d ;
"RTN","SAMICTT0",284,0)
. d OUT("References:")
"RTN","SAMICTT0",285,0)
. d OUT("Recommendations for nodules and other findings are detailed in the I-ELCAP Protocol. ")
"RTN","SAMICTT0",286,0)
. d OUT("A summary and the full I-ELCAP protocol can be viewed at: http://ielcap.org/protocols")
"RTN","SAMICTT0",287,0)
;d OUT("</TABLE>")
"RTN","SAMICTT0",288,0)
;d OUT("<p><br></p><p><b>References:</b><br></p>")
"RTN","SAMICTT0",289,0)
;d OUT("<p>Recommendations for nodules and other findings are detailed in the I-ELCAP Protocol.<BR>")
"RTN","SAMICTT0",290,0)
;d OUT("A summary and the full I-ELCAP protocol can be viewed at: <a href=""http://ielcap.org/protocols"">http://ielcap.org/protocols</a></p>")
"RTN","SAMICTT0",291,0)
;d OUT("</TD></TR></TABLE></TD></TR></TABLE>")
"RTN","SAMICTT0",292,0)
;s debug=1
"RTN","SAMICTT0",293,0)
d:$g(debug) ;
"RTN","SAMICTT0",294,0)
. n zi s zi=""
"RTN","SAMICTT0",295,0)
. f s zi=$o(@vals@(zi)) q:zi="" d ;
"RTN","SAMICTT0",296,0)
. . d OUT(zi_" "_$g(@vals@(zi)))
"RTN","SAMICTT0",297,0)
;d OUT("</BODY></HTML>")
"RTN","SAMICTT0",298,0)
;
"RTN","SAMICTT0",299,0)
quit ; end of wsr WSREPORT^SAMICTT0
"RTN","SAMICTT0",300,0)
;
"RTN","SAMICTT0",301,0)
;
"RTN","SAMICTT0",302,0)
;
"RTN","SAMICTT0",303,0)
OUT(ln) ; output a line of ct report
"RTN","SAMICTT0",304,0)
;
"RTN","SAMICTT0",305,0)
i outmode="hold" s line=line_ln q ;
"RTN","SAMICTT0",306,0)
s cnt=cnt+1
"RTN","SAMICTT0",307,0)
n lnn
"RTN","SAMICTT0",308,0)
i $g(debug)'=1 s debug=0
"RTN","SAMICTT0",309,0)
s lnn=$o(@rtn@(" "),-1)+1
"RTN","SAMICTT0",310,0)
i outmode="go" d ;
"RTN","SAMICTT0",311,0)
. s @rtn@(lnn)=line
"RTN","SAMICTT0",312,0)
. s line=""
"RTN","SAMICTT0",313,0)
. s lnn=$o(@rtn@(" "),-1)+1
"RTN","SAMICTT0",314,0)
s @rtn@(lnn)=ln
"RTN","SAMICTT0",315,0)
i $g(debug)=1 d ;
"RTN","SAMICTT0",316,0)
. i ln["<" q ; no markup
"RTN","SAMICTT0",317,0)
. n zs s zs=$STACK
"RTN","SAMICTT0",318,0)
. n zp s zp=$STACK(zs-2,"PLACE")
"RTN","SAMICTT0",319,0)
. s @rtn@(lnn)=zp_":"_ln
"RTN","SAMICTT0",320,0)
;
"RTN","SAMICTT0",321,0)
quit ; end of OUT
"RTN","SAMICTT0",322,0)
;
"RTN","SAMICTT0",323,0)
;
"RTN","SAMICTT0",324,0)
;
"RTN","SAMICTT0",325,0)
OUTOLD(ln) ; old version of out
"RTN","SAMICTT0",326,0)
;
"RTN","SAMICTT0",327,0)
s cnt=cnt+1
"RTN","SAMICTT0",328,0)
n lnn
"RTN","SAMICTT0",329,0)
;s debug=1
"RTN","SAMICTT0",330,0)
s lnn=$o(@rtn@(" "),-1)+1
"RTN","SAMICTT0",331,0)
s @rtn@(lnn)=ln
"RTN","SAMICTT0",332,0)
i $g(debug)=1 d ;
"RTN","SAMICTT0",333,0)
. i ln["<" q ; no markup
"RTN","SAMICTT0",334,0)
. n zs s zs=$STACK
"RTN","SAMICTT0",335,0)
. n zp s zp=$STACK(zs-2,"PLACE")
"RTN","SAMICTT0",336,0)
. s @rtn@(lnn)=zp_":"_ln
"RTN","SAMICTT0",337,0)
;
"RTN","SAMICTT0",338,0)
quit ; end of OUTOLD
"RTN","SAMICTT0",339,0)
;
"RTN","SAMICTT0",340,0)
;
"RTN","SAMICTT0",341,0)
;
"RTN","SAMICTT0",342,0)
HOUT(ln) ; output a ct report header line
"RTN","SAMICTT0",343,0)
;
"RTN","SAMICTT0",344,0)
d OUT(ln)
"RTN","SAMICTT0",345,0)
;d OUT("<p><span class='sectionhead'>"_ln_"</span>")
"RTN","SAMICTT0",346,0)
;
"RTN","SAMICTT0",347,0)
quit ; end of HOUT
"RTN","SAMICTT0",348,0)
;
"RTN","SAMICTT0",349,0)
;
"RTN","SAMICTT0",350,0)
;
"RTN","SAMICTT0",351,0)
XVAL(var,vals) ; extrinsic returns the patient value for var
"RTN","SAMICTT0",352,0)
;
"RTN","SAMICTT0",353,0)
;@input
"RTN","SAMICTT0",354,0)
; @vals is passed by name
"RTN","SAMICTT0",355,0)
;
"RTN","SAMICTT0",356,0)
n zr
"RTN","SAMICTT0",357,0)
s zr=$g(@vals@(var))
"RTN","SAMICTT0",358,0)
;i zr="" s zr="["_var_"]"
"RTN","SAMICTT0",359,0)
;
"RTN","SAMICTT0",360,0)
quit zr ; end of $$XVAL
"RTN","SAMICTT0",361,0)
;
"RTN","SAMICTT0",362,0)
;
"RTN","SAMICTT0",363,0)
;
"RTN","SAMICTT0",364,0)
XSUB(var,vals,dict,valdx) ; extrinsic which returns the dictionary value defined by var
"RTN","SAMICTT0",365,0)
;
"RTN","SAMICTT0",366,0)
; vals and dict are passed by name
"RTN","SAMICTT0",367,0)
; valdx is used for nodules ala cect2co with the nodule number included
"RTN","SAMICTT0",368,0)
;
"RTN","SAMICTT0",369,0)
;n dict s dict=$$setroot^%wd("cteval-dict")
"RTN","SAMICTT0",370,0)
n zr,zv,zdx
"RTN","SAMICTT0",371,0)
s zdx=$g(valdx)
"RTN","SAMICTT0",372,0)
i zdx="" s zdx=var
"RTN","SAMICTT0",373,0)
s zv=$g(@vals@(zdx))
"RTN","SAMICTT0",374,0)
;i zv="" s zr="["_var_"]" q zr
"RTN","SAMICTT0",375,0)
i zv="" s zr="" q zr
"RTN","SAMICTT0",376,0)
s zr=$g(@dict@(var,zv))
"RTN","SAMICTT0",377,0)
;i zr="" s zr="["_var_","_zv_"]"
"RTN","SAMICTT0",378,0)
;
"RTN","SAMICTT0",379,0)
quit zr ; end of $$XSUB
"RTN","SAMICTT0",380,0)
;
"RTN","SAMICTT0",381,0)
;
"RTN","SAMICTT0",382,0)
;
"RTN","SAMICTT0",383,0)
GETFILTR(filter,sid) ; fill in the filter for Ct Eval for sid
"RTN","SAMICTT0",384,0)
;
"RTN","SAMICTT0",385,0)
s filter("studyid")=sid
"RTN","SAMICTT0",386,0)
n items,zform
"RTN","SAMICTT0",387,0)
d GETITEMS^SAMICASE("items",sid)
"RTN","SAMICTT0",388,0)
s zform=$o(items("ceform"))
"RTN","SAMICTT0",389,0)
s filter("form")=zform
"RTN","SAMICTT0",390,0)
;zwr filter
"RTN","SAMICTT0",391,0)
;
"RTN","SAMICTT0",392,0)
quit ; end of GETFILTR
"RTN","SAMICTT0",393,0)
;
"RTN","SAMICTT0",394,0)
;
"RTN","SAMICTT0",395,0)
;
"RTN","SAMICTT0",396,0)
T1(grtn,debug) ; test
"RTN","SAMICTT0",397,0)
;
"RTN","SAMICTT0",398,0)
n filter
"RTN","SAMICTT0",399,0)
;n sid s sid="XXX00333"
"RTN","SAMICTT0",400,0)
;n sid s sid="XXX00484"
"RTN","SAMICTT0",401,0)
n sid s sid="XXX9000001"
"RTN","SAMICTT0",402,0)
d GETFILTR(.filter,sid)
"RTN","SAMICTT0",403,0)
i $g(debug)=1 s filter("debug")=1
"RTN","SAMICTT0",404,0)
d WSNOTE^SAMINOT3(.grtn,.filter)
"RTN","SAMICTT0",405,0)
;d WSREPORT^SAMICTT0(.grtn,.filter)
"RTN","SAMICTT0",406,0)
;
"RTN","SAMICTT0",407,0)
quit ; end of T1
"RTN","SAMICTT0",408,0)
;
"RTN","SAMICTT0",409,0)
;
"RTN","SAMICTT0",410,0)
;
"RTN","SAMICTT0",411,0)
EOR ; end of routine SAMICTT0
"RTN","SAMICTT1")
0^2^B117982335
"RTN","SAMICTT1",1,0)
SAMICTT1 ;ven/gpl - ctreport text nodules ;2021-03-22T15:20Z
"RTN","SAMICTT1",2,0)
;;18.0;SAMI;**4,10**;2020-01;Build 3
"RTN","SAMICTT1",3,0)
;;1.18.0.10-i10
"RTN","SAMICTT1",4,0)
;
"RTN","SAMICTT1",5,0)
; SAMICTT1 creates the Nodules section of the ELCAP CT Report in text
"RTN","SAMICTT1",6,0)
; format.
"RTN","SAMICTT1",7,0)
;
"RTN","SAMICTT1",8,0)
quit ; no entry from top
"RTN","SAMICTT1",9,0)
;
"RTN","SAMICTT1",10,0)
;
"RTN","SAMICTT1",11,0)
;
"RTN","SAMICTT1",12,0)
;@section 0 primary development
"RTN","SAMICTT1",13,0)
;
"RTN","SAMICTT1",14,0)
;
"RTN","SAMICTT1",15,0)
;
"RTN","SAMICTT1",16,0)
;@license see routine SAMIUL
"RTN","SAMICTT1",17,0)
;@documentation see SAMICTUL
"RTN","SAMICTT1",18,0)
;@contents
"RTN","SAMICTT1",19,0)
; NODULES: nodules section of ctreport in text format
"RTN","SAMICTT1",20,0)
; OUT: output a line of ct report
"RTN","SAMICTT1",21,0)
; HOUT: output a ct report header line
"RTN","SAMICTT1",22,0)
; $$XVAL = patient value for var
"RTN","SAMICTT1",23,0)
; $$XSUB = dictionary value defined by var
"RTN","SAMICTT1",24,0)
;
"RTN","SAMICTT1",25,0)
;
"RTN","SAMICTT1",26,0)
;
"RTN","SAMICTT1",27,0)
;@section 1 NODULES & related subroutines
"RTN","SAMICTT1",28,0)
;
"RTN","SAMICTT1",29,0)
;
"RTN","SAMICTT1",30,0)
;
"RTN","SAMICTT1",31,0)
NODULES(rtn,vals,dict) ; nodules section of ctreport in text format
"RTN","SAMICTT1",32,0)
;
"RTN","SAMICTT1",33,0)
;@called-by
"RTN","SAMICTT1",34,0)
; WSREPORT^SAMICTT0
"RTN","SAMICTT1",35,0)
;@calls
"RTN","SAMICTT1",36,0)
; $$XVAL
"RTN","SAMICTT1",37,0)
; OUT
"RTN","SAMICTT1",38,0)
; $$XSUB
"RTN","SAMICTT1",39,0)
; HOUT
"RTN","SAMICTT1",40,0)
;@input
"RTN","SAMICTT1",41,0)
; rtn
"RTN","SAMICTT1",42,0)
; vals
"RTN","SAMICTT1",43,0)
; dict
"RTN","SAMICTT1",44,0)
;@output: nodules section added to cteval report
"RTN","SAMICTT1",45,0)
;
"RTN","SAMICTT1",46,0)
;# Report on Nodules
"RTN","SAMICTT1",47,0)
n firstitem
"RTN","SAMICTT1",48,0)
set firstitem=0
"RTN","SAMICTT1",49,0)
n outmode s outmode="hold"
"RTN","SAMICTT1",50,0)
n line s line=""
"RTN","SAMICTT1",51,0)
n ii set ii=1
"RTN","SAMICTT1",52,0)
;# Information for each nodule
"RTN","SAMICTT1",53,0)
f ii=1:1:10 d ;
"RTN","SAMICTT1",54,0)
. i $$XSUB("cectch",vals,dict,"cect"_ii_"ch")="px" q ;
"RTN","SAMICTT1",55,0)
. i $$XSUB("cectch",vals,dict,"cect"_ii_"ch")="" q ;
"RTN","SAMICTT1",56,0)
. i firstitem=0 d ;
"RTN","SAMICTT1",57,0)
. . ;d OUT("<!-- begin nodule info -->")
"RTN","SAMICTT1",58,0)
. . ;d OUT("<UL TYPE=disc>")
"RTN","SAMICTT1",59,0)
. . set firstitem=1
"RTN","SAMICTT1",60,0)
. ;
"RTN","SAMICTT1",61,0)
. ;d OUT("<LI>")
"RTN","SAMICTT1",62,0)
. n specialcase s specialcase=0
"RTN","SAMICTT1",63,0)
. n ij,ik
"RTN","SAMICTT1",64,0)
. s ik=$$XVAL("cect"_ii_"ch",vals)
"RTN","SAMICTT1",65,0)
. ;f ij="pw","px","pr","pv" i ij=ik s specialcase=1
"RTN","SAMICTT1",66,0)
. i "pwpxprpv"[ik s specialcase=1
"RTN","SAMICTT1",67,0)
. ;
"RTN","SAMICTT1",68,0)
. ;# Example Sentence
"RTN","SAMICTT1",69,0)
. ;# LUL Nodule 1 is non-calcified, non-solid, 6 mm x 6 mm (with 3 x 3) solid component), smooth edge, previously seen and unchanged. (Series 2, Image 65)
"RTN","SAMICTT1",70,0)
. ;# [LOCATION] Nodule [N] is [CALCIFICATION], [SOLID], [L] mm x mm, [SMOOTH], [NEW]. (Series [Series], Image [ImageNum]).
"RTN","SAMICTT1",71,0)
. ;
"RTN","SAMICTT1",72,0)
. n spic s spic=""
"RTN","SAMICTT1",73,0)
. i $$XVAL("cect"_ii_"sp",vals)="y" s spic="spiculated, "
"RTN","SAMICTT1",74,0)
. ;
"RTN","SAMICTT1",75,0)
. n calcification,calcstr,status
"RTN","SAMICTT1",76,0)
. s status=$$XVAL("cect"_ii_"st",vals)
"RTN","SAMICTT1",77,0)
. s @vals@("cect"_ii_"ca")=$s(status="bc":"y",status="pc":"q",1:"n")
"RTN","SAMICTT1",78,0)
. s calcification=$$XSUB("cectca",vals,dict,"cect"_ii_"ca")
"RTN","SAMICTT1",79,0)
. i calcification="" s calcstr="is "_spic_$$XSUB("cectnt",vals,dict,"cect"_ii_"nt")_", "
"RTN","SAMICTT1",80,0)
. e s calcstr="is "_calcification_", "_spic_$$XSUB("cectnt",vals,dict,"cect"_ii_"nt")_", "
"RTN","SAMICTT1",81,0)
. ;
"RTN","SAMICTT1",82,0)
. n vssl,vssw,vsl,vsw,avgs,avgss
"RTN","SAMICTT1",83,0)
. s (vssl,vssw,vsl,vsw,avgs,avgss)=0
"RTN","SAMICTT1",84,0)
. s vssl=$$XVAL("cect"_ii_"ssl",vals)
"RTN","SAMICTT1",85,0)
. i vssl'=0 d ;
"RTN","SAMICTT1",86,0)
. . s vssw=$$XVAL("cect"_ii_"ssw",vals)
"RTN","SAMICTT1",87,0)
. . s avgss=(vssl+vssw)/2
"RTN","SAMICTT1",88,0)
. . s avgss=$j(avgss,1,1)
"RTN","SAMICTT1",89,0)
. s vsl=$$XVAL("cect"_ii_"sl",vals)
"RTN","SAMICTT1",90,0)
. s vsw=$$XVAL("cect"_ii_"sw",vals)
"RTN","SAMICTT1",91,0)
. s avgs=(vsl+vsw)/2
"RTN","SAMICTT1",92,0)
. s avgs=$j(avgs,1,1)
"RTN","SAMICTT1",93,0)
. n scomp
"RTN","SAMICTT1",94,0)
. s scomp=""
"RTN","SAMICTT1",95,0)
. i $$XVAL("cect"_ii_"ssl",vals)'="" d ;
"RTN","SAMICTT1",96,0)
. . ;s scomp=" (solid component "_$$XVAL("cect"_ii_"ssl",vals)_" mm x "_$$XVAL("cect"_ii_"ssw",vals)_" mm average diameter "_avgss_" mm)"
"RTN","SAMICTT1",97,0)
. . s scomp=", solid component "_$$XVAL("cect"_ii_"ssl",vals)_" mm x "_$$XVAL("cect"_ii_"ssw",vals)_" mm (average diameter of "_avgss_" mm)"
"RTN","SAMICTT1",98,0)
. ;
"RTN","SAMICTT1",99,0)
. s calcstr=calcstr_$$XVAL("cect"_ii_"sl",vals)_" mm x "_$$XVAL("cect"_ii_"sw",vals)_" mm (average diameter of "_avgs_" mm)"_scomp_", "
"RTN","SAMICTT1",100,0)
. ;
"RTN","SAMICTT1",101,0)
. n smooth
"RTN","SAMICTT1",102,0)
. ;s smooth=$$XSUB("cectse",vals,dict,"cect"_ii_"se")
"RTN","SAMICTT1",103,0)
. s smooth=$$XVAL("cect"_ii_"se",vals)
"RTN","SAMICTT1",104,0)
. i smooth="y" s calcstr=calcstr_"smooth edges, "
"RTN","SAMICTT1",105,0)
. ;e s calcstr=calcstr_smooth_" edges, " ;nothing if not smooth
"RTN","SAMICTT1",106,0)
. ;
"RTN","SAMICTT1",107,0)
. ; adding distance from costal pleura
"RTN","SAMICTT1",108,0)
. n pldstr
"RTN","SAMICTT1",109,0)
. s pldstr="within "_$$XVAL("cect"_ii_"pld",vals)_" mm of the costal pleura"
"RTN","SAMICTT1",110,0)
. ;
"RTN","SAMICTT1",111,0)
. n skip s skip=0
"RTN","SAMICTT1",112,0)
. ;# 3 cases: parenchymal, endobronchial, and both
"RTN","SAMICTT1",113,0)
. ;
"RTN","SAMICTT1",114,0)
. n en,loc,nloc,endo,ll
"RTN","SAMICTT1",115,0)
. s loc=""
"RTN","SAMICTT1",116,0)
. s nloc=""
"RTN","SAMICTT1",117,0)
. s en=$$XVAL("cect"_ii_"en",vals)
"RTN","SAMICTT1",118,0)
. s ll=$$XVAL("cect"_ii_"ll",vals)
"RTN","SAMICTT1",119,0)
. i ($l(en)<2)!(en="no")!(en="") d ;
"RTN","SAMICTT1",120,0)
. . ;# 1) parenchymal only
"RTN","SAMICTT1",121,0)
. . n X,Y s X=ll
"RTN","SAMICTT1",122,0)
. . X ^%ZOSF("UPPERCASE")
"RTN","SAMICTT1",123,0)
. . s loc=Y
"RTN","SAMICTT1",124,0)
. . s nloc=Y
"RTN","SAMICTT1",125,0)
. . s endo="Nodule"
"RTN","SAMICTT1",126,0)
. e d ;
"RTN","SAMICTT1",127,0)
. . i ll="end" d ;
"RTN","SAMICTT1",128,0)
. . . ;# 2) Endobronchial only
"RTN","SAMICTT1",129,0)
. . . i en="tr" d ;
"RTN","SAMICTT1",130,0)
. . . . s endo="Endotracheal Nodule"
"RTN","SAMICTT1",131,0)
. . . . i specialcase=1 d ;
"RTN","SAMICTT1",132,0)
. . . . . d OUT("Previously seen "_endo_" "_ii_" "_$$XSUB("cectch",vals,dict,"cect"_ii_"ch")_". ")
"RTN","SAMICTT1",133,0)
. . . . e d ;
"RTN","SAMICTT1",134,0)
. . . . . i ($$XVAL("cetex",vals)="b")&($$XVAL("cectch"_ii_"ch",vals)="n") d ;
"RTN","SAMICTT1",135,0)
. . . . . . d OUT(endo_" "_ii_" "_calcstr_" is seen. ")
"RTN","SAMICTT1",136,0)
. . . . . e d OUT(endo_" "_ii_" "_calcstr_" "_$$XSUB("cectch",vals,dict,"cect"_ii_"ch")_". ")
"RTN","SAMICTT1",137,0)
. . . . s skip=1
"RTN","SAMICTT1",138,0)
. . . i en="rm" d ;
"RTN","SAMICTT1",139,0)
. . . . s endo="Nodule"
"RTN","SAMICTT1",140,0)
. . . . s nloc=$$XSUB("cecten",vals,dict,"cect"_ii_"en")
"RTN","SAMICTT1",141,0)
. . . . i specialcase=1 d ;
"RTN","SAMICTT1",142,0)
. . . . . ;d OUT("Previously seen "_nloc_" "_endo_" "_ii_" ")
"RTN","SAMICTT1",143,0)
. . . . . d OUT("Previously seen "_endo_" "_ii_" in the "_nloc_" "_calcstr_" ")
"RTN","SAMICTT1",144,0)
. . . . . d OUT($$XSUB("cectch",vals,dict,"cect"_ii_"ch")_". ")
"RTN","SAMICTT1",145,0)
. . . . e d ;
"RTN","SAMICTT1",146,0)
. . . . . i ($$XVAL("cetex",vals)="b")&($$XVAL("cect"_ii_"ch",vals)="n") d ;
"RTN","SAMICTT1",147,0)
. . . . . . ;d OUT(nloc_" "_endo_" "_ii_". ")
"RTN","SAMICTT1",148,0)
. . . . . . d OUT(endo_" "_ii_" is seen in the "_nloc_" "_calcstr_". ")
"RTN","SAMICTT1",149,0)
. . . . . ;e d OUT(nloc_" "_endo_" "_ii_" "_$$XSUB("cectch",vals,dict,"cect"_ii_"ch")_". ")
"RTN","SAMICTT1",150,0)
. . . . . e d OUT(endo_" "_ii_" in the "_nloc_" "_calcstr_", "_$$XSUB("cectch",vals,dict,"cect"_ii_"ch")_". ")
"RTN","SAMICTT1",151,0)
. . . . s skip=1
"RTN","SAMICTT1",152,0)
. . . i en="bi" d ;
"RTN","SAMICTT1",153,0)
. . . . s endo="Nodule"
"RTN","SAMICTT1",154,0)
. . . . s loc=$$XSUB("cecten",vals,dict,"cect"_ii_"en")
"RTN","SAMICTT1",155,0)
. . . . i specialcase=1 d ;
"RTN","SAMICTT1",156,0)
. . . . . ;d OUT("Previously seen "_endo_" "_ii_" in the "_loc)
"RTN","SAMICTT1",157,0)
. . . . . d OUT("Previously seen "_endo_" "_ii_" in the "_nloc_" "_calcstr_" ")
"RTN","SAMICTT1",158,0)
. . . . . d OUT($$XSUB("cectch",vals,dict,"cect"_ii_"ch")_". ")
"RTN","SAMICTT1",159,0)
. . . . e d ;
"RTN","SAMICTT1",160,0)
. . . . . i ($$XVAL("cetex",vals)="b")&($$XVAL("cect"_ii_"ch",vals)="n") d ;
"RTN","SAMICTT1",161,0)
. . . . . . ;d OUT(endo_" "_ii_" is seen in the "_loc_". ")
"RTN","SAMICTT1",162,0)
. . . . . . d OUT(endo_" "_ii_" is seen in the "_loc_" "_calcstr_". ")
"RTN","SAMICTT1",163,0)
. . . . . e d OUT(nloc_" "_endo_" "_ii_" "_$$XSUB("cectch",vals,dict,"cect"_ii_"ch")_". ")
"RTN","SAMICTT1",164,0)
. . . . s skip=1
"RTN","SAMICTT1",165,0)
. . . i skip=0 d ; "default"
"RTN","SAMICTT1",166,0)
. . . . s endo="Nodule"
"RTN","SAMICTT1",167,0)
. . . . n X,Y
"RTN","SAMICTT1",168,0)
. . . . s X=$$XVAL("cect"_ii_"en",vals)
"RTN","SAMICTT1",169,0)
. . . . X ^%ZOSF("UPPERCASE")
"RTN","SAMICTT1",170,0)
. . . . s nloc=Y
"RTN","SAMICTT1",171,0)
. . . . i specialcase=1 d ;
"RTN","SAMICTT1",172,0)
. . . . . d OUT(nloc_" "_endo_" "_ii_" "_$$XSUB("cectch",vals,dict,"cect"_ii_"ch")_", likely endobronchial. ")
"RTN","SAMICTT1",173,0)
. . . . e d ;
"RTN","SAMICTT1",174,0)
. . . . . ;i ($$XVAL("cetex",vals)="b")&($$XSUB("cectch",vals,dict,"cect"_ii_"ch")="n") d ;
"RTN","SAMICTT1",175,0)
. . . . . i (($$XVAL("cetex",vals)="b")&($$XVAL("cect"_ii_"ch",vals)="n")) d ; gpl 1002
"RTN","SAMICTT1",176,0)
. . . . . . d OUT(nloc_" "_endo_" "_ii_" "_calcstr_" likely endobronchial. ")
"RTN","SAMICTT1",177,0)
. . . . . e d OUT(nloc_" "_endo_" "_ii_" "_calcstr_" "_$$XSUB("cectch",vals,dict,"cect"_ii_"ch")_" likely endobronchial. ")
"RTN","SAMICTT1",178,0)
. . . . s skip=1
"RTN","SAMICTT1",179,0)
. . e d ;
"RTN","SAMICTT1",180,0)
. . . s endo="Nodule"
"RTN","SAMICTT1",181,0)
. . . s loc=$$XSUB("cectll",vals,dict,"cect"_ii_"ll")
"RTN","SAMICTT1",182,0)
. . . n X,Y
"RTN","SAMICTT1",183,0)
. . . s X=$$XVAL("cect"_ii_"en",vals)
"RTN","SAMICTT1",184,0)
. . . X ^%ZOSF("UPPERCASE")
"RTN","SAMICTT1",185,0)
. . . s nloc=Y
"RTN","SAMICTT1",186,0)
. . . i specialcase=1 d ;
"RTN","SAMICTT1",187,0)
. . . . d OUT(nloc_" "_endo_" "_ii_" previously seen with possible endobronchial component")
"RTN","SAMICTT1",188,0)
. . . . d OUT($$XSUB("cectch",vals,dict,"cect"_ii_"ch")_". ")
"RTN","SAMICTT1",189,0)
. . . e d ;
"RTN","SAMICTT1",190,0)
. . . . ;i ($$XVAL("cetex",vals)="b")&($$XSUB("cectch",vals,dict,"cect"_ii_"ch")="n") d ;
"RTN","SAMICTT1",191,0)
. . . . i (($$XVAL("cetex",vals)="b")&($$XVAL("cect"_ii_"ch",vals)="n")) d ; gpl 1002
"RTN","SAMICTT1",192,0)
. . . . . d OUT(nloc_" "_endo_" "_ii_" "_calcstr_" with possible endobronchial component")
"RTN","SAMICTT1",193,0)
. . . . e d OUT(nloc_" "_endo_" "_ii_" "_calcstr_" with possible endobronchial component "_$$XSUB("cectch",vals,dict,"cect"_ii_"ch")_". ")
"RTN","SAMICTT1",194,0)
. . . s skip=1
"RTN","SAMICTT1",195,0)
. i specialcase=1 d ;
"RTN","SAMICTT1",196,0)
. . i skip=0 d ;
"RTN","SAMICTT1",197,0)
. . . d OUT("Previously seen "_nloc_" "_endo_" "_ii_" ")
"RTN","SAMICTT1",198,0)
. . . d OUT($$XSUB("cectch",vals,dict,"cect"_ii_"ch")_". ")
"RTN","SAMICTT1",199,0)
. e d ;
"RTN","SAMICTT1",200,0)
. . i skip=0 d ;
"RTN","SAMICTT1",201,0)
. . . ;# pleural distance only goes here
"RTN","SAMICTT1",202,0)
. . . i $$XVAL("cect"_ii_"pld",vals)'="" s calcstr=calcstr_" "_pldstr_","
"RTN","SAMICTT1",203,0)
. . . ;# Special Handling for "newly seen" on baseline
"RTN","SAMICTT1",204,0)
. . . ;i ($$XVAL("cetex",vals)="b")&($$XSUB("cectch",vals,dict,"cect"_ii_"ch")="n") d ;
"RTN","SAMICTT1",205,0)
. . . i (($$XVAL("cetex",vals)="b")&($$XVAL("cect"_ii_"ch",vals)="n")) d ; gpl 1002
"RTN","SAMICTT1",206,0)
. . . . d OUT(nloc_" "_endo_" "_ii_" "_calcstr)
"RTN","SAMICTT1",207,0)
. . . e d OUT(nloc_" "_endo_" "_ii_" "_calcstr_" "_$$XSUB("cectch",vals,dict,"cect"_ii_"ch")_" ")
"RTN","SAMICTT1",208,0)
. . d OUT(" (Series "_$$XVAL("cect"_ii_"sn",vals)_",") ; added from 1114 gpl1
"RTN","SAMICTT1",209,0)
. . ;i $$XVAL("cect"_ii_"inl",vals)=$$XVAL("cect"_ii_"inh",vals) d ;
"RTN","SAMICTT1",210,0)
. . ;. d OUT(" image "_$$XVAL("cect"_ii_"inh",vals)_"). ")
"RTN","SAMICTT1",211,0)
. . ;e d ;
"RTN","SAMICTT1",212,0)
. . ;. d OUT(" image "_$$XVAL("cect"_ii_"inl",vals)_$$XVAL("cect"_ii_"inh",vals)_"). ")
"RTN","SAMICTT1",213,0)
. . i $$XVAL("cect"_ii_"inh",vals)="" d ;
"RTN","SAMICTT1",214,0)
. . . d OUT(" image "_$$XVAL("cect"_ii_"inl",vals)_"). ")
"RTN","SAMICTT1",215,0)
. . e d ;
"RTN","SAMICTT1",216,0)
. . . d OUT(" image "_$$XVAL("cect"_ii_"inl",vals)_"-"_$$XVAL("cect"_ii_"inh",vals)_"). ")
"RTN","SAMICTT1",217,0)
. . i $$XVAL("cect"_ii_"co",vals)'="" d OUT($$XVAL("cect"_ii_"co",vals)_". ") ;1122 gpl1
"RTN","SAMICTT1",218,0)
. . n ac
"RTN","SAMICTT1",219,0)
. . s ac=$$XVAL("cect"_ii_"ac",vals)
"RTN","SAMICTT1",220,0)
. . i ac'="" i (ac'="-") i (ac'="s") d ;
"RTN","SAMICTT1",221,0)
. . . d OUT($$XSUB("cectac",vals,dict,"cect"_ii_"ac")_" recommended. ")
"RTN","SAMICTT1",222,0)
. ;
"RTN","SAMICTT1",223,0)
. ; end of nodule processing
"RTN","SAMICTT1",224,0)
. ;
"RTN","SAMICTT1",225,0)
. s outmode="go"
"RTN","SAMICTT1",226,0)
. d OUT("")
"RTN","SAMICTT1",227,0)
. s outmode="hold"
"RTN","SAMICTT1",228,0)
i firstitem'=0 d ;
"RTN","SAMICTT1",229,0)
. ;d OUT("</UL>")
"RTN","SAMICTT1",230,0)
. ;d OUT("<!-- end nodule info -->")
"RTN","SAMICTT1",231,0)
;d OUT("</p>")
"RTN","SAMICTT1",232,0)
;
"RTN","SAMICTT1",233,0)
quit ; end of NODULES
"RTN","SAMICTT1",234,0)
;
"RTN","SAMICTT1",235,0)
;
"RTN","SAMICTT1",236,0)
;
"RTN","SAMICTT1",237,0)
OUT(ln) ; output a line of ct report
"RTN","SAMICTT1",238,0)
;
"RTN","SAMICTT1",239,0)
;@called-by
"RTN","SAMICTT1",240,0)
; NODULES
"RTN","SAMICTT1",241,0)
;@calls none
"RTN","SAMICTT1",242,0)
;@input
"RTN","SAMICTT1",243,0)
; ln = output to add
"RTN","SAMICTT1",244,0)
;@output: line added to report
"RTN","SAMICTT1",245,0)
;
"RTN","SAMICTT1",246,0)
i outmode="hold" s line=line_ln q ;
"RTN","SAMICTT1",247,0)
s cnt=cnt+1
"RTN","SAMICTT1",248,0)
n lnn
"RTN","SAMICTT1",249,0)
;s debug=1
"RTN","SAMICTT1",250,0)
s lnn=$o(@rtn@(" "),-1)+1
"RTN","SAMICTT1",251,0)
i outmode="go" d ;
"RTN","SAMICTT1",252,0)
. s @rtn@(lnn)=line
"RTN","SAMICTT1",253,0)
. s line=""
"RTN","SAMICTT1",254,0)
. s lnn=$o(@rtn@(" "),-1)+1
"RTN","SAMICTT1",255,0)
s @rtn@(lnn)=ln
"RTN","SAMICTT1",256,0)
;
"RTN","SAMICTT1",257,0)
i $g(debug)=1 d ;
"RTN","SAMICTT1",258,0)
. i ln["<" q ; no markup
"RTN","SAMICTT1",259,0)
. n zs s zs=$STACK
"RTN","SAMICTT1",260,0)
. n zp s zp=$STACK(zs-2,"PLACE")
"RTN","SAMICTT1",261,0)
. s @rtn@(lnn)=zp_":"_ln
"RTN","SAMICTT1",262,0)
;
"RTN","SAMICTT1",263,0)
quit ; end of OUT
"RTN","SAMICTT1",264,0)
;
"RTN","SAMICTT1",265,0)
;
"RTN","SAMICTT1",266,0)
;
"RTN","SAMICTT1",267,0)
HOUT(ln) ; output a ct report header line
"RTN","SAMICTT1",268,0)
;
"RTN","SAMICTT1",269,0)
;@called-by
"RTN","SAMICTT1",270,0)
; NODULES
"RTN","SAMICTT1",271,0)
;@calls
"RTN","SAMICTT1",272,0)
; OUT
"RTN","SAMICTT1",273,0)
;@input
"RTN","SAMICTT1",274,0)
; ln = header output to add
"RTN","SAMICTT1",275,0)
;@output: header line added to report
"RTN","SAMICTT1",276,0)
;
"RTN","SAMICTT1",277,0)
d OUT(ln)
"RTN","SAMICTT1",278,0)
;d OUT("<p><span class='sectionhead'>"_ln_"</span>")
"RTN","SAMICTT1",279,0)
;
"RTN","SAMICTT1",280,0)
quit ; end of HOUT
"RTN","SAMICTT1",281,0)
;
"RTN","SAMICTT1",282,0)
;
"RTN","SAMICTT1",283,0)
;
"RTN","SAMICTT1",284,0)
XVAL(var,vals) ; extrinsic returns the patient value for var
"RTN","SAMICTT1",285,0)
;
"RTN","SAMICTT1",286,0)
;@called-by
"RTN","SAMICTT1",287,0)
; NODULES
"RTN","SAMICTT1",288,0)
;@calls none
"RTN","SAMICTT1",289,0)
;@input
"RTN","SAMICTT1",290,0)
; val
"RTN","SAMICTT1",291,0)
; vals is passed by name
"RTN","SAMICTT1",292,0)
;@output = patient value for var
"RTN","SAMICTT1",293,0)
;
"RTN","SAMICTT1",294,0)
n zr
"RTN","SAMICTT1",295,0)
s zr=$g(@vals@(var))
"RTN","SAMICTT1",296,0)
;i zr="" s zr="["_var_"]"
"RTN","SAMICTT1",297,0)
;
"RTN","SAMICTT1",298,0)
quit zr ; end of $$XVAL
"RTN","SAMICTT1",299,0)
;
"RTN","SAMICTT1",300,0)
;
"RTN","SAMICTT1",301,0)
;
"RTN","SAMICTT1",302,0)
XSUB(var,vals,dict,valdx) ; extrinsic which returns the dictionary value defined by var
"RTN","SAMICTT1",303,0)
;
"RTN","SAMICTT1",304,0)
;@called-by
"RTN","SAMICTT1",305,0)
; NODULES
"RTN","SAMICTT1",306,0)
;@calls none
"RTN","SAMICTT1",307,0)
;@input
"RTN","SAMICTT1",308,0)
; val
"RTN","SAMICTT1",309,0)
; vals and dict are passed by name
"RTN","SAMICTT1",310,0)
; valdx is used for nodules ala cect2co with the nodule number included
"RTN","SAMICTT1",311,0)
;@output = dictionary value for var
"RTN","SAMICTT1",312,0)
;
"RTN","SAMICTT1",313,0)
;n dict s dict=$$setroot^%wd("cteval-dict")
"RTN","SAMICTT1",314,0)
n zr,zv,zdx
"RTN","SAMICTT1",315,0)
s zdx=$g(valdx)
"RTN","SAMICTT1",316,0)
i zdx="" s zdx=var
"RTN","SAMICTT1",317,0)
s zv=$g(@vals@(zdx))
"RTN","SAMICTT1",318,0)
;i zv="" s zr="["_var_"]" q zr
"RTN","SAMICTT1",319,0)
i zv="" s zr="" q zr
"RTN","SAMICTT1",320,0)
s zr=$g(@dict@(var,zv))
"RTN","SAMICTT1",321,0)
;i zr="" s zr="["_var_","_zv_"]"
"RTN","SAMICTT1",322,0)
;
"RTN","SAMICTT1",323,0)
quit zr ; end of $$XSUB
"RTN","SAMICTT1",324,0)
;
"RTN","SAMICTT1",325,0)
;
"RTN","SAMICTT1",326,0)
;
"RTN","SAMICTT1",327,0)
EOR ; end of routine SAMICTT1
"RTN","SAMICTT2")
0^3^B115984956
"RTN","SAMICTT2",1,0)
SAMICTT2 ;ven/gpl - ctreport text other lung ;2021-03-22T15:19Z
"RTN","SAMICTT2",2,0)
;;18.0;SAMI;**4,10**;2020-01;Build 3
"RTN","SAMICTT2",3,0)
;;1.18.0.10-i10
"RTN","SAMICTT2",4,0)
;
"RTN","SAMICTT2",5,0)
; SAMICTT2 creates the Other Lung Findings section of the ELCAP CT
"RTN","SAMICTT2",6,0)
; Report in text format.
"RTN","SAMICTT2",7,0)
;
"RTN","SAMICTT2",8,0)
quit ; no entry from top
"RTN","SAMICTT2",9,0)
;
"RTN","SAMICTT2",10,0)
;
"RTN","SAMICTT2",11,0)
;
"RTN","SAMICTT2",12,0)
;@section 0 primary development
"RTN","SAMICTT2",13,0)
;
"RTN","SAMICTT2",14,0)
;
"RTN","SAMICTT2",15,0)
;
"RTN","SAMICTT2",16,0)
;@license see routine SAMIUL
"RTN","SAMICTT2",17,0)
;@documentation see SAMICTUL
"RTN","SAMICTT2",18,0)
;@contents
"RTN","SAMICTT2",19,0)
; OTHRLUNG: other lung findings section of ctreport in text format
"RTN","SAMICTT2",20,0)
; $$LOBESTR = extrinsic returns lobes
"RTN","SAMICTT2",21,0)
; HLFIND: references & sets lfind in calling routine
"RTN","SAMICTT2",22,0)
; OUT: output a line of ct report
"RTN","SAMICTT2",23,0)
; OUTold: old version of out
"RTN","SAMICTT2",24,0)
; HOUT: output a ct report header line
"RTN","SAMICTT2",25,0)
; $$XVAL = patient value for var
"RTN","SAMICTT2",26,0)
; $$XSUB = dictionary value defined by var
"RTN","SAMICTT2",27,0)
;
"RTN","SAMICTT2",28,0)
;
"RTN","SAMICTT2",29,0)
;
"RTN","SAMICTT2",30,0)
;@section 1 OTHRLUNG & related subroutines
"RTN","SAMICTT2",31,0)
;
"RTN","SAMICTT2",32,0)
;
"RTN","SAMICTT2",33,0)
;
"RTN","SAMICTT2",34,0)
OTHRLUNG(rtn,vals,dict) ; other lung findings sect of ct report text
"RTN","SAMICTT2",35,0)
;
"RTN","SAMICTT2",36,0)
; repgen2,repgen3
"RTN","SAMICTT2",37,0)
;
"RTN","SAMICTT2",38,0)
;@called-by
"RTN","SAMICTT2",39,0)
; WSREPORT^SAMICTT0
"RTN","SAMICTT2",40,0)
;@calls
"RTN","SAMICTT2",41,0)
; $$XVAL
"RTN","SAMICTT2",42,0)
; HLFIND
"RTN","SAMICTT2",43,0)
; OUT
"RTN","SAMICTT2",44,0)
; $$LOBESTR
"RTN","SAMICTT2",45,0)
;@input
"RTN","SAMICTT2",46,0)
; rtn
"RTN","SAMICTT2",47,0)
; vals
"RTN","SAMICTT2",48,0)
; dict
"RTN","SAMICTT2",49,0)
;@output: create other lung findings section of ct eval report
"RTN","SAMICTT2",50,0)
;
"RTN","SAMICTT2",51,0)
; starts at "Other lung findings:"
"RTN","SAMICTT2",52,0)
;
"RTN","SAMICTT2",53,0)
;#hputs "Other lung findings:"
"RTN","SAMICTT2",54,0)
s outmode="hold"
"RTN","SAMICTT2",55,0)
n line s line=""
"RTN","SAMICTT2",56,0)
;
"RTN","SAMICTT2",57,0)
n sp1 s sp1=" "
"RTN","SAMICTT2",58,0)
n hfind,lfind,yespp,newct
"RTN","SAMICTT2",59,0)
s (hfind,lfind,yespp)=0
"RTN","SAMICTT2",60,0)
s newct=1
"RTN","SAMICTT2",61,0)
;
"RTN","SAMICTT2",62,0)
;# Add handling for new sections
"RTN","SAMICTT2",63,0)
;# ceopp is new, if it doensn't exist skip whole section
"RTN","SAMICTT2",64,0)
;# only then should old fields be included.
"RTN","SAMICTT2",65,0)
;
"RTN","SAMICTT2",66,0)
i $g(newct)=1 d ;
"RTN","SAMICTT2",67,0)
. i "y"="y" d ;
"RTN","SAMICTT2",68,0)
. . s yespp=1
"RTN","SAMICTT2",69,0)
. . i $$XVAL("cecbc",vals)="y" d ;
"RTN","SAMICTT2",70,0)
. . . d HLFIND ;
"RTN","SAMICTT2",71,0)
. . . d OUT(sp1_"Cyst seen in the "_$$LOBESTR("cecbcl1^cecbcl2^cecbcl3^cecbcl4^cecbcl5",0)_". ") d OUT("")
"RTN","SAMICTT2",72,0)
. . . ;d OUT($$LOBESTR("cecbcl1^cecbcl2^cecbcl3^cecbcl4^cecbcl5",0)_". ")
"RTN","SAMICTT2",73,0)
. . . s yespp=1
"RTN","SAMICTT2",74,0)
. . if $$XVAL("cecbb",vals)="y" d ;
"RTN","SAMICTT2",75,0)
. . . d HLFIND ;
"RTN","SAMICTT2",76,0)
. . . ;d OUT("<br>"_"Bleb or bullae seen in the ")
"RTN","SAMICTT2",77,0)
. . . d OUT(sp1_"Bleb or bullae seen in the "_$$LOBESTR("cecbbl1^cecbbl2^cecbbl3^cecbbl4^cecbbl5",0)_". ") d OUT("")
"RTN","SAMICTT2",78,0)
. . . set yespp=1
"RTN","SAMICTT2",79,0)
. . if $$XVAL("cebrsb",vals)="y" d ;
"RTN","SAMICTT2",80,0)
. . . d HLFIND ;
"RTN","SAMICTT2",81,0)
. . . ;d OUT("<br>"_"Bronchiectasis in the ")
"RTN","SAMICTT2",82,0)
. . . d OUT(sp1_"Bronchiectasis in the "_$$LOBESTR("cebrsbl1^cebrsbl2^cebrsbl3^cebrsbl4^cebrsbl5",0)_". ") d OUT("")
"RTN","SAMICTT2",83,0)
. . . set yespp=1
"RTN","SAMICTT2",84,0)
. . if $$XVAL("cebrs",vals)="y" d ;
"RTN","SAMICTT2",85,0)
. . . if $$XVAL("cebrsb",vals)'="y" d ;
"RTN","SAMICTT2",86,0)
. . . . if $$XVAL("cebrss",vals)'="y" d ;
"RTN","SAMICTT2",87,0)
. . . . . d HLFIND ;
"RTN","SAMICTT2",88,0)
. . . . . ;d OUT("<br>"_"Small Airways Disease in the ")
"RTN","SAMICTT2",89,0)
. . . . . d OUT(sp1_"Small Airways Disease in the "_$$LOBESTR("cebrsl1^cebrsl2^cebrsl3^cebrsl4^cebrsl5",0)_". ") d OUT("")
"RTN","SAMICTT2",90,0)
. . . . . set yespp=1
"RTN","SAMICTT2",91,0)
. . if $$XVAL("cebrss",vals)="y" d ;
"RTN","SAMICTT2",92,0)
. . . d HLFIND ;
"RTN","SAMICTT2",93,0)
. . . ;d OUT("<br>"_"Small Airways Disease/Bronchiolectasis in the ")
"RTN","SAMICTT2",94,0)
. . . d OUT(sp1_"Small Airways Disease/Bronchiolectasis in the "_$$LOBESTR("cebrssl1^cebrssl2^cebrssl3^cebrssl4^cebrssl5",0)_". ") d OUT("")
"RTN","SAMICTT2",95,0)
. . . set yespp=1
"RTN","SAMICTT2",96,0)
. . n numl,str
"RTN","SAMICTT2",97,0)
. . s numl=0
"RTN","SAMICTT2",98,0)
. . s str=""
"RTN","SAMICTT2",99,0)
. . if $$XVAL("cebs",vals)="o" d ;
"RTN","SAMICTT2",100,0)
. . . set yespp=1
"RTN","SAMICTT2",101,0)
. . . set numl=0
"RTN","SAMICTT2",102,0)
. . . set str="Normal bronchial resection margin on"
"RTN","SAMICTT2",103,0)
. . . if $$XVAL("cebsrt",vals)="r" d ;
"RTN","SAMICTT2",104,0)
. . . . s str=str_" right"
"RTN","SAMICTT2",105,0)
. . . . s numl=numl+1
"RTN","SAMICTT2",106,0)
. . . if $$XVAL("cebslt",vals)="l" d ;
"RTN","SAMICTT2",107,0)
. . . . if numl>0 d ;
"RTN","SAMICTT2",108,0)
. . . . . s str=str_" and"
"RTN","SAMICTT2",109,0)
. . . . s str=str_" left"
"RTN","SAMICTT2",110,0)
. . . . s numl=numl+1
"RTN","SAMICTT2",111,0)
. . . s str=str_". "
"RTN","SAMICTT2",112,0)
. . . if numl=0 d ;
"RTN","SAMICTT2",113,0)
. . . . set str="Normal bronchial resection margin noted. "
"RTN","SAMICTT2",114,0)
. . . d HLFIND ;
"RTN","SAMICTT2",115,0)
. . . d OUT(sp1_str)
"RTN","SAMICTT2",116,0)
. . . ;d OUT("<br>")
"RTN","SAMICTT2",117,0)
. . ;if $$XVAL("cebrsb",vals)="y" d ;
"RTN","SAMICTT2",118,0)
. . ;. d HLFIND
"RTN","SAMICTT2",119,0)
. . ;. d OUT("<br>"_"Bronchiectasis in the ")
"RTN","SAMICTT2",120,0)
. . ;. d OUT($$LOBESTR("cebrsbl1^cebrsbl2^cebrsbl3^cebrsbl4^cebrsbl5",0)_". ")
"RTN","SAMICTT2",121,0)
. . ;. set yespp=1
"RTN","SAMICTT2",122,0)
. . if $$XVAL("ceild",vals)="y" d ;
"RTN","SAMICTT2",123,0)
. . . d HLFIND
"RTN","SAMICTT2",124,0)
. . . ;d OUT("<br>"_"Evidence of interstitial lung disease in the ")
"RTN","SAMICTT2",125,0)
. . . d OUT(sp1_"Evidence of interstitial lung disease in the "_$$LOBESTR("ceildl1^ceildl2^ceildl3^ceildl4^ceildl5",0)_". ") d OUT("")
"RTN","SAMICTT2",126,0)
. . . set yespp=1
"RTN","SAMICTT2",127,0)
. . if $$XVAL("cerdc",vals)="y" d ;
"RTN","SAMICTT2",128,0)
. . . d HLFIND
"RTN","SAMICTT2",129,0)
. . . ;d OUT("<br>"_"Regional or diffuse consolidation in the ")
"RTN","SAMICTT2",130,0)
. . . d OUT(sp1_"Regional or diffuse consolidation in the "_$$LOBESTR("cerdcl1^cerdcl2^cerdcl3^cerdcl4^cerdcl5",0)_". ") d OUT("")
"RTN","SAMICTT2",131,0)
. . . set yespp=1
"RTN","SAMICTT2",132,0)
. . ;# scarring may be more complicated (apical, and bilateral)
"RTN","SAMICTT2",133,0)
. . if $$XVAL("cescr",vals)="y" d ;
"RTN","SAMICTT2",134,0)
. . . d HLFIND
"RTN","SAMICTT2",135,0)
. . . ;# If apical use "unilateral apical scarring", if bilateral use "bilateral apical scarring"
"RTN","SAMICTT2",136,0)
. . . ;# Otherwise use our previouse construct
"RTN","SAMICTT2",137,0)
. . . n done s done=0 ; flag to use for other scarring
"RTN","SAMICTT2",138,0)
. . . if $$XVAL("cescrl6",vals)="au" d ;
"RTN","SAMICTT2",139,0)
. . . . d OUT(sp1_"Unilateral apical scarring. ") d OUT("")
"RTN","SAMICTT2",140,0)
. . . . s done=1
"RTN","SAMICTT2",141,0)
. . . else if $$XVAL("cescrl7",vals)="ab" d ;
"RTN","SAMICTT2",142,0)
. . . . d OUT(sp1_"Bilateral apical scarring. ") d OUT("")
"RTN","SAMICTT2",143,0)
. . . . s done=1
"RTN","SAMICTT2",144,0)
. . . if done=0 d ;
"RTN","SAMICTT2",145,0)
. . . . ;d OUT("<br>"_"Scarring in the ")
"RTN","SAMICTT2",146,0)
. . . . d OUT(sp1_"Scarring in the "_$$LOBESTR("cescrl1^cescrl2^cescrl3^cescrl4^cescrl5",1)_". ") d OUT("")
"RTN","SAMICTT2",147,0)
. . . . set yespp=1
"RTN","SAMICTT2",148,0)
. . if $$XVAL("cebat",vals)="y" d ;
"RTN","SAMICTT2",149,0)
. . . d HLFIND
"RTN","SAMICTT2",150,0)
. . . ;d OUT("<br>"_"Other atelectasis in the ")
"RTN","SAMICTT2",151,0)
. . . d OUT(sp1_"Other atelectasis in the "_$$LOBESTR("cebatl1^cebatl2^cebatl3^cebatl4^cebatl5",0)_". ") d OUT("")
"RTN","SAMICTT2",152,0)
. . . set yespp=1
"RTN","SAMICTT2",153,0)
. . if $$XVAL("cerb",vals)="y" d ;
"RTN","SAMICTT2",154,0)
. . . d HLFIND
"RTN","SAMICTT2",155,0)
. . . ;d OUT("<br>"_"Traction bronchiectasis in the ")
"RTN","SAMICTT2",156,0)
. . . d OUT(sp1_"Traction bronchiectasis in the "_$$LOBESTR("cerbl1^cerbl2^cerbl3^cerbl4^cerbl5",0)_". ") d OUT("")
"RTN","SAMICTT2",157,0)
. . . set yespp=1
"RTN","SAMICTT2",158,0)
. . if $$XVAL("cepgo",vals)="y" d ;
"RTN","SAMICTT2",159,0)
. . . d HLFIND
"RTN","SAMICTT2",160,0)
. . . ;d OUT("<br>"_"Peripheral Ground-glass Opacities in the ")
"RTN","SAMICTT2",161,0)
. . . d OUT(sp1_"Peripheral Ground-glass Opacities in the "_$$LOBESTR("cepgol1^cepgol2^cepgol3^cepgol4^cepgol5",0)_". ") d OUT("")
"RTN","SAMICTT2",162,0)
. . . set yespp=1
"RTN","SAMICTT2",163,0)
. . if $$XVAL("ceret",vals)="y" d ;
"RTN","SAMICTT2",164,0)
. . . d HLFIND
"RTN","SAMICTT2",165,0)
. . . ;d OUT("<br>"_"Reticulations in the ")
"RTN","SAMICTT2",166,0)
. . . d OUT(sp1_"Reticulations in the "_$$LOBESTR("ceretl1^ceretl2^ceretl3^ceretl4^ceretl5",0)_". ") d OUT("")
"RTN","SAMICTT2",167,0)
. . . set yespp=1
"RTN","SAMICTT2",168,0)
. . if $$XVAL("cephc",vals)="y" d ;
"RTN","SAMICTT2",169,0)
. . . d HLFIND
"RTN","SAMICTT2",170,0)
. . . ;d OUT("<br>"_"Honeycombing in the ")
"RTN","SAMICTT2",171,0)
. . . d OUT(sp1_"Honeycombing in the "_$$LOBESTR("cephcl1^cephcl2^cephcl3^cephcl4^cephcl5",0)_". ") d OUT("")
"RTN","SAMICTT2",172,0)
. . . set yespp=1
"RTN","SAMICTT2",173,0)
. . if $$XVAL("cepp",vals)="y" d ;
"RTN","SAMICTT2",174,0)
. . . set yespp=1
"RTN","SAMICTT2",175,0)
. . . set numl=0
"RTN","SAMICTT2",176,0)
. . . set str="Pleural or fissural plaques in the "
"RTN","SAMICTT2",177,0)
. . . if $$XVAL("cepprt",vals)="r" d ;
"RTN","SAMICTT2",178,0)
. . . . s str=str_"right"
"RTN","SAMICTT2",179,0)
. . . . s numl=numl+1
"RTN","SAMICTT2",180,0)
. . . if $$XVAL("cepplt",vals)="l" d ;
"RTN","SAMICTT2",181,0)
. . . . if numl>0 d ;
"RTN","SAMICTT2",182,0)
. . . . . s str=str_" and"
"RTN","SAMICTT2",183,0)
. . . . s str=str_" left"
"RTN","SAMICTT2",184,0)
. . . . s numl=numl+1
"RTN","SAMICTT2",185,0)
. . . . if numl>1 s str=str_" lobes"
"RTN","SAMICTT2",186,0)
. . . . else s str=str_" lobe"
"RTN","SAMICTT2",187,0)
. . . . if $$XVAL("ceppca",vals)="c" s str=str_" with calcifications"
"RTN","SAMICTT2",188,0)
. . . . s str=str_". "_para
"RTN","SAMICTT2",189,0)
. . . if numl=0 set str="Pleural or fissural plaques are noted. "
"RTN","SAMICTT2",190,0)
. . . d HLFIND
"RTN","SAMICTT2",191,0)
. . . d OUT(sp1_str)
"RTN","SAMICTT2",192,0)
. . ;
"RTN","SAMICTT2",193,0)
. . ;# Note: Not used for newer CT Evaluation Forms
"RTN","SAMICTT2",194,0)
. . ;if { 0 == [ string compare y [xval cepc] ] } {
"RTN","SAMICTT2",195,0)
. . ; set yespp 1
"RTN","SAMICTT2",196,0)
. . ; hlfind
"RTN","SAMICTT2",197,0)
. . ; puts "[sidestr {Pleural calcifications} cepcrt cepclt]"
"RTN","SAMICTT2",198,0)
. . ;
"RTN","SAMICTT2",199,0)
. . if $$XVAL("cebs",vals)="y" d ;
"RTN","SAMICTT2",200,0)
. . . set yespp=1
"RTN","SAMICTT2",201,0)
. . . set numl=0
"RTN","SAMICTT2",202,0)
. . . set str="Abnormal bronchial resection margin on"
"RTN","SAMICTT2",203,0)
. . . d ;
"RTN","SAMICTT2",204,0)
. . . . if $$XVAL("cebsrt",vals)="r" d ;
"RTN","SAMICTT2",205,0)
. . . . . s str=str_" right"
"RTN","SAMICTT2",206,0)
. . . . . s numl=numl+1
"RTN","SAMICTT2",207,0)
. . . . if $$XVAL("cebslt",vals)="l" d ;
"RTN","SAMICTT2",208,0)
. . . . . if numl>0 s str=str_" and"
"RTN","SAMICTT2",209,0)
. . . . . s str=str_" left"
"RTN","SAMICTT2",210,0)
. . . . . s numl=numl+1
"RTN","SAMICTT2",211,0)
. . . . s str=str_". "
"RTN","SAMICTT2",212,0)
. . . if numl=0 set str="<br>"_"Abnormal bronchial resection margin noted. "
"RTN","SAMICTT2",213,0)
. . . d HLFIND
"RTN","SAMICTT2",214,0)
. . . d OUT(sp1_str)
"RTN","SAMICTT2",215,0)
. . . ;d OUT(para)
"RTN","SAMICTT2",216,0)
. . ;
"RTN","SAMICTT2",217,0)
. . if $L($$XVAL("ceoppa",vals))'=0 d ;
"RTN","SAMICTT2",218,0)
. . . ;# puts "Additional Comments on Parenchymal or Pleural Abnormalities:"
"RTN","SAMICTT2",219,0)
. . . d HLFIND
"RTN","SAMICTT2",220,0)
. . . d OUT(sp1_$$XVAL("ceoppa",vals)_". ") d OUT("")
"RTN","SAMICTT2",221,0)
. . . ;d OUT(para)
"RTN","SAMICTT2",222,0)
. . else if yespp=1 ;d OUT(para)
"RTN","SAMICTT2",223,0)
s outmode="go" d OUT("")
"RTN","SAMICTT2",224,0)
;
"RTN","SAMICTT2",225,0)
quit ; end of OTHRLUNG
"RTN","SAMICTT2",226,0)
;
"RTN","SAMICTT2",227,0)
;
"RTN","SAMICTT2",228,0)
;
"RTN","SAMICTT2",229,0)
LOBESTR(lst,opt) ; extrinsic returns lobes
"RTN","SAMICTT2",230,0)
;
"RTN","SAMICTT2",231,0)
;@called-by
"RTN","SAMICTT2",232,0)
; OTHRLUNG
"RTN","SAMICTT2",233,0)
;@calls
"RTN","SAMICTT2",234,0)
; $$XVAL
"RTN","SAMICTT2",235,0)
; @^%ZOSF("UPPERCASE")
"RTN","SAMICTT2",236,0)
;@input
"RTN","SAMICTT2",237,0)
; lst = a^b^c where a,b and c are variable names
"RTN","SAMICTT2",238,0)
; opt
"RTN","SAMICTT2",239,0)
;@output = lobes
"RTN","SAMICTT2",240,0)
;
"RTN","SAMICTT2",241,0)
n rtstr,lln,tary
"RTN","SAMICTT2",242,0)
s tary=""
"RTN","SAMICTT2",243,0)
s rtstr=""
"RTN","SAMICTT2",244,0)
s lln=$l(lst,"^")
"RTN","SAMICTT2",245,0)
f lzi=1:1:lln d ;
"RTN","SAMICTT2",246,0)
. n tval
"RTN","SAMICTT2",247,0)
. s tval=$$XVAL($p(lst,"^",lzi),vals)
"RTN","SAMICTT2",248,0)
. n X,Y S X=tval X ^%ZOSF("UPPERCASE")
"RTN","SAMICTT2",249,0)
. s tval=Y
"RTN","SAMICTT2",250,0)
. i tval'="" s tary($o(tary(""),-1)+1)=tval
"RTN","SAMICTT2",251,0)
n tcnt s tcnt=$o(tary(""),-1)
"RTN","SAMICTT2",252,0)
q:tcnt=0
"RTN","SAMICTT2",253,0)
i tcnt=1 q tary(1)
"RTN","SAMICTT2",254,0)
i tcnt=2 q tary(1)_" and "_tary(2)
"RTN","SAMICTT2",255,0)
f lzi=1:1:tcnt s rtstr=rtstr_tary(lzi)_$s(lzi<tcnt:", ",1:"")
"RTN","SAMICTT2",256,0)
;
"RTN","SAMICTT2",257,0)
quit rtstr ; end of $$LOBESTR
"RTN","SAMICTT2",258,0)
;
"RTN","SAMICTT2",259,0)
;
"RTN","SAMICTT2",260,0)
;
"RTN","SAMICTT2",261,0)
HLFIND() ; references & sets lfind in calling routine
"RTN","SAMICTT2",262,0)
;
"RTN","SAMICTT2",263,0)
;@called-by
"RTN","SAMICTT2",264,0)
; OTHRLUNG
"RTN","SAMICTT2",265,0)
;@calls
"RTN","SAMICTT2",266,0)
; HOUT
"RTN","SAMICTT2",267,0)
; OUT
"RTN","SAMICTT2",268,0)
;@thruput
"RTN","SAMICTT2",269,0)
; ]lfind
"RTN","SAMICTT2",270,0)
;@output: adds other lung findings header to report
"RTN","SAMICTT2",271,0)
;
"RTN","SAMICTT2",272,0)
i $g(lfind)=0 d ;
"RTN","SAMICTT2",273,0)
. d HOUT("Other lung findings:")
"RTN","SAMICTT2",274,0)
. d OUT("")
"RTN","SAMICTT2",275,0)
. s lfind=1
"RTN","SAMICTT2",276,0)
;
"RTN","SAMICTT2",277,0)
quit ; end of HLFIND
"RTN","SAMICTT2",278,0)
;
"RTN","SAMICTT2",279,0)
;
"RTN","SAMICTT2",280,0)
;
"RTN","SAMICTT2",281,0)
OUT(ln) ; output a line of ct report
"RTN","SAMICTT2",282,0)
;
"RTN","SAMICTT2",283,0)
;@called-by
"RTN","SAMICTT2",284,0)
; OTHRLUNG
"RTN","SAMICTT2",285,0)
; HLFIND
"RTN","SAMICTT2",286,0)
;@calls none
"RTN","SAMICTT2",287,0)
;@input
"RTN","SAMICTT2",288,0)
; ln = output to add
"RTN","SAMICTT2",289,0)
;@output: line added to report
"RTN","SAMICTT2",290,0)
;
"RTN","SAMICTT2",291,0)
i outmode="hold" s line=line_ln q ;
"RTN","SAMICTT2",292,0)
s cnt=cnt+1
"RTN","SAMICTT2",293,0)
n lnn
"RTN","SAMICTT2",294,0)
i $g(debug)'=1 s debug=0
"RTN","SAMICTT2",295,0)
s lnn=$o(@rtn@(" "),-1)+1
"RTN","SAMICTT2",296,0)
i outmode="go" d ;
"RTN","SAMICTT2",297,0)
. s @rtn@(lnn)=line
"RTN","SAMICTT2",298,0)
. s line=""
"RTN","SAMICTT2",299,0)
. s lnn=$o(@rtn@(" "),-1)+1
"RTN","SAMICTT2",300,0)
s @rtn@(lnn)=ln
"RTN","SAMICTT2",301,0)
;
"RTN","SAMICTT2",302,0)
i $g(debug)=1 d ;
"RTN","SAMICTT2",303,0)
. i ln["<" q ; no markup
"RTN","SAMICTT2",304,0)
. n zs s zs=$STACK
"RTN","SAMICTT2",305,0)
. n zp s zp=$STACK(zs-2,"PLACE")
"RTN","SAMICTT2",306,0)
. s @rtn@(lnn)=zp_":"_ln
"RTN","SAMICTT2",307,0)
;
"RTN","SAMICTT2",308,0)
quit ; end of OUT
"RTN","SAMICTT2",309,0)
;
"RTN","SAMICTT2",310,0)
;
"RTN","SAMICTT2",311,0)
;
"RTN","SAMICTT2",312,0)
OUTold(ln) ; old version of out
"RTN","SAMICTT2",313,0)
;
"RTN","SAMICTT2",314,0)
;@called-by none
"RTN","SAMICTT2",315,0)
;@calls none
"RTN","SAMICTT2",316,0)
;@input
"RTN","SAMICTT2",317,0)
; ln = output to add
"RTN","SAMICTT2",318,0)
;@output: line added to report
"RTN","SAMICTT2",319,0)
;
"RTN","SAMICTT2",320,0)
s cnt=cnt+1
"RTN","SAMICTT2",321,0)
n lnn
"RTN","SAMICTT2",322,0)
;s debug=1
"RTN","SAMICTT2",323,0)
s lnn=$o(@rtn@(" "),-1)+1
"RTN","SAMICTT2",324,0)
s @rtn@(lnn)=ln
"RTN","SAMICTT2",325,0)
i $g(debug)=1 d ;
"RTN","SAMICTT2",326,0)
. i ln["<" q ; no markup
"RTN","SAMICTT2",327,0)
. n zs s zs=$STACK
"RTN","SAMICTT2",328,0)
. n zp s zp=$STACK(zs-2,"PLACE")
"RTN","SAMICTT2",329,0)
. s @rtn@(lnn)=zp_":"_ln
"RTN","SAMICTT2",330,0)
;
"RTN","SAMICTT2",331,0)
quit ; end of OUTold
"RTN","SAMICTT2",332,0)
;
"RTN","SAMICTT2",333,0)
;
"RTN","SAMICTT2",334,0)
;
"RTN","SAMICTT2",335,0)
HOUT(ln) ; output a ct report header line
"RTN","SAMICTT2",336,0)
;
"RTN","SAMICTT2",337,0)
;@called-by
"RTN","SAMICTT2",338,0)
; HLFIND
"RTN","SAMICTT2",339,0)
;@calls
"RTN","SAMICTT2",340,0)
; OUT
"RTN","SAMICTT2",341,0)
;@input
"RTN","SAMICTT2",342,0)
; ln = header output to add
"RTN","SAMICTT2",343,0)
;@output: header line added to report
"RTN","SAMICTT2",344,0)
;
"RTN","SAMICTT2",345,0)
d OUT("<p><span class='sectionhead'>"_ln_"</span>")
"RTN","SAMICTT2",346,0)
;
"RTN","SAMICTT2",347,0)
quit ; end of HOUT
"RTN","SAMICTT2",348,0)
;
"RTN","SAMICTT2",349,0)
;
"RTN","SAMICTT2",350,0)
;
"RTN","SAMICTT2",351,0)
XVAL(var,vals) ; extrinsic returns the patient value for var
"RTN","SAMICTT2",352,0)
;
"RTN","SAMICTT2",353,0)
;@called-by
"RTN","SAMICTT2",354,0)
; OTHRLUNG
"RTN","SAMICTT2",355,0)
; $$LOBESTR
"RTN","SAMICTT2",356,0)
;@calls none
"RTN","SAMICTT2",357,0)
;@input
"RTN","SAMICTT2",358,0)
; var
"RTN","SAMICTT2",359,0)
; vals is passed by name
"RTN","SAMICTT2",360,0)
;@output = patient value for var
"RTN","SAMICTT2",361,0)
;
"RTN","SAMICTT2",362,0)
;
"RTN","SAMICTT2",363,0)
n zr
"RTN","SAMICTT2",364,0)
s zr=$g(@vals@(var))
"RTN","SAMICTT2",365,0)
;i zr="" s zr="["_var_"]"
"RTN","SAMICTT2",366,0)
;
"RTN","SAMICTT2",367,0)
quit zr ; end of $$XVAL
"RTN","SAMICTT2",368,0)
;
"RTN","SAMICTT2",369,0)
;
"RTN","SAMICTT2",370,0)
;
"RTN","SAMICTT2",371,0)
XSUB(var,vals,dict,valdx) ; extrinsic which returns the dictionary value defined by var
"RTN","SAMICTT2",372,0)
;
"RTN","SAMICTT2",373,0)
;@called-by none
"RTN","SAMICTT2",374,0)
;@calls none
"RTN","SAMICTT2",375,0)
;@input
"RTN","SAMICTT2",376,0)
; var
"RTN","SAMICTT2",377,0)
; vals and dict are passed by name
"RTN","SAMICTT2",378,0)
; valdx is used for nodules ala cect2co with the nodule number included
"RTN","SAMICTT2",379,0)
;@output = dictionary value for var
"RTN","SAMICTT2",380,0)
;
"RTN","SAMICTT2",381,0)
;n dict s dict=$$setroot^%wd("cteval-dict")
"RTN","SAMICTT2",382,0)
n zr,zv,zdx
"RTN","SAMICTT2",383,0)
s zdx=$g(valdx)
"RTN","SAMICTT2",384,0)
i zdx="" s zdx=var
"RTN","SAMICTT2",385,0)
s zv=$g(@vals@(zdx))
"RTN","SAMICTT2",386,0)
;i zv="" s zr="["_var_"]" q zr
"RTN","SAMICTT2",387,0)
i zv="" s zr="" q zr
"RTN","SAMICTT2",388,0)
s zr=$g(@dict@(var,zv))
"RTN","SAMICTT2",389,0)
;i zr="" s zr="["_var_","_zv_"]"
"RTN","SAMICTT2",390,0)
;
"RTN","SAMICTT2",391,0)
quit zr ; end of $$XSUB
"RTN","SAMICTT2",392,0)
;
"RTN","SAMICTT2",393,0)
;
"RTN","SAMICTT2",394,0)
;
"RTN","SAMICTT2",395,0)
EOR ; end of routine SAMICTT2
"RTN","SAMICTT3")
0^4^B222224982
"RTN","SAMICTT3",1,0)
SAMICTT3 ;ven/gpl - ctreport text emphysema ;2021-03-23T19:41Z
"RTN","SAMICTT3",2,0)
;;18.0;SAMI;**4,10**;2020-01;Build 3
"RTN","SAMICTT3",3,0)
;;1.18.0.10-i10
"RTN","SAMICTT3",4,0)
;
"RTN","SAMICTT3",5,0)
; SAMICTT3 creates the Emphysema section of the ELCAP CT Report in
"RTN","SAMICTT3",6,0)
; text format.
"RTN","SAMICTT3",7,0)
;
"RTN","SAMICTT3",8,0)
quit ; no entry from top
"RTN","SAMICTT3",9,0)
;
"RTN","SAMICTT3",10,0)
;
"RTN","SAMICTT3",11,0)
;
"RTN","SAMICTT3",12,0)
;@section 0 primary development
"RTN","SAMICTT3",13,0)
;
"RTN","SAMICTT3",14,0)
;
"RTN","SAMICTT3",15,0)
;
"RTN","SAMICTT3",16,0)
;@license see routine SAMIUL
"RTN","SAMICTT3",17,0)
;@documentation see SAMICTUL
"RTN","SAMICTT3",18,0)
;@contents
"RTN","SAMICTT3",19,0)
; EMPHYS: emphysema section of ctreport text format
"RTN","SAMICTT3",20,0)
; $$CCMSTR = form phrases
"RTN","SAMICTT3",21,0)
; $$LOWC = convert X to lowercase
"RTN","SAMICTT3",22,0)
; OUT: output a line of ct report
"RTN","SAMICTT3",23,0)
; OUTOLD: old version of out
"RTN","SAMICTT3",24,0)
; HOUT: output a ct report header line
"RTN","SAMICTT3",25,0)
; $$XVAL = patient value for var
"RTN","SAMICTT3",26,0)
; $$XSUB = dictionary value defined by var
"RTN","SAMICTT3",27,0)
;
"RTN","SAMICTT3",28,0)
;
"RTN","SAMICTT3",29,0)
;
"RTN","SAMICTT3",30,0)
;@section 1 EMPHYS & related subroutines
"RTN","SAMICTT3",31,0)
;
"RTN","SAMICTT3",32,0)
;
"RTN","SAMICTT3",33,0)
;
"RTN","SAMICTT3",34,0)
EMPHYS(rtn,vals,dict) ; emphysema section of ct report text format
"RTN","SAMICTT3",35,0)
;
"RTN","SAMICTT3",36,0)
; repgen4,repgen5
"RTN","SAMICTT3",37,0)
;
"RTN","SAMICTT3",38,0)
;@called-by
"RTN","SAMICTT3",39,0)
; WSREPORT^SAMICTT0
"RTN","SAMICTT3",40,0)
;@calls
"RTN","SAMICTT3",41,0)
; $$XVAL
"RTN","SAMICTT3",42,0)
; HOUT
"RTN","SAMICTT3",43,0)
; OUT
"RTN","SAMICTT3",44,0)
; $$XSUB
"RTN","SAMICTT3",45,0)
; $$LOBESTR^SAMICTR2
"RTN","SAMICTT3",46,0)
; $$CCMSTR
"RTN","SAMICTT3",47,0)
; $$LOWC
"RTN","SAMICTT3",48,0)
;@input
"RTN","SAMICTT3",49,0)
; rtn
"RTN","SAMICTT3",50,0)
; vals
"RTN","SAMICTT3",51,0)
; dict
"RTN","SAMICTT3",52,0)
;@output: create emphysema section of ct eval report
"RTN","SAMICTT3",53,0)
;
"RTN","SAMICTT3",54,0)
;# Emphysema
"RTN","SAMICTT3",55,0)
;
"RTN","SAMICTT3",56,0)
n sp1 s sp1=" "
"RTN","SAMICTT3",57,0)
s outmode="hold" s line=""
"RTN","SAMICTT3",58,0)
;if $$XVAL("ceemv",vals)'="e" d ;
"RTN","SAMICTT3",59,0)
if $$XVAL("ceem",vals)'="" d ;
"RTN","SAMICTT3",60,0)
. if $$XVAL("ceem",vals)="nv" q ;
"RTN","SAMICTT3",61,0)
. if $$XVAL("ceem",vals)="no" q ;
"RTN","SAMICTT3",62,0)
. ;d OUT("")
"RTN","SAMICTT3",63,0)
. D HOUT("Emphysema: ")
"RTN","SAMICTT3",64,0)
. ;d OUT("")
"RTN","SAMICTT3",65,0)
. D OUT(sp1_$$XSUB("ceem",vals,dict))
"RTN","SAMICTT3",66,0)
. s outmode="go" d OUT("")
"RTN","SAMICTT3",67,0)
;
"RTN","SAMICTT3",68,0)
if $$XVAL("ceem",vals)="" d ;
"RTN","SAMICTT3",69,0)
. D HOUT("Emphysema: None")
"RTN","SAMICTT3",70,0)
. s outmode="go" d OUT("")
"RTN","SAMICTT3",71,0)
;d OUT("")
"RTN","SAMICTT3",72,0)
s outmode="hold"
"RTN","SAMICTT3",73,0)
D HOUT("Pleura: ")
"RTN","SAMICTT3",74,0)
;d OUT("")
"RTN","SAMICTT3",75,0)
; hputs "Pleura:"
"RTN","SAMICTT3",76,0)
N pe s pe=0
"RTN","SAMICTT3",77,0)
;
"RTN","SAMICTT3",78,0)
; # Pleural Effusion
"RTN","SAMICTT3",79,0)
;
"RTN","SAMICTT3",80,0)
i $$XVAL("cepev",vals)="y" d ;
"RTN","SAMICTT3",81,0)
. if $$XVAL("ceper",vals)="-" d ;
"RTN","SAMICTT3",82,0)
. . if $$XVAL("cepel",vals)="-" d ;
"RTN","SAMICTT3",83,0)
. . . s @vals@("cepev")="e"
"RTN","SAMICTT3",84,0)
. ;
"RTN","SAMICTT3",85,0)
. if $$XVAL("cepev",vals)'="e" d ;
"RTN","SAMICTT3",86,0)
. . if $$XVAL("ceper",vals)'="-" d ;
"RTN","SAMICTT3",87,0)
. . . if $$XVAL("cepel",vals)'="-" d ;
"RTN","SAMICTT3",88,0)
. . . . if $$XVAL("cepel",vals)=$$XVAL("ceper",vals) d ;
"RTN","SAMICTT3",89,0)
. . . . . d OUT(sp1_"Bilateral "_$$XSUB("cepe",vals,dict,"cepel")_" pleural effusions. ") d OUT("")
"RTN","SAMICTT3",90,0)
. . . . else d ;
"RTN","SAMICTT3",91,0)
. . . . . d OUT(sp1_"Bilateral pleural effusions ; "_$$XSUB("cepe",vals,dict,"cepel")_" on left, and "_$$XSUB("cepe",vals,dict,"ceper")_" on right. ")
"RTN","SAMICTT3",92,0)
. . . . . s pe=1
"RTN","SAMICTT3",93,0)
. . . else d ;
"RTN","SAMICTT3",94,0)
. . . . d OUT(sp1_"On right "_$$XSUB("cepe",vals,dict,"cepr")_" pleural effusion and on left "_$$XSUB("cepe",vals,dict,"cepel")_" pleural effusion. ") d OUT("")
"RTN","SAMICTT3",95,0)
. . . . s pe=1
"RTN","SAMICTT3",96,0)
. . else d ;
"RTN","SAMICTT3",97,0)
. . . d OUT(sp1_"On right "_$$XSUB("cepe",vals,dict,"cepr")_" pleural effusion and on left "_$$XSUB("cepe",vals,dict,"cepel")_" pleural effusion. ") d OUT("")
"RTN","SAMICTT3",98,0)
. . . s pe=1
"RTN","SAMICTT3",99,0)
. ;
"RTN","SAMICTT3",100,0)
i $$XVAL("cepev",vals)'="y" d ;
"RTN","SAMICTT3",101,0)
. d OUT(sp1_"No pleural effusions. ") d OUT("")
"RTN","SAMICTT3",102,0)
; if { $pe == 0 } {
"RTN","SAMICTT3",103,0)
; puts "[tr "No pleural effusions"].${para}"
"RTN","SAMICTT3",104,0)
; }
"RTN","SAMICTT3",105,0)
;
"RTN","SAMICTT3",106,0)
n yespp s yespp=0
"RTN","SAMICTT3",107,0)
;
"RTN","SAMICTT3",108,0)
if $$XVAL("cebatr",vals)="y" d ;
"RTN","SAMICTT3",109,0)
. ;d OUT("Rounded atelectasis in the ")
"RTN","SAMICTT3",110,0)
. d OUT(sp1_"Rounded atelectasis in the "_$$LOBESTR^SAMICTR2("cebatrl1^cebatrl2^cebatrl3^cebatrl4^cebatrl5",0)_". ") ;d OUT("")
"RTN","SAMICTT3",111,0)
. s yespp=1
"RTN","SAMICTT3",112,0)
;
"RTN","SAMICTT3",113,0)
if $$XVAL("cept",vals)="y" d ;
"RTN","SAMICTT3",114,0)
. s yespp=1
"RTN","SAMICTT3",115,0)
. s numl=0
"RTN","SAMICTT3",116,0)
. set str=sp1_"Pleural thickening/plaques in the "
"RTN","SAMICTT3",117,0)
. if $$XVAL("ceptrt",vals)="r" d ;
"RTN","SAMICTT3",118,0)
. . s str=str_"right"
"RTN","SAMICTT3",119,0)
. . s numl=numl+1
"RTN","SAMICTT3",120,0)
. if $$XVAL("ceptlt",vals)="l" d ;
"RTN","SAMICTT3",121,0)
. . i numl>0 d ;
"RTN","SAMICTT3",122,0)
. . . s str=str_" and"
"RTN","SAMICTT3",123,0)
. . s str=str_" left"
"RTN","SAMICTT3",124,0)
. . s numl=numl+1
"RTN","SAMICTT3",125,0)
. ;if numl>1 d ;
"RTN","SAMICTT3",126,0)
. ;. s str=str_" lungs. "
"RTN","SAMICTT3",127,0)
. ;else d ;
"RTN","SAMICTT3",128,0)
. ;. s str=str_" lung. "
"RTN","SAMICTT3",129,0)
. s str=str_". "
"RTN","SAMICTT3",130,0)
. if numl=0 set str=sp1_"Pleural thickening/plaques. "
"RTN","SAMICTT3",131,0)
. d OUT(str) ;d OUT("")
"RTN","SAMICTT3",132,0)
;
"RTN","SAMICTT3",133,0)
if $$XVAL("cepu",vals)="y" d ;
"RTN","SAMICTT3",134,0)
. s yespp=1
"RTN","SAMICTT3",135,0)
. if $l($$XVAL("cepus",vals))'=0 d ;
"RTN","SAMICTT3",136,0)
. . d OUT(sp1_"Pleural rumor: "_$$XVAL("cepus",vals))
"RTN","SAMICTT3",137,0)
. e d OUT(sp1_"Pleural tumor. ")
"RTN","SAMICTT3",138,0)
. ;d OUT("")
"RTN","SAMICTT3",139,0)
;
"RTN","SAMICTT3",140,0)
i yespp=0 d OUT("")
"RTN","SAMICTT3",141,0)
;
"RTN","SAMICTT3",142,0)
d ;
"RTN","SAMICTT3",143,0)
. if $$XVAL("ceoppab",vals)'="" d OUT(sp1_$$XVAL("ceoppab",vals)_". ") ;d OUT("")
"RTN","SAMICTT3",144,0)
. else d
"RTN","SAMICTT3",145,0)
. . if yespp=1 d OUT("")
"RTN","SAMICTT3",146,0)
;
"RTN","SAMICTT3",147,0)
s outmode="go" d OUT("")
"RTN","SAMICTT3",148,0)
;
"RTN","SAMICTT3",149,0)
s outmode="hold"
"RTN","SAMICTT3",150,0)
d OUT("Coronary Artery Calcifications: ")
"RTN","SAMICTT3",151,0)
;# Coronary Calcification
"RTN","SAMICTT3",152,0)
n vcac,cac,cacrec
"RTN","SAMICTT3",153,0)
s (cac,cacrec)=""
"RTN","SAMICTT3",154,0)
;
"RTN","SAMICTT3",155,0)
; if $$XVAL("cecccac",vals)'="" d ;
"RTN","SAMICTT3",156,0)
; . s @vals@("ceccv")="e"
"RTN","SAMICTT3",157,0)
;
"RTN","SAMICTT3",158,0)
d if $$XVAL("ceccv",vals)'="n" d ;
"RTN","SAMICTT3",159,0)
. set vcac=$$XVAL("cecccac",vals)
"RTN","SAMICTT3",160,0)
. if vcac'="" d ;
"RTN","SAMICTT3",161,0)
. . s cacrec=""
"RTN","SAMICTT3",162,0)
. . s cac="The Visual Coronary Artery Calcium (CAC) Score is "_vcac_". "
"RTN","SAMICTT3",163,0)
. . s cacval=vcac
"RTN","SAMICTT3",164,0)
. . i cacval>3 s cacrec=$g(@dict@("CAC_recommendation"))
"RTN","SAMICTT3",165,0)
;
"RTN","SAMICTT3",166,0)
;
"RTN","SAMICTT3",167,0)
;n samicac s samicac=0
"RTN","SAMICTT3",168,0)
;i $$XVAL("cecclm",vals)'="no" s samicac=1
"RTN","SAMICTT3",169,0)
;i $$XVAL("ceccld",vals)'="no" s samicac=1
"RTN","SAMICTT3",170,0)
;;i $$XVAL("cecclf",vals)'="no" s samicac=1
"RTN","SAMICTT3",171,0)
;i $$XVAL("cecccf",vals)'="no" s samicac=1
"RTN","SAMICTT3",172,0)
;i $$XVAL("ceccrc",vals)'="no" s samicac=1
"RTN","SAMICTT3",173,0)
;
"RTN","SAMICTT3",174,0)
;;s outmode="hold" s line=""
"RTN","SAMICTT3",175,0)
;i samicac=1 d ;
"RTN","SAMICTT3",176,0)
i $g(@vals@("cecclm"))="-" s @vals@("cecclm")="no"
"RTN","SAMICTT3",177,0)
i $g(@vals@("ceccld"))="-" s @vals@("ceccld")="no"
"RTN","SAMICTT3",178,0)
i $g(@vals@("cecclf"))="-" s @vals@("cecccf")="no"
"RTN","SAMICTT3",179,0)
i $g(@vals@("ceccrc"))="-" s @vals@("ceccrc")="no"
"RTN","SAMICTT3",180,0)
i $g(@vals@("cecclm"))="" s @vals@("cecclm")="no"
"RTN","SAMICTT3",181,0)
i $g(@vals@("ceccld"))="" s @vals@("ceccld")="no"
"RTN","SAMICTT3",182,0)
i $g(@vals@("cecclf"))="" s @vals@("cecccf")="no"
"RTN","SAMICTT3",183,0)
i $g(@vals@("ceccrc"))="" s @vals@("ceccrc")="no"
"RTN","SAMICTT3",184,0)
;
"RTN","SAMICTT3",185,0)
d ;
"RTN","SAMICTT3",186,0)
. d OUT($$XSUB("cecc",vals,dict,"cecclm")_" in left main, ")
"RTN","SAMICTT3",187,0)
. d OUT($$XSUB("cecc",vals,dict,"ceccld")_" in left anterior descending, ")
"RTN","SAMICTT3",188,0)
. ;d OUT($$XSUB("cecc",vals,dict,"cecclf")_" in circumflex, and ")
"RTN","SAMICTT3",189,0)
. d OUT($$XSUB("cecc",vals,dict,"cecccf")_" in circumflex, and ")
"RTN","SAMICTT3",190,0)
. d OUT($$XSUB("cecc",vals,dict,"ceccrc")_" in right coronary. "_cac)
"RTN","SAMICTT3",191,0)
. s outmode="go"
"RTN","SAMICTT3",192,0)
. d OUT("")
"RTN","SAMICTT3",193,0)
;
"RTN","SAMICTT3",194,0)
s outmode="hold"
"RTN","SAMICTT3",195,0)
if $$XVAL("cecca",vals)'="-" d ;
"RTN","SAMICTT3",196,0)
. d HOUT("Aortic Calcifications: ")
"RTN","SAMICTT3",197,0)
. d OUT($$XSUB("cecc",vals,dict,"cecca"))
"RTN","SAMICTT3",198,0)
. s outmode="go" d OUT("")
"RTN","SAMICTT3",199,0)
;
"RTN","SAMICTT3",200,0)
s outmode="hold"
"RTN","SAMICTT3",201,0)
n ocf s ocf=0
"RTN","SAMICTT3",202,0)
d HOUT("Other Cardiac Findings: ")
"RTN","SAMICTT3",203,0)
;d HOUT("Other Cardiac Findings: ")
"RTN","SAMICTT3",204,0)
;
"RTN","SAMICTT3",205,0)
;s outmode="hold"
"RTN","SAMICTT3",206,0)
;# Pericardial Effusion
"RTN","SAMICTT3",207,0)
if $$XVAL("ceprevm",vals)'="-" d ;
"RTN","SAMICTT3",208,0)
. if $$XVAL("ceprevm",vals)'="no" d ;
"RTN","SAMICTT3",209,0)
. . if $$XVAL("ceprevm",vals)'="" d
"RTN","SAMICTT3",210,0)
. . . d OUT("A "_$$XSUB("ceprevm",vals,dict,"ceprevm")_" pericardial effusion"_". ") d OUT("")
"RTN","SAMICTT3",211,0)
. . . s pe=1 s ocf=1
"RTN","SAMICTT3",212,0)
. . else d OUT("No pericardial effusion. ") d OUT("")
"RTN","SAMICTT3",213,0)
;
"RTN","SAMICTT3",214,0)
;
"RTN","SAMICTT3",215,0)
;;# Pulmonary and Aortic Diameter
"RTN","SAMICTT3",216,0)
i $$XVAL("cepaw",vals)'="" d ;
"RTN","SAMICTT3",217,0)
. d OUT("Widest main pulmonary artery diameter is "_$$XVAL("cepaw",vals)_" mm. ")
"RTN","SAMICTT3",218,0)
. if $$XVAL("ceaow",vals)'="" d ;
"RTN","SAMICTT3",219,0)
. . d OUT("Widest ascending aortic diameter at the same level is "_$$XVAL("ceaow",vals)_" mm. ")
"RTN","SAMICTT3",220,0)
. . if $$XVAL("cepar",vals)'="" d ;
"RTN","SAMICTT3",221,0)
. . . d OUT("The ratio is "_$$XVAL("cepar",vals)_". ")
"RTN","SAMICTT3",222,0)
. d OUT("") s ocf=1
"RTN","SAMICTT3",223,0)
;
"RTN","SAMICTT3",224,0)
; #"Additional Comments on Cardiac Abnormalities:"
"RTN","SAMICTT3",225,0)
if $$XVAL("cecommca",vals)'="" d ;
"RTN","SAMICTT3",226,0)
. d OUT($$XVAL("cecommca",vals)_". ")
"RTN","SAMICTT3",227,0)
. s ocf=1
"RTN","SAMICTT3",228,0)
i ocf=0 d OUT("None. ")
"RTN","SAMICTT3",229,0)
s outmode="go"
"RTN","SAMICTT3",230,0)
d OUT("")
"RTN","SAMICTT3",231,0)
;
"RTN","SAMICTT3",232,0)
;
"RTN","SAMICTT3",233,0)
s outmode="hold"
"RTN","SAMICTT3",234,0)
d HOUT("Mediastinum: ")
"RTN","SAMICTT3",235,0)
n yesmm s yesmm=0
"RTN","SAMICTT3",236,0)
n abn
"RTN","SAMICTT3",237,0)
i ($$XVAL("ceoma",vals)="y")&($$XVAL("ceata",vals)="y") d ;
"RTN","SAMICTT3",238,0)
. s yeamm=1
"RTN","SAMICTT3",239,0)
. s abn=$$CCMSTR("ceatc^ceaty^ceatm",vals)
"RTN","SAMICTT3",240,0)
. ;d OUT("[abn="_abn_"]")
"RTN","SAMICTT3",241,0)
. i abn="" d OUT(sp1_"Noted in the thyroid. ")
"RTN","SAMICTT3",242,0)
. i abn'="" d OUT(sp1_abn_" thyroid. ")
"RTN","SAMICTT3",243,0)
. i $$XVAL("ceato",vals)="o" d OUT(sp1_$$XVAL("ceatos",vals)_"<br>")
"RTN","SAMICTT3",244,0)
i $$XVAL("ceaya",vals)="y" d ;
"RTN","SAMICTT3",245,0)
. s yesmm=1
"RTN","SAMICTT3",246,0)
. s abn=$$CCMSTR("ceayc^ceayy^ceaym",vals)
"RTN","SAMICTT3",247,0)
. i abn="" d OUT(sp1_"Noted in the thymus")
"RTN","SAMICTT3",248,0)
. i abn'="" d OUT(sp1_abn_" thymus. ")
"RTN","SAMICTT3",249,0)
. i $$XVAL("ceayo",vals)="o" d OUT(sp1_$$XVAL("ceayos",vals))
"RTN","SAMICTT3",250,0)
;
"RTN","SAMICTT3",251,0)
; # Non-calcified lymph nodes
"RTN","SAMICTT3",252,0)
n lnlist,lnlistt
"RTN","SAMICTT3",253,0)
set lnlist(1)="cemlnl1"
"RTN","SAMICTT3",254,0)
set lnlist(2)="cemlnl2r"
"RTN","SAMICTT3",255,0)
set lnlist(3)="cemlnl2l"
"RTN","SAMICTT3",256,0)
set lnlist(4)="cemlnl3"
"RTN","SAMICTT3",257,0)
set lnlist(5)="cemlnl4r"
"RTN","SAMICTT3",258,0)
set lnlist(6)="cemlnl4l"
"RTN","SAMICTT3",259,0)
set lnlist(7)="cemlnl5"
"RTN","SAMICTT3",260,0)
set lnlist(8)="cemlnl6"
"RTN","SAMICTT3",261,0)
set lnlist(9)="cemlnl7"
"RTN","SAMICTT3",262,0)
set lnlist(10)="cemlnl8"
"RTN","SAMICTT3",263,0)
set lnlist(11)="cemlnl9"
"RTN","SAMICTT3",264,0)
set lnlist(12)="cemlnl10r"
"RTN","SAMICTT3",265,0)
set lnlist(13)="cemlnl10l"
"RTN","SAMICTT3",266,0)
;
"RTN","SAMICTT3",267,0)
set lnlistt(1)="high mediastinal"
"RTN","SAMICTT3",268,0)
set lnlistt(2)="right upper paratracheal"
"RTN","SAMICTT3",269,0)
set lnlistt(3)="left upper paratracheal"
"RTN","SAMICTT3",270,0)
set lnlistt(4)="prevascular/retrotracheal"
"RTN","SAMICTT3",271,0)
set lnlistt(5)="right lower paratracheal"
"RTN","SAMICTT3",272,0)
set lnlistt(6)="left lower paratracheal"
"RTN","SAMICTT3",273,0)
set lnlistt(7)="sub-aortic (A-P window)"
"RTN","SAMICTT3",274,0)
set lnlistt(8)="para-aortic"
"RTN","SAMICTT3",275,0)
set lnlistt(9)="subcarinal"
"RTN","SAMICTT3",276,0)
set lnlistt(10)="para-esophageal"
"RTN","SAMICTT3",277,0)
set lnlistt(11)="pulmonary ligament"
"RTN","SAMICTT3",278,0)
set lnlistt(12)="right hilar"
"RTN","SAMICTT3",279,0)
set lnlistt(13)="left hilar"
"RTN","SAMICTT3",280,0)
;
"RTN","SAMICTT3",281,0)
;
"RTN","SAMICTT3",282,0)
;s outmode="hold"
"RTN","SAMICTT3",283,0)
if $$XVAL("cemln",vals)="y" d ;
"RTN","SAMICTT3",284,0)
. s yesmm=1
"RTN","SAMICTT3",285,0)
. n llist,item
"RTN","SAMICTT3",286,0)
. s (llist,item)=""
"RTN","SAMICTT3",287,0)
. f s item=$o(lnlist(item)) q:item="" d ;
"RTN","SAMICTT3",288,0)
. . i $$XVAL(lnlist(item),vals)'="" s llist($o(llist(""),-1)+1)=lnlist(item)
"RTN","SAMICTT3",289,0)
. n lnum,slnum
"RTN","SAMICTT3",290,0)
. s lnum=$o(llist(""),-1)
"RTN","SAMICTT3",291,0)
. i lnum=0 d OUT("Enlarged or growing lymph nodes are noted. ")
"RTN","SAMICTT3",292,0)
. i lnum>0 d ;
"RTN","SAMICTT3",293,0)
. . s slnum=lnum
"RTN","SAMICTT3",294,0)
. . d OUT("Enlarged or growing lymph nodes in the ")
"RTN","SAMICTT3",295,0)
. . s item=""
"RTN","SAMICTT3",296,0)
. . f s item=$o(llist(item)) q:item="" d ;
"RTN","SAMICTT3",297,0)
. . . d OUT(lnlistt(item))
"RTN","SAMICTT3",298,0)
. . . i lnum>2 d OUT(", ")
"RTN","SAMICTT3",299,0)
. . . i lnum=2 d OUT(" and ")
"RTN","SAMICTT3",300,0)
. . . s lnum=lnum-1
"RTN","SAMICTT3",301,0)
. . i slnum>1 d OUT(" locations. ")
"RTN","SAMICTT3",302,0)
. . i slnum=1 d OUT(" location. ")
"RTN","SAMICTT3",303,0)
;
"RTN","SAMICTT3",304,0)
;s outmode="go"
"RTN","SAMICTT3",305,0)
;d OUT("")
"RTN","SAMICTT3",306,0)
;
"RTN","SAMICTT3",307,0)
if $$XVAL("cemlncab",vals)="y" d ;
"RTN","SAMICTT3",308,0)
. set yesmm=1
"RTN","SAMICTT3",309,0)
. d OUT("Calcified lymph nodes present. ")
"RTN","SAMICTT3",310,0)
;
"RTN","SAMICTT3",311,0)
if $$XVAL("ceagaln",vals)="y" d ;
"RTN","SAMICTT3",312,0)
. set yesmm=1
"RTN","SAMICTT3",313,0)
. d OUT("Enlarged or growing axillary lymph nodes without central fat are seen. ")
"RTN","SAMICTT3",314,0)
. d OUT($$XVAL("ceagalns",vals))
"RTN","SAMICTT3",315,0)
;
"RTN","SAMICTT3",316,0)
if $$XVAL("cemva",vals)="y" d ;
"RTN","SAMICTT3",317,0)
. set yesmm=1
"RTN","SAMICTT3",318,0)
. if $$XVAL("cemvaa",vals)="a" d ;
"RTN","SAMICTT3",319,0)
. . d OUT("Other vascular abnormalities are seen in the aorta. ")
"RTN","SAMICTT3",320,0)
. if $$XVAL("cemvaa",vals)="w" d ;
"RTN","SAMICTT3",321,0)
. . d OUT("Other vascular abnormalities are seen in the pulmonary series. ")
"RTN","SAMICTT3",322,0)
. d OUT($$XVAL("cemvaos",vals)_"<br>")
"RTN","SAMICTT3",323,0)
;
"RTN","SAMICTT3",324,0)
;s outmode="hold"
"RTN","SAMICTT3",325,0)
; # Esophageal
"RTN","SAMICTT3",326,0)
if $$XVAL("cemeln",vals)="y" d ;
"RTN","SAMICTT3",327,0)
. set yesmm=1
"RTN","SAMICTT3",328,0)
. n elist s elist=""
"RTN","SAMICTT3",329,0)
. set numl=0
"RTN","SAMICTT3",330,0)
. if $$XVAL("cemelna",vals)="a" d ;
"RTN","SAMICTT3",331,0)
. . s elist($o(elist(""),-1)+1)="Air-fluid level"
"RTN","SAMICTT3",332,0)
. . s numl=numl+1
"RTN","SAMICTT3",333,0)
. if $$XVAL("cemelnw",vals)="w" d ;
"RTN","SAMICTT3",334,0)
. . s elist($o(elist(""),-1)+1)="Wall thickening"
"RTN","SAMICTT3",335,0)
. . s numl=numl+1
"RTN","SAMICTT3",336,0)
. if $$XVAL("cemelnm",vals)="m" d ;
"RTN","SAMICTT3",337,0)
. . s elist($o(elist(""),-1)+1)="A mass"
"RTN","SAMICTT3",338,0)
. . s numl=numl+1
"RTN","SAMICTT3",339,0)
. if numl=0 d OUT("Esophageal abnormality noted. ")
"RTN","SAMICTT3",340,0)
. e d ;
"RTN","SAMICTT3",341,0)
. . d OUT($g(elist(1)))
"RTN","SAMICTT3",342,0)
. . if numl=1 d OUT(" is ")
"RTN","SAMICTT3",343,0)
. . e d ;
"RTN","SAMICTT3",344,0)
. . . if numl=2 d ;
"RTN","SAMICTT3",345,0)
. . . . d OUT(" and ")
"RTN","SAMICTT3",346,0)
. . . e d OUT(", ")
"RTN","SAMICTT3",347,0)
. . . d OUT($$LOWC($g(elist(2))))
"RTN","SAMICTT3",348,0)
. . . if numl=3 d ;
"RTN","SAMICTT3",349,0)
. . . . d OUT(", and "_$$LOWC($g(elist(3))))
"RTN","SAMICTT3",350,0)
. . d OUT("seen in the esophagus. ")
"RTN","SAMICTT3",351,0)
. d OUT($$XVAL("cemelnos",vals))
"RTN","SAMICTT3",352,0)
;s outmode="go"
"RTN","SAMICTT3",353,0)
;d OUT("")
"RTN","SAMICTT3",354,0)
;
"RTN","SAMICTT3",355,0)
;
"RTN","SAMICTT3",356,0)
if $$XVAL("cehhn",vals)="y" d ;
"RTN","SAMICTT3",357,0)
. set yesmm=1
"RTN","SAMICTT3",358,0)
. if $$XVAL("cehhnos",vals)'="" d OUT("Hiatal hernia: "_$$XVAL("cehhnos",vals))
"RTN","SAMICTT3",359,0)
. if $$XVAL("cehhnos",vals)="" d OUT("Hiatal hernia. ")
"RTN","SAMICTT3",360,0)
. d OUT("")
"RTN","SAMICTT3",361,0)
;
"RTN","SAMICTT3",362,0)
if $$XVAL("ceomm",vals)="y" d ;
"RTN","SAMICTT3",363,0)
. set yesmm=1
"RTN","SAMICTT3",364,0)
. n tval
"RTN","SAMICTT3",365,0)
. set tval=$$XVAL("ceommos",vals)
"RTN","SAMICTT3",366,0)
. set abn=$$CCMSTR("ceamc^ceamy^ceamm",vals)
"RTN","SAMICTT3",367,0)
. if abn="" d OUT(sp1_"Abnormality noted in the mediastinum. ")
"RTN","SAMICTT3",368,0)
. e d OUT(sp1_abn_" mediastinum. ")
"RTN","SAMICTT3",369,0)
. d OUT(tval)
"RTN","SAMICTT3",370,0)
;i yesmm=0 d OUT(sp1_"No abnormalities. ")
"RTN","SAMICTT3",371,0)
i yesmm=0 d OUT(sp1_"Unremarkable. ")
"RTN","SAMICTT3",372,0)
i $$XVAL("ceotabnm",vals)'="" d ;
"RTN","SAMICTT3",373,0)
. d OUT(sp1_$$XVAL("ceotabnm",vals)_". ")
"RTN","SAMICTT3",374,0)
s outmode="go"
"RTN","SAMICTT3",375,0)
d OUT("")
"RTN","SAMICTT3",376,0)
;
"RTN","SAMICTT3",377,0)
;
"RTN","SAMICTT3",378,0)
quit ; end of EMPHYS
"RTN","SAMICTT3",379,0)
;
"RTN","SAMICTT3",380,0)
;
"RTN","SAMICTT3",381,0)
;
"RTN","SAMICTT3",382,0)
CCMSTR(lst,vals) ; extrinsic that forms phrases
"RTN","SAMICTT3",383,0)
;
"RTN","SAMICTT3",384,0)
;@called-by
"RTN","SAMICTT3",385,0)
; EMPHYS
"RTN","SAMICTT3",386,0)
;@calls
"RTN","SAMICTT3",387,0)
; $$XVAL
"RTN","SAMICTT3",388,0)
; $$LOWC
"RTN","SAMICTT3",389,0)
;@input
"RTN","SAMICTT3",390,0)
; lst
"RTN","SAMICTT3",391,0)
; vals
"RTN","SAMICTT3",392,0)
;@output = phrase for comments
"RTN","SAMICTT3",393,0)
;
"RTN","SAMICTT3",394,0)
n retstr s retstr=""
"RTN","SAMICTT3",395,0)
n lblist s lblist=""
"RTN","SAMICTT3",396,0)
n lb,ib s ib=""
"RTN","SAMICTT3",397,0)
f lb=1:1:$l(lst,"^") d ;
"RTN","SAMICTT3",398,0)
. n lvar s lvar=$p(lst,"^",lb)
"RTN","SAMICTT3",399,0)
. s ib=$$XVAL($p(lst,"^",lb),vals)
"RTN","SAMICTT3",400,0)
. if ib'="" d ;
"RTN","SAMICTT3",401,0)
. . i ib="y" d ;
"RTN","SAMICTT3",402,0)
. . . i $f("ceasc cealc ceapc ceapc ceaac ceakc",lvar)>0 s lblist($o(lblist(""),-1)+1)="Calcification"
"RTN","SAMICTT3",403,0)
. . . ;i "ceasc cealc ceapc ceapc ceaac ceakc"[lb s lblist($o(lblist(""),-1)+1)="Calcification"
"RTN","SAMICTT3",404,0)
. . . else s lblist($o(lblist(""),-1)+1)="Cyst"
"RTN","SAMICTT3",405,0)
. . i ib="c" s lblist($o(lblist(""),-1)+1)="Calcification"
"RTN","SAMICTT3",406,0)
. . i ib="m" s lblist($o(lblist(""),-1)+1)="Mass"
"RTN","SAMICTT3",407,0)
i $o(lblist(""),-1)=1 s retstr=retstr_lblist(1)_" is seen in the"
"RTN","SAMICTT3",408,0)
e i $o(lblist(""),-1)=2 s retstr=retstr_lblist(1)_" and "_$$LOWC(lblist(2))_" are seen in the"
"RTN","SAMICTT3",409,0)
e i $o(lblist(""),-1)=3 s retstr=retstr_"Calicification, cyst, and mass are seen in the"
"RTN","SAMICTT3",410,0)
;
"RTN","SAMICTT3",411,0)
quit retstr ; end of $$CCMSTR
"RTN","SAMICTT3",412,0)
;
"RTN","SAMICTT3",413,0)
;
"RTN","SAMICTT3",414,0)
;
"RTN","SAMICTT3",415,0)
LOWC(X) ; convert X to lowercase
"RTN","SAMICTT3",416,0)
;
"RTN","SAMICTT3",417,0)
;@called-by
"RTN","SAMICTT3",418,0)
; EMPHYS
"RTN","SAMICTT3",419,0)
; $$CCMSTR
"RTN","SAMICTT3",420,0)
;@calls none
"RTN","SAMICTT3",421,0)
;@input
"RTN","SAMICTT3",422,0)
; X
"RTN","SAMICTT3",423,0)
;@output = lowercase string
"RTN","SAMICTT3",424,0)
;
"RTN","SAMICTT3",425,0)
quit $translate(X,"ABCDEFGHIJKLMNOPQRSTUVWXYZ","abcdefghijklmnopqrstuvwxyz")
"RTN","SAMICTT3",426,0)
;
"RTN","SAMICTT3",427,0)
;
"RTN","SAMICTT3",428,0)
;
"RTN","SAMICTT3",429,0)
OUT(ln) ; output a line of ct report
"RTN","SAMICTT3",430,0)
;
"RTN","SAMICTT3",431,0)
;@called-by
"RTN","SAMICTT3",432,0)
; EMPHYS
"RTN","SAMICTT3",433,0)
;@calls none
"RTN","SAMICTT3",434,0)
;@input
"RTN","SAMICTT3",435,0)
; ln = output to add
"RTN","SAMICTT3",436,0)
;@output: line added to report
"RTN","SAMICTT3",437,0)
;
"RTN","SAMICTT3",438,0)
i outmode="hold" s line=line_ln q ;
"RTN","SAMICTT3",439,0)
s cnt=cnt+1
"RTN","SAMICTT3",440,0)
n lnn
"RTN","SAMICTT3",441,0)
;s debug=1
"RTN","SAMICTT3",442,0)
s lnn=$o(@rtn@(" "),-1)+1
"RTN","SAMICTT3",443,0)
i outmode="go" d ;
"RTN","SAMICTT3",444,0)
. s @rtn@(lnn)=line
"RTN","SAMICTT3",445,0)
. s line=""
"RTN","SAMICTT3",446,0)
. s lnn=$o(@rtn@(" "),-1)+1
"RTN","SAMICTT3",447,0)
s @rtn@(lnn)=ln
"RTN","SAMICTT3",448,0)
;
"RTN","SAMICTT3",449,0)
i $g(debug)=1 d ;
"RTN","SAMICTT3",450,0)
. i ln["<" q ; no markup
"RTN","SAMICTT3",451,0)
. n zs s zs=$STACK
"RTN","SAMICTT3",452,0)
. n zp s zp=$STACK(zs-2,"PLACE")
"RTN","SAMICTT3",453,0)
. s @rtn@(lnn)=zp_":"_ln
"RTN","SAMICTT3",454,0)
;
"RTN","SAMICTT3",455,0)
quit ; end of OUT
"RTN","SAMICTT3",456,0)
;
"RTN","SAMICTT3",457,0)
;
"RTN","SAMICTT3",458,0)
;
"RTN","SAMICTT3",459,0)
OUTOLD(ln) ; old version of out
"RTN","SAMICTT3",460,0)
;
"RTN","SAMICTT3",461,0)
;@called-by none
"RTN","SAMICTT3",462,0)
;@calls none
"RTN","SAMICTT3",463,0)
;@input
"RTN","SAMICTT3",464,0)
; ln = output to add
"RTN","SAMICTT3",465,0)
;@output: line added to report
"RTN","SAMICTT3",466,0)
;
"RTN","SAMICTT3",467,0)
s cnt=cnt+1
"RTN","SAMICTT3",468,0)
n lnn
"RTN","SAMICTT3",469,0)
;s debug=1
"RTN","SAMICTT3",470,0)
s lnn=$o(@rtn@(" "),-1)+1
"RTN","SAMICTT3",471,0)
s @rtn@(lnn)=ln
"RTN","SAMICTT3",472,0)
;
"RTN","SAMICTT3",473,0)
i $g(debug)=1 d ;
"RTN","SAMICTT3",474,0)
. i ln["<" q ; no markup
"RTN","SAMICTT3",475,0)
. n zs s zs=$STACK
"RTN","SAMICTT3",476,0)
. n zp s zp=$STACK(zs-2,"PLACE")
"RTN","SAMICTT3",477,0)
. s @rtn@(lnn)=zp_":"_ln
"RTN","SAMICTT3",478,0)
;
"RTN","SAMICTT3",479,0)
quit ; end of OUTOLD
"RTN","SAMICTT3",480,0)
;
"RTN","SAMICTT3",481,0)
;
"RTN","SAMICTT3",482,0)
;
"RTN","SAMICTT3",483,0)
HOUT(ln) ; output a ct report header line
"RTN","SAMICTT3",484,0)
;
"RTN","SAMICTT3",485,0)
;@called-by
"RTN","SAMICTT3",486,0)
; EMPHYS
"RTN","SAMICTT3",487,0)
;@calls
"RTN","SAMICTT3",488,0)
; OUT
"RTN","SAMICTT3",489,0)
;@input
"RTN","SAMICTT3",490,0)
; ln = header output to add
"RTN","SAMICTT3",491,0)
;@output: header line added to report
"RTN","SAMICTT3",492,0)
;
"RTN","SAMICTT3",493,0)
D OUT(ln)
"RTN","SAMICTT3",494,0)
;d OUT("<p><span class='sectionhead'>"_ln_"</span>")
"RTN","SAMICTT3",495,0)
;
"RTN","SAMICTT3",496,0)
quit ; end of HOUT
"RTN","SAMICTT3",497,0)
;
"RTN","SAMICTT3",498,0)
;
"RTN","SAMICTT3",499,0)
;
"RTN","SAMICTT3",500,0)
XVAL(var,vals) ; extrinsic returns the patient value for var
"RTN","SAMICTT3",501,0)
;
"RTN","SAMICTT3",502,0)
;@called-by
"RTN","SAMICTT3",503,0)
; EMPHYS
"RTN","SAMICTT3",504,0)
; $$CCMSTR
"RTN","SAMICTT3",505,0)
;@calls none
"RTN","SAMICTT3",506,0)
;@input
"RTN","SAMICTT3",507,0)
; var
"RTN","SAMICTT3",508,0)
; vals is passed by nam
"RTN","SAMICTT3",509,0)
;@output = patient value for var
"RTN","SAMICTT3",510,0)
;
"RTN","SAMICTT3",511,0)
;e
"RTN","SAMICTT3",512,0)
n zr
"RTN","SAMICTT3",513,0)
s zr=$g(@vals@(var))
"RTN","SAMICTT3",514,0)
;i zr="" s zr="["_var_"]"
"RTN","SAMICTT3",515,0)
;
"RTN","SAMICTT3",516,0)
quit zr ; end of $$XVAL
"RTN","SAMICTT3",517,0)
;
"RTN","SAMICTT3",518,0)
;
"RTN","SAMICTT3",519,0)
;
"RTN","SAMICTT3",520,0)
XSUB(var,vals,dict,valdx) ; extrinsic which returns the dictionary value defined by var
"RTN","SAMICTT3",521,0)
;
"RTN","SAMICTT3",522,0)
;@called-by
"RTN","SAMICTT3",523,0)
; EMPHYS
"RTN","SAMICTT3",524,0)
;@calls none
"RTN","SAMICTT3",525,0)
;@input
"RTN","SAMICTT3",526,0)
; var
"RTN","SAMICTT3",527,0)
; vals and dict are passed by name
"RTN","SAMICTT3",528,0)
; valdx is used for nodules ala cect2co with the nodule number included
"RTN","SAMICTT3",529,0)
;@output = dictionary value for var
"RTN","SAMICTT3",530,0)
;
"RTN","SAMICTT3",531,0)
;
"RTN","SAMICTT3",532,0)
;n dict s dict=$$setroot^%wd("cteval-dict")
"RTN","SAMICTT3",533,0)
n zr,zv,zdx
"RTN","SAMICTT3",534,0)
s zdx=$g(valdx)
"RTN","SAMICTT3",535,0)
i zdx="" s zdx=var
"RTN","SAMICTT3",536,0)
s zv=$g(@vals@(zdx))
"RTN","SAMICTT3",537,0)
;i zv="" s zr="["_var_"]" q zr
"RTN","SAMICTT3",538,0)
i zv="" s zr="" q zr
"RTN","SAMICTT3",539,0)
s zr=$g(@dict@(var,zv))
"RTN","SAMICTT3",540,0)
;i zr="" s zr="["_var_","_zv_"]"
"RTN","SAMICTT3",541,0)
;
"RTN","SAMICTT3",542,0)
quit zr ; end of $$XSUB
"RTN","SAMICTT3",543,0)
;
"RTN","SAMICTT3",544,0)
;
"RTN","SAMICTT3",545,0)
;
"RTN","SAMICTT3",546,0)
EOR ; end of routine SAMICTT3
"RTN","SAMICTT4")
0^5^B54435090
"RTN","SAMICTT4",1,0)
SAMICTT4 ;ven/gpl - ctreport text breast abnorm ;2021-03-22T15:18Z
"RTN","SAMICTT4",2,0)
;;18.0;SAMI;**4,10**;2020-01;Build 3
"RTN","SAMICTT4",3,0)
;;1.18.0.10-i10
"RTN","SAMICTT4",4,0)
;
"RTN","SAMICTT4",5,0)
; SAMICTT4 creates the Breast Abnormalities section of the ELCAP CT
"RTN","SAMICTT4",6,0)
; Report in text format.
"RTN","SAMICTT4",7,0)
;
"RTN","SAMICTT4",8,0)
quit ; no entry from top
"RTN","SAMICTT4",9,0)
;
"RTN","SAMICTT4",10,0)
;
"RTN","SAMICTT4",11,0)
;
"RTN","SAMICTT4",12,0)
;@section 0 primary development
"RTN","SAMICTT4",13,0)
;
"RTN","SAMICTT4",14,0)
;
"RTN","SAMICTT4",15,0)
;
"RTN","SAMICTT4",16,0)
;@license see routine SAMIUL
"RTN","SAMICTT4",17,0)
;@documentation see SAMICTUL
"RTN","SAMICTT4",18,0)
;@contents
"RTN","SAMICTT4",19,0)
; BREAST: breast abnormalities section of ct report text
"RTN","SAMICTT4",20,0)
; OUT: output a line of ct report
"RTN","SAMICTT4",21,0)
; OUTOLD: old version of out
"RTN","SAMICTT4",22,0)
; HOUT: output a ct report header line
"RTN","SAMICTT4",23,0)
; $$XVAL = patient value for var
"RTN","SAMICTT4",24,0)
; $$XSUB = dictionary value defined by var
"RTN","SAMICTT4",25,0)
;
"RTN","SAMICTT4",26,0)
;
"RTN","SAMICTT4",27,0)
;
"RTN","SAMICTT4",28,0)
;@section 1 BREAST & related subroutines
"RTN","SAMICTT4",29,0)
;
"RTN","SAMICTT4",30,0)
;
"RTN","SAMICTT4",31,0)
;
"RTN","SAMICTT4",32,0)
BREAST(rtn,vals,dict) ; breast abnormalities section of ct report text
"RTN","SAMICTT4",33,0)
;
"RTN","SAMICTT4",34,0)
; repgen6
"RTN","SAMICTT4",35,0)
;
"RTN","SAMICTT4",36,0)
;@called-by
"RTN","SAMICTT4",37,0)
; WSREPORT^SAMICTT0
"RTN","SAMICTT4",38,0)
;@calls
"RTN","SAMICTT4",39,0)
; $$XVAL
"RTN","SAMICTT4",40,0)
; OUT
"RTN","SAMICTT4",41,0)
; $$CCMSTR^SAMICTR3
"RTN","SAMICTT4",42,0)
; $$XSUB
"RTN","SAMICTT4",43,0)
; $$LOWC^SAMICTR3
"RTN","SAMICTT4",44,0)
;@input
"RTN","SAMICTT4",45,0)
; rtn
"RTN","SAMICTT4",46,0)
; vals
"RTN","SAMICTT4",47,0)
; dict
"RTN","SAMICTT4",48,0)
;@output: create breast abnormalities section of ct report text
"RTN","SAMICTT4",49,0)
;
"RTN","SAMICTT4",50,0)
n sp1 s sp1=" "
"RTN","SAMICTT4",51,0)
n outmode s outmode="hold"
"RTN","SAMICTT4",52,0)
n line s line=""
"RTN","SAMICTT4",53,0)
n destr s destr="is seen"
"RTN","SAMICTT4",54,0)
n sba set sba=0
"RTN","SAMICTT4",55,0)
; # Breast Abnormalities
"RTN","SAMICTT4",56,0)
n bd,brt,blt
"RTN","SAMICTT4",57,0)
s (bd,brt,blt)=0
"RTN","SAMICTT4",58,0)
if $$XVAL("ceobard",vals)'="-" s brt=$$XVAL("ceobard",vals)
"RTN","SAMICTT4",59,0)
if $$XVAL("ceobald",vals)'="-" s brt=$$XVAL("ceobald",vals)
"RTN","SAMICTT4",60,0)
if (blt'=0)!(brt'=0) d ;
"RTN","SAMICTT4",61,0)
. d OUT("Breast:")
"RTN","SAMICTT4",62,0)
. s bd=1
"RTN","SAMICTT4",63,0)
s outmode="hold"
"RTN","SAMICTT4",64,0)
if $$XVAL("ceara",vals)="y" d ; our substitute for ceoba, which is null
"RTN","SAMICTT4",65,0)
. if bd=0 d OUT("Breast:")
"RTN","SAMICTT4",66,0)
. if $$XVAL("ceara",vals)="y" d ;
"RTN","SAMICTT4",67,0)
. . set sba=1
"RTN","SAMICTT4",68,0)
. . n br
"RTN","SAMICTT4",69,0)
. . set br=$$CCMSTR^SAMICTR3("ceobarc^ceobary^ceobarm",vals)
"RTN","SAMICTT4",70,0)
. . if br="" d OUT("Noted in right breast: ")
"RTN","SAMICTT4",71,0)
. . if br'="" d OUT(br_" right breast. ")
"RTN","SAMICTT4",72,0)
. . d OUT($$XVAL("ceobaros",vals))
"RTN","SAMICTT4",73,0)
if $$XVAL("ceafa",vals)="y" d ; our substitute for ceoba, which is null
"RTN","SAMICTT4",74,0)
. if bd=0 d OUT("Breast:")
"RTN","SAMICTT4",75,0)
. if $$XVAL("ceafa",vals)="y" d ;
"RTN","SAMICTT4",76,0)
. . set sba=1
"RTN","SAMICTT4",77,0)
. . n br
"RTN","SAMICTT4",78,0)
. . set br=$$CCMSTR^SAMICTR3("ceobafc^ceobafy^ceobafm",vals)
"RTN","SAMICTT4",79,0)
. . if br="" d OUT("Noted in left breast: ")
"RTN","SAMICTT4",80,0)
. . if br'="" d OUT(br_" left breast. ")
"RTN","SAMICTT4",81,0)
. . d OUT($$XVAL("ceobafos",vals))
"RTN","SAMICTT4",82,0)
if bd=1 d ;
"RTN","SAMICTT4",83,0)
. if blt=brt d OUT("Density: "_$$XSUB("ceobad",vals,dict,"ceobald"))
"RTN","SAMICTT4",84,0)
. else d OUT("Density: Left "_$$XSUB("ceobad",vals,dict,"ceobald")_", Right "_$$XSUB("ceobad",vals,dict,"ceobard")_". ")
"RTN","SAMICTT4",85,0)
if $$XVAL("ceobrc",vals)'="" d OUT($$XVAL("ceobrc",vals))
"RTN","SAMICTT4",86,0)
else if sba=1 d OUT("")
"RTN","SAMICTT4",87,0)
s outmode="go"
"RTN","SAMICTT4",88,0)
d OUT("")
"RTN","SAMICTT4",89,0)
;
"RTN","SAMICTT4",90,0)
;
"RTN","SAMICTT4",91,0)
s outmode="hold"
"RTN","SAMICTT4",92,0)
d OUT("Abdomen: ")
"RTN","SAMICTT4",93,0)
n yesaa s yesaa=0
"RTN","SAMICTT4",94,0)
; # Special Handling for the gallbladder
"RTN","SAMICTT4",95,0)
;
"RTN","SAMICTT4",96,0)
if $$XVAL("ceaga",vals)="y" d ;
"RTN","SAMICTT4",97,0)
. d OUT(sp1_"Limited view of the upper abdomen reveals the following: ")
"RTN","SAMICTT4",98,0)
. set yesaa=1
"RTN","SAMICTT4",99,0)
. if $$XVAL("ceagh",vals)="h" d ;
"RTN","SAMICTT4",100,0)
. . d OUT(sp1_"status post cholecystectomy. ")
"RTN","SAMICTT4",101,0)
. if $$XVAL("ceags",vals)="s" d ;
"RTN","SAMICTT4",102,0)
. . d OUT(sp1_"Gallstones are noted. ")
"RTN","SAMICTT4",103,0)
. if $$XVAL("ceagl",vals)="l" d ;
"RTN","SAMICTT4",104,0)
. . d OUT(sp1_"Sludge is seen in the gall bladder. ")
"RTN","SAMICTT4",105,0)
. if $$XVAL("ceago",vals)="y" d ;
"RTN","SAMICTT4",106,0)
. . d OUT(sp1_"An abnormality was noted in the gall bladder: ")
"RTN","SAMICTT4",107,0)
if $$XVAL("ceagos",vals)'="" d ;
"RTN","SAMICTT4",108,0)
. d OUT($$XVAL("ceagos",vals))
"RTN","SAMICTT4",109,0)
;
"RTN","SAMICTT4",110,0)
n aalist
"RTN","SAMICTT4",111,0)
s aalist(1,"spleen",0)=$$XVAL("ceasa",vals)
"RTN","SAMICTT4",112,0)
s aalist(1,"spleen",1)="ceasc^ceasy^ceasm"
"RTN","SAMICTT4",113,0)
s aalist(1,"spleen",2)=$$XVAL("ceasos",vals)
"RTN","SAMICTT4",114,0)
s aalist(2,"liver",0)=$$XVAL("ceala",vals)
"RTN","SAMICTT4",115,0)
s aalist(2,"liver",1)="cealc^cealy^cealm"
"RTN","SAMICTT4",116,0)
s aalist(2,"liver",2)=$$XVAL("cealos",vals)
"RTN","SAMICTT4",117,0)
s aalist(3,"pancreas",0)=$$XVAL("ceapa",vals)
"RTN","SAMICTT4",118,0)
s aalist(3,"pancreas",1)="ceapc^ceapy^ceapm"
"RTN","SAMICTT4",119,0)
s aalist(3,"pancreas",2)=$$XVAL("ceapos",vals)
"RTN","SAMICTT4",120,0)
s aalist(4,"adrenals",0)=$$XVAL("ceaaa",vals)
"RTN","SAMICTT4",121,0)
s aalist(4,"adrenals",1)="ceaac^ceaay^ceaam"
"RTN","SAMICTT4",122,0)
s aalist(4,"adrenals",2)=$$XVAL("ceaaos",vals)
"RTN","SAMICTT4",123,0)
s aalist(5,"kidneys",0)=$$XVAL("ceaka",vals)
"RTN","SAMICTT4",124,0)
s aalist(5,"kidneys",1)="ceakc^ceaky^ceakm"
"RTN","SAMICTT4",125,0)
s aalist(5,"kidneys",2)=$$XVAL("ceakos",vals)
"RTN","SAMICTT4",126,0)
;
"RTN","SAMICTT4",127,0)
n zan,zaa s zaa=""
"RTN","SAMICTT4",128,0)
f zan=1:1:5 d ;
"RTN","SAMICTT4",129,0)
. s zaa=$o(aalist(zan,""))
"RTN","SAMICTT4",130,0)
. if aalist(zan,zaa,0)="y" d ;
"RTN","SAMICTT4",131,0)
. . n zout
"RTN","SAMICTT4",132,0)
. . s zout=$$CCMSTR^SAMICTR3(aalist(zan,zaa,1),vals)
"RTN","SAMICTT4",133,0)
. . set yesaa=1
"RTN","SAMICTT4",134,0)
. . if zout="" d ;
"RTN","SAMICTT4",135,0)
. . . ;d OUT(aalist(zan,zaa,2))
"RTN","SAMICTT4",136,0)
. . . if aalist(zan,zaa,2)'="" d OUT(aalist(zan,zaa,2))
"RTN","SAMICTT4",137,0)
. . if zout'="" d ;
"RTN","SAMICTT4",138,0)
. . . d OUT(sp1_"A "_$$LOWC^SAMICTR3(zout)_" "_zaa_". "_aalist(zan,zaa,2))
"RTN","SAMICTT4",139,0)
;
"RTN","SAMICTT4",140,0)
;# Other Abdominal Abnormalities
"RTN","SAMICTT4",141,0)
;
"RTN","SAMICTT4",142,0)
if $$XVAL("ceaoab",vals)'="" d ;
"RTN","SAMICTT4",143,0)
. d OUT($$XVAL("ceaoab",vals)_". ")
"RTN","SAMICTT4",144,0)
if yesaa=0 d ;
"RTN","SAMICTT4",145,0)
. ;d OUT(sp1_"Limited view of the upper abdomen reveals no abnormalities. ")
"RTN","SAMICTT4",146,0)
. d OUT(sp1_"Limited view of the upper abdomen reveals nothing remarkable. ")
"RTN","SAMICTT4",147,0)
;
"RTN","SAMICTT4",148,0)
;
"RTN","SAMICTT4",149,0)
;# Other Chest Abnormalities
"RTN","SAMICTT4",150,0)
;
"RTN","SAMICTT4",151,0)
if $$XVAL("ceotab",vals)'="" d
"RTN","SAMICTT4",152,0)
. d OUT("Other chest abnormalities:")
"RTN","SAMICTT4",153,0)
. d OUT($$XVAL("ceotab",vals)_". ")
"RTN","SAMICTT4",154,0)
;
"RTN","SAMICTT4",155,0)
s outmode="go"
"RTN","SAMICTT4",156,0)
d OUT("")
"RTN","SAMICTT4",157,0)
;
"RTN","SAMICTT4",158,0)
;# Bone Abnormalities
"RTN","SAMICTT4",159,0)
;
"RTN","SAMICTT4",160,0)
s outmode="hold"
"RTN","SAMICTT4",161,0)
if $$XVAL("ceaoabb",vals)'="" d ;
"RTN","SAMICTT4",162,0)
. d OUT("Bone:")
"RTN","SAMICTT4",163,0)
. d OUT($$XVAL("ceaoabb",vals)_para)
"RTN","SAMICTT4",164,0)
d ;
"RTN","SAMICTT4",165,0)
. q ; LungRADS moved to SAMICTRA
"RTN","SAMICTT4",166,0)
. n lradModifiers
"RTN","SAMICTT4",167,0)
. s lradModifiers=$$XVAL("celradc",vals)_$$XVAL("celrads",vals)
"RTN","SAMICTT4",168,0)
. ;
"RTN","SAMICTT4",169,0)
. i ($$XVAL("celrad",vals)'="-")&($$XVAL("celrad",vals)'="") d ;
"RTN","SAMICTT4",170,0)
. . d OUT("The LungRADS category for this scan is: "_$$XVAL("celrad",vals)_" "_lradModifiers)
"RTN","SAMICTT4",171,0)
. . d OUT("")
"RTN","SAMICTT4",172,0)
s outmode="go"
"RTN","SAMICTT4",173,0)
d OUT("")
"RTN","SAMICTT4",174,0)
;
"RTN","SAMICTT4",175,0)
quit ; end of BREAST
"RTN","SAMICTT4",176,0)
;
"RTN","SAMICTT4",177,0)
;
"RTN","SAMICTT4",178,0)
;
"RTN","SAMICTT4",179,0)
OUT(ln) ; output a line of ct report
"RTN","SAMICTT4",180,0)
;
"RTN","SAMICTT4",181,0)
;@called-by
"RTN","SAMICTT4",182,0)
; BREAST
"RTN","SAMICTT4",183,0)
;@calls none
"RTN","SAMICTT4",184,0)
;@input
"RTN","SAMICTT4",185,0)
; ln = output to add
"RTN","SAMICTT4",186,0)
;@output: line added to report
"RTN","SAMICTT4",187,0)
;
"RTN","SAMICTT4",188,0)
i outmode="hold" s line=line_ln q ;
"RTN","SAMICTT4",189,0)
s cnt=cnt+1
"RTN","SAMICTT4",190,0)
n lnn
"RTN","SAMICTT4",191,0)
i $g(debug)'=1 s debug=0
"RTN","SAMICTT4",192,0)
s lnn=$o(@rtn@(" "),-1)+1
"RTN","SAMICTT4",193,0)
i outmode="go" d ;
"RTN","SAMICTT4",194,0)
. s @rtn@(lnn)=line
"RTN","SAMICTT4",195,0)
. s line=""
"RTN","SAMICTT4",196,0)
. s lnn=$o(@rtn@(" "),-1)+1
"RTN","SAMICTT4",197,0)
s @rtn@(lnn)=ln
"RTN","SAMICTT4",198,0)
;
"RTN","SAMICTT4",199,0)
i $g(debug)=1 d ;
"RTN","SAMICTT4",200,0)
. i ln["<" q ; no markup
"RTN","SAMICTT4",201,0)
. n zs s zs=$STACK
"RTN","SAMICTT4",202,0)
. n zp s zp=$STACK(zs-2,"PLACE")
"RTN","SAMICTT4",203,0)
. s @rtn@(lnn)=zp_":"_ln
"RTN","SAMICTT4",204,0)
;
"RTN","SAMICTT4",205,0)
quit ; end of OUT
"RTN","SAMICTT4",206,0)
;
"RTN","SAMICTT4",207,0)
;
"RTN","SAMICTT4",208,0)
;
"RTN","SAMICTT4",209,0)
OUTOLD(ln) ; old version of out
"RTN","SAMICTT4",210,0)
;
"RTN","SAMICTT4",211,0)
;@called-by none
"RTN","SAMICTT4",212,0)
;@calls none
"RTN","SAMICTT4",213,0)
;@input
"RTN","SAMICTT4",214,0)
; ln = output to add
"RTN","SAMICTT4",215,0)
;@output: line added to report
"RTN","SAMICTT4",216,0)
;
"RTN","SAMICTT4",217,0)
s cnt=cnt+1
"RTN","SAMICTT4",218,0)
n lnn
"RTN","SAMICTT4",219,0)
;s debug=1
"RTN","SAMICTT4",220,0)
s lnn=$o(@rtn@(" "),-1)+1
"RTN","SAMICTT4",221,0)
s @rtn@(lnn)=ln
"RTN","SAMICTT4",222,0)
;
"RTN","SAMICTT4",223,0)
i $g(debug)=1 d ;
"RTN","SAMICTT4",224,0)
. i ln["<" q ; no markup
"RTN","SAMICTT4",225,0)
. n zs s zs=$STACK
"RTN","SAMICTT4",226,0)
. n zp s zp=$STACK(zs-2,"PLACE")
"RTN","SAMICTT4",227,0)
. s @rtn@(lnn)=zp_":"_ln
"RTN","SAMICTT4",228,0)
;
"RTN","SAMICTT4",229,0)
quit ; end of OUTOLD
"RTN","SAMICTT4",230,0)
;
"RTN","SAMICTT4",231,0)
;
"RTN","SAMICTT4",232,0)
;
"RTN","SAMICTT4",233,0)
HOUT(ln) ; output a ct report header line
"RTN","SAMICTT4",234,0)
;
"RTN","SAMICTT4",235,0)
;@called-by none
"RTN","SAMICTT4",236,0)
;@calls
"RTN","SAMICTT4",237,0)
; OUT
"RTN","SAMICTT4",238,0)
;@input
"RTN","SAMICTT4",239,0)
; ln = header output to add
"RTN","SAMICTT4",240,0)
;@output: header line added to report
"RTN","SAMICTT4",241,0)
;
"RTN","SAMICTT4",242,0)
d OUT(ln)
"RTN","SAMICTT4",243,0)
;d OUT("<p><span class='sectionhead'>"_ln_"</span>")
"RTN","SAMICTT4",244,0)
;
"RTN","SAMICTT4",245,0)
quit ; end of HOUT
"RTN","SAMICTT4",246,0)
;
"RTN","SAMICTT4",247,0)
;
"RTN","SAMICTT4",248,0)
;
"RTN","SAMICTT4",249,0)
XVAL(var,vals) ; extrinsic returns the patient value for var
"RTN","SAMICTT4",250,0)
;
"RTN","SAMICTT4",251,0)
;@called-by
"RTN","SAMICTT4",252,0)
; BREAST
"RTN","SAMICTT4",253,0)
;@calls none
"RTN","SAMICTT4",254,0)
;@input
"RTN","SAMICTT4",255,0)
; vals is passed by name
"RTN","SAMICTT4",256,0)
;@output = patient value for var
"RTN","SAMICTT4",257,0)
;
"RTN","SAMICTT4",258,0)
n zr
"RTN","SAMICTT4",259,0)
s zr=$g(@vals@(var))
"RTN","SAMICTT4",260,0)
;i zr="" s zr="["_var_"]"
"RTN","SAMICTT4",261,0)
;
"RTN","SAMICTT4",262,0)
quit zr ; end of $$XVAL
"RTN","SAMICTT4",263,0)
;
"RTN","SAMICTT4",264,0)
;
"RTN","SAMICTT4",265,0)
;
"RTN","SAMICTT4",266,0)
XSUB(var,vals,dict,valdx) ; extrinsic which returns the dictionary value defined by var
"RTN","SAMICTT4",267,0)
;
"RTN","SAMICTT4",268,0)
;@called-by
"RTN","SAMICTT4",269,0)
; BREAST
"RTN","SAMICTT4",270,0)
;@calls none
"RTN","SAMICTT4",271,0)
;@input
"RTN","SAMICTT4",272,0)
; vals and dict are passed by name
"RTN","SAMICTT4",273,0)
; valdx is used for nodules ala cect2co with the nodule number included
"RTN","SAMICTT4",274,0)
;@output = dictionary value for var
"RTN","SAMICTT4",275,0)
;
"RTN","SAMICTT4",276,0)
;n dict s dict=$$setroot^%wd("cteval-dict")
"RTN","SAMICTT4",277,0)
n zr,zv,zdx
"RTN","SAMICTT4",278,0)
s zdx=$g(valdx)
"RTN","SAMICTT4",279,0)
i zdx="" s zdx=var
"RTN","SAMICTT4",280,0)
s zv=$g(@vals@(zdx))
"RTN","SAMICTT4",281,0)
;i zv="" s zr="["_var_"]" q zr
"RTN","SAMICTT4",282,0)
i zv="" s zr="" q zr
"RTN","SAMICTT4",283,0)
s zr=$g(@dict@(var,zv))
"RTN","SAMICTT4",284,0)
;i zr="" s zr="["_var_","_zv_"]"
"RTN","SAMICTT4",285,0)
;
"RTN","SAMICTT4",286,0)
quit zr ; end of $$XSUB
"RTN","SAMICTT4",287,0)
;
"RTN","SAMICTT4",288,0)
;
"RTN","SAMICTT4",289,0)
;
"RTN","SAMICTT4",290,0)
EOR ; end of routine SAMICTT4
"RTN","SAMICTT9")
0^6^B17246420
"RTN","SAMICTT9",1,0)
SAMICTT9 ;ven/gpl - ctreport text impressions ;2021-03-22T15:17Z
"RTN","SAMICTT9",2,0)
;;18.0;SAMI;**4,10**;2020-01;Build 3
"RTN","SAMICTT9",3,0)
;;1.18.0.10-i10
"RTN","SAMICTT9",4,0)
;
"RTN","SAMICTT9",5,0)
; SAMICTT9 creates the Impressions section of the ELCAP CT Report in
"RTN","SAMICTT9",6,0)
; text format.
"RTN","SAMICTT9",7,0)
;
"RTN","SAMICTT9",8,0)
quit ; no entry from top
"RTN","SAMICTT9",9,0)
;
"RTN","SAMICTT9",10,0)
;
"RTN","SAMICTT9",11,0)
;
"RTN","SAMICTT9",12,0)
;@section 0 primary development
"RTN","SAMICTT9",13,0)
;
"RTN","SAMICTT9",14,0)
;
"RTN","SAMICTT9",15,0)
;
"RTN","SAMICTT9",16,0)
;@license see routine SAMIUL
"RTN","SAMICTT9",17,0)
;@documentation see SAMICTUL
"RTN","SAMICTT9",18,0)
;@contents
"RTN","SAMICTT9",19,0)
; IMPRSN: impressions section of ctreport text format
"RTN","SAMICTT9",20,0)
; OUT: output a line of ct report
"RTN","SAMICTT9",21,0)
; OUTOLD: old version of out
"RTN","SAMICTT9",22,0)
; HOUT: output a ct report header line
"RTN","SAMICTT9",23,0)
; $$XVAL = patient value for var
"RTN","SAMICTT9",24,0)
; $$XSUB = dictionary value defined by var
"RTN","SAMICTT9",25,0)
;
"RTN","SAMICTT9",26,0)
;
"RTN","SAMICTT9",27,0)
;
"RTN","SAMICTT9",28,0)
;@section 1 IMPRSN & related subroutines
"RTN","SAMICTT9",29,0)
;
"RTN","SAMICTT9",30,0)
;
"RTN","SAMICTT9",31,0)
;
"RTN","SAMICTT9",32,0)
IMPRSN(rtn,vals,dict) ; impressions section of ctreport text format
"RTN","SAMICTT9",33,0)
;
"RTN","SAMICTT9",34,0)
; repgen13
"RTN","SAMICTT9",35,0)
;
"RTN","SAMICTT9",36,0)
;@called-by
"RTN","SAMICTT9",37,0)
; WSREPORT^SAMICTT0
"RTN","SAMICTT9",38,0)
;@calls
"RTN","SAMICTT9",39,0)
; OUT
"RTN","SAMICTT9",40,0)
; $$XSUB
"RTN","SAMICTT9",41,0)
; $$XVAL
"RTN","SAMICTT9",42,0)
;@input
"RTN","SAMICTT9",43,0)
; rtn
"RTN","SAMICTT9",44,0)
; vals
"RTN","SAMICTT9",45,0)
; dict
"RTN","SAMICTT9",46,0)
;@output: create impressions section of ct report in text format
"RTN","SAMICTT9",47,0)
;
"RTN","SAMICTT9",48,0)
; # Impression
"RTN","SAMICTT9",49,0)
;d OUT("</TD></TR></TABLE><TR><TD>")
"RTN","SAMICTT9",50,0)
;d OUT("<HR SIZE=""2"" WIDTH=""100%"" ALIGN=""center"" NOSHADE>")
"RTN","SAMICTT9",51,0)
;d OUT("</TD></TR>")
"RTN","SAMICTT9",52,0)
;d OUT("<!-- impression -->")
"RTN","SAMICTT9",53,0)
;d OUT("<TR><TD>")
"RTN","SAMICTT9",54,0)
;d OUT("<FONT SIZE=""+2"">")
"RTN","SAMICTT9",55,0)
;d OUT("<B>IMPRESSION:</B>")
"RTN","SAMICTT9",56,0)
;d OUT("</FONT>")
"RTN","SAMICTT9",57,0)
;d OUT("</TD></TR><TR><TD><TABLE>")
"RTN","SAMICTT9",58,0)
;d OUT("<TR><TD WIDTH=20></TD><TD>")
"RTN","SAMICTT9",59,0)
d OUT("")
"RTN","SAMICTT9",60,0)
d OUT("IMPRESSION:")
"RTN","SAMICTT9",61,0)
d OUT("")
"RTN","SAMICTT9",62,0)
;
"RTN","SAMICTT9",63,0)
d OUT($$XSUB("ceimn",vals,dict)_para)
"RTN","SAMICTT9",64,0)
;
"RTN","SAMICTT9",65,0)
;# Report CAC Score and Extent of Emphysema
"RTN","SAMICTT9",66,0)
s cacval=0
"RTN","SAMICTT9",67,0)
d ;if $$XVAL("ceccv",vals)'="e" d ;
"RTN","SAMICTT9",68,0)
. set vcac=$$XVAL("cecccac",vals)
"RTN","SAMICTT9",69,0)
. if vcac'="" d ;
"RTN","SAMICTT9",70,0)
. . s cacrec=""
"RTN","SAMICTT9",71,0)
. . s cac="The Visual Coronary Artery Calcium (CAC) Score is "_vcac_". "
"RTN","SAMICTT9",72,0)
. . s cacval=vcac
"RTN","SAMICTT9",73,0)
. . i cacval>3 s cacrec=$g(@dict@("CAC_recommendation"))_para
"RTN","SAMICTT9",74,0)
;
"RTN","SAMICTT9",75,0)
i cacval>0 d ;
"RTN","SAMICTT9",76,0)
. d OUT("")
"RTN","SAMICTT9",77,0)
. d OUT(cac_" "_cacrec_" ") d OUT("")
"RTN","SAMICTT9",78,0)
. d ;if $$XVAL("ceemv",vals)="e" d ;
"RTN","SAMICTT9",79,0)
. . if $$XVAL("ceem",vals)'="no" d ;
"RTN","SAMICTT9",80,0)
. . . if $$XVAL("ceem",vals)="nv" q ;
"RTN","SAMICTT9",81,0)
. . . d OUT("Emphysema:") d OUT("")
"RTN","SAMICTT9",82,0)
. . . d OUT($$XSUB("ceem",vals,dict)_". ") d OUT("")
"RTN","SAMICTT9",83,0)
;
"RTN","SAMICTT9",84,0)
i $$XVAL("ceclini",vals)="y" d ;
"RTN","SAMICTT9",85,0)
. d OUT($$XVAL("ceclin",vals)_". ") d OUT("")
"RTN","SAMICTT9",86,0)
;
"RTN","SAMICTT9",87,0)
i $$XVAL("ceoppai",vals)="y" d ;
"RTN","SAMICTT9",88,0)
. d OUT($$XVAL("ceoppa",vals)_". ") d OUT("")
"RTN","SAMICTT9",89,0)
;
"RTN","SAMICTT9",90,0)
i $$XVAL("ceoppabi",vals)="y" d ;
"RTN","SAMICTT9",91,0)
. d OUT($$XVAL("ceoppab",vals)_". ") d OUT("")
"RTN","SAMICTT9",92,0)
;
"RTN","SAMICTT9",93,0)
i $$XVAL("cecommcai",vals)="y" d ;
"RTN","SAMICTT9",94,0)
. d OUT($$XVAL("cecommca",vals)_". ") d OUT("")
"RTN","SAMICTT9",95,0)
;
"RTN","SAMICTT9",96,0)
i $$XVAL("ceotabnmi",vals)="y" d ;
"RTN","SAMICTT9",97,0)
. d OUT($$XVAL("ceotabnm",vals)_". ") d OUT("")
"RTN","SAMICTT9",98,0)
;
"RTN","SAMICTT9",99,0)
i $$XVAL("ceobrci",vals)="y" d ;
"RTN","SAMICTT9",100,0)
. d OUT($$XVAL("ceobrc",vals)_". ") d OUT("")
"RTN","SAMICTT9",101,0)
;
"RTN","SAMICTT9",102,0)
i $$XVAL("ceaoabbi",vals)="y" d ;
"RTN","SAMICTT9",103,0)
. d OUT($$XVAL("ceaoabb",vals)_". ") d OUT("")
"RTN","SAMICTT9",104,0)
;
"RTN","SAMICTT9",105,0)
i $$XVAL("ceaoabi",vals)="y" d ;
"RTN","SAMICTT9",106,0)
. d OUT($$XVAL("ceaoab",vals)_". ") d OUT("")
"RTN","SAMICTT9",107,0)
;
"RTN","SAMICTT9",108,0)
;# Impression Remarks
"RTN","SAMICTT9",109,0)
i $$XVAL("ceimre",vals)'="" d ;
"RTN","SAMICTT9",110,0)
. d OUT($$XVAL("ceimre",vals)_". ") d OUT("")
"RTN","SAMICTT9",111,0)
;
"RTN","SAMICTT9",112,0)
quit ; end of IMPRSN
"RTN","SAMICTT9",113,0)
;
"RTN","SAMICTT9",114,0)
;
"RTN","SAMICTT9",115,0)
;
"RTN","SAMICTT9",116,0)
OUT(ln) ; output a line of ct report
"RTN","SAMICTT9",117,0)
;
"RTN","SAMICTT9",118,0)
;@called-by
"RTN","SAMICTT9",119,0)
; IMPRSN
"RTN","SAMICTT9",120,0)
;@calls none
"RTN","SAMICTT9",121,0)
;@input
"RTN","SAMICTT9",122,0)
; ln = output to add
"RTN","SAMICTT9",123,0)
;@output: line added to ct report
"RTN","SAMICTT9",124,0)
;
"RTN","SAMICTT9",125,0)
s cnt=cnt+1
"RTN","SAMICTT9",126,0)
n lnn
"RTN","SAMICTT9",127,0)
;s debug=1
"RTN","SAMICTT9",128,0)
s lnn=$o(@rtn@(" "),-1)+1
"RTN","SAMICTT9",129,0)
s @rtn@(lnn)=ln
"RTN","SAMICTT9",130,0)
;
"RTN","SAMICTT9",131,0)
i $g(debug)=1 d ;
"RTN","SAMICTT9",132,0)
. i ln["<" q ; no markup
"RTN","SAMICTT9",133,0)
. n zs s zs=$STACK
"RTN","SAMICTT9",134,0)
. n zp s zp=$STACK(zs-2,"PLACE")
"RTN","SAMICTT9",135,0)
. s @rtn@(lnn)=zp_":"_ln
"RTN","SAMICTT9",136,0)
;
"RTN","SAMICTT9",137,0)
quit ; end of OUT
"RTN","SAMICTT9",138,0)
;
"RTN","SAMICTT9",139,0)
;
"RTN","SAMICTT9",140,0)
;
"RTN","SAMICTT9",141,0)
HOUT(ln) ; output a ct report header line
"RTN","SAMICTT9",142,0)
;
"RTN","SAMICTT9",143,0)
;@called-by none
"RTN","SAMICTT9",144,0)
;@calls
"RTN","SAMICTT9",145,0)
; OUT
"RTN","SAMICTT9",146,0)
;@input
"RTN","SAMICTT9",147,0)
; ln = output to add
"RTN","SAMICTT9",148,0)
;@output: header line added to ct report
"RTN","SAMICTT9",149,0)
;
"RTN","SAMICTT9",150,0)
d OUT("<p><span class='sectionhead'>"_ln_"</span>")
"RTN","SAMICTT9",151,0)
;
"RTN","SAMICTT9",152,0)
quit ; end of HOUT
"RTN","SAMICTT9",153,0)
;
"RTN","SAMICTT9",154,0)
;
"RTN","SAMICTT9",155,0)
;
"RTN","SAMICTT9",156,0)
XVAL(var,vals) ; extrinsic returns the patient value for var
"RTN","SAMICTT9",157,0)
;
"RTN","SAMICTT9",158,0)
;@called-by
"RTN","SAMICTT9",159,0)
; IMPRSN
"RTN","SAMICTT9",160,0)
;@calls none
"RTN","SAMICTT9",161,0)
;@input
"RTN","SAMICTT9",162,0)
; var
"RTN","SAMICTT9",163,0)
; vals is passed by name
"RTN","SAMICTT9",164,0)
;@output = patient value for var
"RTN","SAMICTT9",165,0)
;
"RTN","SAMICTT9",166,0)
n zr
"RTN","SAMICTT9",167,0)
s zr=$g(@vals@(var))
"RTN","SAMICTT9",168,0)
;i zr="" s zr="["_var_"]"
"RTN","SAMICTT9",169,0)
;
"RTN","SAMICTT9",170,0)
quit zr ; end of $$XVAL
"RTN","SAMICTT9",171,0)
;
"RTN","SAMICTT9",172,0)
;
"RTN","SAMICTT9",173,0)
;
"RTN","SAMICTT9",174,0)
XSUB(var,vals,dict,valdx) ; extrinsic which returns the dictionary value defined by var
"RTN","SAMICTT9",175,0)
;
"RTN","SAMICTT9",176,0)
;@called-by
"RTN","SAMICTT9",177,0)
; IMPRSN
"RTN","SAMICTT9",178,0)
;@calls none
"RTN","SAMICTT9",179,0)
;@input
"RTN","SAMICTT9",180,0)
; var
"RTN","SAMICTT9",181,0)
; vals & dict are passed by name
"RTN","SAMICTT9",182,0)
; valdx is used for nodules ala cect2co with nodule # included
"RTN","SAMICTT9",183,0)
;@output = dictionary value for var
"RTN","SAMICTT9",184,0)
;
"RTN","SAMICTT9",185,0)
;n dict s dict=$$setroot^%wd("cteval-dict")
"RTN","SAMICTT9",186,0)
n zr,zv,zdx
"RTN","SAMICTT9",187,0)
s zdx=$g(valdx)
"RTN","SAMICTT9",188,0)
i zdx="" s zdx=var
"RTN","SAMICTT9",189,0)
s zv=$g(@vals@(zdx))
"RTN","SAMICTT9",190,0)
;i zv="" s zr="["_var_"]" q zr
"RTN","SAMICTT9",191,0)
i zv="" s zr="" q zr
"RTN","SAMICTT9",192,0)
s zr=$g(@dict@(var,zv))
"RTN","SAMICTT9",193,0)
;i zr="" s zr="["_var_","_zv_"]"
"RTN","SAMICTT9",194,0)
;
"RTN","SAMICTT9",195,0)
quit zr ; end of $$XSUB
"RTN","SAMICTT9",196,0)
;
"RTN","SAMICTT9",197,0)
;
"RTN","SAMICTT9",198,0)
;
"RTN","SAMICTT9",199,0)
EOR ; end of routine SAMICTT9
"RTN","SAMICTTA")
0^7^B34902655
"RTN","SAMICTTA",1,0)
SAMICTTA ;ven/gpl - ctreport text recommendations ;2021-03-22T15:51Z
"RTN","SAMICTTA",2,0)
;;18.0;SAMI;**4,10**;2020-01;Build 3
"RTN","SAMICTTA",3,0)
;;1.18.0.10-i10
"RTN","SAMICTTA",4,0)
;
"RTN","SAMICTTA",5,0)
; SAMICTTA creates the Recommendations section of the ELCAP CT Report
"RTN","SAMICTTA",6,0)
; in text format.
"RTN","SAMICTTA",7,0)
;
"RTN","SAMICTTA",8,0)
quit ; no entry from top
"RTN","SAMICTTA",9,0)
;
"RTN","SAMICTTA",10,0)
;
"RTN","SAMICTTA",11,0)
;
"RTN","SAMICTTA",12,0)
;@section 0 primary development
"RTN","SAMICTTA",13,0)
;
"RTN","SAMICTTA",14,0)
;
"RTN","SAMICTTA",15,0)
;
"RTN","SAMICTTA",16,0)
;@license see routine SAMIUL
"RTN","SAMICTTA",17,0)
;@documentation see SAMICTUL
"RTN","SAMICTTA",18,0)
;@contents
"RTN","SAMICTTA",19,0)
; RCMND: recommendations section of ctreport in text format
"RTN","SAMICTTA",20,0)
; OUT: output a line of ct report
"RTN","SAMICTTA",21,0)
; HOUT: output a ct report header line
"RTN","SAMICTTA",22,0)
; $$XVAL = patient value for var
"RTN","SAMICTTA",23,0)
; $$XSUB = dictionary value defined by var
"RTN","SAMICTTA",24,0)
;
"RTN","SAMICTTA",25,0)
;
"RTN","SAMICTTA",26,0)
;
"RTN","SAMICTTA",27,0)
;@section 1 RCMND & related subroutines
"RTN","SAMICTTA",28,0)
;
"RTN","SAMICTTA",29,0)
;
"RTN","SAMICTTA",30,0)
;
"RTN","SAMICTTA",31,0)
RCMND(rtn,vals,dict) ; recommendations section of ctreport text format
"RTN","SAMICTTA",32,0)
;
"RTN","SAMICTTA",33,0)
; repgen14
"RTN","SAMICTTA",34,0)
;
"RTN","SAMICTTA",35,0)
;@called-by
"RTN","SAMICTTA",36,0)
; WSREPORT^SAMICTT0
"RTN","SAMICTTA",37,0)
;@calls
"RTN","SAMICTTA",38,0)
; $$XVAL
"RTN","SAMICTTA",39,0)
; OUT
"RTN","SAMICTTA",40,0)
; $$XSUB
"RTN","SAMICTTA",41,0)
;@input
"RTN","SAMICTTA",42,0)
; rtn
"RTN","SAMICTTA",43,0)
; vals
"RTN","SAMICTTA",44,0)
; dict
"RTN","SAMICTTA",45,0)
;@output: create impressions section of ct report in text format
"RTN","SAMICTTA",46,0)
;
"RTN","SAMICTTA",47,0)
;# Recommendation
"RTN","SAMICTTA",48,0)
;d OUT("</TD></TR>")
"RTN","SAMICTTA",49,0)
;d OUT("</TABLE>")
"RTN","SAMICTTA",50,0)
;d OUT("<TR><TD></TD></TR>")
"RTN","SAMICTTA",51,0)
;d OUT("<!-- Recommendation -->")
"RTN","SAMICTTA",52,0)
;
"RTN","SAMICTTA",53,0)
i $$XVAL("cefu",vals)'="nf" d ; 2445-2450 gpl1
"RTN","SAMICTTA",54,0)
. ;d OUT("<TR><TD><FONT SIZE=""+2""><B>")
"RTN","SAMICTTA",55,0)
. ;d OUT("<FONT SIZE=""+2""><B>")
"RTN","SAMICTTA",56,0)
. d OUT("")
"RTN","SAMICTTA",57,0)
. d OUT("Recommendations:")
"RTN","SAMICTTA",58,0)
. d OUT("")
"RTN","SAMICTTA",59,0)
. ;d OUT("</B></FONT>")
"RTN","SAMICTTA",60,0)
. ;d OUT("</TD></TR><TR><TD><TABLE><TR><TD WIDTH=20></TD><TD>")
"RTN","SAMICTTA",61,0)
;
"RTN","SAMICTTA",62,0)
n fuw
"RTN","SAMICTTA",63,0)
s fuw=$$XSUB("cefuw",vals,dict)
"RTN","SAMICTTA",64,0)
;d OUT("fuw= "_fuw)
"RTN","SAMICTTA",65,0)
;d OUT("vals= "_vals)
"RTN","SAMICTTA",66,0)
;d OUT(" dict= "_dict)
"RTN","SAMICTTA",67,0)
;d OUT($o(@vals@("cefuw","")))
"RTN","SAMICTTA",68,0)
;zwr @vals@(*)
"RTN","SAMICTTA",69,0)
;zwr @dict@(*)
"RTN","SAMICTTA",70,0)
;i fuw="" d ;
"RTN","SAMICTTA",71,0)
;. d OUT(para_"<B>"_$$XSUB("cefu",vals,dict)_" on "_$$XVAL("cefud",vals)_".</B>"_para)
"RTN","SAMICTTA",72,0)
;e d ;
"RTN","SAMICTTA",73,0)
;. d OUT(para_"<B>"_$$XSUB("cefu",vals,dict)_" "_fuw_" on "_$$XVAL("cefud",vals)_".</B>"_para)
"RTN","SAMICTTA",74,0)
i fuw="" d ;
"RTN","SAMICTTA",75,0)
. ;d OUT(para_"<B>A followup CT scan is recommended on "_$$XVAL("cefud",vals)_".</B>"_para)
"RTN","SAMICTTA",76,0)
. d OUT("A followup CT scan is recommended on "_$$XVAL("cefud",vals)_". ") d OUT("")
"RTN","SAMICTTA",77,0)
e d ;
"RTN","SAMICTTA",78,0)
. ;d OUT(para_"<B>A followup CT scan is recommended "_fuw_" on "_$$XVAL("cefud",vals)_".</B>"_para)
"RTN","SAMICTTA",79,0)
. d OUT("A followup CT scan is recommended "_fuw_" on "_$$XVAL("cefud",vals)_". ") d OUT("")
"RTN","SAMICTTA",80,0)
;
"RTN","SAMICTTA",81,0)
; #Other followup
"RTN","SAMICTTA",82,0)
n zfu,ofu,tofu,comma
"RTN","SAMICTTA",83,0)
s comma=0,tofu=""
"RTN","SAMICTTA",84,0)
s ofu=""
"RTN","SAMICTTA",85,0)
f zfu="cefuaf","cefucc","cefupe","cefufn","cefubr","cefupc","cefutb" d ;
"RTN","SAMICTTA",86,0)
. i $$XVAL(zfu,vals)="y" s ofu=ofu_zfu
"RTN","SAMICTTA",87,0)
i $$XVAL("cefuo",vals)'="" s ofu=ofu_"cefuo"
"RTN","SAMICTTA",88,0)
i ofu'="" d ;
"RTN","SAMICTTA",89,0)
. s tofu="Other followup: "
"RTN","SAMICTTA",90,0)
. i ofu["cefuaf" s tofu=tofu_"Antibiotics" s comma=1
"RTN","SAMICTTA",91,0)
. i ofu["cefucc" s tofu=tofu_$s(comma:", ",1:"")_"Diagnostic CT" s comma=1
"RTN","SAMICTTA",92,0)
. i ofu["cefupe" s tofu=tofu_$s(comma:", ",1:"")_"PET" s comma=1
"RTN","SAMICTTA",93,0)
. i ofu["cefufn" s tofu=tofu_$s(comma:", ",1:"")_"Percutaneous biopsy" s comma=1
"RTN","SAMICTTA",94,0)
. i ofu["cefubr" s tofu=tofu_$s(comma:", ",1:"")_"Bronchoscopy" s comma=1
"RTN","SAMICTTA",95,0)
. i ofu["cefupc" s tofu=tofu_$s(comma:", ",1:"")_"Pulmonary consultation" s comma=1
"RTN","SAMICTTA",96,0)
. i ofu["cefutb" s tofu=tofu_$s(comma:", ",1:"")_"Refer to tumor board" s comma=1
"RTN","SAMICTTA",97,0)
. i ofu["cefuo" s tofu=tofu_$s(comma:", ",1:"")_$$XVAL("cefuoo",vals) s comma=1
"RTN","SAMICTTA",98,0)
i ofu'="" d OUT(para_tofu_para) d OUT("")
"RTN","SAMICTTA",99,0)
;d OUT("<TR><TD></TD></TR>")
"RTN","SAMICTTA",100,0)
; # LungRADS
"RTN","SAMICTTA",101,0)
;
"RTN","SAMICTTA",102,0)
;d OUT("<TR><TD>")
"RTN","SAMICTTA",103,0)
;n lrstyle
"RTN","SAMICTTA",104,0)
;i $$XVAL("celrc",vals)'="" s lrstyle=1 ; dom's style
"RTN","SAMICTTA",105,0)
;e s lrstyle=0 ; artit's style
"RTN","SAMICTTA",106,0)
;s lrstyle=0
"RTN","SAMICTTA",107,0)
;
"RTN","SAMICTTA",108,0)
d ;
"RTN","SAMICTTA",109,0)
. q ; LUNGRADS moved to SAMICTR4
"RTN","SAMICTTA",110,0)
. n lradModifiers
"RTN","SAMICTTA",111,0)
. s lradModifiers=$$XVAL("celradc",vals)_$$XVAL("celrads",vals)
"RTN","SAMICTTA",112,0)
. ;
"RTN","SAMICTTA",113,0)
. i ($$XVAL("celrad",vals)'="-")&($$XVAL("celrad",vals)'="") d ;
"RTN","SAMICTTA",114,0)
. . d OUT("The LungRADS category for this scan is: "_$$XVAL("celrad",vals)_" "_lradModifiers)
"RTN","SAMICTTA",115,0)
. . d OUT(para)
"RTN","SAMICTTA",116,0)
;
"RTN","SAMICTTA",117,0)
;d OUT("</TD></TR>")
"RTN","SAMICTTA",118,0)
;
"RTN","SAMICTTA",119,0)
;d OUT("<TR><TD><TABLE><TR><TD WIDTH=20></TD><TD>")
"RTN","SAMICTTA",120,0)
;
"RTN","SAMICTTA",121,0)
;# Check if Study is Completed
"RTN","SAMICTTA",122,0)
;# Find Current Study ID
"RTN","SAMICTTA",123,0)
;# locate most recent followup
"RTN","SAMICTTA",124,0)
;# get status (sies)
"RTN","SAMICTTA",125,0)
;# if sc=Study Complete and cefu=rs
"RTN","SAMICTTA",126,0)
;
"RTN","SAMICTTA",127,0)
n patstatus
"RTN","SAMICTTA",128,0)
s patstatus=$$XVAL("cedos",vals)
"RTN","SAMICTTA",129,0)
;i patstatus="sc" d OUT(para_$g(@dict@("study_complete")))
"RTN","SAMICTTA",130,0)
i patstatus="sc" d OUT($g(@dict@("study_complete"))) d OUT("")
"RTN","SAMICTTA",131,0)
;
"RTN","SAMICTTA",132,0)
;# Radiologist
"RTN","SAMICTTA",133,0)
i $$XVAL("cerad",vals)'="" d ;
"RTN","SAMICTTA",134,0)
. d OUT("Interpreted by: "_$$XVAL("cerad",vals)) d OUT("")
"RTN","SAMICTTA",135,0)
;
"RTN","SAMICTTA",136,0)
;d OUT("<TR><TD></TD></TR>")
"RTN","SAMICTTA",137,0)
; # LungRADS
"RTN","SAMICTTA",138,0)
;
"RTN","SAMICTTA",139,0)
;d OUT("<TR><TD>")
"RTN","SAMICTTA",140,0)
n lrstyle
"RTN","SAMICTTA",141,0)
i $$XVAL("celrc",vals)'="" s lrstyle=1 ; dom's style
"RTN","SAMICTTA",142,0)
e s lrstyle=0 ; artit's style
"RTN","SAMICTTA",143,0)
s lrstyle=0
"RTN","SAMICTTA",144,0)
;
"RTN","SAMICTTA",145,0)
d ;
"RTN","SAMICTTA",146,0)
. ;q ; LUNGRADS moved to SAMICTR4
"RTN","SAMICTTA",147,0)
. n lradModifiers
"RTN","SAMICTTA",148,0)
. s lradModifiers=$$XVAL("celradc",vals)_$$XVAL("celrads",vals)
"RTN","SAMICTTA",149,0)
. ;
"RTN","SAMICTTA",150,0)
. i ($$XVAL("celrad",vals)'="-")&($$XVAL("celrad",vals)'="") d ;
"RTN","SAMICTTA",151,0)
. . d OUT("The LungRADS category for this scan is: "_$$XVAL("celrad",vals)_" "_lradModifiers)
"RTN","SAMICTTA",152,0)
. . d OUT("")
"RTN","SAMICTTA",153,0)
;
"RTN","SAMICTTA",154,0)
;d OUT("</TD></TR>")
"RTN","SAMICTTA",155,0)
;
"RTN","SAMICTTA",156,0)
;d OUT("<TR><TD><TABLE><TR><TD WIDTH=20></TD><TD>")
"RTN","SAMICTTA",157,0)
;
"RTN","SAMICTTA",158,0)
quit ; end of RCMND
"RTN","SAMICTTA",159,0)
;
"RTN","SAMICTTA",160,0)
;
"RTN","SAMICTTA",161,0)
;
"RTN","SAMICTTA",162,0)
OUT(ln) ; output a line of ct report
"RTN","SAMICTTA",163,0)
;
"RTN","SAMICTTA",164,0)
;@called-by
"RTN","SAMICTTA",165,0)
; RCMND
"RTN","SAMICTTA",166,0)
;@calls none
"RTN","SAMICTTA",167,0)
;@input
"RTN","SAMICTTA",168,0)
; ln = output to add
"RTN","SAMICTTA",169,0)
;@output: line added to ct report
"RTN","SAMICTTA",170,0)
;
"RTN","SAMICTTA",171,0)
s cnt=cnt+1
"RTN","SAMICTTA",172,0)
n lnn
"RTN","SAMICTTA",173,0)
;s debug=1
"RTN","SAMICTTA",174,0)
s lnn=$o(@rtn@(" "),-1)+1
"RTN","SAMICTTA",175,0)
s @rtn@(lnn)=ln
"RTN","SAMICTTA",176,0)
;
"RTN","SAMICTTA",177,0)
i $g(debug)=1 d ;
"RTN","SAMICTTA",178,0)
. i ln["<T" q ; no markup
"RTN","SAMICTTA",179,0)
. i ln["</" q ; no markup
"RTN","SAMICTTA",180,0)
. n zs s zs=$STACK
"RTN","SAMICTTA",181,0)
. n zp s zp=$STACK(zs-2,"PLACE")
"RTN","SAMICTTA",182,0)
. s @rtn@(lnn)=zp_":"_ln
"RTN","SAMICTTA",183,0)
;
"RTN","SAMICTTA",184,0)
quit ; end of OUT
"RTN","SAMICTTA",185,0)
;
"RTN","SAMICTTA",186,0)
;
"RTN","SAMICTTA",187,0)
;
"RTN","SAMICTTA",188,0)
HOUT(ln) ; output a ct report header line
"RTN","SAMICTTA",189,0)
;
"RTN","SAMICTTA",190,0)
;@called-by none
"RTN","SAMICTTA",191,0)
;@calls
"RTN","SAMICTTA",192,0)
; OUT
"RTN","SAMICTTA",193,0)
;@input
"RTN","SAMICTTA",194,0)
; ln = header output to add
"RTN","SAMICTTA",195,0)
;@output: header line added to ct report
"RTN","SAMICTTA",196,0)
;
"RTN","SAMICTTA",197,0)
d OUT("<p><span class='sectionhead'>"_ln_"</span>")
"RTN","SAMICTTA",198,0)
;
"RTN","SAMICTTA",199,0)
quit ; end of HOUT
"RTN","SAMICTTA",200,0)
;
"RTN","SAMICTTA",201,0)
;
"RTN","SAMICTTA",202,0)
;
"RTN","SAMICTTA",203,0)
XVAL(var,vals) ; extrinsic returns the patient value for var
"RTN","SAMICTTA",204,0)
;
"RTN","SAMICTTA",205,0)
;@called-by
"RTN","SAMICTTA",206,0)
; RCMND
"RTN","SAMICTTA",207,0)
;@calls none
"RTN","SAMICTTA",208,0)
;@input
"RTN","SAMICTTA",209,0)
; var
"RTN","SAMICTTA",210,0)
; vals is passed by name
"RTN","SAMICTTA",211,0)
;@output = patient value for var
"RTN","SAMICTTA",212,0)
;
"RTN","SAMICTTA",213,0)
n zr
"RTN","SAMICTTA",214,0)
s zr=$g(@vals@(var))
"RTN","SAMICTTA",215,0)
;i zr="" s zr="["_var_"]"
"RTN","SAMICTTA",216,0)
;
"RTN","SAMICTTA",217,0)
quit zr ; end of $$XVAL
"RTN","SAMICTTA",218,0)
;
"RTN","SAMICTTA",219,0)
;
"RTN","SAMICTTA",220,0)
;
"RTN","SAMICTTA",221,0)
XSUB(var,vals,dict,valdx) ; extrinsic which returns the dictionary value defined by var
"RTN","SAMICTTA",222,0)
;
"RTN","SAMICTTA",223,0)
;@called-by
"RTN","SAMICTTA",224,0)
; RCMND
"RTN","SAMICTTA",225,0)
;@calls none
"RTN","SAMICTTA",226,0)
;@input
"RTN","SAMICTTA",227,0)
; var
"RTN","SAMICTTA",228,0)
; vals and dict are passed by name
"RTN","SAMICTTA",229,0)
; valdx is used for nodules ala cect2co with the nodule number included
"RTN","SAMICTTA",230,0)
;@output = dictionary value for var
"RTN","SAMICTTA",231,0)
;
"RTN","SAMICTTA",232,0)
;n dict s dict=$$setroot^%wd("cteval-dict")
"RTN","SAMICTTA",233,0)
n zr,zv,zdx
"RTN","SAMICTTA",234,0)
s zdx=$g(valdx)
"RTN","SAMICTTA",235,0)
i zdx="" s zdx=var
"RTN","SAMICTTA",236,0)
s zv=$g(@vals@(zdx))
"RTN","SAMICTTA",237,0)
;i zv="" s zr="["_var_"]" q zr
"RTN","SAMICTTA",238,0)
i zv="" s zr="" q zr
"RTN","SAMICTTA",239,0)
s zr=$g(@dict@(var,zv))
"RTN","SAMICTTA",240,0)
;i zr="" s zr="["_var_","_zv_"]"
"RTN","SAMICTTA",241,0)
;
"RTN","SAMICTTA",242,0)
quit zr ; end of $$XSUB
"RTN","SAMICTTA",243,0)
;
"RTN","SAMICTTA",244,0)
;
"RTN","SAMICTTA",245,0)
;
"RTN","SAMICTTA",246,0)
EOR ; end of routine SAMICTTA
"RTN","SAMICTUL")
0^9^B93951
"RTN","SAMICTUL",1,0)
SAMICTUL ;ven/gpl - ctreport log ;2021-03-23T17:10Z
"RTN","SAMICTUL",2,0)
;;18.0;SAMI;**10**;2020-01;Build 3
"RTN","SAMICTUL",3,0)
;;1.18.0.10-i10
"RTN","SAMICTUL",4,0)
;
"RTN","SAMICTUL",5,0)
; SAMICTUL contains routine & module info & the primary development
"RTN","SAMICTUL",6,0)
; log for VAPALS-ELCAP's CT Report ctreport web service route, which
"RTN","SAMICTUL",7,0)
; is implemented by the SAMICTR* (html) and SAMICTT* (text)
"RTN","SAMICTUL",8,0)
; routines.
"RTN","SAMICTUL",9,0)
; SAMICTUL contains no public interfaces or executable code.
"RTN","SAMICTUL",10,0)
;
"RTN","SAMICTUL",11,0)
quit ; no entry from top
"RTN","SAMICTUL",12,0)
;
"RTN","SAMICTUL",13,0)
;
"RTN","SAMICTUL",14,0)
;
"RTN","SAMICTUL",15,0)
;@section 0 primary development
"RTN","SAMICTUL",16,0)
;
"RTN","SAMICTUL",17,0)
;
"RTN","SAMICTUL",18,0)
;
"RTN","SAMICTUL",19,0)
;@routine-credits
"RTN","SAMICTUL",20,0)
;@primary-dev George P. Lilly (gpl)
"RTN","SAMICTUL",21,0)
; [email protected]
"RTN","SAMICTUL",22,0)
;@primary-dev-org Vista Expertise Network (ven)
"RTN","SAMICTUL",23,0)
; http://vistaexpertise.net
"RTN","SAMICTUL",24,0)
;@copyright 2017/2021, gpl, all rights reserved
"RTN","SAMICTUL",25,0)
;@license Apache 2.0
"RTN","SAMICTUL",26,0)
; https://www.apache.org/licenses/LICENSE-2.0.html
"RTN","SAMICTUL",27,0)
;
"RTN","SAMICTUL",28,0)
;@last-updated 2021-03-23T17:10Z
"RTN","SAMICTUL",29,0)
;@application Screening Applications Management (SAM)
"RTN","SAMICTUL",30,0)
;@module Screening Applications Management - IELCAP (SAMI)
"RTN","SAMICTUL",31,0)
;@version 1.18.0.10-i10
"RTN","SAMICTUL",32,0)
;@release-date 2020-01
"RTN","SAMICTUL",33,0)
;@patch-list **10**
"RTN","SAMICTUL",34,0)
;
"RTN","SAMICTUL",35,0)
;@additional-dev Frederick D. S. Marshall (toad)
"RTN","SAMICTUL",36,0)
; [email protected]
"RTN","SAMICTUL",37,0)
;@additional-dev Alexis Carlson (arc)
"RTN","SAMICTUL",38,0)
; [email protected]
"RTN","SAMICTUL",39,0)
;
"RTN","SAMICTUL",40,0)
;@module-credits
"RTN","SAMICTUL",41,0)
;@project VA Partnership to Increase Access to Lung Screening
"RTN","SAMICTUL",42,0)
; (VA-PALS)
"RTN","SAMICTUL",43,0)
; http://va-pals.org/
"RTN","SAMICTUL",44,0)
;@funding 2017/2021, Bristol-Myers Squibb Foundation (bmsf)
"RTN","SAMICTUL",45,0)
; https://www.bms.com/about-us/responsibility/bristol-myers-squibb-foundation.html
"RTN","SAMICTUL",46,0)
;@partner-org Veterans Affairs Office of Rural health
"RTN","SAMICTUL",47,0)
; https://www.ruralhealth.va.gov/
"RTN","SAMICTUL",48,0)
;@partner-org International Early Lung Cancer Action Program (I-ELCAP)
"RTN","SAMICTUL",49,0)
; http://ielcap.com/
"RTN","SAMICTUL",50,0)
;@partner-org Paraxial Technologies (par)
"RTN","SAMICTUL",51,0)
; http://paraxialtech.com/
"RTN","SAMICTUL",52,0)
;@partner-org Open Source Electronic Health Record Alliance (OSEHRA)
"RTN","SAMICTUL",53,0)
; https://www.osehra.org/groups/va-pals-open-source-project-group
"RTN","SAMICTUL",54,0)
;
"RTN","SAMICTUL",55,0)
;@module-log
"RTN","SAMICTUL",56,0)
;
"RTN","SAMICTUL",57,0)
; 2020-02-01/03 ven/arc 1.18.0.4-i4 d47135a5,bc32c1cb,5b2e4525,
"RTN","SAMICTUL",58,0)
; 7bcd14a2,1c96fe0e,cb0075e8,5e553dd2,9cde6840,dcea0048e,98b7b273,
"RTN","SAMICTUL",59,0)
; a4f98f19
"RTN","SAMICTUL",60,0)
; SAMICTT0,1,2,3,4,9,A: routines (starting as copies of SAMICTR*) to
"RTN","SAMICTUL",61,0)
; implement ctreport in text format, start convert nodules to text,
"RTN","SAMICTUL",62,0)
; add'l lung findings, fix parag spacing, add impressions sect,
"RTN","SAMICTUL",63,0)
; recommendations sect, add'l sects on other abnormalities, breast
"RTN","SAMICTUL",64,0)
; abnorm sect, other abnorm sect, tweak format, make it more compact.
"RTN","SAMICTUL",65,0)
;
"RTN","SAMICTUL",66,0)
; 2021-02-18 ven/gpl 1.18.0.10-i10 38fb2d70
"RTN","SAMICTUL",67,0)
; SAMICTT0,1,2,3,4,9,A: ct report - insert space after every period.
"RTN","SAMICTUL",68,0)
;
"RTN","SAMICTUL",69,0)
; 2021-03-04/16 ven/gpl 1.18.0.10-i10 e09d5f16,3ea26de9,91793ba3
"RTN","SAMICTUL",70,0)
; SAMICTT1,3,4: ct report: fix normal cardiac default output, CAC
"RTN","SAMICTUL",71,0)
; logic, other enhancements.
"RTN","SAMICTUL",72,0)
;
"RTN","SAMICTUL",73,0)
; 2021-03-23 ven/gpl 1.18.0.10-i10 a68f7f31
"RTN","SAMICTUL",74,0)
; SAMICTT3: fix CAC problem.
"RTN","SAMICTUL",75,0)
;
"RTN","SAMICTUL",76,0)
; 2021-03-21/23 ven/toad 1.18.0.10-i10
"RTN","SAMICTUL",77,0)
; SAMICTUL: create development log routine.
"RTN","SAMICTUL",78,0)
; SAMICTT0,1,2,3,4,9,A: bump date & version, lt refactor.
"RTN","SAMICTUL",79,0)
;
"RTN","SAMICTUL",80,0)
;
"RTN","SAMICTUL",81,0)
;
"RTN","SAMICTUL",82,0)
;@contents
"RTN","SAMICTUL",83,0)
; SAMICTT0: ctreport text main
"RTN","SAMICTUL",84,0)
; SAMICTT1: ctreport text nodules
"RTN","SAMICTUL",85,0)
; SAMICTT2: ctreport text other lung
"RTN","SAMICTUL",86,0)
; SAMICTT3: ctreport text emphysema
"RTN","SAMICTUL",87,0)
; SAMICTT4: ctreport text breast abnorm
"RTN","SAMICTUL",88,0)
; SAMICTT9: ctreport text impressions
"RTN","SAMICTUL",89,0)
; SAMICTTA: ctreport text recommendations
"RTN","SAMICTUL",90,0)
; SAMICTUL: ctreport log
"RTN","SAMICTUL",91,0)
;
"RTN","SAMICTUL",92,0)
; SAMICTR*: ctreport html format
"RTN","SAMICTUL",93,0)
; SAMIUTR*: test the SAMICTR routines
"RTN","SAMICTUL",94,0)
;
"RTN","SAMICTUL",95,0)
;
"RTN","SAMICTUL",96,0)
;
"RTN","SAMICTUL",97,0)
EOR ; end of routine SAMICTUL
"RTN","SAMIFLD")
0^8^B215854610
"RTN","SAMIFLD",1,0)
SAMIFLD ;ven/gpl - elcap: form load & case review ;2021-03-21T23:51Z
"RTN","SAMIFLD",2,0)
;;18.0;SAMI;**10**;2020-01;Build 3
"RTN","SAMIFLD",3,0)
;;1.18.0.10-i10
"RTN","SAMIFLD",4,0)
;
"RTN","SAMIFLD",5,0)
; SAMIFLD contains subroutines for processing ELCAP forms, loading
"RTN","SAMIFLD",6,0)
; JSON data into the graphstore for each line. Since three of those
"RTN","SAMIFLD",7,0)
; subroutines are also code for ppis called by WSCASE^SAMICASE, two
"RTN","SAMIFLD",8,0)
; additional subroutines are included that are not part of the LOAD
"RTN","SAMIFLD",9,0)
; opus but are called by WSCASE^SAMICASE.
"RTN","SAMIFLD",10,0)
; SAMIFLD contains no public entry points (see SAMIFORM).
"RTN","SAMIFLD",11,0)
;
"RTN","SAMIFLD",12,0)
quit ; no entry from top
"RTN","SAMIFLD",13,0)
;
"RTN","SAMIFLD",14,0)
;
"RTN","SAMIFLD",15,0)
;
"RTN","SAMIFLD",16,0)
;@section 0 primary development
"RTN","SAMIFLD",17,0)
;
"RTN","SAMIFLD",18,0)
;
"RTN","SAMIFLD",19,0)
;
"RTN","SAMIFLD",20,0)
;@routine-credits
"RTN","SAMIFLD",21,0)
;@primary-dev George P. Lilly (gpl)
"RTN","SAMIFLD",22,0)
; [email protected]
"RTN","SAMIFLD",23,0)
;@primary-dev-org Vista Expertise Network (ven)
"RTN","SAMIFLD",24,0)
; http://vistaexpertise.net
"RTN","SAMIFLD",25,0)
;@copyright 2017/2021, gpl, all rights reserved
"RTN","SAMIFLD",26,0)
;@license Apache 2.0
"RTN","SAMIFLD",27,0)
; https://www.apache.org/licenses/LICENSE-2.0.html
"RTN","SAMIFLD",28,0)
;
"RTN","SAMIFLD",29,0)
;@last-updated 2021-03-21T23:51Z
"RTN","SAMIFLD",30,0)
;@application Screening Applications Management (SAM)
"RTN","SAMIFLD",31,0)
;@module Screening Applications Management - VAPALS-ELCAP (SAMI)
"RTN","SAMIFLD",32,0)
;@version 1.18.0.10-i10
"RTN","SAMIFLD",33,0)
;@release-date 2020-01
"RTN","SAMIFLD",34,0)
;@patch-list **10**
"RTN","SAMIFLD",35,0)
;@build 11
"RTN","SAMIFLD",36,0)
;
"RTN","SAMIFLD",37,0)
;@additional-dev Frederick D. S. Marshall (toad)
"RTN","SAMIFLD",38,0)
; [email protected]
"RTN","SAMIFLD",39,0)
;@additional-dev Larry G. Carlson (lgc)
"RTN","SAMIFLD",40,0)
; [email protected]
"RTN","SAMIFLD",41,0)
;@additional-dev Alexis Carlson (arc)
"RTN","SAMIFLD",42,0)
; [email protected]
"RTN","SAMIFLD",43,0)
;@additional-dev Domenic DiNatale (dom)
"RTN","SAMIFLD",44,0)
; [email protected]
"RTN","SAMIFLD",45,0)
;
"RTN","SAMIFLD",46,0)
;@module-credits [see SAMIFUL]
"RTN","SAMIFLD",47,0)
;
"RTN","SAMIFLD",48,0)
;@contents
"RTN","SAMIFLD",49,0)
; LOAD: code for ppi LOAD^SAMIFORM
"RTN","SAMIFLD",50,0)
; process html line, e.g., load json data into graph
"RTN","SAMIFLD",51,0)
;
"RTN","SAMIFLD",52,0)
; $$xpand = expand # to 8 digits
"RTN","SAMIFLD",53,0)
; $$GETHDR-AGE = header string for patient sid
"RTN","SAMIFLD",54,0)
;
"RTN","SAMIFLD",55,0)
; GETLAST5 = code for ppi $$GETLAST5^SAMIFORM
"RTN","SAMIFLD",56,0)
; last5 for patient sid
"RTN","SAMIFLD",57,0)
; FIXSRC: code for ppi FIXSRC^SAMIFORM
"RTN","SAMIFLD",58,0)
; fix html src lines to use resources in see/
"RTN","SAMIFLD",59,0)
; FIXHREF: code for ppi FIXHREF^SAMIFORM
"RTN","SAMIFLD",60,0)
; fix html href lines to use resources in see/
"RTN","SAMIFLD",61,0)
;
"RTN","SAMIFLD",62,0)
; GETNAME = code for ppi $$GETNAME^SAMIFORM
"RTN","SAMIFLD",63,0)
; name for patient sid
"RTN","SAMIFLD",64,0)
; GETSSN = code for ppi $$GETSSN^SAMIFORM
"RTN","SAMIFLD",65,0)
; ssn for patient sid
"RTN","SAMIFLD",66,0)
; GETPRFX = code for ppi $$GETPRFX^SAMIFORM [deprecated]
"RTN","SAMIFLD",67,0)
; retrieve study id prefix from parameter file
"RTN","SAMIFLD",68,0)
;
"RTN","SAMIFLD",69,0)
;
"RTN","SAMIFLD",70,0)
;
"RTN","SAMIFLD",71,0)
;@section 1 code for ppi LOAD^SAMIFRM
"RTN","SAMIFLD",72,0)
;
"RTN","SAMIFLD",73,0)
;
"RTN","SAMIFLD",74,0)
;
"RTN","SAMIFLD",75,0)
;@ppi-code LOAD^SAMIFORM
"RTN","SAMIFLD",76,0)
LOAD ; process html line, e.g., load json data into graph
"RTN","SAMIFLD",77,0)
;
"RTN","SAMIFLD",78,0)
;@signature
"RTN","SAMIFLD",79,0)
; do LOAD^SAMIFORM(.SAMILINE,form,sid,.SAMIFILTER,.SAMILNUM,.SAMIHTML,.SAMIVALS)
"RTN","SAMIFLD",80,0)
;@branches-from
"RTN","SAMIFLD",81,0)
; LOAD^SAMIFORM
"RTN","SAMIFLD",82,0)
;@ppi-called-by
"RTN","SAMIFLD",83,0)
; wsGetForm^%wf
"RTN","SAMIFLD",84,0)
; WSNOTE^SAMINOTI
"RTN","SAMIFLD",85,0)
; WSREPORT^SAMIUR1
"RTN","SAMIFLD",86,0)
;@called-by: none
"RTN","SAMIFLD",87,0)
;@calls
"RTN","SAMIFLD",88,0)
; $$GETHDR
"RTN","SAMIFLD",89,0)
; $$GETLAST5^SAMIFORM
"RTN","SAMIFLD",90,0)
; findReplace^%ts
"RTN","SAMIFLD",91,0)
; findReplaceAll^%ts
"RTN","SAMIFLD",92,0)
; $$xpand
"RTN","SAMIFLD",93,0)
; FIXSRC^SAMIFORM
"RTN","SAMIFLD",94,0)
; FIXHREF^SAMIFORM
"RTN","SAMIFLD",95,0)
;@thruput
"RTN","SAMIFLD",96,0)
;.SAMILINE = line of html
"RTN","SAMIFLD",97,0)
; SAMILINE("low") = lowercase line for easier checks
"RTN","SAMIFLD",98,0)
;.SAMIFILTER = work-parameters array
"RTN","SAMIFLD",99,0)
; SAMIFILTER("debug") = 1 to debug some fields, 2 to debug more fields
"RTN","SAMIFLD",100,0)
; SAMIFILTER("errormessagestyle") = 2 (default) = use current error msg style
"RTN","SAMIFLD",101,0)
; SAMIFILTER("form") = form id (e.g., "vapals:sbform")
"RTN","SAMIFLD",102,0)
; SAMIFILTER("key") = graph key for saved form (e.g., "ceform-2019-07-01")
"RTN","SAMIFLD",103,0)
; SAMIFILTER("studyid") = patient study id (e.g., "XXX00045")
"RTN","SAMIFLD",104,0)
; SAMIFILTER("fvalue") = deprecated
"RTN","SAMIFLD",105,0)
;.SAMILNUM = html line #, in case need to reset cursor to skip lines
"RTN","SAMIFLD",106,0)
;.SAMIHTML = complete html form, in case other lines need changing
"RTN","SAMIFLD",107,0)
;@input
"RTN","SAMIFLD",108,0)
; form = form id
"RTN","SAMIFLD",109,0)
; sid = patient study id
"RTN","SAMIFLD",110,0)
;.SAMIVALS = field values
"RTN","SAMIFLD",111,0)
; SAMIVALS("saminame")
"RTN","SAMIFLD",112,0)
; SAMIVALS("samistatus")
"RTN","SAMIFLD",113,0)
; SAMIVALS("samifirsttime")
"RTN","SAMIFLD",114,0)
;@tests
"RTN","SAMIFLD",115,0)
; UTSSUB2^SAMIUTF2: used for Dom's new style forms
"RTN","SAMIFLD",116,0)
;
"RTN","SAMIFLD",117,0)
; This line processor/data loader can modify any line in the html as needed.
"RTN","SAMIFLD",118,0)
;
"RTN","SAMIFLD",119,0)
new touched set touched=0
"RTN","SAMIFLD",120,0)
;
"RTN","SAMIFLD",121,0)
set SAMILINE=SAMILINE_$char(13,10) ; insert CRLF at end of every line
"RTN","SAMIFLD",122,0)
; for readability in browser
"RTN","SAMIFLD",123,0)
;
"RTN","SAMIFLD",124,0)
new pssn set pssn=$$GETHDR(sid)
"RTN","SAMIFLD",125,0)
i pssn="" d ; for participants without a sid - ie not registered
"RTN","SAMIFLD",126,0)
. n dfn,lien
"RTN","SAMIFLD",127,0)
. s dfn=$g(SAMIFILTER("dfn")) ; if no sid, maybe a dfn
"RTN","SAMIFLD",128,0)
. q:dfn=""
"RTN","SAMIFLD",129,0)
. n lroot s lroot=$$setroot^%wd("patient-lookup") ;
"RTN","SAMIFLD",130,0)
. s lien=$o(@lroot@("dfn",dfn,""))
"RTN","SAMIFLD",131,0)
. q:lien=""
"RTN","SAMIFLD",132,0)
. n ssn s ssn=$g(@lroot@(lien,"ssn"))
"RTN","SAMIFLD",133,0)
. q:ssn=""
"RTN","SAMIFLD",134,0)
. s pssn=$e(ssn,1,3)_"-"_$e(ssn,4,5)_"-"_$e(ssn,6,9)
"RTN","SAMIFLD",135,0)
new last5 set last5=$$GETLAST5^SAMIFORM(sid)
"RTN","SAMIFLD",136,0)
new useid set useid=pssn
"RTN","SAMIFLD",137,0)
if useid="" set useid=last5
"RTN","SAMIFLD",138,0)
;
"RTN","SAMIFLD",139,0)
if SAMILINE["@@FORMKEY@@" do ; insert form id (graph key for new forms)
"RTN","SAMIFLD",140,0)
. do findReplace^%ts(.SAMILINE,"@@FORMKEY@@",form) ; key -> form, test me
"RTN","SAMIFLD",141,0)
. quit
"RTN","SAMIFLD",142,0)
;
"RTN","SAMIFLD",143,0)
if SAMILINE["@@SID@@" do ; insert patient study id
"RTN","SAMIFLD",144,0)
. do findReplace^%ts(.SAMILINE,"@@SID@@",sid)
"RTN","SAMIFLD",145,0)
. quit
"RTN","SAMIFLD",146,0)
;
"RTN","SAMIFLD",147,0)
if SAMILINE["@@SITE@@" do ; insert site id
"RTN","SAMIFLD",148,0)
. n siteid s siteid=$g(SAMIVALS("siteid"))
"RTN","SAMIFLD",149,0)
. i siteid="" s siteid=$g(SAMIFILTER("siteid"))
"RTN","SAMIFLD",150,0)
. q:siteid=""
"RTN","SAMIFLD",151,0)
. do findReplace^%ts(.SAMILINE,"@@SITE@@",siteid)
"RTN","SAMIFLD",152,0)
. quit
"RTN","SAMIFLD",153,0)
;
"RTN","SAMIFLD",154,0)
if SAMILINE["@@SITETITLE@@" do ; insert site title
"RTN","SAMIFLD",155,0)
. n sitetit s sitetit=$g(SAMIVALS("sitetitle"))
"RTN","SAMIFLD",156,0)
. i sitetit="" s sitetit=$g(SAMIFILTER("sitetitle"))
"RTN","SAMIFLD",157,0)
. q:sitetit=""
"RTN","SAMIFLD",158,0)
. do findReplace^%ts(.SAMILINE,"@@SITETITLE@@",sitetit)
"RTN","SAMIFLD",159,0)
. quit
"RTN","SAMIFLD",160,0)
;
"RTN","SAMIFLD",161,0)
if SAMILINE["@@MANUALREGISTRATION@@" do ; turn off manual registration
"RTN","SAMIFLD",162,0)
. n setman,setparm
"RTN","SAMIFLD",163,0)
. s setman="true"
"RTN","SAMIFLD",164,0)
. s setparm=$$GET^XPAR("SYS","SAMI ALLOW MANUAL ENTRY",,"Q")
"RTN","SAMIFLD",165,0)
. i setparm=0 s setman="false"
"RTN","SAMIFLD",166,0)
. do findReplace^%ts(.SAMILINE,"@@MANUALREGISTRATION@@",setman)
"RTN","SAMIFLD",167,0)
;
"RTN","SAMIFLD",168,0)
if SAMILINE["@@DFN@@" do ; insert patient study id
"RTN","SAMIFLD",169,0)
. n dfn s dfn=$g(SAMIVALS("dfn"))
"RTN","SAMIFLD",170,0)
. q:dfn=""
"RTN","SAMIFLD",171,0)
. do findReplace^%ts(.SAMILINE,"@@DFN@@",dfn)
"RTN","SAMIFLD",172,0)
. quit
"RTN","SAMIFLD",173,0)
;
"RTN","SAMIFLD",174,0)
if SAMILINE["src=" do ; repoint src directory references
"RTN","SAMIFLD",175,0)
. do FIXSRC^SAMIFORM(.SAMILINE) ; insert see/ processor on src= references
"RTN","SAMIFLD",176,0)
. quit
"RTN","SAMIFLD",177,0)
;
"RTN","SAMIFLD",178,0)
if SAMILINE["href=" if 'touched do ; repoint href directory references
"RTN","SAMIFLD",179,0)
. do FIXHREF^SAMIFORM(.SAMILINE) ; insert see/ processor on href= references
"RTN","SAMIFLD",180,0)
. quit
"RTN","SAMIFLD",181,0)
;
"RTN","SAMIFLD",182,0)
if SAMILINE["Sample, Sammy G" do ; insert actual patient name
"RTN","SAMIFLD",183,0)
. ;do findReplace^%ts(.SAMILINE,"Sample, Sammy G",$get(SAMIVALS("saminame")))
"RTN","SAMIFLD",184,0)
. do findReplace^%ts(.SAMILINE,"Sample, Sammy G",$$GETNAME^SAMIFORM(sid))
"RTN","SAMIFLD",185,0)
. quit
"RTN","SAMIFLD",186,0)
;
"RTN","SAMIFLD",187,0)
if SAMILINE["ST0001" do ; insert patient ssn or last 5
"RTN","SAMIFLD",188,0)
. do findReplace^%ts(.SAMILINE,"ST0001",useid)
"RTN","SAMIFLD",189,0)
. quit
"RTN","SAMIFLD",190,0)
;
"RTN","SAMIFLD",191,0)
if SAMILINE["1234567890" do ; cut patient id placeholder
"RTN","SAMIFLD",192,0)
. do findReplace^%ts(.SAMILINE,"1234567890","")
"RTN","SAMIFLD",193,0)
. quit
"RTN","SAMIFLD",194,0)
;
"RTN","SAMIFLD",195,0)
if SAMILINE["XX0002" do ; insert patient study id
"RTN","SAMIFLD",196,0)
. if SAMILINE["XXX" quit ;
"RTN","SAMIFLD",197,0)
. do findReplace^%ts(.SAMILINE,"XX0002",sid)
"RTN","SAMIFLD",198,0)
. quit
"RTN","SAMIFLD",199,0)
;
"RTN","SAMIFLD",200,0)
if SAMILINE["VEP0001" do ; insert patient study id
"RTN","SAMIFLD",201,0)
. do findReplaceAll^%ts(.SAMILINE,"VEP0001",sid)
"RTN","SAMIFLD",202,0)
. quit
"RTN","SAMIFLD",203,0)
;
"RTN","SAMIFLD",204,0)
if SAMILINE["@@FROZEN@@" do ; insert whether form is frozen
"RTN","SAMIFLD",205,0)
. if $get(SAMIVALS("samistatus"))="complete" do ;
"RTN","SAMIFLD",206,0)
. . do findReplace^%ts(.SAMILINE,"@@FROZEN@@","true")
"RTN","SAMIFLD",207,0)
. . quit
"RTN","SAMIFLD",208,0)
. else do ;
"RTN","SAMIFLD",209,0)
. . do findReplace^%ts(.SAMILINE,"@@FROZEN@@","false")
"RTN","SAMIFLD",210,0)
. . quit
"RTN","SAMIFLD",211,0)
. quit
"RTN","SAMIFLD",212,0)
;
"RTN","SAMIFLD",213,0)
if SAMILINE["@@NEWFORM@@" do ; insert whether first edit of form
"RTN","SAMIFLD",214,0)
. if $get(SAMIVALS("samifirsttime"))="true" do ;
"RTN","SAMIFLD",215,0)
. . do findReplace^%ts(.SAMILINE,"@@NEWFORM@@","true")
"RTN","SAMIFLD",216,0)
. . quit
"RTN","SAMIFLD",217,0)
. else do ;
"RTN","SAMIFLD",218,0)
. . do findReplace^%ts(.SAMILINE,"@@NEWFORM@@","false")
"RTN","SAMIFLD",219,0)
. . quit
"RTN","SAMIFLD",220,0)
. quit
"RTN","SAMIFLD",221,0)
;
"RTN","SAMIFLD",222,0)
if SAMILINE["@@CHART_ELIGIBILITY_NOTE_EXISTS@@" d ;
"RTN","SAMIFLD",223,0)
. n zexist
"RTN","SAMIFLD",224,0)
. s zexist=$$EXISTCE^SAMINOT1(sid,form)
"RTN","SAMIFLD",225,0)
. do findReplace^%ts(.SAMILINE,"@@CHART_ELIGIBILITY_NOTE_EXISTS@@",zexist)
"RTN","SAMIFLD",226,0)
;
"RTN","SAMIFLD",227,0)
if SAMILINE["@@PRE_ENROLLMENT_NOTE_EXISTS@@" d ;
"RTN","SAMIFLD",228,0)
. n zexist
"RTN","SAMIFLD",229,0)
. s zexist=$$EXISTPRE^SAMINOT1(sid,form)
"RTN","SAMIFLD",230,0)
. do findReplace^%ts(.SAMILINE,"@@PRE_ENROLLMENT_NOTE_EXISTS@@",zexist)
"RTN","SAMIFLD",231,0)
;
"RTN","SAMIFLD",232,0)
if SAMILINE["@@INTAKE_NOTE_EXISTS@@" d ;
"RTN","SAMIFLD",233,0)
. n zexist
"RTN","SAMIFLD",234,0)
. s zexist=$$EXISTINT^SAMINOT1(sid,form)
"RTN","SAMIFLD",235,0)
. do findReplace^%ts(.SAMILINE,"@@INTAKE_NOTE_EXISTS@@",zexist)
"RTN","SAMIFLD",236,0)
;
"RTN","SAMIFLD",237,0)
if SAMILINE["changelog" d ;
"RTN","SAMIFLD",238,0)
. new root set root=$$setroot^%wd("vapals-patients")
"RTN","SAMIFLD",239,0)
. new clog set clog=$na(@root@("graph",sid,form,"changelog"))
"RTN","SAMIFLD",240,0)
. if '$d(@clog) q ;
"RTN","SAMIFLD",241,0)
. do findReplace^%ts(.SAMILINE,"</pre>","")
"RTN","SAMIFLD",242,0)
. new zi set zi=""
"RTN","SAMIFLD",243,0)
. for set zi=$order(@clog@(zi)) quit:zi="" d ;
"RTN","SAMIFLD",244,0)
. . new zien set zien=SAMILNUM_"."_$$xpand(zi)
"RTN","SAMIFLD",245,0)
. . set zhtml(zien)=@clog@(zi)
"RTN","SAMIFLD",246,0)
. set zhtml(SAMILNUM_"."_$$xpand($order(@clog@(""),-1)+1))="</pre>"
"RTN","SAMIFLD",247,0)
;
"RTN","SAMIFLD",248,0)
if SAMILINE["commlog" d ;
"RTN","SAMIFLD",249,0)
. new root set root=$$setroot^%wd("vapals-patients")
"RTN","SAMIFLD",250,0)
. new clog set clog=$na(@root@("graph",sid,form,"comlog"))
"RTN","SAMIFLD",251,0)
. if '$d(@clog) q ;
"RTN","SAMIFLD",252,0)
. do findReplace^%ts(.SAMILINE,"</pre>","")
"RTN","SAMIFLD",253,0)
. new zi set zi=""
"RTN","SAMIFLD",254,0)
. for set zi=$order(@clog@(zi)) quit:zi="" d ;
"RTN","SAMIFLD",255,0)
. . new zien set zien=SAMILNUM_"."_$$xpand(zi)
"RTN","SAMIFLD",256,0)
. . set zhtml(zien)=@clog@(zi)
"RTN","SAMIFLD",257,0)
. set zhtml(SAMILNUM_"."_$$xpand($order(@clog@(""),-1)+1))="</pre>"
"RTN","SAMIFLD",258,0)
;
"RTN","SAMIFLD",259,0)
;if form["fuform" d ;
"RTN","SAMIFLD",260,0)
i SAMILINE["pack-years-history" d ;
"RTN","SAMIFLD",261,0)
. d ;
"RTN","SAMIFLD",262,0)
. . i SAMILINE'["id" q ;
"RTN","SAMIFLD",263,0)
. . n zzi s zzi=SAMILNUM
"RTN","SAMIFLD",264,0)
. . f s zzi=$o(SAMIHTML(zzi)) q:zzi>(SAMILNUM+20) q:SAMIHTML(zzi)["tbody" d
"RTN","SAMIFLD",265,0)
. . . s SAMIHTML(zzi)=SAMIHTML(zzi)_$char(13,10)
"RTN","SAMIFLD",266,0)
. . ;s SAMIHTML(zzi)="<tbody>"_$$SHDET^SAMIUR2(sid)
"RTN","SAMIFLD",267,0)
. . s SAMILNUM=zzi+1
"RTN","SAMIFLD",268,0)
. . s SAMILINE=$$SHDET^SAMIUR2(sid,form)_"</tbody>"
"RTN","SAMIFLD",269,0)
;
"RTN","SAMIFLD",270,0)
i SAMILINE["@@ERROR_MESSAGE@@" d ;
"RTN","SAMIFLD",271,0)
. n errMsg s errMsg=$get(SAMIVALS("errorMessage"))
"RTN","SAMIFLD",272,0)
. if errMsg="" q ; no error message
"RTN","SAMIFLD",273,0)
. do findReplace^%ts(.SAMILINE,"@@ERROR_MESSAGE@@",errMsg)
"RTN","SAMIFLD",274,0)
;
"RTN","SAMIFLD",275,0)
i SAMILINE["@@ERROR_FIELDS@@" d ;
"RTN","SAMIFLD",276,0)
. n errFld s errFld=$get(SAMIVALS("errorField"))
"RTN","SAMIFLD",277,0)
. if errFld="" q ; no error field
"RTN","SAMIFLD",278,0)
. do findReplace^%ts(.SAMILINE,"@@ERROR_FIELDS@@",errFld)
"RTN","SAMIFLD",279,0)
;
"RTN","SAMIFLD",280,0)
i SAMILINE["@@INFO_MESSAGE@@" d ;
"RTN","SAMIFLD",281,0)
. n infoMsg s infoMsg=$get(SAMIVALS("infoMessage"))
"RTN","SAMIFLD",282,0)
. if infoMsg="" q ; no message
"RTN","SAMIFLD",283,0)
. do findReplace^%ts(.SAMILINE,"@@INFO_MESSAGE@@",infoMsg)
"RTN","SAMIFLD",284,0)
;
"RTN","SAMIFLD",285,0)
i SAMILINE["@@WARN_MESSAGE@@" d ;
"RTN","SAMIFLD",286,0)
. n warnMsg s warnMsg=$get(SAMIVALS("warnMessage"))
"RTN","SAMIFLD",287,0)
. if warnMsg="" q ; no message
"RTN","SAMIFLD",288,0)
. do findReplace^%ts(.SAMILINE,"@@WARN_MESSAGE@@",warnMsg)
"RTN","SAMIFLD",289,0)
;
"RTN","SAMIFLD",290,0)
quit ; end of ppi LOAD^SAMIFORM
"RTN","SAMIFLD",291,0)
;
"RTN","SAMIFLD",292,0)
;
"RTN","SAMIFLD",293,0)
;
"RTN","SAMIFLD",294,0)
xpand(zi) ; expand # to 8 digits
"RTN","SAMIFLD",295,0)
;
"RTN","SAMIFLD",296,0)
;@stanza 1 invocation, binding, & branching
"RTN","SAMIFLD",297,0)
;
"RTN","SAMIFLD",298,0)
;ven/gpl;private;function;clean;silent;sac;0% tests
"RTN","SAMIFLD",299,0)
;@called-by
"RTN","SAMIFLD",300,0)
; LOAD
"RTN","SAMIFLD",301,0)
;@calls none
"RTN","SAMIFLD",302,0)
;@input
"RTN","SAMIFLD",303,0)
; zi = # to expand
"RTN","SAMIFLD",304,0)
;@output = # expanded to 8 digits by prefixing 0 & appending 1 so 10,
"RTN","SAMIFLD",305,0)
; 20, etc. collate properly
"RTN","SAMIFLD",306,0)
;
"RTN","SAMIFLD",307,0)
;@stanza 2 algorithm
"RTN","SAMIFLD",308,0)
;
"RTN","SAMIFLD",309,0)
new g1 set g1=8-$length(zi)
"RTN","SAMIFLD",310,0)
new g2 set $piece(g2,"0",g1)=""
"RTN","SAMIFLD",311,0)
new g3 set g3=g2_zi_"1"
"RTN","SAMIFLD",312,0)
;
"RTN","SAMIFLD",313,0)
;@stanza 3 termination
"RTN","SAMIFLD",314,0)
;
"RTN","SAMIFLD",315,0)
quit g3 ; end of $$xpand
"RTN","SAMIFLD",316,0)
;
"RTN","SAMIFLD",317,0)
;
"RTN","SAMIFLD",318,0)
;
"RTN","SAMIFLD",319,0)
GETHDR(sid) ; header string for patient sid
"RTN","SAMIFLD",320,0)
;
"RTN","SAMIFLD",321,0)
;@signature
"RTN","SAMIFLD",322,0)
; $$GETHDR^SAMIFORM(sid)
"RTN","SAMIFLD",323,0)
;@called-by
"RTN","SAMIFLD",324,0)
; LOAD
"RTN","SAMIFLD",325,0)
;@calls
"RTN","SAMIFLD",326,0)
; $$setroot^%wd
"RTN","SAMIFLD",327,0)
; PREFILL^SAMIHOM3
"RTN","SAMIFLD",328,0)
; ^%DT
"RTN","SAMIFLD",329,0)
; $$NOW^XLFDT
"RTN","SAMIFLD",330,0)
; $$FMDIFF^XLFDT
"RTN","SAMIFLD",331,0)
;@input
"RTN","SAMIFLD",332,0)
; sid = patient study id
"RTN","SAMIFLD",333,0)
;@output = header string (patient id dob age gender)
"RTN","SAMIFLD",334,0)
;@tests
"RTN","SAMIFLD",335,0)
; UTGETHDR^SAMIUTF2: header string for patient sid
"RTN","SAMIFLD",336,0)
;
"RTN","SAMIFLD",337,0)
quit:$get(sid)="" ""
"RTN","SAMIFLD",338,0)
new root set root=$$setroot^%wd("vapals-patients")
"RTN","SAMIFLD",339,0)
new ien set ien=$order(@root@("sid",sid,""))
"RTN","SAMIFLD",340,0)
new dfn set dfn=@root@(ien,"dfn")
"RTN","SAMIFLD",341,0)
quit:ien=""
"RTN","SAMIFLD",342,0)
;
"RTN","SAMIFLD",343,0)
; do PREFILL^SAMIHOM3(dfn) ; update from Vista
"RTN","SAMIFLD",344,0)
if $get(@root@(ien,"ssn"))="" do PREFILL^SAMIHOM3(dfn) ; update from Vista
"RTN","SAMIFLD",345,0)
if $get(@root@(ien,"sbdob"))=-1 do PREFILL^SAMIHOM3(dfn) ; update from Vista
"RTN","SAMIFLD",346,0)
;
"RTN","SAMIFLD",347,0)
if $get(@root@(ien,"ssn"))="" quit "" ; patient info not available
"RTN","SAMIFLD",348,0)
new pssn set pssn=$get(@root@(ien,"sissn"))
"RTN","SAMIFLD",349,0)
if pssn["sta" set pssn=""
"RTN","SAMIFLD",350,0)
if pssn="" do ;
"RTN","SAMIFLD",351,0)
. new orgssn
"RTN","SAMIFLD",352,0)
. set orgssn=$get(@root@(ien,"ssn"))
"RTN","SAMIFLD",353,0)
. quit:orgssn=""
"RTN","SAMIFLD",354,0)
. set pssn=$extract(orgssn,1,3)_"-"_$extract(orgssn,4,5)_"-"_$extract(orgssn,6,9)
"RTN","SAMIFLD",355,0)
. set @root@(ien,"sissn")=pssn
"RTN","SAMIFLD",356,0)
. quit
"RTN","SAMIFLD",357,0)
;
"RTN","SAMIFLD",358,0)
AGE new dob set dob=$get(@root@(ien,"sbdob")) ; dob in VAPALS format
"RTN","SAMIFLD",359,0)
i dob["-" s dob=$e(dob,6,7)_"/"_$e(dob,9,10)_"/"_$e(dob,1,4)
"RTN","SAMIFLD",360,0)
i dob'["/" s dob=$e(dob,5,6)_"/"_$e(dob,7,8)_"/"_$e(dob,1,4)
"RTN","SAMIFLD",361,0)
new X set X=dob
"RTN","SAMIFLD",362,0)
new Y
"RTN","SAMIFLD",363,0)
do ^%DT
"RTN","SAMIFLD",364,0)
;
"RTN","SAMIFLD",365,0)
; change ven/lgc 20190628 - calculate age with MASH
"RTN","SAMIFLD",366,0)
;
"RTN","SAMIFLD",367,0)
;new age set age=$piece($$FMDIFF^XLFDT($$NOW^XLFDT,Y)/365,".")
"RTN","SAMIFLD",368,0)
new age s age=$$age^%th(Y)
"RTN","SAMIFLD",369,0)
;
"RTN","SAMIFLD",370,0)
set @root@(ien,"age")=age
"RTN","SAMIFLD",371,0)
;
"RTN","SAMIFLD",372,0)
new sex set sex=$get(@root@(ien,"sex"))
"RTN","SAMIFLD",373,0)
;
"RTN","SAMIFLD",374,0)
new rtn set rtn=pssn_" DOB: "_dob_" AGE: "_age_" GENDER: "_sex
"RTN","SAMIFLD",375,0)
;
"RTN","SAMIFLD",376,0)
quit rtn ; end of $$GETHDR-AGE
"RTN","SAMIFLD",377,0)
;
"RTN","SAMIFLD",378,0)
;
"RTN","SAMIFLD",379,0)
;
"RTN","SAMIFLD",380,0)
;@section 2 code for ppis $$GETLAST5^SAMIFORM,FIXSRC^SAMIFORM,FIXHREF^SAMIFORM
"RTN","SAMIFLD",381,0)
;
"RTN","SAMIFLD",382,0)
;
"RTN","SAMIFLD",383,0)
;
"RTN","SAMIFLD",384,0)
;@ppi-code $$GETLAST5^SAMIFORM
"RTN","SAMIFLD",385,0)
GETLAST5 ; last5 for patient sid
"RTN","SAMIFLD",386,0)
;
"RTN","SAMIFLD",387,0)
;@signature
"RTN","SAMIFLD",388,0)
; $$GETHDR^SAMIFORM(sid)
"RTN","SAMIFLD",389,0)
;@branches-from
"RTN","SAMIFLD",390,0)
; GETLAST5^SAMIFORM
"RTN","SAMIFLD",391,0)
;@ppi-called-by
"RTN","SAMIFLD",392,0)
; WSCASE^SAMICAS2
"RTN","SAMIFLD",393,0)
; LOAD
"RTN","SAMIFLD",394,0)
;@called-by: none
"RTN","SAMIFLD",395,0)
;@calls
"RTN","SAMIFLD",396,0)
; $$setroot^%wd
"RTN","SAMIFLD",397,0)
;@input
"RTN","SAMIFLD",398,0)
; sid = patient study id
"RTN","SAMIFLD",399,0)
;@output = patient's BS5 (first initial of last name, last 4 of ssn)
"RTN","SAMIFLD",400,0)
;@tests
"RTN","SAMIFLD",401,0)
; UTGLST5^SAMIUTF2: last5 for patient sid
"RTN","SAMIFLD",402,0)
;
"RTN","SAMIFLD",403,0)
quit:$get(sid)="" ""
"RTN","SAMIFLD",404,0)
new root set root=$$setroot^%wd("vapals-patients")
"RTN","SAMIFLD",405,0)
new ien set ien=$order(@root@("sid",sid,""))
"RTN","SAMIFLD",406,0)
quit:ien=""
"RTN","SAMIFLD",407,0)
;
"RTN","SAMIFLD",408,0)
quit @root@(ien,"last5") ; end of ppi $$GETLAST5^SAMIFORM
"RTN","SAMIFLD",409,0)
;
"RTN","SAMIFLD",410,0)
;
"RTN","SAMIFLD",411,0)
;
"RTN","SAMIFLD",412,0)
;@ppi-code FIXSRC^SAMIFORM
"RTN","SAMIFLD",413,0)
FIXSRC ; fix html src lines to use resources in see/
"RTN","SAMIFLD",414,0)
;
"RTN","SAMIFLD",415,0)
;@signature
"RTN","SAMIFLD",416,0)
; do FIXSRC^SAMIFORM(.SAMILINE)
"RTN","SAMIFLD",417,0)
;@branches-from
"RTN","SAMIFLD",418,0)
; FIXSRC^SAMIFORM
"RTN","SAMIFLD",419,0)
;@ppi-called-by
"RTN","SAMIFLD",420,0)
; WSCASE^SAMICAS2
"RTN","SAMIFLD",421,0)
; LOAD
"RTN","SAMIFLD",422,0)
;@called-by: none
"RTN","SAMIFLD",423,0)
;@calls
"RTN","SAMIFLD",424,0)
; findReplaceAll^%ts
"RTN","SAMIFLD",425,0)
;@thruput
"RTN","SAMIFLD",426,0)
;.SAMILINE = line of html to change
"RTN","SAMIFLD",427,0)
;@tests
"RTN","SAMIFLD",428,0)
; UTFSRC^SAMIUTF2: fix html src lines to use resources in see/
"RTN","SAMIFLD",429,0)
;
"RTN","SAMIFLD",430,0)
if SAMILINE["src=" do ;
"RTN","SAMIFLD",431,0)
. if SAMILINE["src=""http" quit
"RTN","SAMIFLD",432,0)
. if SAMILINE["src=""/" do quit
"RTN","SAMIFLD",433,0)
. . do findReplaceAll^%ts(.SAMILINE,"src=""/","src=""/see/sami/")
"RTN","SAMIFLD",434,0)
. . quit
"RTN","SAMIFLD",435,0)
. if SAMILINE["src=""" do quit
"RTN","SAMIFLD",436,0)
. . do findReplaceAll^%ts(.SAMILINE,"src=""","src=""/see/sami/")
"RTN","SAMIFLD",437,0)
. . quit
"RTN","SAMIFLD",438,0)
. if SAMILINE["src=" do
"RTN","SAMIFLD",439,0)
. . do findReplaceAll^%ts(.SAMILINE,"src=","src=/see/sami/")
"RTN","SAMIFLD",440,0)
. . quit
"RTN","SAMIFLD",441,0)
. quit
"RTN","SAMIFLD",442,0)
;
"RTN","SAMIFLD",443,0)
quit ; end of ppi FIXSRC^SAMIFORM
"RTN","SAMIFLD",444,0)
;
"RTN","SAMIFLD",445,0)
;
"RTN","SAMIFLD",446,0)
;
"RTN","SAMIFLD",447,0)
;@ppi-code FIXHREF^SAMIFORM
"RTN","SAMIFLD",448,0)
FIXHREF ; fix html href lines to use resources in see/
"RTN","SAMIFLD",449,0)
;
"RTN","SAMIFLD",450,0)
;@signature
"RTN","SAMIFLD",451,0)
; do FIXHREF^SAMIFORM(.SAMILINE)
"RTN","SAMIFLD",452,0)
;@branches-from
"RTN","SAMIFLD",453,0)
; FIXHREF^SAMIFORM
"RTN","SAMIFLD",454,0)
;@ppi-called-by
"RTN","SAMIFLD",455,0)
; WSCASE^SAMICAS2
"RTN","SAMIFLD",456,0)
; LOAD
"RTN","SAMIFLD",457,0)
;@called-by: none
"RTN","SAMIFLD",458,0)
;@calls
"RTN","SAMIFLD",459,0)
; findReplaceAll^%ts
"RTN","SAMIFLD",460,0)
;@thruput
"RTN","SAMIFLD",461,0)
;.SAMILINE = line of html to change
"RTN","SAMIFLD",462,0)
;@tests
"RTN","SAMIFLD",463,0)
; UTFHREF^SAMIUTF2: fix html href lines to use resources in see/
"RTN","SAMIFLD",464,0)
;
"RTN","SAMIFLD",465,0)
if SAMILINE["href=" do ;
"RTN","SAMIFLD",466,0)
. quit:SAMILINE["href=""#"
"RTN","SAMIFLD",467,0)
. quit:SAMILINE["href='#"
"RTN","SAMIFLD",468,0)
. quit:SAMILINE["href=""http"
"RTN","SAMIFLD",469,0)
. quit:SAMILINE["/vapals"
"RTN","SAMIFLD",470,0)
. if SAMILINE["href=""/" do quit
"RTN","SAMIFLD",471,0)
. . do findReplaceAll^%ts(.SAMILINE,"href=""/","href=""/","href=""/see/sami/")
"RTN","SAMIFLD",472,0)
. . quit
"RTN","SAMIFLD",473,0)
. if SAMILINE["href=""" do quit
"RTN","SAMIFLD",474,0)
. . do findReplaceAll^%ts(.SAMILINE,"href=""","href=""/see/sami/")
"RTN","SAMIFLD",475,0)
. . quit
"RTN","SAMIFLD",476,0)
. if SAMILINE["href=" do quit
"RTN","SAMIFLD",477,0)
. . do findReplaceAll^%ts(.SAMILINE,"href=","href=/see/sami/")
"RTN","SAMIFLD",478,0)
. . quit
"RTN","SAMIFLD",479,0)
. quit
"RTN","SAMIFLD",480,0)
;
"RTN","SAMIFLD",481,0)
quit ; end of ppi FIXHREF^SAMIFORM
"RTN","SAMIFLD",482,0)
;
"RTN","SAMIFLD",483,0)
;
"RTN","SAMIFLD",484,0)
;
"RTN","SAMIFLD",485,0)
;@section 3 code for ppis $$GETNAME,$$GETSSN,$$GETPRFX^SAMIFORM
"RTN","SAMIFLD",486,0)
;
"RTN","SAMIFLD",487,0)
;
"RTN","SAMIFLD",488,0)
;
"RTN","SAMIFLD",489,0)
;@ppi-code $$GETNAME^SAMIFORM
"RTN","SAMIFLD",490,0)
GETNAME ; name for patient sid
"RTN","SAMIFLD",491,0)
;
"RTN","SAMIFLD",492,0)
;@signature
"RTN","SAMIFLD",493,0)
; $$GETNAME^SAMIFORM(sid)
"RTN","SAMIFLD",494,0)
;@branches-from
"RTN","SAMIFLD",495,0)
; GETNAME^SAMIFORM
"RTN","SAMIFLD",496,0)
;@ppi-called-by
"RTN","SAMIFLD",497,0)
; WSCASE^SAMICAS2
"RTN","SAMIFLD",498,0)
;@called-by: none
"RTN","SAMIFLD",499,0)
;@calls
"RTN","SAMIFLD",500,0)
; $$setroot^%wd
"RTN","SAMIFLD",501,0)
;@input
"RTN","SAMIFLD",502,0)
; sid = patient study id
"RTN","SAMIFLD",503,0)
;@output = patient's name
"RTN","SAMIFLD",504,0)
;@tests
"RTN","SAMIFLD",505,0)
; UTGTNM^SAMIUTF2: name for patient sid
"RTN","SAMIFLD",506,0)
;
"RTN","SAMIFLD",507,0)
quit:$get(sid)="" ""
"RTN","SAMIFLD",508,0)
new root set root=$$setroot^%wd("vapals-patients")
"RTN","SAMIFLD",509,0)
new ien set ien=$order(@root@("sid",sid,""))
"RTN","SAMIFLD",510,0)
quit:ien=""
"RTN","SAMIFLD",511,0)
;
"RTN","SAMIFLD",512,0)
quit @root@(ien,"saminame") ; end of ppi $$GETNAME^SAMIFORM
"RTN","SAMIFLD",513,0)
;
"RTN","SAMIFLD",514,0)
;
"RTN","SAMIFLD",515,0)
;
"RTN","SAMIFLD",516,0)
;@ppi-code $$GETSSN^SAMIFORM
"RTN","SAMIFLD",517,0)
GETSSN ; ssn for patient sid
"RTN","SAMIFLD",518,0)
;
"RTN","SAMIFLD",519,0)
;@signature
"RTN","SAMIFLD",520,0)
; $$GETSSN^SAMIFORM(sid)
"RTN","SAMIFLD",521,0)
;@branches-from
"RTN","SAMIFLD",522,0)
; GETSSN^SAMIFORM
"RTN","SAMIFLD",523,0)
;@ppi-called-by
"RTN","SAMIFLD",524,0)
; WSCASE^SAMICAS2
"RTN","SAMIFLD",525,0)
;@called-by: none
"RTN","SAMIFLD",526,0)
;@calls
"RTN","SAMIFLD",527,0)
; $$setroot^%wd
"RTN","SAMIFLD",528,0)
;@input
"RTN","SAMIFLD",529,0)
; sid = patient study id
"RTN","SAMIFLD",530,0)
;@output = patient's ssn
"RTN","SAMIFLD",531,0)
;@tests
"RTN","SAMIFLD",532,0)
; UTGSSN^SAMIUTF2: ssn for patient sid
"RTN","SAMIFLD",533,0)
;
"RTN","SAMIFLD",534,0)
quit:$get(sid)="" ""
"RTN","SAMIFLD",535,0)
new root set root=$$setroot^%wd("vapals-patients")
"RTN","SAMIFLD",536,0)
new ien set ien=$order(@root@("sid",sid,""))
"RTN","SAMIFLD",537,0)
quit:ien=""
"RTN","SAMIFLD",538,0)
;
"RTN","SAMIFLD",539,0)
new pssn set pssn=$get(@root@(ien,"sissn"))
"RTN","SAMIFLD",540,0)
if pssn["sta" set pssn=""
"RTN","SAMIFLD",541,0)
if pssn="" do ;
"RTN","SAMIFLD",542,0)
. new orgssn set orgssn=$get(@root@(ien,"ssn"))
"RTN","SAMIFLD",543,0)
. quit:orgssn=""
"RTN","SAMIFLD",544,0)
. set pssn=$extract(orgssn,1,3)_"-"_$extract(orgssn,4,5)_"-"_$extract(orgssn,6,9)
"RTN","SAMIFLD",545,0)
. set @root@(ien,"sissn")=pssn
"RTN","SAMIFLD",546,0)
. quit
"RTN","SAMIFLD",547,0)
;
"RTN","SAMIFLD",548,0)
quit pssn ; end of ppi $$GETSSN^SAMIFORM
"RTN","SAMIFLD",549,0)
;
"RTN","SAMIFLD",550,0)
;
"RTN","SAMIFLD",551,0)
;
"RTN","SAMIFLD",552,0)
;@ppi-code $$GETPRFX^SAMIFORM [deprecated]
"RTN","SAMIFLD",553,0)
GETPRFX ; Retrieve study ID prefix from parameter file
"RTN","SAMIFLD",554,0)
; This subroutine is deprecated as of the multi-tenancy features.
"RTN","SAMIFLD",555,0)
;
"RTN","SAMIFLD",556,0)
;@signature
"RTN","SAMIFLD",557,0)
; $$GETPRFX^SAMIFORM()
"RTN","SAMIFLD",558,0)
;@branches-from
"RTN","SAMIFLD",559,0)
; GETPRFX^SAMIFORM
"RTN","SAMIFLD",560,0)
;@ppi-called-by
"RTN","SAMIFLD",561,0)
; WSCASE^SAMICAS2
"RTN","SAMIFLD",562,0)
;@calls
"RTN","SAMIFLD",563,0)
; $$GET^XPAR
"RTN","SAMIFLD",564,0)
;@output = patient's ssn
"RTN","SAMIFLD",565,0)
;@tests
"RTN","SAMIFLD",566,0)
; None yet
"RTN","SAMIFLD",567,0)
;
"RTN","SAMIFLD",568,0)
new prefix
"RTN","SAMIFLD",569,0)
;set prefix=$$GET^XPAR("SYS","SAMI SID PREFIX",,"Q")
"RTN","SAMIFLD",570,0)
s prefix=$g(ARG("siteid"))
"RTN","SAMIFLD",571,0)
i prefix="" s prefix=$g(ARG("site"))
"RTN","SAMIFLD",572,0)
if $get(prefix)="" set prefix="UNK"
"RTN","SAMIFLD",573,0)
;
"RTN","SAMIFLD",574,0)
quit prefix ; end of ppi $$GETPRFX^SAMIFORM
"RTN","SAMIFLD",575,0)
;
"RTN","SAMIFLD",576,0)
;
"RTN","SAMIFLD",577,0)
;
"RTN","SAMIFLD",578,0)
EOR ; end of routine SAMIFLD
"RTN","SAMIFUL")
0^10^B129116
"RTN","SAMIFUL",1,0)
SAMIFUL ;ven/gpl - vapals-elcap: form log ;2021-03-21T23:32Z
"RTN","SAMIFUL",2,0)
;;18.0;SAMI;**10**;2020-01;Build 3
"RTN","SAMIFUL",3,0)
;;1.18.0.10-i10
"RTN","SAMIFUL",4,0)
;
"RTN","SAMIFUL",5,0)
; SAMIFUL contains routine & module info & the primary development
"RTN","SAMIFUL",6,0)
; log for VAPALS-ELCAP's Form module, SAMIF.
"RTN","SAMIFUL",7,0)
; It contains no public interfaces or executable code.
"RTN","SAMIFUL",8,0)
;
"RTN","SAMIFUL",9,0)
quit ; no entry from top
"RTN","SAMIFUL",10,0)
;
"RTN","SAMIFUL",11,0)
;
"RTN","SAMIFUL",12,0)
;
"RTN","SAMIFUL",13,0)
;@section 0 primary development
"RTN","SAMIFUL",14,0)
;
"RTN","SAMIFUL",15,0)
;
"RTN","SAMIFUL",16,0)
;
"RTN","SAMIFUL",17,0)
;@routine-credits
"RTN","SAMIFUL",18,0)
;@primary-dev George P. Lilly (gpl)
"RTN","SAMIFUL",19,0)
; [email protected]
"RTN","SAMIFUL",20,0)
;@primary-dev-org Vista Expertise Network (ven)
"RTN","SAMIFUL",21,0)
; http://vistaexpertise.net
"RTN","SAMIFUL",22,0)
;@copyright 2017/2021, gpl, all rights reserved
"RTN","SAMIFUL",23,0)
;@license Apache 2.0
"RTN","SAMIFUL",24,0)
; https://www.apache.org/licenses/LICENSE-2.0.html
"RTN","SAMIFUL",25,0)
;
"RTN","SAMIFUL",26,0)
;@last-updated 2021-03-21T23:32Z
"RTN","SAMIFUL",27,0)
;@application Screening Applications Management (SAM)
"RTN","SAMIFUL",28,0)
;@module Screening Applications Management - IELCAP (SAMI)
"RTN","SAMIFUL",29,0)
;@version 1.18.0.10-i10
"RTN","SAMIFUL",30,0)
;@release-date 2020-01
"RTN","SAMIFUL",31,0)
;@patch-list **10**
"RTN","SAMIFUL",32,0)
;
"RTN","SAMIFUL",33,0)
;@additional-dev Frederick D. S. Marshall (toad)
"RTN","SAMIFUL",34,0)
; [email protected]
"RTN","SAMIFUL",35,0)
;@additional-dev Larry G. Carlson (lgc)
"RTN","SAMIFUL",36,0)
; [email protected]
"RTN","SAMIFUL",37,0)
;@additional-dev Alexis Carlson (arc)
"RTN","SAMIFUL",38,0)
; [email protected]
"RTN","SAMIFUL",39,0)
;@additional-dev Domenic DiNatale (dom)
"RTN","SAMIFUL",40,0)
; [email protected]
"RTN","SAMIFUL",41,0)
;
"RTN","SAMIFUL",42,0)
;@module-credits
"RTN","SAMIFUL",43,0)
;@project VA Partnership to Increase Access to Lung Screening
"RTN","SAMIFUL",44,0)
; (VA-PALS)
"RTN","SAMIFUL",45,0)
; http://va-pals.org/
"RTN","SAMIFUL",46,0)
;@funding 2017/2021, Bristol-Myers Squibb Foundation (bmsf)
"RTN","SAMIFUL",47,0)
; https://www.bms.com/about-us/responsibility/bristol-myers-squibb-foundation.html
"RTN","SAMIFUL",48,0)
;@partner-org Veterans Affairs Office of Rural health
"RTN","SAMIFUL",49,0)
; https://www.ruralhealth.va.gov/
"RTN","SAMIFUL",50,0)
;@partner-org International Early Lung Cancer Action Program (I-ELCAP)
"RTN","SAMIFUL",51,0)
; http://ielcap.com/
"RTN","SAMIFUL",52,0)
;@partner-org Paraxial Technologies (par)
"RTN","SAMIFUL",53,0)
; http://paraxialtech.com/
"RTN","SAMIFUL",54,0)
;@partner-org Open Source Electronic Health Record Alliance (OSEHRA)
"RTN","SAMIFUL",55,0)
; https://www.osehra.org/groups/va-pals-open-source-project-group
"RTN","SAMIFUL",56,0)
;
"RTN","SAMIFUL",57,0)
;@module-log
"RTN","SAMIFUL",58,0)
; 2017-09-19 ven/gpl 1.18.0-t01
"RTN","SAMIFUL",59,0)
; SAMIFRM: initialize SAMI FORM file from elcap-patient graphs,
"RTN","SAMIFUL",60,0)
; using mash tools & graphs (%yottaq,^%wd).
"RTN","SAMIFUL",61,0)
;
"RTN","SAMIFUL",62,0)
; 2017-09-18 ven/gpl 1.18.0-t01
"RTN","SAMIFUL",63,0)
; SAMIFRM: update.
"RTN","SAMIFUL",64,0)
;
"RTN","SAMIFUL",65,0)
; 2017-12-18 ven/gpl 1.18.0-t01
"RTN","SAMIFUL",66,0)
; SAMIFRM: update.
"RTN","SAMIFUL",67,0)
;
"RTN","SAMIFUL",68,0)
; 2018-01-03 ven/gpl 1.18.0-t01
"RTN","SAMIFUL",69,0)
; SAMIFRM: update.
"RTN","SAMIFUL",70,0)
;
"RTN","SAMIFUL",71,0)
; 2018-01-14 ven/gpl 1.18.0-t01
"RTN","SAMIFUL",72,0)
; SAMIFRM: update.
"RTN","SAMIFUL",73,0)
;
"RTN","SAMIFUL",74,0)
; 2018-02-04 ven/gpl 1.18.0-t01
"RTN","SAMIFUL",75,0)
; SAMIFRM: update.
"RTN","SAMIFUL",76,0)
;
"RTN","SAMIFUL",77,0)
; 2018-02-05/07 ven/toad 1.18.0-t04
"RTN","SAMIFUL",78,0)
; SAMIFRM: update license & attribution & hdr comments, add white
"RTN","SAMIFUL",79,0)
; space & do-dot quits, spell out language elements; in SAMISUBS
"RTN","SAMIFUL",80,0)
; replaceAll^%wfhform > replaceAll^%wf; $$setroot^%yottaq >
"RTN","SAMIFUL",81,0)
; $$setroot^%wdgraph; getVals^%yottaq > getVals^%wf.
"RTN","SAMIFUL",82,0)
;
"RTN","SAMIFUL",83,0)
; 2018-02-14 ven/toad 1.18.0-t04
"RTN","SAMIFUL",84,0)
; SAMIFRM: replaceAll^%wf > findReplaceAll^%wf, ln > line, add
"RTN","SAMIFUL",85,0)
; @calls & @called-by tags, break up some long lines, scope variables
"RTN","SAMIFUL",86,0)
; in $$GETDIR & $$GETFN.
"RTN","SAMIFUL",87,0)
;
"RTN","SAMIFUL",88,0)
; 2018-03-01 ven/toad 1.18.0-t04
"RTN","SAMIFUL",89,0)
; SAMIFRM: findReplaceAll^%wf > findReplace^%ts.
"RTN","SAMIFUL",90,0)
;
"RTN","SAMIFUL",91,0)
; 2018-03-07/08 ven/toad 1.18.0-t04
"RTN","SAMIFUL",92,0)
; SAMIFRM: in SAMISUBS $$setroot^%wdgraph > $$setroot^%wf, fix bug
"RTN","SAMIFUL",93,0)
; when r/css w/see.
"RTN","SAMIFUL",94,0)
;
"RTN","SAMIFUL",95,0)
; 2018-03-18 ven/toad 1.18.0-t04
"RTN","SAMIFUL",96,0)
; SAMIFRM2: restore calls to findReplaceAll^%ts.
"RTN","SAMIFUL",97,0)
;
"RTN","SAMIFUL",98,0)
; 2018-03-21/04-02 ven/gpl 1.18.0-t04
"RTN","SAMIFUL",99,0)
; SAMIFRM2: insert max date, chg case review navigation to post,
"RTN","SAMIFUL",100,0)
; date order for CT Eval in case review; support incomplete forms
"RTN","SAMIFUL",101,0)
; display & processing; fix to not inject html in javascript for case
"RTN","SAMIFUL",102,0)
; review navigation; fix followup submit.
"RTN","SAMIFUL",103,0)
;
"RTN","SAMIFUL",104,0)
; 2018-04-24 ven/gpl 1.18.0-t04
"RTN","SAMIFUL",105,0)
; SAMIFRM2: add Pet & Biopsy forms.
"RTN","SAMIFUL",106,0)
;
"RTN","SAMIFUL",107,0)
; 2018-05-18/21 ven/gpl 1.18.0-t04
"RTN","SAMIFUL",108,0)
; SAMIFRM2: convert to new graph, simplify forms processing.
"RTN","SAMIFUL",109,0)
;
"RTN","SAMIFUL",110,0)
; 2018-05-22 par/dom 1.18.0-t04
"RTN","SAMIFUL",111,0)
; SAMIFRM2: VAP-95 - remove code that replaced hard-coded date
"RTN","SAMIFUL",112,0)
; w/"today" from backend, no longer needed.
"RTN","SAMIFUL",113,0)
;
"RTN","SAMIFUL",114,0)
; 2018-05-24 ven/gpl 1.18.0-t04
"RTN","SAMIFUL",115,0)
; SAMIFRM2: changes for submit processing on forms.
"RTN","SAMIFUL",116,0)
;
"RTN","SAMIFUL",117,0)
; 2018-05-25 par/dom 1.18.0-t04
"RTN","SAMIFUL",118,0)
; SAMIFRM2: merge pull request 3 fr/OSEHRA/VAP-95-Remove-Today-Text-
"RTN","SAMIFUL",119,0)
; Replacement2. VAP-95 remove today text replacement.
"RTN","SAMIFUL",120,0)
;
"RTN","SAMIFUL",121,0)
; 2018-05-25 ven/gpl 1.18.0-t04
"RTN","SAMIFUL",122,0)
; SAMIFRM2: add STUDYID for txt replace; more changes for STUDYID
"RTN","SAMIFUL",123,0)
; substitution.
"RTN","SAMIFUL",124,0)
;
"RTN","SAMIFUL",125,0)
; 2018-07-11 ven/gpl 1.18.0-t04
"RTN","SAMIFUL",126,0)
; SAMIFRM2: add FROZEN variable based on samistatus=compete.
"RTN","SAMIFUL",127,0)
;
"RTN","SAMIFUL",128,0)
; 2018-08-19 ven/gpl 1.18.0-t04
"RTN","SAMIFUL",129,0)
; SAMIFRM2: use ssn instead of last5 where available; revise ssn
"RTN","SAMIFUL",130,0)
; formatting.
"RTN","SAMIFUL",131,0)
;
"RTN","SAMIFUL",132,0)
; 2018-09-30 ven/gpl 1.18.0-t04
"RTN","SAMIFUL",133,0)
; SAMIFRM2: header & prefill of intake.
"RTN","SAMIFUL",134,0)
;
"RTN","SAMIFUL",135,0)
; 2018-10-15 ven/gpl 1.18.0-t04
"RTN","SAMIFUL",136,0)
; SAMIFRM2: initial user reports: enrollment.
"RTN","SAMIFUL",137,0)
;
"RTN","SAMIFUL",138,0)
; 2018-10-31 ven/gpl 1.18.0-t04
"RTN","SAMIFUL",139,0)
; SAMIFRM2: new input form features, report menu fix.
"RTN","SAMIFUL",140,0)
;
"RTN","SAMIFUL",141,0)
; 2018-11-13 ven/gpl 1.18.0-t04
"RTN","SAMIFUL",142,0)
; SAMIFRM2: SAMIHOM2 > SAMIHOM3.
"RTN","SAMIFUL",143,0)
;
"RTN","SAMIFUL",144,0)
; 2018-11-14 ven/gpl 1.18.0-t04
"RTN","SAMIFUL",145,0)
; SAMIFRM2: fix graph store forms.
"RTN","SAMIFUL",146,0)
;
"RTN","SAMIFUL",147,0)
; 2018-11-29 ven/lgc 1.18.0-t04
"RTN","SAMIFUL",148,0)
; SAMIFRM2: ongoing unit-test work.
"RTN","SAMIFUL",149,0)
;
"RTN","SAMIFUL",150,0)
; 2018-12-11/12 ven/toad 1.18.0-t04
"RTN","SAMIFUL",151,0)
; SAMIFRM2: update chg log; in SAMISUB2 r/last findReplace^%ts w/a
"RTN","SAMIFUL",152,0)
; flag & r/w/findReplaceAll^%ts; passim spell out language elements,
"RTN","SAMIFUL",153,0)
; update tags called-by, calls, tests; namespace call-by-ref & call-
"RTN","SAMIFUL",154,0)
; by-name actuals.
"RTN","SAMIFUL",155,0)
;
"RTN","SAMIFUL",156,0)
; 2019-01-02/17 ven/toad 1.18.0-t04
"RTN","SAMIFUL",157,0)
; SAMIFRM2: update chg log; in INIT1FRM id > form; doc signatures,
"RTN","SAMIFUL",158,0)
; web services, unit tests, dmis, ppis, input, output, thruput.
"RTN","SAMIFUL",159,0)
; SAMIFUL: create from SAMIFRM2 as primary development log.
"RTN","SAMIFUL",160,0)
; SAMIFLD: create from SAMIFRM2 w/SAMISUB2,GETHDR,GETLAST5,FIXSRC,
"RTN","SAMIFUL",161,0)
; FIXHREF,GETNAME,GETSSN; SAMISUB2 > LOAD, reroute calls, namespace
"RTN","SAMIFUL",162,0)
; filter > SAMIFILTER, %j > SAMILNUM, zhtml > SAMIHTML, vals >
"RTN","SAMIFUL",163,0)
; SAMIVALS (& add to params), key > form; convert to ppi-code (no
"RTN","SAMIFUL",164,0)
; params); minor edits.
"RTN","SAMIFUL",165,0)
; SAMIFORM: create from SAMIFRM2 w/all ppi, dmi, & wsi entry points,
"RTN","SAMIFUL",166,0)
; no code, goto code in other routines.
"RTN","SAMIFUL",167,0)
; SAMIFWS: create from SAMIFRM2 w/WSSBFORM,WSSIFORM,WSCEFORM;
"RTN","SAMIFUL",168,0)
; convert to ppi-code (no params); minor edits.
"RTN","SAMIFUL",169,0)
; SAMIFDM: create from SAMIFRM2, INITFRMS > INIT, INIT1FRM > INIT1,
"RTN","SAMIFUL",170,0)
; REGFORMS > REGISTER, LOADDATA > IMPORT,PRSFLNM,GETDIR,GETFN;
"RTN","SAMIFUL",171,0)
; convert to ppi-code (no params); annotate & minor edits; move unit-
"RTN","SAMIFUL",172,0)
; test switch to cover more code.
"RTN","SAMIFUL",173,0)
; related changes:
"RTN","SAMIFUL",174,0)
; SAMICAS2,SAMICASE,SAMIFLD,SAMINOTI,SAMIUR,SAMIUR1,SAMIUTF,%tsfwr,
"RTN","SAMIFUL",175,0)
; %tsfwra,%wfhform: passim SAMIFRM2 > SAMIFORM.
"RTN","SAMIFUL",176,0)
; SAMIUTST: SAMIFRM2 > SAMIFORM, add SAMIFLD,SAMIFDM,SAMIFWS.
"RTN","SAMIFUL",177,0)
;
"RTN","SAMIFUL",178,0)
; 2019-03-26 ven/lgc 1.18.0-t04
"RTN","SAMIFUL",179,0)
; SAMIFLD: Add changlog code to end of LOAD^SAMIFLD code to account
"RTN","SAMIFUL",180,0)
; for new changelog functionality.
"RTN","SAMIFUL",181,0)
;
"RTN","SAMIFUL",182,0)
; 2019-03-27 ven/lgc 1.18.0-t04
"RTN","SAMIFUL",183,0)
; SAMIFWS: Comment out lines 106, 164, 222 in SAMIFWS;
"RTN","SAMIFUL",184,0)
; GETITEMS^SAMICAS2 does not have formal list, may have been part of
"RTN","SAMIFUL",185,0)
; temporary debug code.
"RTN","SAMIFUL",186,0)
; 106;new items do GETITEMS^SAMICAS2("items",sid)
"RTN","SAMIFUL",187,0)
; 164;new items do GETITEMS^SAMICAS2("items",sid)
"RTN","SAMIFUL",188,0)
; 222;new items do GETITEMS^SAMICAS2("items",sid)
"RTN","SAMIFUL",189,0)
;
"RTN","SAMIFUL",190,0)
; 2019-03-28 ven/lgc 1.18.0-t04
"RTN","SAMIFUL",191,0)
; SAMIFDM: in IMPORT account for unit test where we do not wish to
"RTN","SAMIFUL",192,0)
; prompt user for directory; also modified directory for json files
"RTN","SAMIFUL",193,0)
; in repo.
"RTN","SAMIFUL",194,0)
;
"RTN","SAMIFUL",195,0)
; 2019-03-29 ven/lgc 1.18*0-t04
"RTN","SAMIFUL",196,0)
; SAMIFLD: in LOAD include George's new variables for intake notes.
"RTN","SAMIFUL",197,0)
;
"RTN","SAMIFUL",198,0)
; 2019-04-16 ven/lgc 1.18.0-t04 e54b76d1
"RTN","SAMIFUL",199,0)
; SAMIFDM,SAMIFLD,SAMIFORM,SAMIFWS: SAMIFRM2 > SAMIFORM.
"RTN","SAMIFUL",200,0)
;
"RTN","SAMIFUL",201,0)
; 2019-04-16 ven/lgc 1.18.0-t04 e54b76d1
"RTN","SAMIFUL",202,0)
; SAMINOT1: SAMIFRM2 > SAMIFORM.
"RTN","SAMIFUL",203,0)
;
"RTN","SAMIFUL",204,0)
; 2019-04-18 ven/gpl 1.18.0-t04 2b6f0d63
"RTN","SAMIFUL",205,0)
; SAMIFLD: fix missing patient name.
"RTN","SAMIFUL",206,0)
;
"RTN","SAMIFUL",207,0)
; 2019-04-22 ven/lgc 1.18.0-t04 e7afbfa1
"RTN","SAMIFUL",208,0)
; SAMIFWS: removal of SAMIFRM2 reference.
"RTN","SAMIFUL",209,0)
;
"RTN","SAMIFUL",210,0)
; 2019-04-23 ven/lgc 1.18.0-t04 529e8f2f,89bffd3b
"RTN","SAMIFUL",211,0)
; SAMIFDM: comment out zwrite commands.
"RTN","SAMIFUL",212,0)
; SAMIFORM: SAMISUB2 > LOAD.
"RTN","SAMIFUL",213,0)
;
"RTN","SAMIFUL",214,0)
; 2019-05-08 ven/lgc 1.18.0-t04 33dfa8c2
"RTN","SAMIFUL",215,0)
; SAMIFDM: replace zsystem command with MASH call.
"RTN","SAMIFUL",216,0)
;
"RTN","SAMIFUL",217,0)
; 2019-06-10/19 ven/arc 1.18.0-t04 5d7a987d,c69b6787
"RTN","SAMIFUL",218,0)
; SAMIFDM: chg explicit paths, unify paths to unit test json data.
"RTN","SAMIFUL",219,0)
;
"RTN","SAMIFUL",220,0)
; 2019-06-28/07-08 ven/lgc 1.18.0-t04 703c3050
"RTN","SAMIFUL",221,0)
; SAMIFLD: fix patient age calculations, calculate patient age
"RTN","SAMIFUL",222,0)
; w/MASH age^%th.
"RTN","SAMIFUL",223,0)
;
"RTN","SAMIFUL",224,0)
; 2019-08-01 ven/arc 1.18.0-t04 d710f27d
"RTN","SAMIFUL",225,0)
; SAMIFLD,SAMIFORM: pull displayed facility code from vista
"RTN","SAMIFUL",226,0)
; parameter.
"RTN","SAMIFUL",227,0)
;
"RTN","SAMIFUL",228,0)
; 2019-08-03 ven/gpl 1.18.0-t04 bea65f7b,ffc94f65
"RTN","SAMIFUL",229,0)
; SAMIFLD: fix bugs in Have You Ever Smoked processing in changelog
"RTN","SAMIFUL",230,0)
; & intake note, fix smoking status on enrollment report, fix change
"RTN","SAMIFUL",231,0)
; log display.
"RTN","SAMIFUL",232,0)
;
"RTN","SAMIFUL",233,0)
; 2019-08-05 ven/gpl 1.18.0-t04 4ee0d3e6
"RTN","SAMIFUL",234,0)
; SAMIFLD: add GETPRFX to avoid colision with VAP-435.
"RTN","SAMIFUL",235,0)
;
"RTN","SAMIFUL",236,0)
; 2019-08-14 ven/gpl 1.18.0-t04 0aa37766,4e6f4fdf,08d45d99
"RTN","SAMIFUL",237,0)
; SAMIFLD: resolve conflict over semicolon in comment, merge pull
"RTN","SAMIFUL",238,0)
; request #70 from OSEHRA/VAP-426-eversmoked, merge with 417.
"RTN","SAMIFUL",239,0)
;
"RTN","SAMIFUL",240,0)
; 2019-09-26 ven/gpl 1.18.0-t04 92b12324 VAP-420
"RTN","SAMIFUL",241,0)
; SAMIFLD: add smoking history to intake/followup forms (#75).
"RTN","SAMIFUL",242,0)
;
"RTN","SAMIFUL",243,0)
; 2019-10-22 ven/lgc 1.18.0-t04 613e8ff4
"RTN","SAMIFUL",244,0)
; SAMIFLD: update unit test routines for dfn 1.
"RTN","SAMIFUL",245,0)
;
"RTN","SAMIFUL",246,0)
; 2019-11-22 par/dom 1.18.0 b2cc389d VAP-458
"RTN","SAMIFUL",247,0)
; SAMIFLD: add new manual registration page.
"RTN","SAMIFUL",248,0)
;
"RTN","SAMIFUL",249,0)
; 2020-01-21 ven/arc 1.18.0 a4c143be
"RTN","SAMIFUL",250,0)
; SAMIFLD: patient matching additions.
"RTN","SAMIFUL",251,0)
;
"RTN","SAMIFUL",252,0)
; 2020-04-07/11 ven/gpl 1.18.0.5-i5 36607664,c8f4cf30,2f2c29c1
"RTN","SAMIFUL",253,0)
; SAMIFLD,SAMIFORM,SAMIFWS: multi-tenancy.
"RTN","SAMIFUL",254,0)
;
"RTN","SAMIFUL",255,0)
; 2021-03-16 ven/gpl 1.18.0.10-i10 002071de
"RTN","SAMIFUL",256,0)
; SAMIFLD: dob age calculation fix from hl7 dob format.
"RTN","SAMIFUL",257,0)
;
"RTN","SAMIFUL",258,0)
; 2021-03-21 ven/toad 1.18.0.10-i10
"RTN","SAMIFUL",259,0)
; SAMIFLD: bump date & version, lt refactor.
"RTN","SAMIFUL",260,0)
;
"RTN","SAMIFUL",261,0)
;
"RTN","SAMIFUL",262,0)
;
"RTN","SAMIFUL",263,0)
;@contents
"RTN","SAMIFUL",264,0)
; SAMIFORM: form library
"RTN","SAMIFUL",265,0)
; SAMIFDM: form dmi code
"RTN","SAMIFUL",266,0)
; SAMIFLD: form load
"RTN","SAMIFUL",267,0)
; SAMIFWS: form web-service code
"RTN","SAMIFUL",268,0)
; SAMIFUL: form log
"RTN","SAMIFUL",269,0)
; SAMIUTF2: form unit tests
"RTN","SAMIFUL",270,0)
;
"RTN","SAMIFUL",271,0)
;
"RTN","SAMIFUL",272,0)
;
"RTN","SAMIFUL",273,0)
EOR ; end of routine SAMIFUL
"RTN","SAMINOT1")
0^11^B436917317
"RTN","SAMINOT1",1,0)
SAMINOT1 ;ven/gpl - text notes ;2021-03-23T18:53Z
"RTN","SAMINOT1",2,0)
;;18.0;SAMI;**2,6,8,10**;2020-01;Build 3
"RTN","SAMINOT1",3,0)
;;1.18.0.10-i10
"RTN","SAMINOT1",4,0)
;
"RTN","SAMINOT1",5,0)
; SAMINOT1 contains a web service & associated subroutines to produce
"RTN","SAMINOT1",6,0)
; VAPALS-ELCAP text notes.
"RTN","SAMINOT1",7,0)
;
"RTN","SAMINOT1",8,0)
quit ; no entry from top
"RTN","SAMINOT1",9,0)
;
"RTN","SAMINOT1",10,0)
;
"RTN","SAMINOT1",11,0)
;
"RTN","SAMINOT1",12,0)
;@section 0 primary development
"RTN","SAMINOT1",13,0)
;
"RTN","SAMINOT1",14,0)
;
"RTN","SAMINOT1",15,0)
;
"RTN","SAMINOT1",16,0)
;@routine-credits
"RTN","SAMINOT1",17,0)
;@primary-dev George P. Lilly (gpl)
"RTN","SAMINOT1",18,0)
; [email protected]
"RTN","SAMINOT1",19,0)
;@primary-dev-org Vista Expertise Network (ven)
"RTN","SAMINOT1",20,0)
; http://vistaexpertise.net
"RTN","SAMINOT1",21,0)
;@copyright 2017/2021, gpl, all rights reserved
"RTN","SAMINOT1",22,0)
;@license see routine SAMIUL
"RTN","SAMINOT1",23,0)
;
"RTN","SAMINOT1",24,0)
;@last-updated 2021-03-23T18:53Z
"RTN","SAMINOT1",25,0)
;@application Screening Applications Management (SAM)
"RTN","SAMINOT1",26,0)
;@module Screening Applications Management - IELCAP (SAMI)
"RTN","SAMINOT1",27,0)
;@suite-of-files SAMI Forms (311.101-311.199)
"RTN","SAMINOT1",28,0)
;@version 1.18.0.10-i10
"RTN","SAMINOT1",29,0)
;@release-date 2020-01
"RTN","SAMINOT1",30,0)
;@patch-list **2,6,8,10**
"RTN","SAMINOT1",31,0)
;
"RTN","SAMINOT1",32,0)
;@additional-dev Frederick D. S. Marshall (toad)
"RTN","SAMINOT1",33,0)
; [email protected]
"RTN","SAMINOT1",34,0)
;@additional-dev Larry G. Carlson (lgc)
"RTN","SAMINOT1",35,0)
; [email protected]
"RTN","SAMINOT1",36,0)
;@additional-dev Linda M. R. Yaw (lmry)
"RTN","SAMINOT1",37,0)
; [email protected]
"RTN","SAMINOT1",38,0)
;@additional-dev Alexis R. Carlson (arc)
"RTN","SAMINOT1",39,0)
; [email protected]
"RTN","SAMINOT1",40,0)
;@additional-dev Domenic DiNatale (dom)
"RTN","SAMINOT1",41,0)
; [email protected]
"RTN","SAMINOT1",42,0)
;
"RTN","SAMINOT1",43,0)
;@module-credits
"RTN","SAMINOT1",44,0)
;@project VA Partnership to Increase Access to Lung Screening
"RTN","SAMINOT1",45,0)
; (VA-PALS)
"RTN","SAMINOT1",46,0)
; http://va-pals.org/
"RTN","SAMINOT1",47,0)
;@funding 2017/2021, Bristol-Myers Squibb Foundation (bmsf)
"RTN","SAMINOT1",48,0)
; https://www.bms.com/about-us/responsibility/bristol-myers-squibb-foundation.html
"RTN","SAMINOT1",49,0)
;@partner-org Veterans Affairs Office of Rural health
"RTN","SAMINOT1",50,0)
; https://www.ruralhealth.va.gov/
"RTN","SAMINOT1",51,0)
;@partner-org International Early Lung Cancer Action Program (I-ELCAP)
"RTN","SAMINOT1",52,0)
; http://ielcap.com/
"RTN","SAMINOT1",53,0)
;@partner-org Paraxial Technologies (par)
"RTN","SAMINOT1",54,0)
; http://paraxialtech.com/
"RTN","SAMINOT1",55,0)
;@partner-org Open Source Electronic Health Record Alliance (OSEHRA)
"RTN","SAMINOT1",56,0)
; https://www.osehra.org/groups/va-pals-open-source-project-group
"RTN","SAMINOT1",57,0)
;
"RTN","SAMINOT1",58,0)
;@module-log repo github.com:VA-PALS-ELCAP/SAMI-VAPALS-ELCAP.git
"RTN","SAMINOT1",59,0)
; see routine SAMINUL
"RTN","SAMINOT1",60,0)
;
"RTN","SAMINOT1",61,0)
;
"RTN","SAMINOT1",62,0)
;
"RTN","SAMINOT1",63,0)
;@section 1 wsi WSNOTE^SAMINOT1 & related subroutines
"RTN","SAMINOT1",64,0)
;
"RTN","SAMINOT1",65,0)
;
"RTN","SAMINOT1",66,0)
;
"RTN","SAMINOT1",67,0)
EXISTCE(SID,FORM) ; extrinsic returns "true" or "false"
"RTN","SAMINOT1",68,0)
;
"RTN","SAMINOT1",69,0)
; if a Chart Eligibility Note exists
"RTN","SAMINOT1",70,0)
;
"RTN","SAMINOT1",71,0)
n root s root=$$setroot^%wd("vapals-patients")
"RTN","SAMINOT1",72,0)
n gvals s gvals=$na(@root@("graph",SID,FORM))
"RTN","SAMINOT1",73,0)
;i $g(@root@("graph",SID,FORM,"sicechrt"))="y" q "true"
"RTN","SAMINOT1",74,0)
i $g(@gvals@("chart-eligibility-complete"))="true" q "true"
"RTN","SAMINOT1",75,0)
;
"RTN","SAMINOT1",76,0)
quit "false" ; end of $$EXISTCE
"RTN","SAMINOT1",77,0)
;
"RTN","SAMINOT1",78,0)
;
"RTN","SAMINOT1",79,0)
;
"RTN","SAMINOT1",80,0)
EXISTPRE(SID,FORM) ; extrinsic returns "true" or "false"
"RTN","SAMINOT1",81,0)
;
"RTN","SAMINOT1",82,0)
; if a Pre-enrollment Note exists
"RTN","SAMINOT1",83,0)
;
"RTN","SAMINOT1",84,0)
n root s root=$$setroot^%wd("vapals-patients")
"RTN","SAMINOT1",85,0)
n gvals s gvals=$na(@root@("graph",SID,FORM))
"RTN","SAMINOT1",86,0)
;i $g(@root@("graph",SID,FORM,"sipedisc"))="y" q "true"
"RTN","SAMINOT1",87,0)
;i $g(@gvals@("pre-note-complete"))="true" i $g(@gvals@("siperslt"))="y" q "true"
"RTN","SAMINOT1",88,0)
i $g(@gvals@("pre-note-complete"))="true" q "true"
"RTN","SAMINOT1",89,0)
;
"RTN","SAMINOT1",90,0)
quit "false" ; end of $$EXISTPRE
"RTN","SAMINOT1",91,0)
;
"RTN","SAMINOT1",92,0)
;
"RTN","SAMINOT1",93,0)
;
"RTN","SAMINOT1",94,0)
EXISTINT(SID,FORM) ; extrinsic returns "true" or "false"
"RTN","SAMINOT1",95,0)
;
"RTN","SAMINOT1",96,0)
; if an Intake Note exists
"RTN","SAMINOT1",97,0)
;
"RTN","SAMINOT1",98,0)
n root s root=$$setroot^%wd("vapals-patients")
"RTN","SAMINOT1",99,0)
i $g(@root@("graph",SID,FORM,"sistatus"))="y" q "true"
"RTN","SAMINOT1",100,0)
;
"RTN","SAMINOT1",101,0)
quit "false" ; end of $$EXISTINT
"RTN","SAMINOT1",102,0)
;
"RTN","SAMINOT1",103,0)
;
"RTN","SAMINOT1",104,0)
;
"RTN","SAMINOT1",105,0)
WSNOTE(return,filter) ; web service which returns a text note
"RTN","SAMINOT1",106,0)
;
"RTN","SAMINOT1",107,0)
n debug s debug=0
"RTN","SAMINOT1",108,0)
i $g(filter("debug"))=1 s debug=1
"RTN","SAMINOT1",109,0)
;
"RTN","SAMINOT1",110,0)
k return
"RTN","SAMINOT1",111,0)
s HTTPRSP("mime")="text/html"
"RTN","SAMINOT1",112,0)
;
"RTN","SAMINOT1",113,0)
n si
"RTN","SAMINOT1",114,0)
s si=$g(filter("studyid"))
"RTN","SAMINOT1",115,0)
i si="" d ;
"RTN","SAMINOT1",116,0)
. s si="XXX00333"
"RTN","SAMINOT1",117,0)
q:si=""
"RTN","SAMINOT1",118,0)
;
"RTN","SAMINOT1",119,0)
n samikey
"RTN","SAMINOT1",120,0)
s samikey=$g(filter("form"))
"RTN","SAMINOT1",121,0)
n root s root=$$setroot^%wd("vapals-patients")
"RTN","SAMINOT1",122,0)
i samikey="" d ;
"RTN","SAMINOT1",123,0)
. s samikey=$o(@root@("graph",si,"siform"))
"RTN","SAMINOT1",124,0)
. ;w !,samikey
"RTN","SAMINOT1",125,0)
. ;b
"RTN","SAMINOT1",126,0)
;
"RTN","SAMINOT1",127,0)
n vals
"RTN","SAMINOT1",128,0)
m vals=@root@("graph",si,samikey)
"RTN","SAMINOT1",129,0)
;
"RTN","SAMINOT1",130,0)
n note,nien,ntype
"RTN","SAMINOT1",131,0)
s ntype=""
"RTN","SAMINOT1",132,0)
s note=""
"RTN","SAMINOT1",133,0)
s nien=$g(filter("nien"))
"RTN","SAMINOT1",134,0)
i nien="" d
"RTN","SAMINOT1",135,0)
. s:$g(vals("samistatus"))="complete" ntype="intake"
"RTN","SAMINOT1",136,0)
. s:$g(vals("samistatus"))="chart-eligibility" ntype="eligibility"
"RTN","SAMINOT1",137,0)
. s:$g(vals("samistatus"))="pre-enrollment-discussion" ntype="pre-note"
"RTN","SAMINOT1",138,0)
. q:ntype=""
"RTN","SAMINOT1",139,0)
. ;d nien=$$NTTYPE add code to pull the latest note by type
"RTN","SAMINOT1",140,0)
q:nien=""
"RTN","SAMINOT1",141,0)
n notebase
"RTN","SAMINOT1",142,0)
s notebase=$$NTLOCN(si,samikey,nien) ; global location for the note
"RTN","SAMINOT1",143,0)
s note=$na(@notebase@("text"))
"RTN","SAMINOT1",144,0)
i '$d(@note) q
"RTN","SAMINOT1",145,0)
;
"RTN","SAMINOT1",146,0)
new temp,tout
"RTN","SAMINOT1",147,0)
do GETTMPL^SAMICASE("temp","vapals:note")
"RTN","SAMINOT1",148,0)
quit:'$data(temp)
"RTN","SAMINOT1",149,0)
;
"RTN","SAMINOT1",150,0)
n cnt s cnt=0
"RTN","SAMINOT1",151,0)
n zi s zi=""
"RTN","SAMINOT1",152,0)
;
"RTN","SAMINOT1",153,0)
f s zi=$o(temp(zi)) q:zi="" d ;
"RTN","SAMINOT1",154,0)
. ;
"RTN","SAMINOT1",155,0)
. n line s line=temp(zi)
"RTN","SAMINOT1",156,0)
. D LOAD^SAMIFORM(.line,samikey,si,.filter,.vals)
"RTN","SAMINOT1",157,0)
. s temp(zi)=line
"RTN","SAMINOT1",158,0)
. ;
"RTN","SAMINOT1",159,0)
. s cnt=cnt+1
"RTN","SAMINOT1",160,0)
. s tout(cnt)=temp(zi)
"RTN","SAMINOT1",161,0)
. ;
"RTN","SAMINOT1",162,0)
. i temp(zi)["report-text" d ;
"RTN","SAMINOT1",163,0)
. . i temp(zi)["#" q ;
"RTN","SAMINOT1",164,0)
. . n zj s zj=""
"RTN","SAMINOT1",165,0)
. . f s zj=$o(@note@(zj)) q:zj="" d ;
"RTN","SAMINOT1",166,0)
. . . s cnt=cnt+1
"RTN","SAMINOT1",167,0)
. . . ;s tout(cnt)=@note@(zj)_"<br>"
"RTN","SAMINOT1",168,0)
. . . s tout(cnt)=@note@(zj)_$char(13,10)
"RTN","SAMINOT1",169,0)
m return=tout
"RTN","SAMINOT1",170,0)
;
"RTN","SAMINOT1",171,0)
quit ; end of WSNOTE
"RTN","SAMINOT1",172,0)
;
"RTN","SAMINOT1",173,0)
;
"RTN","SAMINOT1",174,0)
;
"RTN","SAMINOT1",175,0)
NOTE(filter) ; extrnisic which creates a note
"RTN","SAMINOT1",176,0)
;
"RTN","SAMINOT1",177,0)
; returns 1 if successful, 0 if not
"RTN","SAMINOT1",178,0)
;
"RTN","SAMINOT1",179,0)
; set up patient values
"RTN","SAMINOT1",180,0)
;
"RTN","SAMINOT1",181,0)
n vals
"RTN","SAMINOT1",182,0)
;
"RTN","SAMINOT1",183,0)
n si
"RTN","SAMINOT1",184,0)
s si=$g(filter("studyid"))
"RTN","SAMINOT1",185,0)
i si="" d ;
"RTN","SAMINOT1",186,0)
. s si="XXX00333"
"RTN","SAMINOT1",187,0)
q:si=""
"RTN","SAMINOT1",188,0)
;
"RTN","SAMINOT1",189,0)
n samikey
"RTN","SAMINOT1",190,0)
s samikey=$g(filter("form"))
"RTN","SAMINOT1",191,0)
n root s root=$$setroot^%wd("vapals-patients")
"RTN","SAMINOT1",192,0)
i samikey="" d ;
"RTN","SAMINOT1",193,0)
. s samikey=$o(@root@("graph",si,"siform"))
"RTN","SAMINOT1",194,0)
. ;w !,samikey
"RTN","SAMINOT1",195,0)
. ;b
"RTN","SAMINOT1",196,0)
;
"RTN","SAMINOT1",197,0)
s vals=$na(@root@("graph",si,samikey))
"RTN","SAMINOT1",198,0)
;
"RTN","SAMINOT1",199,0)
i '$d(@vals) d q 0 ;
"RTN","SAMINOT1",200,0)
. ;w !,"error, patient values not found"
"RTN","SAMINOT1",201,0)
;zwr @vals@(*)
"RTN","SAMINOT1",202,0)
;
"RTN","SAMINOT1",203,0)
k ^SAMIUL("NOTE")
"RTN","SAMINOT1",204,0)
m ^SAMIUL("NOTE","vals")=@vals
"RTN","SAMINOT1",205,0)
m ^SAMIUL("NOTE","filter")=filter
"RTN","SAMINOT1",206,0)
;
"RTN","SAMINOT1",207,0)
n didnote s didnote=0
"RTN","SAMINOT1",208,0)
;
"RTN","SAMINOT1",209,0)
i $g(@vals@("samistatus"))="chart-eligibility" d ;
"RTN","SAMINOT1",210,0)
. q:$g(@vals@("chart-eligibility-complete"))="true"
"RTN","SAMINOT1",211,0)
. d MKEL(si,samikey,vals,.filter) ;
"RTN","SAMINOT1",212,0)
. s didnote=1
"RTN","SAMINOT1",213,0)
;
"RTN","SAMINOT1",214,0)
i $g(@vals@("samistatus"))="pre-enrollment-discussion" d ;
"RTN","SAMINOT1",215,0)
. q:$g(@vals@("pre-note-complete"))="true"
"RTN","SAMINOT1",216,0)
. d MKPRE(si,samikey,vals,.filter) ;
"RTN","SAMINOT1",217,0)
. s didnote=1
"RTN","SAMINOT1",218,0)
;
"RTN","SAMINOT1",219,0)
i $g(@vals@("samistatus"))="complete" d ;
"RTN","SAMINOT1",220,0)
. q:$$HASINNT(vals)
"RTN","SAMINOT1",221,0)
. d MKIN(si,samikey,vals,.filter) ;
"RTN","SAMINOT1",222,0)
. s didnote=1
"RTN","SAMINOT1",223,0)
;
"RTN","SAMINOT1",224,0)
n nien s nien=0
"RTN","SAMINOT1",225,0)
i didnote=1 s nien=$$NTIEN(si,samikey)
"RTN","SAMINOT1",226,0)
;
"RTN","SAMINOT1",227,0)
quit nien ; end of $$NOTE
"RTN","SAMINOT1",228,0)
;
"RTN","SAMINOT1",229,0)
;
"RTN","SAMINOT1",230,0)
;
"RTN","SAMINOT1",231,0)
HASINNT(vals) ; extrinsic returns 1 if intake note is present
"RTN","SAMINOT1",232,0)
;
"RTN","SAMINOT1",233,0)
; else returns 0
"RTN","SAMINOT1",234,0)
;
"RTN","SAMINOT1",235,0)
n zzi,zzrtn s (zzi,zzrtn)=0
"RTN","SAMINOT1",236,0)
q:'$d(@vals)
"RTN","SAMINOT1",237,0)
f s zzi=$o(@vals@("notes",zzi)) q:+zzi=0 d ;
"RTN","SAMINOT1",238,0)
. i $g(@vals@("notes",zzi,"name"))["Intake" s zzrtn=1
"RTN","SAMINOT1",239,0)
;
"RTN","SAMINOT1",240,0)
quit zzrtn ; end of $$HASINNT
"RTN","SAMINOT1",241,0)
;
"RTN","SAMINOT1",242,0)
;
"RTN","SAMINOT1",243,0)
;
"RTN","SAMINOT1",244,0)
MKEL(sid,form,vals,filter) ;
"RTN","SAMINOT1",245,0)
;
"RTN","SAMINOT1",246,0)
n cnt s cnt=0
"RTN","SAMINOT1",247,0)
;n dest s dest=$na(@vals@("eligibility-note"))
"RTN","SAMINOT1",248,0)
n dest s dest=$$MKNT(vals,"Eligibility Note","eligibility",.filter)
"RTN","SAMINOT1",249,0)
k @dest
"RTN","SAMINOT1",250,0)
d OUT("Lung Screening Program Chart Eligibility Note")
"RTN","SAMINOT1",251,0)
d OUT("")
"RTN","SAMINOT1",252,0)
d ELNOTE(vals,dest,cnt)
"RTN","SAMINOT1",253,0)
;
"RTN","SAMINOT1",254,0)
quit ; end of MKEL
"RTN","SAMINOT1",255,0)
;
"RTN","SAMINOT1",256,0)
;
"RTN","SAMINOT1",257,0)
;
"RTN","SAMINOT1",258,0)
MKPRE(sid,form,vals,filter) ;
"RTN","SAMINOT1",259,0)
;
"RTN","SAMINOT1",260,0)
n cnt s cnt=0
"RTN","SAMINOT1",261,0)
;n dest s dest=$na(@vals@("pre-note"))
"RTN","SAMINOT1",262,0)
n dest s dest=$$MKNT(vals,"Pre-enrollment Discussion Note","prenote",.filter)
"RTN","SAMINOT1",263,0)
k @dest
"RTN","SAMINOT1",264,0)
i $g(@vals@("chart-eligibility-complete"))'="true" d ;
"RTN","SAMINOT1",265,0)
. d OUT("Lung Screening Program Chart Eligibility and Pre-enrollment Discussion Note")
"RTN","SAMINOT1",266,0)
. d OUT("")
"RTN","SAMINOT1",267,0)
. d ELNOTE(vals,dest,cnt)
"RTN","SAMINOT1",268,0)
i $g(@vals@("chart-eligibility-complete"))="true" d ;
"RTN","SAMINOT1",269,0)
. d OUT("Lung Screening Program Pre-enrollment Discussion Note")
"RTN","SAMINOT1",270,0)
. d OUT("")
"RTN","SAMINOT1",271,0)
d PRENOTE(vals,dest,cnt)
"RTN","SAMINOT1",272,0)
;
"RTN","SAMINOT1",273,0)
quit ; end of MKPRE
"RTN","SAMINOT1",274,0)
;
"RTN","SAMINOT1",275,0)
;
"RTN","SAMINOT1",276,0)
;
"RTN","SAMINOT1",277,0)
MKIN(sid,form,vals,filter) ;
"RTN","SAMINOT1",278,0)
;
"RTN","SAMINOT1",279,0)
n cnt s cnt=0
"RTN","SAMINOT1",280,0)
;n dest s dest=$na(@vals@("intake-note"))
"RTN","SAMINOT1",281,0)
n dest s dest=$$MKNT(vals,"Intake Note","intake",.filter)
"RTN","SAMINOT1",282,0)
k @dest
"RTN","SAMINOT1",283,0)
d OUT("Lung Screening Program Intake Note")
"RTN","SAMINOT1",284,0)
d OUT("")
"RTN","SAMINOT1",285,0)
i $g(@vals@("chart-eligibility-complete"))'="true" d ;
"RTN","SAMINOT1",286,0)
. d ELNOTE(vals,dest,cnt)
"RTN","SAMINOT1",287,0)
i $g(@vals@("pre-note-complete"))'="true" d ;
"RTN","SAMINOT1",288,0)
. d PRENOTE(vals,dest,cnt)
"RTN","SAMINOT1",289,0)
d INNOTE(vals,dest,cnt)
"RTN","SAMINOT1",290,0)
;
"RTN","SAMINOT1",291,0)
quit ; end of MKIN
"RTN","SAMINOT1",292,0)
;
"RTN","SAMINOT1",293,0)
;
"RTN","SAMINOT1",294,0)
;
"RTN","SAMINOT1",295,0)
MKNT(vals,title,ntype,filter) ; extrinsic makes a note date=now returns
"RTN","SAMINOT1",296,0)
;
"RTN","SAMINOT1",297,0)
; global addr. filter must be passed by reference
"RTN","SAMINOT1",298,0)
;
"RTN","SAMINOT1",299,0)
n ntdt s ntdt=$$NTDTTM($$NOW^XLFDT)
"RTN","SAMINOT1",300,0)
n ntptr
"RTN","SAMINOT1",301,0)
s ntptr=$$MKNTLOC(vals,title,ntdt,$g(ntype),.filter)
"RTN","SAMINOT1",302,0)
;
"RTN","SAMINOT1",303,0)
quit ntptr ; end of $$MKNT
"RTN","SAMINOT1",304,0)
;
"RTN","SAMINOT1",305,0)
;
"RTN","SAMINOT1",306,0)
;
"RTN","SAMINOT1",307,0)
MKNTLOC(vals,title,ndate,ntype,filter) ; extrinsic returns the
"RTN","SAMINOT1",308,0)
;
"RTN","SAMINOT1",309,0)
;location for the note
"RTN","SAMINOT1",310,0)
;
"RTN","SAMINOT1",311,0)
n nien
"RTN","SAMINOT1",312,0)
s nien=$o(@vals@("notes",""),-1)+1
"RTN","SAMINOT1",313,0)
s filter("nien")=nien
"RTN","SAMINOT1",314,0)
n nloc s nloc=$na(@vals@("notes",nien))
"RTN","SAMINOT1",315,0)
s @nloc@("name")=title_" "_$g(ndate)
"RTN","SAMINOT1",316,0)
s @nloc@("date")=$g(ndate)
"RTN","SAMINOT1",317,0)
s @nloc@("type")=$g(ntype)
"RTN","SAMINOT1",318,0)
;
"RTN","SAMINOT1",319,0)
quit $name(@nloc@("text")) ; end of $$MKNTLOC
"RTN","SAMINOT1",320,0)
;
"RTN","SAMINOT1",321,0)
;
"RTN","SAMINOT1",322,0)
;
"RTN","SAMINOT1",323,0)
NTDTTM(ZFMDT) ; extrinsic returns the date and time in Note format
"RTN","SAMINOT1",324,0)
;
"RTN","SAMINOT1",325,0)
; ZFMDT is the fileman date/time to translate
"RTN","SAMINOT1",326,0)
;
"RTN","SAMINOT1",327,0)
quit $$FMTE^XLFDT(ZFMDT,"5") ; end of $$NTDTTM
"RTN","SAMINOT1",328,0)
;
"RTN","SAMINOT1",329,0)
;
"RTN","SAMINOT1",330,0)
;
"RTN","SAMINOT1",331,0)
NTLOCN(sid,form,nien) ; extrinsic returns the location of the Nth note
"RTN","SAMINOT1",332,0)
;
"RTN","SAMINOT1",333,0)
n root s root=$$setroot^%wd("vapals-patients")
"RTN","SAMINOT1",334,0)
;
"RTN","SAMINOT1",335,0)
quit $name(@root@("graph",sid,form,"notes",nien)) ; end of $$NTLOCN
"RTN","SAMINOT1",336,0)
;
"RTN","SAMINOT1",337,0)
;
"RTN","SAMINOT1",338,0)
;
"RTN","SAMINOT1",339,0)
NTLAST(sid,form,ntype) ; extrinsic returns the location of the latest note
"RTN","SAMINOT1",340,0)
;
"RTN","SAMINOT1",341,0)
; of the type ntype
"RTN","SAMINOT1",342,0)
;
"RTN","SAMINOT1",343,0)
quit ; end of NTLAST
"RTN","SAMINOT1",344,0)
;
"RTN","SAMINOT1",345,0)
;
"RTN","SAMINOT1",346,0)
;
"RTN","SAMINOT1",347,0)
NTIEN(sid,form) ; extrinsic which returns the latest note for this form
"RTN","SAMINOT1",348,0)
;
"RTN","SAMINOT1",349,0)
n root s root=$$setroot^%wd("vapals-patients")
"RTN","SAMINOT1",350,0)
n rtn s rtn=$o(@root@("graph",sid,form,"notes"," "),-1)
"RTN","SAMINOT1",351,0)
;
"RTN","SAMINOT1",352,0)
quit rtn ; end of $$NTIEN
"RTN","SAMINOT1",353,0)
;
"RTN","SAMINOT1",354,0)
;
"RTN","SAMINOT1",355,0)
;
"RTN","SAMINOT1",356,0)
NTLIST(nlist,sid,form) ; returns the note list in nlist, passed by ref
"RTN","SAMINOT1",357,0)
;
"RTN","SAMINOT1",358,0)
n zn,root,gn
"RTN","SAMINOT1",359,0)
s root=$$setroot^%wd("vapals-patients")
"RTN","SAMINOT1",360,0)
s zn=0
"RTN","SAMINOT1",361,0)
s gn=$na(@root@("graph",sid,form,"notes"))
"RTN","SAMINOT1",362,0)
q:'$d(@gn)
"RTN","SAMINOT1",363,0)
f s zn=$o(@gn@(zn)) q:+zn=0 d ;
"RTN","SAMINOT1",364,0)
. s @nlist@(zn,"name")=@gn@(zn,"name")
"RTN","SAMINOT1",365,0)
. s @nlist@(zn,"nien")=zn
"RTN","SAMINOT1",366,0)
;
"RTN","SAMINOT1",367,0)
quit ; end of NTLIST
"RTN","SAMINOT1",368,0)
;
"RTN","SAMINOT1",369,0)
;
"RTN","SAMINOT1",370,0)
;
"RTN","SAMINOT1",371,0)
TLST ;
"RTN","SAMINOT1",372,0)
;
"RTN","SAMINOT1",373,0)
set SID="XXX00677"
"RTN","SAMINOT1",374,0)
set FORM="siform-2019-04-23"
"RTN","SAMINOT1",375,0)
do NTLIST("G",SID,FORM)
"RTN","SAMINOT1",376,0)
;ZWR G
"RTN","SAMINOT1",377,0)
;
"RTN","SAMINOT1",378,0)
quit ; end of TLST
"RTN","SAMINOT1",379,0)
;
"RTN","SAMINOT1",380,0)
;
"RTN","SAMINOT1",381,0)
;
"RTN","SAMINOT1",382,0)
ELNOTE(vals,dest,cnt) ; eligibility NOTE TEXT
"RTN","SAMINOT1",383,0)
;
"RTN","SAMINOT1",384,0)
D OUT("")
"RTN","SAMINOT1",385,0)
D OUT("Date of chart review: "_$$XVAL("sidc",vals))
"RTN","SAMINOT1",386,0)
D GLOUT("The participant was identified as a potential lung screening candidate by: ")
"RTN","SAMINOT1",387,0)
D GLOUT($$XVAL("siceiden",vals),4)
"RTN","SAMINOT1",388,0)
if $$XVAL("siceiden",vals)="referral" d ;
"RTN","SAMINOT1",389,0)
. D OUT("Date of Referral: "_$$XVAL("sicerfdt",vals))
"RTN","SAMINOT1",390,0)
. n spec s spec=""
"RTN","SAMINOT1",391,0)
. s:$$XVAL("sicerfpc",vals)="y" spec=spec_" Primary Care"
"RTN","SAMINOT1",392,0)
. s:$$XVAL("sicerfwh",vals)="y" spec=spec_" Women's Health"
"RTN","SAMINOT1",393,0)
. s:$$XVAL("sicerfge",vals)="y" spec=spec_" Geriatrics"
"RTN","SAMINOT1",394,0)
. s:$$XVAL("sicerfpu",vals)="y" spec=spec_" Pulmonology"
"RTN","SAMINOT1",395,0)
. s:$$XVAL("sicerfon",vals)="y" spec=spec_" Oncology"
"RTN","SAMINOT1",396,0)
. s:$$XVAL("sicerfsc",vals)="y" spec=spec_" Smoking Cessation"
"RTN","SAMINOT1",397,0)
. s:$$XVAL("sicerfot",vals)="y" spec=spec_" "_$$XVAL("sicerfoo",vals)
"RTN","SAMINOT1",398,0)
. D GLOUT("Specialty of referring provider: ")
"RTN","SAMINOT1",399,0)
. D GLOUT(spec,4)
"RTN","SAMINOT1",400,0)
n elig
"RTN","SAMINOT1",401,0)
s elig=$$XVAL("sicechrt",vals)
"RTN","SAMINOT1",402,0)
D OUT("The participant is eligible based on chart review: "_$s(elig="y":"Yes",1:"no"))
"RTN","SAMINOT1",403,0)
D OUT("")
"RTN","SAMINOT1",404,0)
s @vals@("chart-eligibility-complete")="true"
"RTN","SAMINOT1",405,0)
;
"RTN","SAMINOT1",406,0)
quit ; end of ELNOTE
"RTN","SAMINOT1",407,0)
;
"RTN","SAMINOT1",408,0)
;
"RTN","SAMINOT1",409,0)
;
"RTN","SAMINOT1",410,0)
PRENOTE(vals,dest,cnt) ;
"RTN","SAMINOT1",411,0)
;
"RTN","SAMINOT1",412,0)
i $g(@vals@("sipedisc"))'="y" q ; no prelim discussion
"RTN","SAMINOT1",413,0)
D OUT("")
"RTN","SAMINOT1",414,0)
;d OUT("A pre-enrollment discussion was held.")
"RTN","SAMINOT1",415,0)
;[If Yes is selected then add the following 5 lines]
"RTN","SAMINOT1",416,0)
D OUT("The program attempted to reach the Veteran to discuss lung screening.")
"RTN","SAMINOT1",417,0)
D OUT("Date of pre-enrollment discussion: "_$$XVAL("sipedc",vals))
"RTN","SAMINOT1",418,0)
n via s via=""
"RTN","SAMINOT1",419,0)
s:$$XVAL("sipecnip",vals)="1" via=via_" In person"
"RTN","SAMINOT1",420,0)
s:$$XVAL("sipecnte",vals)="1" via=via_" Telephone"
"RTN","SAMINOT1",421,0)
s:$$XVAL("sipecnth",vals)="1" via=via_" TeleHealth"
"RTN","SAMINOT1",422,0)
s:$$XVAL("sipecnml",vals)="1" via=via_" Mailed Letter"
"RTN","SAMINOT1",423,0)
s:$$XVAL("sipecnpp",vals)="1" via=via_" Message in patient portal"
"RTN","SAMINOT1",424,0)
s:$$XVAL("sipecnvd",vals)="1" via=via_" Video-on-Demand (VOD)"
"RTN","SAMINOT1",425,0)
s:$$XVAL("sipecnot",vals)="1" via=via_" "_$$XVAL("sipecnoo",vals)
"RTN","SAMINOT1",426,0)
;D OUT("The lung screening program reached the potential candidate or was contacted via:"_via)
"RTN","SAMINOT1",427,0)
D GLOUT("The lung screening program reached the potential candidate or was contacted via:")
"RTN","SAMINOT1",428,0)
D GLOUT(via,4)
"RTN","SAMINOT1",429,0)
;D OUT("The pre-enrollment discussion with the participant resulted in: "_$$SUBRSLT($$XVAL("siperslt",vals)))
"RTN","SAMINOT1",430,0)
D OUT("The pre-enrollment discussion with the participant resulted in: ")
"RTN","SAMINOT1",431,0)
D GLOUT($$SUBRSLT($$XVAL("siperslt",vals)),4)
"RTN","SAMINOT1",432,0)
D OUT("Comments: ")
"RTN","SAMINOT1",433,0)
D GLOUT($$XVAL("sipecmnt",vals),4)
"RTN","SAMINOT1",434,0)
;
"RTN","SAMINOT1",435,0)
s @vals@("pre-note-complete")="true"
"RTN","SAMINOT1",436,0)
;
"RTN","SAMINOT1",437,0)
quit ; end of PRENOTE
"RTN","SAMINOT1",438,0)
;
"RTN","SAMINOT1",439,0)
;
"RTN","SAMINOT1",440,0)
;
"RTN","SAMINOT1",441,0)
SUBRSLT(XVAL) ; translation of discussion result
"RTN","SAMINOT1",442,0)
;
"RTN","SAMINOT1",443,0)
q:XVAL="y" "Participant is interested in discussing lung screening. The program will proceed with enrollment process."
"RTN","SAMINOT1",444,0)
q:XVAL="u" "Participant is unsure of lung screening. Ok to contact in the future."
"RTN","SAMINOT1",445,0)
q:XVAL="nn" "Participant is not interested in discussing lung screening at this time. Ok to contact in the future."
"RTN","SAMINOT1",446,0)
q:XVAL="nf" "Participant is not interested in discussing lung screening in the future."
"RTN","SAMINOT1",447,0)
q:XVAL="na" "Unable to reach participant at this time"
"RTN","SAMINOT1",448,0)
;
"RTN","SAMINOT1",449,0)
quit "" ; end of $$SUBRSLT
"RTN","SAMINOT1",450,0)
;
"RTN","SAMINOT1",451,0)
;
"RTN","SAMINOT1",452,0)
;
"RTN","SAMINOT1",453,0)
INNOTE(vals,dest,cnt) ;
"RTN","SAMINOT1",454,0)
;
"RTN","SAMINOT1",455,0)
;Lung Screening Program Intake Note
"RTN","SAMINOT1",456,0)
;
"RTN","SAMINOT1",457,0)
;Date of intake discussion contact: [Date]
"RTN","SAMINOT1",458,0)
;How did you learn about the Lung Screening Program?: [Selection]
"RTN","SAMINOT1",459,0)
;Primary address verified: [Yes/No]
"RTN","SAMINOT1",460,0)
;Rural status: [Urban/Rural/Unknown]
"RTN","SAMINOT1",461,0)
;Preferred address and contact number:
"RTN","SAMINOT1",462,0)
; [Address 1]
"RTN","SAMINOT1",463,0)
; [Address 2]
"RTN","SAMINOT1",464,0)
; [Address]
"RTN","SAMINOT1",465,0)
;
"RTN","SAMINOT1",466,0)
;Ever smoked?: [Ever Smoked Text]
"RTN","SAMINOT1",467,0)
;Smoking Status: [Never Smoked/Past/Current/Willing to Quit]
"RTN","SAMINOT1",468,0)
;CIGs per day: [Input Number]
"RTN","SAMINOT1",469,0)
;PPD: [Computed Number]
"RTN","SAMINOT1",470,0)
;# of years: [Input Number]
"RTN","SAMINOT1",471,0)
;Pack Years: [Computed Number]
"RTN","SAMINOT1",472,0)
;
"RTN","SAMINOT1",473,0)
;[If a Quit Date is entered add the following line]
"RTN","SAMINOT1",474,0)
;Quit smoking on: [Date]
"RTN","SAMINOT1",475,0)
;
"RTN","SAMINOT1",476,0)
;[If Smoking Cessation education text is entered add the following line]
"RTN","SAMINOT1",477,0)
;Smoking cessation education provided: [Show Input Text]
"RTN","SAMINOT1",478,0)
;
"RTN","SAMINOT1",479,0)
;[If a Lung Cancer Dx date is entered show the following 1 to 2 lines]
"RTN","SAMINOT1",480,0)
;Prior lung cancer diagnosis date: [Date]
"RTN","SAMINOT1",481,0)
;[If a location not in the VA is specified show the next line]
"RTN","SAMINOT1",482,0)
;Location where prior lung cancer diagnosis was made: [Location Text]
"RTN","SAMINOT1",483,0)
;
"RTN","SAMINOT1",484,0)
;[If Any Prior CT Date is entered show the following 1 to 2 lines]
"RTN","SAMINOT1",485,0)
;Prior CT: [Date]
"RTN","SAMINOT1",486,0)
;[If a location not in the VA is specified show the next line]
"RTN","SAMINOT1",487,0)
;Location where prior lung cancer diagnosis was made: [Location Text]
"RTN","SAMINOT1",488,0)
;
"RTN","SAMINOT1",489,0)
;Shared Decision Making:
"RTN","SAMINOT1",490,0)
;
"RTN","SAMINOT1",491,0)
d OUT(" ")
"RTN","SAMINOT1",492,0)
d OUT(" "_"Date of intake discussion contact: "_$$XVAL("sidc",vals))
"RTN","SAMINOT1",493,0)
n learn s learn=""
"RTN","SAMINOT1",494,0)
s:$$XVAL("silnip",vals) learn=learn_" In person"
"RTN","SAMINOT1",495,0)
s:$$XVAL("silnph",vals) learn=learn_" Telephone"
"RTN","SAMINOT1",496,0)
s:$$XVAL("silnth",vals) learn=learn_" TeleHealth"
"RTN","SAMINOT1",497,0)
s:$$XVAL("silnml",vals) learn=learn_" Mailed letter"
"RTN","SAMINOT1",498,0)
s:$$XVAL("silnpp",vals) learn=learn_" Message in patient portal"
"RTN","SAMINOT1",499,0)
s:$$XVAL("silnvd",vals) learn=learn_" Video-on-Demand (VOD)"
"RTN","SAMINOT1",500,0)
s:$$XVAL("silnot",vals) learn=learn_" "_$$XVAL("silnoo",vals)
"RTN","SAMINOT1",501,0)
;d GLOUT(" "_"How did you learn about the Lung Screening Program?: "_learn,4)
"RTN","SAMINOT1",502,0)
d GLOUT("How did you learn about the Lung Screening Program?: ",4)
"RTN","SAMINOT1",503,0)
d GLOUT(learn,6)
"RTN","SAMINOT1",504,0)
n verified s verified=""
"RTN","SAMINOT1",505,0)
s:$$XVAL("sipav",vals)="y" verified="Yes"
"RTN","SAMINOT1",506,0)
s:$$XVAL("sipav",vals)="n" verified="No"
"RTN","SAMINOT1",507,0)
d OUT(" "_"Primary address verified: "_verified)
"RTN","SAMINOT1",508,0)
n rural s rural=""
"RTN","SAMINOT1",509,0)
s:$$XVAL("sirs",vals)="r" rural="rural"
"RTN","SAMINOT1",510,0)
s:$$XVAL("sirs",vals)="u" rural="urban"
"RTN","SAMINOT1",511,0)
d OUT(" "_""_"Rural status: "_rural)
"RTN","SAMINOT1",512,0)
d OUT(" "_"Preferred address and contact number: ")
"RTN","SAMINOT1",513,0)
n pa s pa=""
"RTN","SAMINOT1",514,0)
i $$XVAL("sipsa",vals)'="" d ;
"RTN","SAMINOT1",515,0)
. d OUT(" "_$$XVAL("sipsa",vals))
"RTN","SAMINOT1",516,0)
. n csz s csz=""
"RTN","SAMINOT1",517,0)
. s:$$XVAL("sipc",vals)'="" csz=$$XVAL("sipc",vals)
"RTN","SAMINOT1",518,0)
. s:$$XVAL("sips",vals)'="" csz=csz_", "_$$XVAL("sips",vals)
"RTN","SAMINOT1",519,0)
. s:$$XVAL("sipz",vals)'="" csz=csz_" "_$$XVAL("sipz",vals)
"RTN","SAMINOT1",520,0)
. d OUT(" "_csz)
"RTN","SAMINOT1",521,0)
d:$$XVAL("sippn",vals)'="" OUT(" "_$$XVAL("sippn",vals))
"RTN","SAMINOT1",522,0)
d OUT(" "_"Ever smoked?: ")
"RTN","SAMINOT1",523,0)
d GLOUT($$XVAL("sies",vals),6)
"RTN","SAMINOT1",524,0)
n sstatus s sstatus=""
"RTN","SAMINOT1",525,0)
s:$$XVAL("siesm",vals)="n" sstatus=sstatus_" Never smoked"
"RTN","SAMINOT1",526,0)
s:$$XVAL("siesm",vals)="p" sstatus=sstatus_" Past"
"RTN","SAMINOT1",527,0)
s:$$XVAL("siesm",vals)="c" sstatus=sstatus_" Current"
"RTN","SAMINOT1",528,0)
s:$$XVAL("siesq",vals)=1 sstatus=sstatus_" Willing to quit"
"RTN","SAMINOT1",529,0)
d OUT(" Smoking Status: "_sstatus)
"RTN","SAMINOT1",530,0)
d OUT(" "_"CIGs per day: ")
"RTN","SAMINOT1",531,0)
d OUT(" "_$$XVAL("sicpd",vals))
"RTN","SAMINOT1",532,0)
d OUT(" "_"PPD: ")
"RTN","SAMINOT1",533,0)
d OUT(" "_$$XVAL("sippd",vals))
"RTN","SAMINOT1",534,0)
d OUT(" "_"# of years: ")
"RTN","SAMINOT1",535,0)
d OUT(" "_$$XVAL("sisny",vals))
"RTN","SAMINOT1",536,0)
d OUT(" "_"PPY: ")
"RTN","SAMINOT1",537,0)
d OUT(" "_$$XVAL("sippy",vals))
"RTN","SAMINOT1",538,0)
d OUT("")
"RTN","SAMINOT1",539,0)
i $$XVAL("siq",vals)'="" d ;
"RTN","SAMINOT1",540,0)
. d OUT("Quit smoking on: "_$$XVAL("siq",vals))
"RTN","SAMINOT1",541,0)
. d OUT("")
"RTN","SAMINOT1",542,0)
i $$XVAL("sicep",vals)'="" d ;
"RTN","SAMINOT1",543,0)
. d OUT("Smoking cessation education provided:")
"RTN","SAMINOT1",544,0)
. d GLOUT(" "_$$XVAL("sicep",vals),4)
"RTN","SAMINOT1",545,0)
i $$XVAL("sicadx",vals)'="" d
"RTN","SAMINOT1",546,0)
. d OUT("Prior lung cancer diagnosis date: "_$$XVAL("sicadx",vals))
"RTN","SAMINOT1",547,0)
. i $$XVAL("sicadxl",vals)'="" d ;
"RTN","SAMINOT1",548,0)
. . d OUT("Location where prior lung cancer diagnosis was made:")
"RTN","SAMINOT1",549,0)
. . d GLOUT(" "_$$XVAL("sicadxl",vals),4)
"RTN","SAMINOT1",550,0)
i $$XVAL("siptct",vals)'="" d
"RTN","SAMINOT1",551,0)
. d OUT("Prior CT: "_$$XVAL("siptct",vals))
"RTN","SAMINOT1",552,0)
. i $$XVAL("siptctl",vals)'="" d ;
"RTN","SAMINOT1",553,0)
. . d OUT("Location where prior CT was made:")
"RTN","SAMINOT1",554,0)
. . d GLOUT(" "_$$XVAL("siptctl",vals),4)
"RTN","SAMINOT1",555,0)
d OUT(" ")
"RTN","SAMINOT1",556,0)
d OUT("Shared Decision Making: ")
"RTN","SAMINOT1",557,0)
d OUT(" ")
"RTN","SAMINOT1",558,0)
d SDM(dest)
"RTN","SAMINOT1",559,0)
d OUT(" ")
"RTN","SAMINOT1",560,0)
n ldct s ldct=""
"RTN","SAMINOT1",561,0)
s:$$XVAL("sildct",vals)="n" ldct="No"
"RTN","SAMINOT1",562,0)
s:$$XVAL("sildct",vals)="l" ldct="No"
"RTN","SAMINOT1",563,0)
s:$$XVAL("sildct",vals)="y" ldct="Yes"
"RTN","SAMINOT1",564,0)
d GLOUT("The veteran has decided to enroll in the Lung Screening Program: "_ldct)
"RTN","SAMINOT1",565,0)
i $$XVAL("sildct",vals)="l" d ;
"RTN","SAMINOT1",566,0)
. d GLOUT("The veteran has indicated it is okay to contact in the future to discuss enrolling in the Lung Screening Program.",4)
"RTN","SAMINOT1",567,0)
i ldct="Yes" d ;
"RTN","SAMINOT1",568,0)
. d OUT("LDCT ordered: "_ldct)
"RTN","SAMINOT1",569,0)
. d OUT(" "_"Veteran enrolled in the LSS program. Results and coordination of care ")
"RTN","SAMINOT1",570,0)
. d OUT(" "_"will be made by the LSS team. ")
"RTN","SAMINOT1",571,0)
. i $$XVAL("siclin",vals)'="" d ;
"RTN","SAMINOT1",572,0)
n tmpclin s tmpclin=$$XVAL("siclin",vals)
"RTN","SAMINOT1",573,0)
i tmpclin'="" d ;
"RTN","SAMINOT1",574,0)
. d OUT("Clinical Indications for Initial Screening CT:")
"RTN","SAMINOT1",575,0)
. d GLOUT(" "_tmpclin,4)
"RTN","SAMINOT1",576,0)
;
"RTN","SAMINOT1",577,0)
;The veteran has decided to enroll in the Lung Screening Program: [Yes/No]
"RTN","SAMINOT1",578,0)
;
"RTN","SAMINOT1",579,0)
;[If Not enroll at this time but okay to contact in the future, add the following line]
"RTN","SAMINOT1",580,0)
;The veteran has indicated it is okay to contact in the future to discuss enrolling in the Lung Screening Program.
"RTN","SAMINOT1",581,0)
;
"RTN","SAMINOT1",582,0)
;[If Yes is answered for enrollment add the following two lines]
"RTN","SAMINOT1",583,0)
;LDCT ordered: Yes
"RTN","SAMINOT1",584,0)
;Veteran enrolled in the Lung Screening Program. Results and coordination of care will be made by the Lung Screening Program team.
"RTN","SAMINOT1",585,0)
;
"RTN","SAMINOT1",586,0)
;[If Clinical Indication text is provided add them to the note]
"RTN","SAMINOT1",587,0)
;Clinical Indications: [Show Input Text]
"RTN","SAMINOT1",588,0)
;
"RTN","SAMINOT1",589,0)
;
"RTN","SAMINOT1",590,0)
quit ; end of INNOTE
"RTN","SAMINOT1",591,0)
;
"RTN","SAMINOT1",592,0)
;
"RTN","SAMINOT1",593,0)
;
"RTN","SAMINOT1",594,0)
SDM(ary) ; adds Shared Decision Making text to array ary, passed by name
"RTN","SAMINOT1",595,0)
;
"RTN","SAMINOT1",596,0)
n ii s ii=$o(@ary@(" "),-1)
"RTN","SAMINOT1",597,0)
s ii=ii+1
"RTN","SAMINOT1",598,0)
s @ary@(ii)="Veteran of age and exposure to cigarette smoke as described above, and "
"RTN","SAMINOT1",599,0)
s ii=ii+1
"RTN","SAMINOT1",600,0)
s @ary@(ii)="without a current diagnosis or obvious symptoms suggestive of lung cancer, "
"RTN","SAMINOT1",601,0)
s ii=ii+1
"RTN","SAMINOT1",602,0)
s @ary@(ii)="has been educated today about the estimated risk for lung cancer, the "
"RTN","SAMINOT1",603,0)
s ii=ii+1
"RTN","SAMINOT1",604,0)
s @ary@(ii)="possibility of cure or life prolonging if an early lung cancer were to be "
"RTN","SAMINOT1",605,0)
s ii=ii+1
"RTN","SAMINOT1",606,0)
s @ary@(ii)="found during screening, the possibility of imaging abnormalities not being "
"RTN","SAMINOT1",607,0)
s ii=ii+1
"RTN","SAMINOT1",608,0)
s @ary@(ii)="lung cancer, the possibility of complications from additional diagnostic "
"RTN","SAMINOT1",609,0)
s ii=ii+1
"RTN","SAMINOT1",610,0)
s @ary@(ii)="procedures, and the approximate amount of radiation exposure associated "
"RTN","SAMINOT1",611,0)
s ii=ii+1
"RTN","SAMINOT1",612,0)
s @ary@(ii)="with each screening procedure. In addition, the Veteran has been educated "
"RTN","SAMINOT1",613,0)
s ii=ii+1
"RTN","SAMINOT1",614,0)
s @ary@(ii)="today about the importance of adhering to annual lung screening, the "
"RTN","SAMINOT1",615,0)
s ii=ii+1
"RTN","SAMINOT1",616,0)
s @ary@(ii)="possible impact of other medical conditions on the overall health status, "
"RTN","SAMINOT1",617,0)
s ii=ii+1
"RTN","SAMINOT1",618,0)
s @ary@(ii)="the importance of avoiding exposure to cigarette smoke, available tobacco "
"RTN","SAMINOT1",619,0)
s ii=ii+1
"RTN","SAMINOT1",620,0)
s @ary@(ii)="cessation programs and available lung screening services at this site. "
"RTN","SAMINOT1",621,0)
s ii=ii+1
"RTN","SAMINOT1",622,0)
s @ary@(ii)="Education material was provided to the veteran. "
"RTN","SAMINOT1",623,0)
s ii=ii+1
"RTN","SAMINOT1",624,0)
;s @ary@(ii)="Based on this information, the Veteran has opted for "
"RTN","SAMINOT1",625,0)
;
"RTN","SAMINOT1",626,0)
quit ; end of SDM
"RTN","SAMINOT1",627,0)
;
"RTN","SAMINOT1",628,0)
;
"RTN","SAMINOT1",629,0)
;
"RTN","SAMINOT1",630,0)
GLOUT(ln,indent) ; glob out first wrap ln then put it in dest
"RTN","SAMINOT1",631,0)
;
"RTN","SAMINOT1",632,0)
n arytmp
"RTN","SAMINOT1",633,0)
s arytmp(1)=ln
"RTN","SAMINOT1",634,0)
i $g(indent)="" s indent=1
"RTN","SAMINOT1",635,0)
d wrap^%tt("arytmp",indent_":80")
"RTN","SAMINOT1",636,0)
n ii s ii=""
"RTN","SAMINOT1",637,0)
f s ii=$o(arytmp(ii)) q:ii="" d ;
"RTN","SAMINOT1",638,0)
. d OUT(arytmp(ii))
"RTN","SAMINOT1",639,0)
;
"RTN","SAMINOT1",640,0)
quit ; end of GLOUT
"RTN","SAMINOT1",641,0)
;
"RTN","SAMINOT1",642,0)
;
"RTN","SAMINOT1",643,0)
;
"RTN","SAMINOT1",644,0)
OUT(ln) ;
"RTN","SAMINOT1",645,0)
;
"RTN","SAMINOT1",646,0)
s cnt=cnt+1
"RTN","SAMINOT1",647,0)
n lnn
"RTN","SAMINOT1",648,0)
;s debug=1
"RTN","SAMINOT1",649,0)
s lnn=$o(@dest@(" "),-1)+1
"RTN","SAMINOT1",650,0)
s @dest@(lnn)=ln
"RTN","SAMINOT1",651,0)
;
"RTN","SAMINOT1",652,0)
;i $g(debug)=1 d ;
"RTN","SAMINOT1",653,0)
;. i ln["<" q ; no markup
"RTN","SAMINOT1",654,0)
;. n zs s zs=$STACK
"RTN","SAMINOT1",655,0)
;. n zp s zp=$STACK(zs-2,"PLACE")
"RTN","SAMINOT1",656,0)
;. s @dest@(lnn)=zp_":"_ln
"RTN","SAMINOT1",657,0)
;
"RTN","SAMINOT1",658,0)
quit ; end of OUT
"RTN","SAMINOT1",659,0)
;
"RTN","SAMINOT1",660,0)
;
"RTN","SAMINOT1",661,0)
;
"RTN","SAMINOT1",662,0)
XVAL(var,vals) ; extrinsic returns the patient value for var
"RTN","SAMINOT1",663,0)
;
"RTN","SAMINOT1",664,0)
; vals is passed by name
"RTN","SAMINOT1",665,0)
;
"RTN","SAMINOT1",666,0)
n zr
"RTN","SAMINOT1",667,0)
s zr=$g(@vals@(var))
"RTN","SAMINOT1",668,0)
;i zr="" s zr="["_var_"]"
"RTN","SAMINOT1",669,0)
;
"RTN","SAMINOT1",670,0)
quit zr ; end of $$XVAL
"RTN","SAMINOT1",671,0)
;
"RTN","SAMINOT1",672,0)
;
"RTN","SAMINOT1",673,0)
;
"RTN","SAMINOT1",674,0)
EOR ; end of routine SAMINOT1
"RTN","SAMINUL")
0^13^B99724
"RTN","SAMINUL",1,0)
SAMINUL ;ven/gpl - ielcap: note log ;2021-03-23T19:36Z
"RTN","SAMINUL",2,0)
;;18.0;SAMI;**9,10**;;Build 3
"RTN","SAMINUL",3,0)
;;1.18.0.10-i10
"RTN","SAMINUL",4,0)
;
"RTN","SAMINUL",5,0)
; SAMINOTE contains subroutines for producing the ELCAP Note Pages.
"RTN","SAMINUL",6,0)
; SAMINUL contains the development log for the SAMINOT* routines.
"RTN","SAMINUL",7,0)
; It contains no executable code.
"RTN","SAMINUL",8,0)
;
"RTN","SAMINUL",9,0)
quit ; no entry from top
"RTN","SAMINUL",10,0)
;
"RTN","SAMINUL",11,0)
;
"RTN","SAMINUL",12,0)
;
"RTN","SAMINUL",13,0)
;@section 0 primary development
"RTN","SAMINUL",14,0)
;
"RTN","SAMINUL",15,0)
;
"RTN","SAMINUL",16,0)
;
"RTN","SAMINUL",17,0)
;@routine-credits
"RTN","SAMINUL",18,0)
;@primary-dev George P. Lilly (gpl)
"RTN","SAMINUL",19,0)
; [email protected]
"RTN","SAMINUL",20,0)
;@primary-dev-org Vista Expertise Network (ven)
"RTN","SAMINUL",21,0)
; http://vistaexpertise.net
"RTN","SAMINUL",22,0)
;@copyright 2017/2021, gpl, all rights reserved
"RTN","SAMINUL",23,0)
;@license see routine SAMIUL
"RTN","SAMINUL",24,0)
;
"RTN","SAMINUL",25,0)
;@last-updated 2021-03-23T19:36Z
"RTN","SAMINUL",26,0)
;@application Screening Applications Management (SAM)
"RTN","SAMINUL",27,0)
;@module Screening Applications Management - IELCAP (SAMI)
"RTN","SAMINUL",28,0)
;@suite-of-files SAMI Forms (311.101-311.199)
"RTN","SAMINUL",29,0)
;@version 1.18.0.10-i10
"RTN","SAMINUL",30,0)
;@release-date 2020-01
"RTN","SAMINUL",31,0)
;@patch-list **9,10**
"RTN","SAMINUL",32,0)
;
"RTN","SAMINUL",33,0)
;@additional-dev Frederick D. S. Marshall (toad)
"RTN","SAMINUL",34,0)
; [email protected]
"RTN","SAMINUL",35,0)
;@additional-dev Larry G. Carlson (lgc)
"RTN","SAMINUL",36,0)
; [email protected]
"RTN","SAMINUL",37,0)
;@additional-dev Linda M. R. Yaw (lmry)
"RTN","SAMINUL",38,0)
; [email protected]
"RTN","SAMINUL",39,0)
;@additional-dev Alexis R. Carlson (arc)
"RTN","SAMINUL",40,0)
; [email protected]
"RTN","SAMINUL",41,0)
;@additional-dev Domenic DiNatale (dom)
"RTN","SAMINUL",42,0)
; [email protected]
"RTN","SAMINUL",43,0)
;
"RTN","SAMINUL",44,0)
;@module-credits
"RTN","SAMINUL",45,0)
;@project VA Partnership to Increase Access to Lung Screening
"RTN","SAMINUL",46,0)
; (VA-PALS)
"RTN","SAMINUL",47,0)
; http://va-pals.org/
"RTN","SAMINUL",48,0)
;@funding 2017/2021, Bristol-Myers Squibb Foundation (bmsf)
"RTN","SAMINUL",49,0)
; https://www.bms.com/about-us/responsibility/bristol-myers-squibb-foundation.html
"RTN","SAMINUL",50,0)
;@partner-org Veterans Affairs Office of Rural health
"RTN","SAMINUL",51,0)
; https://www.ruralhealth.va.gov/
"RTN","SAMINUL",52,0)
;@partner-org International Early Lung Cancer Action Program (I-ELCAP)
"RTN","SAMINUL",53,0)
; http://ielcap.com/
"RTN","SAMINUL",54,0)
;@partner-org Paraxial Technologies (par)
"RTN","SAMINUL",55,0)
; http://paraxialtech.com/
"RTN","SAMINUL",56,0)
;@partner-org Open Source Electronic Health Record Alliance (OSEHRA)
"RTN","SAMINUL",57,0)
; https://www.osehra.org/groups/va-pals-open-source-project-group
"RTN","SAMINUL",58,0)
;
"RTN","SAMINUL",59,0)
;@module-log repo github.com:VA-PALS-ELCAP/SAMI-VAPALS-ELCAP.git
"RTN","SAMINUL",60,0)
;
"RTN","SAMINUL",61,0)
; 2019-04-04/18 ven/gpl 1.18.0-t04 c0bb7dbf,f7b48936,9d1f2cdc,
"RTN","SAMINUL",62,0)
; ba5f366d,5b2e32dc,ce322911
"RTN","SAMINUL",63,0)
; SAMINOT1: flags for intake form, fix crash on intake form, initial
"RTN","SAMINUL",64,0)
; version of new intake notes, revise text for pre-enrollment
"RTN","SAMINUL",65,0)
; discusstion note, complete new intake notes, add intake notes to
"RTN","SAMINUL",66,0)
; case review page.
"RTN","SAMINUL",67,0)
;
"RTN","SAMINUL",68,0)
; 2019-04-16/23 ven/lgc 1.18.0-t04 e54b76d1,21388d8a,f0505e51,
"RTN","SAMINUL",69,0)
; 89bffd3b
"RTN","SAMINUL",70,0)
; SAMINOT1: SAMIFRM2 > SAMIFORM, remove spaces at end of lines,
"RTN","SAMINUL",71,0)
; control characters, SAMISUB2 > LOAD.
"RTN","SAMINUL",72,0)
;
"RTN","SAMINUL",73,0)
; 2019-04-23 ven/toad 1.18.0-t04 423a3946
"RTN","SAMINUL",74,0)
; SAMINOT1: resolve gpl/lgc collision, restore SAMISUB2 > LOAD.
"RTN","SAMINUL",75,0)
;
"RTN","SAMINUL",76,0)
; 2019-04-30 ven/gpl 1.18.0-t04 cf73510c
"RTN","SAMINUL",77,0)
; SAMINOT1: additions to intake note for prior scans & format.
"RTN","SAMINUL",78,0)
;
"RTN","SAMINUL",79,0)
; 2019-05-07 ven/lmry 1.18.0-t04 4a8ead45
"RTN","SAMINUL",80,0)
; SAMINOT1: edit SAMINOT1 for XINDEX.
"RTN","SAMINUL",81,0)
;
"RTN","SAMINUL",82,0)
; 2019-05-07 ven/lgc 1.18.0-t04 f63ef57c
"RTN","SAMINUL",83,0)
; SAMINOT1: cleanup for XINDEX.
"RTN","SAMINUL",84,0)
;
"RTN","SAMINUL",85,0)
; 2019-06-18 ven/arc 1.18.0-t04 91022482
"RTN","SAMINUL",86,0)
; SAMINOT1: ^SAMIGPL > ^SAMIUL.
"RTN","SAMINUL",87,0)
;
"RTN","SAMINUL",88,0)
; 2019-07-01 ven/gpl 1.18.0-t04 72868e60
"RTN","SAMINUL",89,0)
; SAMINOT1: update shared decision making text in intake note.
"RTN","SAMINUL",90,0)
;
"RTN","SAMINUL",91,0)
; 2019-08-03/14 ven/gpl 1.18.0-t04 bea65f7b,578f61d4
"RTN","SAMINUL",92,0)
; SAMINOT1: fix bugs in Have you ever smoked processing in changelog
"RTN","SAMINUL",93,0)
; & intake note, restored ever smoked comment field to intake note.
"RTN","SAMINUL",94,0)
;
"RTN","SAMINUL",95,0)
; 2019-09-06 par/dom 1.18.0-t04 2ff47189 VAP-452
"RTN","SAMINUL",96,0)
; SAMINOT1: patient > participant.
"RTN","SAMINUL",97,0)
;
"RTN","SAMINUL",98,0)
; 2019-09-26 ven/gpl 1.18.0-t04 92b12324 VAP-420
"RTN","SAMINUL",99,0)
; SAMINOT1: smoking history.
"RTN","SAMINUL",100,0)
;
"RTN","SAMINUL",101,0)
; 2019-10-01 par/dom 1.18.0-t04 37c418a1,4caf1a98 VAP-457,344
"RTN","SAMINUL",102,0)
; SAMINOT1: remove thorax, capitalization consistency.
"RTN","SAMINUL",103,0)
;
"RTN","SAMINUL",104,0)
; 2020-01-17/20 ven/lgc 1.18.0.1-i1 8557207f,d7d24834,0301ad95.
"RTN","SAMINUL",105,0)
; 659f2526,0ff2b83f,49615242,5bf7c398,dc5f618c
"RTN","SAMINUL",106,0)
; SAMINOT2: followup note, fixed typos in VC note, followup LCS note
"RTN","SAMINUL",107,0)
; minus CT Eval pulls, LCS note with CT Eval extracts, fixed bug in
"RTN","SAMINUL",108,0)
; LSC CT eval extract, include entire impression section of CT Eval
"RTN","SAMINUL",109,0)
; report in LCS Note, improved import of impressions, limit to one
"RTN","SAMINUL",110,0)
; note per followup form.
"RTN","SAMINUL",111,0)
;
"RTN","SAMINUL",112,0)
; 2020-01-23 ven/arc 1.18.0.2-i2 9a24242a
"RTN","SAMINUL",113,0)
; SAMINOT1: fix word wrap on intake note & typos in ct
"RTN","SAMINUL",114,0)
; eval report.
"RTN","SAMINUL",115,0)
;
"RTN","SAMINUL",116,0)
; 2020-08-12 ven/gpl 1.18.0.6-i6 781744c3
"RTN","SAMINUL",117,0)
; SAMINOT1: chg to support hl7 transmission of notes.
"RTN","SAMINUL",118,0)
;
"RTN","SAMINUL",119,0)
; 2020-09-22 ven/gpl 1.18.0.6-i6 06459eda
"RTN","SAMINUL",120,0)
; SAMINOT1: fix to match kids file.
"RTN","SAMINUL",121,0)
;
"RTN","SAMINUL",122,0)
; 2021-02-01/24 ven/gpl 1.18.0.8-i8 8e4ec441,cde71a55
"RTN","SAMINUL",123,0)
; SAMINOT1: fix intake note format, fix error that sent note twice
"RTN","SAMINUL",124,0)
; to VistA.
"RTN","SAMINUL",125,0)
;
"RTN","SAMINUL",126,0)
; 2021-03-02 ven/gpl 1.18.0.9-i9 479dc041
"RTN","SAMINUL",127,0)
; SAMINOT2: return error message if no ct eval form exists when
"RTN","SAMINUL",128,0)
; generating a fu note.
"RTN","SAMINUL",129,0)
;
"RTN","SAMINUL",130,0)
; 2021-03-15/16 ven/toad 1.18.0.9-i9 a46a2cc1
"RTN","SAMINUL",131,0)
; SAMINUL: create routine.
"RTN","SAMINUL",132,0)
; SAMINOT2: bump date & patch list, add contents, lt refactor.
"RTN","SAMINUL",133,0)
;
"RTN","SAMINUL",134,0)
; 2021-03-17 ven/toad 1.18.0.9-i9 62da30b4
"RTN","SAMINUL",135,0)
; SAMINOT2: remove blank from end of 1 line.
"RTN","SAMINUL",136,0)
;
"RTN","SAMINUL",137,0)
; 2021-03-22 ven/gpl 1.18.0.10-i10 6319a1eb
"RTN","SAMINUL",138,0)
; SAMINOT1: fix logic bug in detecting pre-enrollment existing.
"RTN","SAMINUL",139,0)
;
"RTN","SAMINUL",140,0)
; 2021-03-23 ven/toad 1.18.0.10-i10
"RTN","SAMINUL",141,0)
; SAMINOT1: bump date & patch list, lt refactor.
"RTN","SAMINUL",142,0)
;
"RTN","SAMINUL",143,0)
;
"RTN","SAMINUL",144,0)
;
"RTN","SAMINUL",145,0)
EOR ; end of routine SAMINUL
"RTN","SAMIUR")
0^12^B283175290
"RTN","SAMIUR",1,0)
SAMIUR ;ven/gpl - user reports ;2021-03-23T19:43Z
"RTN","SAMIUR",2,0)
;;18.0;SAMI;**5,10**;2020-01;Build 3
"RTN","SAMIUR",3,0)
;;1.18.0.10-i10
"RTN","SAMIUR",4,0)
;
"RTN","SAMIUR",5,0)
; SAMIUR contains a web service & associated subroutines to produce
"RTN","SAMIUR",6,0)
; the VAPALS-ELCAP user reports.
"RTN","SAMIUR",7,0)
;
"RTN","SAMIUR",8,0)
quit ; no entry from top
"RTN","SAMIUR",9,0)
;
"RTN","SAMIUR",10,0)
;
"RTN","SAMIUR",11,0)
;
"RTN","SAMIUR",12,0)
;@section 0 primary development
"RTN","SAMIUR",13,0)
;
"RTN","SAMIUR",14,0)
;
"RTN","SAMIUR",15,0)
;
"RTN","SAMIUR",16,0)
;@routine-credits
"RTN","SAMIUR",17,0)
;@primary-dev George P. Lilly (gpl)
"RTN","SAMIUR",18,0)
; [email protected]
"RTN","SAMIUR",19,0)
;@primary-dev-org Vista Expertise Network (ven)
"RTN","SAMIUR",20,0)
; http://vistaexpertise.net
"RTN","SAMIUR",21,0)
;@copyright 2017/2021, gpl, all rights reserved
"RTN","SAMIUR",22,0)
;@license see routine SAMIUL
"RTN","SAMIUR",23,0)
;
"RTN","SAMIUR",24,0)
;@last-updated 2021-03-23T19:43Z
"RTN","SAMIUR",25,0)
;@application Screening Applications Management (SAM)
"RTN","SAMIUR",26,0)
;@module Screening Applications Management - IELCAP (SAMI)
"RTN","SAMIUR",27,0)
;@suite-of-files SAMI Forms (311.101-311.199)
"RTN","SAMIUR",28,0)
;@version 1.18.0.10-i10
"RTN","SAMIUR",29,0)
;@release-date 2020-01
"RTN","SAMIUR",30,0)
;@patch-list **5,10**
"RTN","SAMIUR",31,0)
;
"RTN","SAMIUR",32,0)
;@additional-dev Frederick D. S. Marshall (toad)
"RTN","SAMIUR",33,0)
; [email protected]
"RTN","SAMIUR",34,0)
;@additional-dev Larry G. Carlson (lgc)
"RTN","SAMIUR",35,0)
; [email protected]
"RTN","SAMIUR",36,0)
;@additional-dev Alexis R. Carlson (arc)
"RTN","SAMIUR",37,0)
; [email protected]
"RTN","SAMIUR",38,0)
;
"RTN","SAMIUR",39,0)
;@module-credits
"RTN","SAMIUR",40,0)
;@project VA Partnership to Increase Access to Lung Screening
"RTN","SAMIUR",41,0)
; (VA-PALS)
"RTN","SAMIUR",42,0)
; http://va-pals.org/
"RTN","SAMIUR",43,0)
;@funding 2017/2021, Bristol-Myers Squibb Foundation (bmsf)
"RTN","SAMIUR",44,0)
; https://www.bms.com/about-us/responsibility/bristol-myers-squibb-foundation.html
"RTN","SAMIUR",45,0)
;@partner-org Veterans Affairs Office of Rural health
"RTN","SAMIUR",46,0)
; https://www.ruralhealth.va.gov/
"RTN","SAMIUR",47,0)
;@partner-org International Early Lung Cancer Action Program (I-ELCAP)
"RTN","SAMIUR",48,0)
; http://ielcap.com/
"RTN","SAMIUR",49,0)
;@partner-org Paraxial Technologies (par)
"RTN","SAMIUR",50,0)
; http://paraxialtech.com/
"RTN","SAMIUR",51,0)
;@partner-org Open Source Electronic Health Record Alliance (OSEHRA)
"RTN","SAMIUR",52,0)
; https://www.osehra.org/groups/va-pals-open-source-project-group
"RTN","SAMIUR",53,0)
;
"RTN","SAMIUR",54,0)
;@module-log repo github.com:VA-PALS-ELCAP/SAMI-VAPALS-ELCAP.git
"RTN","SAMIUR",55,0)
;
"RTN","SAMIUR",56,0)
; 2020-02-10/12 ven/gpl 1.18.0-t04 d543f7bb,f9869dfb,0e4d8b9a
"RTN","SAMIUR",57,0)
; SAMIUR: 1st version of revised user reports, progress on user
"RTN","SAMIUR",58,0)
; reports, fixed a bug in enrollment report.
"RTN","SAMIUR",59,0)
;
"RTN","SAMIUR",60,0)
; 2020-02-18 ven/lgc 1.18.0-t04 76874314
"RTN","SAMIUR",61,0)
; SAMIUR: update recently edited routines.
"RTN","SAMIUR",62,0)
;
"RTN","SAMIUR",63,0)
; 2020-03-10/12 ven/gpl 1.18.0-t04 8de06b06,4ad52d64
"RTN","SAMIUR",64,0)
; SAMIUR: user report date filtering, fix end date logic in UR.
"RTN","SAMIUR",65,0)
;
"RTN","SAMIUR",66,0)
; 2020-04-16/23 ven/lgc 1.18.0-t04 e54b76d1b,89bffd3b
"RTN","SAMIUR",67,0)
; SAMIUR: SAMIFRM2 > SAMIFORM, SAMISUB2 > LOAD.
"RTN","SAMIUR",68,0)
;
"RTN","SAMIUR",69,0)
; 2020-08-04 ven/gpl 1.18.0-t04 cd865e2b VPA-438
"RTN","SAMIUR",70,0)
; SAMIUR: requested changes to followup report.
"RTN","SAMIUR",71,0)
;
"RTN","SAMIUR",72,0)
; 2020-09-26 ven/gpl 1.18.0-t04 92b12324 VAP-420
"RTN","SAMIUR",73,0)
; SAMIUR: add smoking history.
"RTN","SAMIUR",74,0)
;
"RTN","SAMIUR",75,0)
; 2020-01-01/05 ven/arc 1.18.0 399f8547,62e3200f
"RTN","SAMIUR",76,0)
; SAMIUR: unmatched participant processing.
"RTN","SAMIUR",77,0)
;
"RTN","SAMIUR",78,0)
; 2020-04-29/05-13 ven/gpl 1.18.0.5-i5 e8b8ea2d,61c7d208
"RTN","SAMIUR",79,0)
; SAMIUR: fixes for reports, worklist functionality.
"RTN","SAMIUR",80,0)
;
"RTN","SAMIUR",81,0)
; 2021-03-22/23 ven/gpl 1.18.0.10-i10 256efe63,ba81b86a2
"RTN","SAMIUR",82,0)
; SAMIUR: sort all reports by name, added row totals to reports.
"RTN","SAMIUR",83,0)
;
"RTN","SAMIUR",84,0)
; 2021-03-23 ven/toad 1.18.0.10-i10
"RTN","SAMIUR",85,0)
; SAMIUR: add version info & dev log, lt refactor, fix XINDEX errors.
"RTN","SAMIUR",86,0)
;
"RTN","SAMIUR",87,0)
;
"RTN","SAMIUR",88,0)
;
"RTN","SAMIUR",89,0)
WSREPORT(SAMIRTN,filter) ; generate a report based on parameters in the filter
"RTN","SAMIUR",90,0)
;
"RTN","SAMIUR",91,0)
; here are the user reports that are defined:
"RTN","SAMIUR",92,0)
; 1. followup
"RTN","SAMIUR",93,0)
; 2. activity
"RTN","SAMIUR",94,0)
; 3. missingct
"RTN","SAMIUR",95,0)
; 4. incomplete
"RTN","SAMIUR",96,0)
; 5. outreach
"RTN","SAMIUR",97,0)
; 6. enrollment
"RTN","SAMIUR",98,0)
; 7. worklist
"RTN","SAMIUR",99,0)
; the report to generate is passed in parameter samireporttype
"RTN","SAMIUR",100,0)
;
"RTN","SAMIUR",101,0)
n debug s debug=0
"RTN","SAMIUR",102,0)
i $g(filter("debug"))=1 s debug=1
"RTN","SAMIUR",103,0)
i $g(filter("debug"))=1 s debug=1
"RTN","SAMIUR",104,0)
k SAMIRTN
"RTN","SAMIUR",105,0)
s HTTPRSP("mime")="text/html"
"RTN","SAMIUR",106,0)
;
"RTN","SAMIUR",107,0)
n type,temp
"RTN","SAMIUR",108,0)
s type=$g(filter("samireporttype"))
"RTN","SAMIUR",109,0)
i type="" d q ; report type missing
"RTN","SAMIUR",110,0)
. d GETHOME^SAMIHOM3(.SAMIRTN,.filter) ; send them to home
"RTN","SAMIUR",111,0)
;
"RTN","SAMIUR",112,0)
d getThis^%wd("temp","table.html") ; page template
"RTN","SAMIUR",113,0)
q:'$d(temp)
"RTN","SAMIUR",114,0)
;
"RTN","SAMIUR",115,0)
n SAMIPATS
"RTN","SAMIUR",116,0)
;s pats=""
"RTN","SAMIUR",117,0)
n datephrase
"RTN","SAMIUR",118,0)
d SELECT(.SAMIPATS,type,.datephrase,.filter) ; select patients for the report
"RTN","SAMIUR",119,0)
;q:'$d(SAMIPATS)
"RTN","SAMIUR",120,0)
;
"RTN","SAMIUR",121,0)
n ln,cnt,ii
"RTN","SAMIUR",122,0)
s (ii,ln,cnt)=0
"RTN","SAMIUR",123,0)
f s ii=$o(temp(ii)) q:+ii=0 q:$g(temp(ii))["<thead" d ;
"RTN","SAMIUR",124,0)
. s cnt=cnt+1
"RTN","SAMIUR",125,0)
. s ln=$g(temp(ii))
"RTN","SAMIUR",126,0)
. n samikey,si
"RTN","SAMIUR",127,0)
. s (samikey,si)=""
"RTN","SAMIUR",128,0)
. d LOAD^SAMIFORM(.ln,samikey,si,.filter)
"RTN","SAMIUR",129,0)
. ;i ln["PAGE NAME" d findReplace^%ts(.ln,"PAGE NAME",$$PNAME(type,datephrase))
"RTN","SAMIUR",130,0)
. i ln["PAGE NAME" d findReplace^%ts(.ln,"PAGE NAME",$$PNAME(type,""))
"RTN","SAMIUR",131,0)
. i ln["CRITERIA" d findReplace^%ts(.ln,"CRITERIA",datephrase)
"RTN","SAMIUR",132,0)
. i ln["@@REPORTTYPE@@" d findReplace^%ts(.ln,"@@REPORTTYPE@@",type)
"RTN","SAMIUR",133,0)
. ;
"RTN","SAMIUR",134,0)
. i ln["name=""start-date""" d findReplace^%ts(.ln,"start-date""","start-date"" value="""_$g(filter("start-date"))_"""")
"RTN","SAMIUR",135,0)
. i ln["name=""end-date""" d findReplace^%ts(.ln,"end-date""","end-date"" value="""_$g(filter("end-date"))_"""")
"RTN","SAMIUR",136,0)
. s SAMIRTN(cnt)=ln
"RTN","SAMIUR",137,0)
. ;
"RTN","SAMIUR",138,0)
n RPT,ik
"RTN","SAMIUR",139,0)
d RPTTBL^SAMIUR2(.RPT,type) ; get the report specs
"RTN","SAMIUR",140,0)
i '$d(RPT) d q ; don't know about this report
"RTN","SAMIUR",141,0)
. d GETHOME^SAMIHOM3(.SAMIRTN,.filter) ; send them to home
"RTN","SAMIUR",142,0)
;
"RTN","SAMIUR",143,0)
; output the header
"RTN","SAMIUR",144,0)
;
"RTN","SAMIUR",145,0)
s cnt=cnt+1 s SAMIRTN(cnt)="<thead><tr>"
"RTN","SAMIUR",146,0)
s ir=""
"RTN","SAMIUR",147,0)
f s ir=$o(RPT(ir)) q:ir="" d ;
"RTN","SAMIUR",148,0)
. s cnt=cnt+1
"RTN","SAMIUR",149,0)
. s SAMIRTN(cnt)="<th>"_$g(RPT(ir,"header"))_"</th>"
"RTN","SAMIUR",150,0)
s cnt=cnt+1 s SAMIRTN(cnt)="</tr></thead>"
"RTN","SAMIUR",151,0)
;
"RTN","SAMIUR",152,0)
s cnt=cnt+1 s SAMIRTN(cnt)="<tbody>"
"RTN","SAMIUR",153,0)
;
"RTN","SAMIUR",154,0)
i type'="worklist" d ;
"RTN","SAMIUR",155,0)
. d NUHREF(.SAMIPATS) ; create the nuhref link for all patients
"RTN","SAMIUR",156,0)
;
"RTN","SAMIUR",157,0)
n SRT
"RTN","SAMIUR",158,0)
i $g(filter("sort"))="" s filter("sort")="name"
"RTN","SAMIUR",159,0)
d SORT(.SRT,.SAMIPATS,.filter)
"RTN","SAMIUR",160,0)
;zwr SRT
"RTN","SAMIUR",161,0)
;
"RTN","SAMIUR",162,0)
;s ij=0
"RTN","SAMIUR",163,0)
;f s ij=$o(SAMIPATS(ij)) q:+ij=0 d ;
"RTN","SAMIUR",164,0)
;. n ij2 s ij2=0
"RTN","SAMIUR",165,0)
;. f s ij2=$o(SAMIPATS(ij,ij2)) q:+ij2=0 d ;
"RTN","SAMIUR",166,0)
;. . n dfn s dfn=ij2
"RTN","SAMIUR",167,0)
n iz,ij,ij2,dfn,rows
"RTN","SAMIUR",168,0)
s rows=0
"RTN","SAMIUR",169,0)
s (iz,ij,ij2,dfn)=""
"RTN","SAMIUR",170,0)
f s iz=$o(SRT(iz)) q:iz="" d ;
"RTN","SAMIUR",171,0)
. s ij=$o(SRT(iz,""))
"RTN","SAMIUR",172,0)
. s dfn=$o(SRT(iz,ij,""))
"RTN","SAMIUR",173,0)
. d ;
"RTN","SAMIUR",174,0)
. . s cnt=cnt+1 s SAMIRTN(cnt)="<tr>"
"RTN","SAMIUR",175,0)
. . s ir=""
"RTN","SAMIUR",176,0)
. . f s ir=$o(RPT(ir)) q:ir="" d ;
"RTN","SAMIUR",177,0)
. . . s cnt=cnt+1
"RTN","SAMIUR",178,0)
. . . n XR,XRV
"RTN","SAMIUR",179,0)
. . . ;s XR=$g(RPT(ir,"routine"))_"("_ij_",.SAMIPATS)"
"RTN","SAMIUR",180,0)
. . . s XR="S XRV="_$g(RPT(ir,"routine"))_"("_ij_","_dfn_",.SAMIPATS)"
"RTN","SAMIUR",181,0)
. . . ;s XRV=@XR
"RTN","SAMIUR",182,0)
. . . X XR
"RTN","SAMIUR",183,0)
. . . s SAMIRTN(cnt)="<td>"_$g(XRV)_"</td>"
"RTN","SAMIUR",184,0)
. . ;
"RTN","SAMIUR",185,0)
. . s cnt=cnt+1
"RTN","SAMIUR",186,0)
. . s SAMIRTN(cnt)="</tr>"
"RTN","SAMIUR",187,0)
. . s rows=rows+1
"RTN","SAMIUR",188,0)
s cnt=cnt+1
"RTN","SAMIUR",189,0)
s SAMIRTN(cnt)="<tr><td>Total: "_rows_"</td></tr>"
"RTN","SAMIUR",190,0)
;
"RTN","SAMIUR",191,0)
s cnt=cnt+1 s SAMIRTN(cnt)="</tbody>"
"RTN","SAMIUR",192,0)
f s ii=$o(temp(ii)) q:temp(ii)["</tbody>" d ;
"RTN","SAMIUR",193,0)
. ; skip past template headers and blank body
"RTN","SAMIUR",194,0)
f s ii=$o(temp(ii)) q:+ii=0 d ;
"RTN","SAMIUR",195,0)
. s cnt=cnt+1
"RTN","SAMIUR",196,0)
. s ln=$g(temp(ii))
"RTN","SAMIUR",197,0)
. n samikey,si
"RTN","SAMIUR",198,0)
. s (samikey,si)=""
"RTN","SAMIUR",199,0)
. d LOAD^SAMIFORM(.ln,samikey,si,.filter)
"RTN","SAMIUR",200,0)
. s SAMIRTN(cnt)=ln
"RTN","SAMIUR",201,0)
;
"RTN","SAMIUR",202,0)
quit ; end of WSREPORT
"RTN","SAMIUR",203,0)
;
"RTN","SAMIUR",204,0)
;
"RTN","SAMIUR",205,0)
;
"RTN","SAMIUR",206,0)
SORT(SRTN,SAMIPATS,FILTER) ;
"RTN","SAMIUR",207,0)
n typ s typ=$g(FILTER("sort"))
"RTN","SAMIUR",208,0)
i typ="" s typ="name"
"RTN","SAMIUR",209,0)
n iz,dt,dfn,nm
"RTN","SAMIUR",210,0)
s (dt,dfn,nm)=""
"RTN","SAMIUR",211,0)
s iz=0
"RTN","SAMIUR",212,0)
n indx
"RTN","SAMIUR",213,0)
f s dt=$o(SAMIPATS(dt)) q:+dt=0 d ;
"RTN","SAMIUR",214,0)
. f s dfn=$o(SAMIPATS(dt,dfn)) q:+dfn=0 d ;
"RTN","SAMIUR",215,0)
. . i typ="name" d ;
"RTN","SAMIUR",216,0)
. . . s nm=$g(SAMIPATS(dt,dfn,"name"))
"RTN","SAMIUR",217,0)
. . . i nm="" s nm=" "
"RTN","SAMIUR",218,0)
. . . s indx(nm,dt,dfn)=""
"RTN","SAMIUR",219,0)
n iiz s iiz=""
"RTN","SAMIUR",220,0)
s (dt,dfn)=""
"RTN","SAMIUR",221,0)
f s iiz=$o(indx(iiz)) q:iiz="" d ;
"RTN","SAMIUR",222,0)
. f s dt=$o(indx(iiz,dt)) q:dt="" d ;
"RTN","SAMIUR",223,0)
. . f s dfn=$o(indx(iiz,dt,dfn)) q:dfn="" d ;
"RTN","SAMIUR",224,0)
. . . s iz=iz+1
"RTN","SAMIUR",225,0)
. . . s SRTN(iz,dt,dfn)=iiz
"RTN","SAMIUR",226,0)
;
"RTN","SAMIUR",227,0)
quit ; end of SORT
"RTN","SAMIUR",228,0)
;
"RTN","SAMIUR",229,0)
;
"RTN","SAMIUR",230,0)
;
"RTN","SAMIUR",231,0)
NUHREF(SAMIPATS) ; create the nuhref link to casereview for all patients
"RTN","SAMIUR",232,0)
n ij
"RTN","SAMIUR",233,0)
n root s root=$$setroot^%wd("vapals-patients")
"RTN","SAMIUR",234,0)
s ij=0
"RTN","SAMIUR",235,0)
f s ij=$o(SAMIPATS(ij)) q:+ij=0 d ;
"RTN","SAMIUR",236,0)
. n ij2 s ij2=0
"RTN","SAMIUR",237,0)
. f s ij2=$o(SAMIPATS(ij,ij2)) q:+ij2=0 d ;
"RTN","SAMIUR",238,0)
. . n dfn s dfn=ij2
"RTN","SAMIUR",239,0)
. . s SAMIPATS(ij,dfn,"sid")=$g(@root@(dfn,"samistudyid"))
"RTN","SAMIUR",240,0)
. . n sid s sid=SAMIPATS(ij,dfn,"sid")
"RTN","SAMIUR",241,0)
. . s SAMIPATS(ij,dfn,"name")=$g(@root@(dfn,"saminame"))
"RTN","SAMIUR",242,0)
. . n name s name=SAMIPATS(ij,dfn,"name")
"RTN","SAMIUR",243,0)
. . s SAMIPATS(ij,dfn,"ssn")=$$GETSSN^SAMIFORM(sid)
"RTN","SAMIUR",244,0)
. . new nuhref set nuhref="<form method=POST action=""/vapals"">"
"RTN","SAMIUR",245,0)
. . set nuhref=nuhref_"<input type=hidden name=""samiroute"" value=""casereview"">"
"RTN","SAMIUR",246,0)
. . set nuhref=nuhref_"<input type=hidden name=""studyid"" value="_sid_">"
"RTN","SAMIUR",247,0)
. . set nuhref=nuhref_"<input value="""_name_""" class=""btn btn-link"" role=""link"" type=""submit""></form>"
"RTN","SAMIUR",248,0)
. . s SAMIPATS(ij,dfn,"nuhref")=nuhref
"RTN","SAMIUR",249,0)
;
"RTN","SAMIUR",250,0)
quit ; end of NUHREF
"RTN","SAMIUR",251,0)
;
"RTN","SAMIUR",252,0)
;
"RTN","SAMIUR",253,0)
;
"RTN","SAMIUR",254,0)
SELECT(SAMIPATS,ztype,datephrase,filter) ;selects patients for report
"RTN","SAMIUR",255,0)
;
"RTN","SAMIUR",256,0)
;m ^gpl("select")=filter
"RTN","SAMIUR",257,0)
n type s type=ztype
"RTN","SAMIUR",258,0)
i type="unmatched" d q ;
"RTN","SAMIUR",259,0)
. d UNMAT(.SAMIPATS,ztype,.datephrase,.filter)
"RTN","SAMIUR",260,0)
i type="worklist" d q ;
"RTN","SAMIUR",261,0)
. d WKLIST(.SAMIPATS,ztype,.datephrase,.filter)
"RTN","SAMIUR",262,0)
i $g(type)="" s type="enrollment"
"RTN","SAMIUR",263,0)
i type="cumpy" s type="enrollment"
"RTN","SAMIUR",264,0)
n site s site=$g(filter("siteid"))
"RTN","SAMIUR",265,0)
n strdt,enddt,fmstrdt,fmenddt
"RTN","SAMIUR",266,0)
s strdt=$g(filter("start-date"))
"RTN","SAMIUR",267,0)
s fmstrdt=$$KEY2FM^SAMICASE(strdt)
"RTN","SAMIUR",268,0)
i fmstrdt=-1 d ;
"RTN","SAMIUR",269,0)
. s fmstrdt=2000101
"RTN","SAMIUR",270,0)
. i type="followup" s fmstrdt=$$NOW^XLFDT
"RTN","SAMIUR",271,0)
. i type="activity" s fmstrdt=$$FMADD^XLFDT($$NOW^XLFDT,-31)
"RTN","SAMIUR",272,0)
i strdt="" s filter("start-date")=$$VAPALSDT^SAMICASE(fmstrdt)
"RTN","SAMIUR",273,0)
s enddt=$g(filter("end-date"))
"RTN","SAMIUR",274,0)
s fmenddt=$$KEY2FM^SAMICASE(enddt)
"RTN","SAMIUR",275,0)
i fmenddt=-1 d ;
"RTN","SAMIUR",276,0)
. s fmenddt=$$NOW^XLFDT
"RTN","SAMIUR",277,0)
. i type="followup" s fmenddt=$$FMADD^XLFDT($$NOW^XLFDT,31)
"RTN","SAMIUR",278,0)
i enddt="" s filter("end-date")=$$VAPALSDT^SAMICASE(fmenddt)
"RTN","SAMIUR",279,0)
s datephrase=""
"RTN","SAMIUR",280,0)
n zi s zi=0
"RTN","SAMIUR",281,0)
n root s root=$$setroot^%wd("vapals-patients")
"RTN","SAMIUR",282,0)
;
"RTN","SAMIUR",283,0)
f s zi=$o(@root@(zi)) q:+zi=0 d ;
"RTN","SAMIUR",284,0)
. n sid s sid=$g(@root@(zi,"samistudyid"))
"RTN","SAMIUR",285,0)
. q:sid=""
"RTN","SAMIUR",286,0)
. q:$e(sid,1,3)'=site
"RTN","SAMIUR",287,0)
. n items s items=""
"RTN","SAMIUR",288,0)
. d GETITEMS^SAMICASE("items",sid)
"RTN","SAMIUR",289,0)
. q:'$d(items)
"RTN","SAMIUR",290,0)
. n efmdate,edate,siform,ceform,cefud,fmcefud,cedos,fmcedos
"RTN","SAMIUR",291,0)
. s siform=$o(items("siform-"))
"RTN","SAMIUR",292,0)
. i $g(@root@("graph",sid,siform,"sistatus"))="inactive" q ;
"RTN","SAMIUR",293,0)
. s ceform=$o(items("ceform-a"),-1)
"RTN","SAMIUR",294,0)
. s (cefud,fmcefud,cedos,fmcedos)=""
"RTN","SAMIUR",295,0)
. i ceform'="" d ;
"RTN","SAMIUR",296,0)
. . s cefud=$g(@root@("graph",sid,ceform,"cefud"))
"RTN","SAMIUR",297,0)
. . i cefud'="" s fmcefud=$$KEY2FM^SAMICASE(cefud)
"RTN","SAMIUR",298,0)
. . s cedos=$g(@root@("graph",sid,ceform,"cedos"))
"RTN","SAMIUR",299,0)
. . i cedos'="" s fmcedos=$$KEY2FM^SAMICASE(cedos)
"RTN","SAMIUR",300,0)
. s edate=$g(@root@("graph",sid,siform,"sidc"))
"RTN","SAMIUR",301,0)
. i edate="" s edate=$g(@root@("graph",sid,siform,"samicreatedate"))
"RTN","SAMIUR",302,0)
. s efmdate=$$KEY2FM^SAMICASE(edate)
"RTN","SAMIUR",303,0)
. s edate=$$VAPALSDT^SAMICASE(efmdate)
"RTN","SAMIUR",304,0)
. ;
"RTN","SAMIUR",305,0)
. i type="followup" d ;
"RTN","SAMIUR",306,0)
. . ;n nplus30 s nplus30=$$FMADD^XLFDT($$NOW^XLFDT,31)
"RTN","SAMIUR",307,0)
. . i +fmcefud<fmstrdt q ; before start date
"RTN","SAMIUR",308,0)
. . i (+fmcefud<(fmenddt+1)) d ; before end date
"RTN","SAMIUR",309,0)
. . . i ceform="" q ; no ct eval so no followup date
"RTN","SAMIUR",310,0)
. . . s SAMIPATS(fmcefud,zi,"edate")=edate
"RTN","SAMIUR",311,0)
. . . s SAMIPATS(fmcefud,zi)=""
"RTN","SAMIUR",312,0)
. . . i ceform="" s cefud="baseline"
"RTN","SAMIUR",313,0)
. . . s SAMIPATS(fmcefud,zi,"cefud")=cefud
"RTN","SAMIUR",314,0)
. . . s SAMIPATS(fmcefud,zi,"cedos")=cedos
"RTN","SAMIUR",315,0)
. . . s SAMIPATS(fmcefud,zi,"ceform")=ceform
"RTN","SAMIUR",316,0)
. . . s SAMIPATS(fmcefud,zi,"ceform-vals")=$na(@root@("graph",sid,ceform))
"RTN","SAMIUR",317,0)
. . . s SAMIPATS(fmcefud,zi,"siform")=siform
"RTN","SAMIUR",318,0)
. . . s SAMIPATS(fmcefud,zi,"siform-vals")=$na(@root@("graph",sid,siform))
"RTN","SAMIUR",319,0)
. . . m SAMIPATS(fmcefud,zi,"items")=items
"RTN","SAMIUR",320,0)
. . s datephrase=" before "_$$VAPALSDT^SAMICASE(fmenddt)
"RTN","SAMIUR",321,0)
. . q
"RTN","SAMIUR",322,0)
. i type="activity" d ;
"RTN","SAMIUR",323,0)
. . ;n nminus30 s nminus30=$$FMADD^XLFDT($$NOW^XLFDT,-31)
"RTN","SAMIUR",324,0)
. . n anyform s anyform=$o(items("sort",""),-1)
"RTN","SAMIUR",325,0)
. . n fmanyform s fmanyform=$$KEY2FM^SAMICASE(anyform)
"RTN","SAMIUR",326,0)
. . i +fmanyform<fmstrdt q ; before the start date
"RTN","SAMIUR",327,0)
. . ;i (+fmanyform<(fmenddt+1))!(+efmdate>fmenddt) d ; need any new form
"RTN","SAMIUR",328,0)
. . i (+fmanyform<(fmenddt+1)) d ;
"RTN","SAMIUR",329,0)
. . . s SAMIPATS(efmdate,zi,"edate")=edate
"RTN","SAMIUR",330,0)
. . . s SAMIPATS(efmdate,zi)=""
"RTN","SAMIUR",331,0)
. . . i ceform="" s cefud="baseline"
"RTN","SAMIUR",332,0)
. . . s SAMIPATS(efmdate,zi,"cefud")=cefud
"RTN","SAMIUR",333,0)
. . . s SAMIPATS(efmdate,zi,"cedos")=cedos
"RTN","SAMIUR",334,0)
. . . s SAMIPATS(efmdate,zi,"ceform")=ceform
"RTN","SAMIUR",335,0)
. . . s SAMIPATS(efmdate,zi,"siform")=siform
"RTN","SAMIUR",336,0)
. . . m SAMIPATS(efmdate,zi,"items")=items
"RTN","SAMIUR",337,0)
. . s datephrase=" after "_$$VAPALSDT^SAMICASE(fmstrdt)
"RTN","SAMIUR",338,0)
. ;
"RTN","SAMIUR",339,0)
. ; date filter for all the rest of the reports
"RTN","SAMIUR",340,0)
. ;
"RTN","SAMIUR",341,0)
. i efmdate<fmstrdt q ; before the start date
"RTN","SAMIUR",342,0)
. i efmdate>(fmenddt+1) q ; after the end date
"RTN","SAMIUR",343,0)
. ;
"RTN","SAMIUR",344,0)
. i type="incomplete" d ;
"RTN","SAMIUR",345,0)
. . n complete s complete=1
"RTN","SAMIUR",346,0)
. . n zj s zj=""
"RTN","SAMIUR",347,0)
. . n gr s gr=$na(@root@("graph",sid))
"RTN","SAMIUR",348,0)
. . f s zj=$o(@gr@(zj)) q:zj="" d ;
"RTN","SAMIUR",349,0)
. . . i $g(@gr@(zj,"samistatus"))="incomplete" d ;
"RTN","SAMIUR",350,0)
. . . . s complete=0
"RTN","SAMIUR",351,0)
. . . . s SAMIPATS(efmdate,zi,"iform")=$g(SAMIPATS(efmdate,zi,"iform"))_" "_zj
"RTN","SAMIUR",352,0)
. . i complete=0 d ; has incomplete form(s)
"RTN","SAMIUR",353,0)
. . . s SAMIPATS(efmdate,zi,"edate")=edate
"RTN","SAMIUR",354,0)
. . . s SAMIPATS(efmdate,zi)=""
"RTN","SAMIUR",355,0)
. . . i ceform="" s cefud="baseline"
"RTN","SAMIUR",356,0)
. . . s SAMIPATS(efmdate,zi,"cefud")=cefud
"RTN","SAMIUR",357,0)
. . . s SAMIPATS(efmdate,zi,"ceform")=ceform
"RTN","SAMIUR",358,0)
. . . s SAMIPATS(efmdate,zi,"siform")=siform
"RTN","SAMIUR",359,0)
. . . m SAMIPATS(efmdate,zi,"items")=items
"RTN","SAMIUR",360,0)
. . s datephrase=""
"RTN","SAMIUR",361,0)
. . q
"RTN","SAMIUR",362,0)
. i type="missingct" d ;
"RTN","SAMIUR",363,0)
. . i ceform="" d ; has incomplete form(s)
"RTN","SAMIUR",364,0)
. . . s SAMIPATS(efmdate,zi,"edate")=edate
"RTN","SAMIUR",365,0)
. . . s SAMIPATS(efmdate,zi)=""
"RTN","SAMIUR",366,0)
. . . i ceform="" s cefud="baseline"
"RTN","SAMIUR",367,0)
. . . s SAMIPATS(efmdate,zi,"cefud")=cefud
"RTN","SAMIUR",368,0)
. . . s SAMIPATS(efmdate,zi,"ceform")=ceform
"RTN","SAMIUR",369,0)
. . . s SAMIPATS(efmdate,zi,"siform")=siform
"RTN","SAMIUR",370,0)
. . . m SAMIPATS(efmdate,zi,"items")=items
"RTN","SAMIUR",371,0)
. . s datephrase=""
"RTN","SAMIUR",372,0)
. . q
"RTN","SAMIUR",373,0)
. i type="outreach" d ;
"RTN","SAMIUR",374,0)
. . q
"RTN","SAMIUR",375,0)
. i type="enrollment" d ;
"RTN","SAMIUR",376,0)
. . s SAMIPATS(efmdate,zi,"edate")=edate
"RTN","SAMIUR",377,0)
. . s SAMIPATS(efmdate,zi)=""
"RTN","SAMIUR",378,0)
. . s SAMIPATS(efmdate,zi,"cefud")=cefud
"RTN","SAMIUR",379,0)
. . s SAMIPATS(efmdate,zi,"ceform")=ceform
"RTN","SAMIUR",380,0)
. . s SAMIPATS(efmdate,zi,"cedos")=cedos
"RTN","SAMIUR",381,0)
. . s SAMIPATS(efmdate,zi,"siform")=siform
"RTN","SAMIUR",382,0)
. . m SAMIPATS(efmdate,zi,"items")=items
"RTN","SAMIUR",383,0)
. s datephrase=" as of "_$$VAPALSDT^SAMICASE($$NOW^XLFDT)
"RTN","SAMIUR",384,0)
;
"RTN","SAMIUR",385,0)
quit ; end of SELECT
"RTN","SAMIUR",386,0)
;
"RTN","SAMIUR",387,0)
;
"RTN","SAMIUR",388,0)
;
"RTN","SAMIUR",389,0)
UNMAT(SAMIPATS,ztype,datephrase,filter) ;
"RTN","SAMIUR",390,0)
;
"RTN","SAMIUR",391,0)
s datephrase="Unmatched Persons"
"RTN","SAMIUR",392,0)
n lroot s lroot=$$setroot^%wd("patient-lookup")
"RTN","SAMIUR",393,0)
n dfn s dfn=9000000
"RTN","SAMIUR",394,0)
f s dfn=$o(@lroot@("dfn",dfn)) q:+dfn=0 d ;
"RTN","SAMIUR",395,0)
. n ien s ien=$o(@lroot@("dfn",dfn,""))
"RTN","SAMIUR",396,0)
. q:ien=""
"RTN","SAMIUR",397,0)
. i $g(@lroot@(ien,"remotedfn"))'="" q ;
"RTN","SAMIUR",398,0)
. m SAMIPATS(ien,dfn)=@lroot@(ien)
"RTN","SAMIUR",399,0)
. ;new name set name=$g(SAMIPATS(ien,dfn,"saminame"))
"RTN","SAMIUR",400,0)
. new name set name=$g(SAMIPATS(ien,dfn,"sinamef"))
"RTN","SAMIUR",401,0)
. set name=name_","_SAMIPATS(ien,dfn,"sinamel")
"RTN","SAMIUR",402,0)
. new nuhref set nuhref="<form method=POST action=""/vapals"">"
"RTN","SAMIUR",403,0)
. set nuhref=nuhref_"<input type=hidden name=""samiroute"" value=""editperson"">"
"RTN","SAMIUR",404,0)
. set nuhref=nuhref_"<input type=hidden name=""dfn"" value="_dfn_">"
"RTN","SAMIUR",405,0)
. set nuhref=nuhref_"<input value="""_name_""" class=""btn btn-link"" role=""link"" type=""submit""></form>"
"RTN","SAMIUR",406,0)
. s SAMIPATS(ien,dfn,"editref")=nuhref
"RTN","SAMIUR",407,0)
;
"RTN","SAMIUR",408,0)
quit ; end of UNMAT
"RTN","SAMIUR",409,0)
;
"RTN","SAMIUR",410,0)
;
"RTN","SAMIUR",411,0)
;
"RTN","SAMIUR",412,0)
WKLIST(SAMIPATS,ztype,datephrase,filter) ;
"RTN","SAMIUR",413,0)
;
"RTN","SAMIUR",414,0)
; add site
"RTN","SAMIUR",415,0)
; add compare to vapals-patients
"RTN","SAMIUR",416,0)
; add navigation to enrollment
"RTN","SAMIUR",417,0)
;
"RTN","SAMIUR",418,0)
k ^gpl("worklist")
"RTN","SAMIUR",419,0)
m ^gpl("worklist")=filter
"RTN","SAMIUR",420,0)
n site
"RTN","SAMIUR",421,0)
s site=$g(filter("siteid"))
"RTN","SAMIUR",422,0)
q:site=""
"RTN","SAMIUR",423,0)
s datephrase="Work List"
"RTN","SAMIUR",424,0)
n lroot s lroot=$$setroot^%wd("patient-lookup")
"RTN","SAMIUR",425,0)
n proot s proot=$$setroot^%wd("vapals-patients")
"RTN","SAMIUR",426,0)
n dfn s dfn=0
"RTN","SAMIUR",427,0)
f s dfn=$o(@lroot@("dfn",dfn)) q:+dfn=0 d ;
"RTN","SAMIUR",428,0)
. q:$o(@proot@("dfn",dfn,""))'=""
"RTN","SAMIUR",429,0)
. n ien s ien=$o(@lroot@("dfn",dfn,""))
"RTN","SAMIUR",430,0)
. q:ien=""
"RTN","SAMIUR",431,0)
. q:$g(@lroot@(ien,"siteid"))'=site
"RTN","SAMIUR",432,0)
. m ^gpl("worklist","lroot",ien)=@lroot@(ien)
"RTN","SAMIUR",433,0)
. m SAMIPATS(ien,dfn)=@lroot@(ien)
"RTN","SAMIUR",434,0)
. new name set name=$g(SAMIPATS(ien,dfn,"saminame"))
"RTN","SAMIUR",435,0)
. ;new name set name=$g(SAMIPATS(ien,dfn,"sinamef"))
"RTN","SAMIUR",436,0)
. ;set name=name_","_SAMIPATS(ien,dfn,"sinamel")
"RTN","SAMIUR",437,0)
. new nuhref set nuhref="<form method=POST action=""/vapals"">"
"RTN","SAMIUR",438,0)
. set nuhref=nuhref_"<input type=hidden name=""samiroute"" value=""newcase"">"
"RTN","SAMIUR",439,0)
. set nuhref=nuhref_"<input type=hidden name=""dfn"" value="_dfn_">"
"RTN","SAMIUR",440,0)
. set nuhref=nuhref_"<input type=hidden name=""siteid"" value="_site_">"
"RTN","SAMIUR",441,0)
. set nuhref=nuhref_"<input value="""_name_""" class=""btn btn-link"" role=""link"" type=""submit""></form>"
"RTN","SAMIUR",442,0)
. s SAMIPATS(ien,dfn,"workref")=nuhref
"RTN","SAMIUR",443,0)
m ^gpl("worklist","pats")=SAMIPATS
"RTN","SAMIUR",444,0)
;
"RTN","SAMIUR",445,0)
quit ; end of WKLIST
"RTN","SAMIUR",446,0)
;
"RTN","SAMIUR",447,0)
;
"RTN","SAMIUR",448,0)
;
"RTN","SAMIUR",449,0)
PNAME(type,phrase) ; extrinsic returns the PAGE NAME for the report
"RTN","SAMIUR",450,0)
;
"RTN","SAMIUR",451,0)
;i type="followup" q "Followup next 30 days -"_$g(phrase)
"RTN","SAMIUR",452,0)
i type="followup" q "Followup "_$g(phrase)
"RTN","SAMIUR",453,0)
;i type="activity" q "Activity last 30 days -"_$g(phrase)
"RTN","SAMIUR",454,0)
i type="activity" q "Activity "_$g(phrase)
"RTN","SAMIUR",455,0)
i type="missingct" q "Intake but no CT Evaluation"_$g(phrase)
"RTN","SAMIUR",456,0)
i type="incomplete" q "Incomplete Forms"_$g(phrase)
"RTN","SAMIUR",457,0)
i type="outreach" q "Outreach"_$g(phrase)
"RTN","SAMIUR",458,0)
i type="enrollment" q "Enrollment"_$g(phrase)
"RTN","SAMIUR",459,0)
;
"RTN","SAMIUR",460,0)
quit "" ; end of $$PNAME
"RTN","SAMIUR",461,0)
;
"RTN","SAMIUR",462,0)
;
"RTN","SAMIUR",463,0)
;
"RTN","SAMIUR",464,0)
EOR ; end of SAMIUR
"VER")
8.0^22.2
**END**
**END**
| Genshi | 4 | OSEHRA/SAMI-VAPALS-ELCAP | dist/18-10/sami-1.18.0.10-i10.kid | [
"Apache-2.0"
] |
defcomp (skill-list)
div
{} $ :style style-container
input $ {}
:style $ merge ui/input
{} $ :background-color (hsl 200 80 80)
:attrs $ {} (:value state)
:placeholder "\"empty"
:on $ {}
:input $ fn (e dispatch! mutate!)
list-> :div
{} $ :style style-list
->> skill-list $ map-indexed
fn (idx skill)
[] idx $ div ({})
<> skill
| Cirru | 3 | Cirru/cirru.org | examples/component.cirru | [
"MIT"
] |
# ======================================================================================================================
# Module for calculating pure output variables not present in the model
# - This model is run after the main model only
# ======================================================================================================================
# ======================================================================================================================
# Variable definition
# - Define variables and group them based on endogeneity, inflation or growth adjustment, and how they should be forecast (if exogenous)
# ======================================================================================================================
$IF %stage% == "variables":
$GROUP G_post_prices
pLxUdn[sp,t] "User cost for effektiv arbejdskraft før kapacitetsudnyttelse i produktionsfunktion."
pI_s[i_,s_,t]$((spTot[s_] and k[i_]) or iTot[i_]) "Investeringsdeflator fordelt på brancher, Kilde: ADAM[pI<i>] eller ADAM[pim<i>] eller ADAM[pib<i>]"
;
$GROUP G_post_quantities
qLxUdn[s,t] "Arbejdskraft i effektive enheder før kapacitetsudnyttelse."
qI_s[i_,s_,t]$((spTot[s_] and k[i_]) or iTot[i_]) "Investeringer fordelt på brancher, Kilde: ADAM[fI<i>] eller ADAM[fIm<i>] eller ADAM[fIb<i>]"
qCR_NR[a_,t]$(a0t100[a_] or aTot[a_]) "Fremadskuende husholdningers forbrug som defineret i Nationalregnskabet - dvs. ud fra qC[cTot,t]"
qCHtM_NR[a_,t]$(a0t100[a_] or aTot[a_]) "HtM-husholdningers forbrug som defineret i Nationalregnskabet - dvs. ud fra qC[cTot,t]"
qC_NR[a_,t]$(a0t100[a_] or aTot[a_]) "Gns. husholdningers forbrug som defineret i Nationalregnskabet - dvs. ud fra qC[cTot,t]"
;
$GROUP G_post_values
vI_s[i_,s_,t]$(spTot[s_] and k[i_]) "Investeringer fordelt på brancher, Kilde: ADAM[I<i>] eller ADAM[Im<i>] eller ADAM[iB<i>]"
vhWVirk[t] "Gennemsnitlig timeløn i den private sektor ekskl. produktionsskatter."
vOffLoen[t] "Gennemsnitlig timeløn i den offentlige sektor inkl. produktionsskatter."
vHhFormueR[a_,t]$(a0t100[a_] or aTot[a_]) "Samlet formue inklusiv bolig for fremadskuende husholdninger."
vHhFormueHtM[a_,t]$(a0t100[a_] or aTot[a_]) "Samlet formue inklusiv bolig for HtM-husholdninger."
vHhxR[a_,t]$(a0t100[a_] or aTot[a_]) "Fremadskuende husholdningers formue ekskl. pension og realkreditgæld."
vHhPensR[a_,t]$(a0t100[a_] or aTot[a_]) "Pensionsformue for fremadskuende husholdninger EFTER SKAT."
vHhPensHtM[a_,t]$(a0t100[a_] or aTot[a_]) "Pensionsformue for HtM-husholdninger EFTER SKAT."
vHhPens[a_,t]$(a0t100[a_] or aTot[a_]) "Pensionsformue EFTER SKAT"
vFrivaerdiR[a_,t]$(a0t100[a_] or aTot[a_]) "Friværdi (boligværdi fratrukket realkreditgæld) for fremadskuende husholdninger."
vFrivaerdiHtM[a_,t]$(a0t100[a_] or aTot[a_]) "Friværdi (boligværdi fratrukket realkreditgæld) for HtM-husholdninger."
vHhIndHtM[a_,t]$(a0t100[a_] or aTot[a_]) "HtM-husholdningers indkomst."
vHhIndR[a_,t]$(a0t100[a_] or aTot[a_]) "Fremadskuende husholdningers indkomst."
vHhNetFinR[a_,t]$(a0t100[a_] or aTot[a_]) "Finansiel nettoformue for fremadskuende husholdninger."
vHhNetFinHtM[a_,t]$(a0t100[a_] or aTot[a_]) "Finansiel nettoformue for HtM-husholdninger."
vHhNetFin[a_,t]$(a0t100[a_] or aTot[a_]) "Finansiel nettoformue."
vHhIndMvHtM[a_,t]$(a0t100[a_] or aTot[a_]) "HtM-husholdningers indkomst og lån i friværdi."
vHhIndMvR[a_,t]$(a0t100[a_] or aTot[a_]) "Fremadskuende husholdningers indkomst og lån i friværdi."
vHhIndMv[a_,t]$(a0t100[a_] or aTot[a_]) "Husholdningers indkomst og lån i friværdi."
vCR_NR[a_,t]$(a0t100[a_] or aTot[a_]) "Fremadskuende husholdningers forbrug som defineret i Nationalregnskabet - dvs. ud fra qC[cTot,t]"
vCHtM_NR[a_,t]$(a0t100[a_] or aTot[a_]) "HtM-husholdningers forbrug som defineret i Nationalregnskabet - dvs. ud fra qC[cTot,t]"
vC_NR[a_,t]$(a0t100[a_] or aTot[a_]) "Gns. husholdningers forbrug som defineret i Nationalregnskabet - dvs. ud fra qC[cTot,t]"
vW[s_,t]$(sTot[s_] or spTot[s_]) "Branche-specifik løn inklusiv lønsumsafgift."
vHhFormue[a_,t]$((a0t100[a_] and t.val > 2015) or aTot[a_]) "Samlet formue inklusiv bolig."
vBoligUdgiftR[a_,t]$(t.val > 2015) "Netto udgifter til køb/salg/forbrug af bolig for fremadskuende husholdninger."
vBoligR[a_,t]$((a18t100[a_] or atot[a_]) and t.val > 2015) "Fremadskuende husholdningernes boligformue."
;
$GROUP G_post_endo
nSoegBase[t]$(t.val > 2015) "Sum af jobsøgende og beskæftigede fra udenlandske og danske husholdninger."
G_post_prices
G_post_quantities
G_post_values
;
$GROUP G_post_endo G_post_endo$(tx0[t]); # Restrict endo group to tx0[t]
$GROUP G_post_other
hVirk[t] "Gennemsnitlig arbejdstid i privat sektor."
hOff[t] "Gennemsnitlig arbejdstid i offentlig sektor."
tPensKor[t] "Skattesats på ubeskattet pensionsformue til beregning af vHhFormue."
;
$ENDIF
# ======================================================================================================================
# Equations
# ======================================================================================================================
$IF %stage% == "equations":
$BLOCK B_post
# Arbejdsmarked
E_vW_spTot[t]$(tx0[t]).. vW[spTot,t] * nL[spTot,t]=E= sum(sp, vW[sp,t] * nL[sp,t]);
E_vW_sTot[t]$(tx0[t]).. vW[sTot,t] * nL[sTot,t] =E= sum(s, vW[s,t] * nL[s,t]);
E_qLxUdn[s,t]$(tx0[t]).. qLxUdn[s,t] =E= qL[s,t] / rLUdn[s,t]; # =E= fProd[s,t] * qProd[t] * fW[s,t] * rL2nL[t] * (1-rOpslagOmk[s,t]) * nL[s,t];
E_pLxUdn[sp,t]$(tx0[t]).. pLxUdn[sp,t] =E= pL[sp,t] * rLUdn[sp,t];
E_nSoegBase[t]$(tx0[t] and t.val > 2015).. nSoegBase[t] =E= nSoegBaseHh[aTot,t] + nSoegBaseUdl[t];
# Boliger er ikke en del af private erhvervsinvesteringer
E_pI_s_spTot[i,t]$(tx0[t] and not sameas[i,'iL']).. pI_s[i,spTot,t] * qI_s[i,spTot,t] =E= vI_s[i,spTot,t];
E_qI_s_spTot[i,t]$(tx0[t] and not sameas[i,'iL'])..
qI_s[i,spTot,t] * pI_s[i,spTot,t-1]/fp =E= sum(sp, pI_s[i,sp,t-1]/fp * qI_s[i,sp,t]) - sameas[i,'iB'] * (pI_s[i,'bol',t-1]/fp * qIBolig[t]);
E_vI_s_spTot[i,t]$(tx0[t] and not sameas[i,'iL']).. vI_s[i,spTot,t] =E= sum(sp, vI_s[i,sp,t]) - sameas[i,'iB'] * vIBolig[t];
E_vhWVirk[t]$(tx0[t]).. vhWVirk[t] =E= sum(sp, vLoensum[sp,t] + vSelvstLoen[sp,t]) / (hVirk[t] * sum(sp, nL[sp,t]));
# OBS: I modsætning til den private løn er offentlig løn inkl. lønsumsafgifter
E_vOffLoen[t]$(tx0[t]).. vOffLoen[t] =E= (1 + tL['off',t]) * vLoensum['off',t] / (hOff[t] * nL['off',t]);
# Branchevise samlede investeringer
E_qI_iTot_s[s,t]$(tx0[t]).. qI_s[iTot,s,t] * pI_s[iTot,s,t-1]/fp =E= sum(i, pI_s[i,s,t-1]/fp * qI_s[i,s,t]);
E_pI_iTot_s[s,t]$(tx0[t]).. pI_s[iTot,s,t] * qI_s[iTot,s,t] =E= vI_s[iTot,s,t];
# Formuebegreb
E_vHhFormue[a,t]$(a0t100[a] and tx0[t] and t.val > 2015)..
vHhFormue[a,t] =E= vHh['NetFin',a,t] + vBolig[a,t] - tPensKor[t] * (vHh['pensx',a,t] + vHh['kap',a,t]);
E_vHhFormue_tot[t]$(tx0[t])..
vHhFormue[aTot,t] =E= vHh['NetFin',aTot,t] + vBolig[aTot,t] - tPensKor[t] * (vHh['pensx',aTot,t] + vHh['kap',aTot,t]);
E_vHhPens[a,t]$(a0t100[a] and tx0[t])..
vHhPens[a,t] =E= vHh['pens',a,t] - tPensKor[t] * (vHh['pensx',a,t] + vHh['kap',a,t]);
E_vHhPens_tot[t]$(tx0[t]).. vHhPens[aTot,t] =E= sum(a, vHhPens[a,t] * nPop[a,t]);
# Fremadskuende husholdninger
E_vHhFormueR[a,t]$(a0t100[a] and tx0[t])..
vHhFormueR[a,t] =E= (vHhFormue[a,t]
- rHtM * (1- tPensKor[t]) * vHh['pensx',a,t]
- rHtM * (1-rRealKred2Bolig[a,t]) * pBolig[t] * qBoligHtM[a,t]) / (1-rHtM);
E_vHhFormueR_tot[t]$(tx0[t]).. vHhFormueR[aTot,t] =E= sum(a, (1-rHtM) * vHhFormueR[a,t] * nPop[a,t]);
E_vHhxR[a,t]$(a0t100[a] and tx0[t])..
vHhxR[a,t] =E= (vHhx[a,t]) / (1-rHtM);
E_vHhxR_tot[t]$(tx0[t]).. vHhxR[aTot,t] =E= sum(a, (1-rHtM) * vHhxR[a,t] * nPop[a,t]);
E_vHhPensR[a,t]$(a0t100[a] and tx0[t])..
vHhPensR[a,t] =E= ((1 - tPensKor[t]) * (vHh['kap',a,t] + ( 1 - rHtM) * vHh['pensx',a,t]) + vHh['alder',a,t]) / (1-rHtM);
E_vHhPensR_tot[t]$(tx0[t]).. vHhPensR[aTot,t] =E= sum(a, (1-rHtM) * vHhPensR[a,t] * nPop[a,t]);
E_vFrivaerdiR[a,t]$(a0t100[a] and tx0[t])..
vFrivaerdiR[a,t] =E= (pBolig[t] * (1-rRealKred2Bolig[a,t]) * qBoligR[a,t]);
E_vFrivaerdiR_tot[t]$(tx0[t]).. vFrivaerdiR[aTot,t] =E= sum(a, (1-rHtM) * vFrivaerdiR[a,t] * nPop[a,t]);
E_vHhIndR[a,t]$(a0t100[a] and tx0[t])..
vHhIndR[a,t] =E= (vHhInd[a,t] - rHtM * vHhIndHtM[a,t]) / (1-rHtM);
E_vHhIndR_tot[t]$(tx0[t]).. vHhIndR[aTot,t] =E= sum(a, (1-rHtM) * vHhIndR[a,t] * nPop[a,t]);
E_vHhIndMvR[a,t]$(a0t100[a] and tx0[t])..
vHhIndMvR[a,t] =E= vHhIndR[a,t] + (rRealKred2Bolig[a,t] * pBolig[t] - rRealKred2Bolig[a-1,t-1] * pBolig[t-1])
* qBoligR[a-1,t-1]/fv * fMigration[a,t];
E_vHhIndMvR_tot[t]$(tx0[t]).. vHhIndMvR[aTot,t] =E= sum(a, (1-rHtM) * vHhIndMvR[a,t] * nPop[a,t]);
E_vCR_NR[a,t]$(a0t100[a] and tx0[t])..
vCR_NR[a,t] =E= pC['cikkebol',t] * qCR[a,t]
+ pC['cbol',t] * qC['cbol',t] * (qKLejebolig[t-1] * (vCLejebolig[a,t] / vCLejebolig[aTot,t])
+ (qKBolig[t-1]-qKLejebolig[t-1]) * (qBoligR[a,t] / qBolig[aTot,t]) )/qKBolig[t-1];
E_vCR_NR_tot[t]$(tx0[t]).. vCR_NR[aTot,t] =E= sum(a, (1-rHtM) * vCR_NR[a,t] * nPop[a,t]);
E_qCR_NR[a,t]$(a0t100[a] and tx0[t])..
qCR_NR[a,t] =E= vCR_NR[a,t] / pC['ctot',t];
E_qCR_NR_tot[t]$(tx0[t]).. qCR_NR[aTot,t] =E= vCR_NR[aTot,t] / pC['ctot',t];
E_vHhNetFinR[a,t]$(a0t100[a] and tx0[t])..
vHhNetFinR[a,t] =E= vHh['NetFin',a,t] - vHhNetFinHtM[a,t] * rHtM / (1-rHtM);
E_vHhNetFinR_tot[t]$(tx0[t]).. vHhNetFinR[aTot,t] =E= sum(a, rHtM * vHhNetFinR[a,t] * nPop[a,t]);
E_vBoligUdgiftR[a,t]$(tx0[t]).. vBoligUdgift[a,t] =E= rHtM * vBoligUdgiftHtM[a,t] + vBoligUdgiftR[a,t] * (1-rHtM);
E_vBoligUdgiftR_tot[t]$(tx0[t]).. vBoligUdgift[aTot,t] =E= vBoligUdgiftHtM[aTot,t] + vBoligUdgiftR[aTot,t] + vBoligUdgiftArv[t];
E_vBoligR[a,t]$(a18t100[a] and tx0[t] and t.val > 2015).. vBoligR[a,t] =E= pBolig[t] * qBoligR[a,t];
E_vBoligR_tot[t]$(tx0[t] and t.val > 2015).. vBoligR[aTot,t] =E= pBolig[t] * qBoligR[aTot,t];
# HtM-husholdninger
E_vHhFormueHtM[a,t]$(a0t100[a] and tx0[t])..
vHhFormueHtM[a,t] =E= (1 - tPensKor[t]) * vHh['pensx',a,t] + pBolig[t] * (1-rRealKred2Bolig[a,t]) * qBoligHtM[a,t];
E_vHhFormueHtM_tot[t]$(tx0[t]).. vHhFormueHtM[aTot,t] =E= sum(a, rHtM * vHhFormueHtM[a,t] * nPop[a,t]);
E_vHhPensHtM[a,t]$(a0t100[a] and tx0[t])..
vHhPensHtM[a,t] =E= (1 - tPensKor[t]) * vHh['pensx',a,t];
E_vHhPensHtM_tot[t]$(tx0[t]).. vHhPensHtM[aTot,t] =E= sum(a, rHtM * vHhPensHtM[a,t] * nPop[a,t]);
E_vFrivaerdiHtM[a,t]$(a0t100[a] and tx0[t])..
vFrivaerdiHtM[a,t] =E= (pBolig[t] * (1-rRealKred2Bolig[a,t]) * qBoligHtM[a,t]);
E_vFrivaerdiHtM_tot[t]$(tx0[t]).. vFrivaerdiHtM[aTot,t] =E= sum(a, rHtM * vFrivaerdiHtM[a,t] * nPop[a,t]);
E_vHhIndHtM[a,t]$(a0t100[a] and tx0[t])..
vHhIndHtM[a,t] =E= vHhInd[a,t] - (vPensUdb['Pens',a,t] - vPensIndb['Pens',a,t])
+ vPensUdb['PensX',a,t] - vPensIndb['PensX',a,t] + vtAktie[a,t] - vArvKorrektion[a,t];
E_vHhIndHtM_tot[t]$(tx0[t]).. vHhIndHtM[aTot,t] =E= sum(a, rHtM * vHhIndHtM[a,t] * nPop[a,t]);
E_vHhIndMvHtM[a,t]$(a0t100[a] and tx0[t])..
vHhIndMvHtM[a,t] =E= vHhIndR[a,t] + (rRealKred2Bolig[a,t] * pBolig[t] - rRealKred2Bolig[a-1,t-1] * pBolig[t-1])
* qBoligHtM[a-1,t-1]/fv * fMigration[a,t];
E_vHhIndMvHtM_tot[t]$(tx0[t]).. vHhIndMvHtM[aTot,t] =E= sum(a, rHtM * vHhIndMvHtM[a,t] * nPop[a,t]);
E_vCHtM_NR[a,t]$(a0t100[a] and tx0[t])..
vCHtM_NR[a,t] =E= pC['cikkebol',t] * qCHtM[a,t]
+ pC['cbol',t] * qC['cbol',t] * (qKLejebolig[t-1] * (vCLejebolig[a,t] / vCLejebolig[aTot,t])
+ (qKBolig[t-1]-qKLejebolig[t-1]) * (qBoligHtM[a,t] / qBolig[aTot,t]) )/qKBolig[t-1];
E_vCHtM_NR_tot[t]$(tx0[t]).. vCHtM_NR[aTot,t] =E= sum(a, rHtM * vCHtM_NR[a,t] * nPop[a,t]);
E_qCHtM_NR[a,t]$(a0t100[a] and tx0[t])..
qCHtM_NR[a,t] =E= vCHtM_NR[a,t] / pC['ctot',t];
E_qCHtM_NR_tot[t]$(tx0[t]).. qCHtM_NR[aTot,t] =E= vCHtM_NR[aTot,t] / pC['ctot',t];
E_vHhNetFinHtM[a,t]$(a0t100[a] and tx0[t])..
vHhNetFinHtM[a,t] =E= vHh['PensX',a,t] - pBolig[t] * rRealKred2Bolig[a,t] * qBoligHtM[a,t];
E_vHhNetFinHtM_tot[t]$(tx0[t]).. vHhNetFinHtM[aTot,t] =E= sum(a, rHtM * vHhNetFinHtM[a,t] * nPop[a,t]);
E_vC_NR[a,t]$(a0t100[a] and tx0[t])..
vC_NR[a,t] =E= (1-rHtM) * vCR_NR[a,t] + rHtM * vCHtM_NR[a,t];
E_vC_NR_tot[t]$(tx0[t]).. vC_NR[aTot,t] =E= sum(a, vC_NR[a,t] * nPop[a,t]);
E_qC_NR[a,t]$(a0t100[a] and tx0[t])..
qC_NR[a,t] =E= vC_NR[a,t] / pC['cTot',t];
E_qC_NR_tot[t]$(tx0[t]).. qC_NR[aTot,t] =E= vC_NR[aTot,t] / pC['cTot',t];
E_vHhIndMv[a,t]$(a0t100[a] and tx0[t])..
vHhIndMv[a,t] =E= vHhInd[a,t] + (rRealKred2Bolig[a,t] * pBolig[t] - rRealKred2Bolig[a-1,t-1] * pBolig[t-1])
* qBolig[a-1,t-1]/fv * fMigration[a,t];
E_vHhIndMv_tot[t]$(tx0[t]).. vHhIndMv[aTot,t] =E= sum(a, vHhIndMv[a,t] * nPop[a,t]);
$ENDBLOCK
$ENDIF | GAMS | 4 | gemal/MAKRO | Model/post_model.gms | [
"MIT"
] |
// Optional: configure or set up a testing framework before each test.
// If you delete this file, remove `setupFilesAfterEnv` from `jest.config.js`
// Used for __tests__/testing-library.js
// Learn more: https://github.com/testing-library/jest-dom
import '@testing-library/jest-dom/extend-expect'
| JavaScript | 3 | blomqma/next.js | examples/with-jest/jest.setup.js | [
"MIT"
] |
=Supported Devices
==NXP LPC1768
The MRI experience was initially optimized for the [[http://mbed.org/handbook/mbed-NXP-LPC1768|mbed 1768 device]] as the
primary goal was to provide a production quality debug solution for this specific device. This was before mbed had added
the CMSIS-DAP debugging functionality to the device. The project has however been architected so that it already works
on other boards featuring a LPC176x processor and is easy to port to other Cortex-M3/M4 based devices. As long as you
are using a LPX17xx device which doesn't have a JTAG debugger attached and you can connect the PC to one of the UARTs on
the device, MRI should have a good chance of working with it.
**Note:** When a JTAG debugger is attached to the device, as you have with the LPCXpresso 1769 device, then MRI will
hang during startup and debugging will not be possible. This happens because MRI will assume the JTAG debugger is the
mbed interface chip and attempt to disable it with special semi-host calls. In these scenarios the user should take
advantage of the existing JTAG debugger and skip MRI.
== Other Devices
Support for other devices has been added over time. The current list of supported devices can be seen in the
[[https://github.com/adamgreen/mri#devices-supported | following table]].
| Creole | 3 | PetteriAimonen/mri | notes/mri-devices.creole | [
"Apache-2.0"
] |
/*
* Copyright (c) 2005 Washington University in St. Louis.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* - Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the
* distribution.
* - Neither the name of the copyright holders nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
/**
* Please refer to TEP 115 for more information about the components
* this application is used to test.
*
* This application is used to test the functionality of the non mcu power
* management component for non-virtualized devices. Changes to
* <code>MyComponentC</code> allow one to choose between different Power
* Management policies.
*
* @author Kevin Klues <[email protected]>
* @version $Revision: 1.5 $
* @date $Date: 2010-06-29 22:07:25 $
*/
configuration TestPowerManagerAppC{
}
implementation {
components MainC, TestPowerManagerC, MyComponentC, LedsC, new TimerMilliC();
TestPowerManagerC -> MainC.Boot;
TestPowerManagerC.TimerMilli -> TimerMilliC;
TestPowerManagerC.Resource0 -> MyComponentC.Resource[unique("MyComponent.Resource")];
TestPowerManagerC.Resource1 -> MyComponentC.Resource[unique("MyComponent.Resource")];
TestPowerManagerC.Leds -> LedsC;
}
| nesC | 4 | mtaghiza/tinyos-main-1 | apps/tests/TestPowerManager/TestPowerManagerAppC.nc | [
"BSD-3-Clause"
] |
export function createCookieConfig(req) {
return {
signed: !!req.signedCookies,
domain: process.env.COOKIE_DOMAIN || 'localhost'
};
}
| JavaScript | 4 | fcastillo-serempre/freeCodeCamp | api-server/src/server/utils/cookieConfig.js | [
"BSD-3-Clause"
] |
module FilterMapReduce
function run = |data| -> data:
filter(|n| -> (n % 2_L) == 0_L):
map(|n| -> n * 2_L):
reduce(0_L, |acc, next| -> acc + next)
| Golo | 3 | golo-lang/golo-jmh-benchmarks | src/main/resources/snippets/golo/filter-map-reduce.golo | [
"Apache-2.0"
] |
\begin{code}
{-# OPTIONS --rewriting #-}
{-# OPTIONS --injective-type-constructors #-}
module Algorithmic.Erasure where
\end{code}
\begin{code}
open import Algorithmic as A
open import Untyped
--open import Untyped.RenamingSubstitution as U
open import Type.BetaNormal
open import Type.BetaNBE
open import Type.BetaNBE.Completeness
open import Utils
open import Type
open import Type.BetaNBE.RenamingSubstitution
open import Function hiding (_∋_)
open import Builtin hiding (length)
import Builtin.Constant.Term Ctx⋆ Kind * _⊢⋆_ con as DC renaming (TermCon to TyTermCon)
import Builtin.Constant.Term Ctx⋆ Kind * _⊢Nf⋆_ con as AC renaming (TermCon to TyTermCon)
open import Type.RenamingSubstitution as T
open import Type.Equality
open import Type.BetaNBE.Soundness
open import Utils
open import Data.Nat
open import Data.Nat.Properties
open import Data.Fin using (Fin;zero;suc)
open import Data.List using (List;length;[];_∷_)
open import Data.Vec hiding (length)
open import Data.Product renaming (_,_ to _,,_)
open import Relation.Binary.PropositionalEquality
\end{code}
\begin{code}
open import Data.Empty
len⋆ : Ctx⋆ → Set
len⋆ ∅ = ⊥
len⋆ (Γ ,⋆ K) = Maybe (len⋆ Γ)
len : ∀{Φ} → Ctx Φ → Set
len ∅ = ⊥
len (Γ ,⋆ K) = len Γ
len (Γ , A) = Maybe (len Γ)
\end{code}
\begin{code}
eraseVar : ∀{Φ Γ}{A : Φ ⊢Nf⋆ *} → Γ ∋ A → len Γ
eraseVar Z = nothing
eraseVar (S α) = just (eraseVar α)
eraseVar (T α) = eraseVar α
eraseTC : ∀{Φ}{Γ : Ctx Φ}{A : Φ ⊢Nf⋆ *} → AC.TyTermCon A → TermCon
eraseTC (AC.integer i) = integer i
eraseTC (AC.bytestring b) = bytestring b
eraseTC (AC.string s) = string s
eraseTC (AC.bool b) = bool b
eraseTC AC.unit = unit
eraseTC (AC.Data d) = Data d
erase : ∀{Φ Γ}{A : Φ ⊢Nf⋆ *} → Γ ⊢ A → len Γ ⊢
erase (` α) = ` (eraseVar α)
erase (ƛ t) = ƛ (erase t)
erase (t · u) = erase t · erase u
erase (Λ t) = delay (erase t)
erase (t ·⋆ A / refl) = force (erase t)
erase (wrap A B t) = erase t
erase (unwrap t refl) = erase t
erase {Γ = Γ} (con t) = con (eraseTC {Γ = Γ} t)
erase (builtin b / refl) = builtin b
erase (error A) = error
\end{code}
Porting this from declarative required basically deleting one line but
I don't think I can fully exploit this by parameterizing the module as
I need to pattern match on the term constructors
# Erasing decl/alg terms agree
\begin{code}
open import Relation.Binary.PropositionalEquality
import Declarative as D
import Declarative.Erasure as D
open import Algorithmic.Completeness
open import Utils
lenLemma : ∀ {Φ}(Γ : D.Ctx Φ) → len (nfCtx Γ) ≡ D.len Γ
lenLemma D.∅ = refl
lenLemma (Γ D.,⋆ J) = lenLemma Γ
lenLemma (Γ D., A) = cong Maybe (lenLemma Γ)
lenLemma⋆ : ∀ Φ → D.len⋆ Φ ≡ len⋆ Φ
lenLemma⋆ ∅ = refl
lenLemma⋆ (Φ ,⋆ K) = cong Maybe (lenLemma⋆ Φ)
-- these lemmas for each clause of eraseVar and erase below could be
-- avoided by using with but it would involve doing with on a long
-- string of arguments, both contexts, equality proof above, and
-- before and after versions of all arguments and all recursive calls
-- these lemmas (as stated and proved) require injectivity of type
-- constructors
lemzero : ∀{X X'}(p : Maybe X ≡ Maybe X') → nothing ≡ subst id p nothing
lemzero refl = refl
lemsuc : ∀{X X'}(p : Maybe X ≡ Maybe X')(q : X ≡ X')(x : X) →
just (subst id q x) ≡ subst id p (just x)
lemsuc refl refl x = refl
open import Type.BetaNormal.Equality
open import Function
sameTC : ∀{Φ Γ}{A : Φ ⊢⋆ *}(tcn : DC.TyTermCon A)
→ D.eraseTC {Γ = Γ} tcn ≡ eraseTC {Γ = nfCtx Γ} (nfTypeTC tcn)
sameTC (DC.integer i) = refl
sameTC (DC.bytestring b) = refl
sameTC (DC.string s) = refl
sameTC (DC.bool b) = refl
sameTC DC.unit = refl
sameTC (DC.Data d) = refl
lem≡Ctx : ∀{Φ}{Γ Γ' : Ctx Φ} → Γ ≡ Γ' → len Γ ≡ len Γ'
lem≡Ctx refl = refl
lem-conv∋ : ∀{Φ Γ Γ'}{A A' : Φ ⊢Nf⋆ *}(p : Γ ≡ Γ')(q : A ≡ A')(x : Γ A.∋ A)
→ subst id (lem≡Ctx p) (eraseVar x) ≡ eraseVar (conv∋ p q x)
lem-conv∋ refl refl x = refl
sameVar : ∀{Φ Γ}{A : Φ ⊢⋆ *}(x : Γ D.∋ A)
→ D.eraseVar x ≡ subst id (lenLemma Γ) (eraseVar (nfTyVar x))
sameVar {Γ = Γ D., _} D.Z = lemzero (cong Maybe (lenLemma Γ))
sameVar {Γ = Γ D., _} (D.S x) = trans
(cong just (sameVar x))
(lemsuc (cong Maybe (lenLemma Γ)) (lenLemma Γ) (eraseVar (nfTyVar x)))
sameVar {Γ = Γ D.,⋆ _} (D.T {A = A} x) = trans
(sameVar x)
(cong (subst id (lenLemma Γ)) (lem-conv∋ refl (ren-nf S A) (T (nfTyVar x))))
lemVar : ∀{X X'}(p : X ≡ X')(x : X) → ` (subst id p x) ≡ subst _⊢ p (` x)
lemVar refl x = refl
lemƛ : ∀{X X'}(p : X ≡ X')(q : Maybe X ≡ Maybe X')(t : Maybe X ⊢)
→ ƛ (subst _⊢ q t) ≡ subst _⊢ p (ƛ t)
lemƛ refl refl t = refl
lem· : ∀{X X'}(p : X ≡ X')(t u : X ⊢) → subst _⊢ p t · subst _⊢ p u ≡ subst _⊢ p (t · u)
lem· refl t u = refl
lem-delay : ∀{X X'}(p : X ≡ X')(t : X ⊢) → delay (subst _⊢ p t) ≡ subst _⊢ p (delay t)
lem-delay refl t = refl
lem-force : ∀{X X'}(p : X ≡ X')(t : X ⊢) → force (subst _⊢ p t) ≡ subst _⊢ p (force t)
lem-force refl t = refl
lemcon' : ∀{X X'}(p : X ≡ X')(tcn : TermCon) → con tcn ≡ subst _⊢ p (con tcn)
lemcon' refl tcn = refl
lemerror : ∀{X X'}(p : X ≡ X') → error ≡ subst _⊢ p error
lemerror refl = refl
lembuiltin : ∀{X X'}(b : Builtin)(p : X ≡ X') → builtin b ≡ subst _⊢ p (builtin b)
lembuiltin b refl = refl
lem-erase : ∀{Φ Γ Γ'}{A A' : Φ ⊢Nf⋆ *}(p : Γ ≡ Γ')(q : A ≡ A')(t : Γ A.⊢ A)
→ subst _⊢ (lem≡Ctx p) (erase t) ≡ erase (conv⊢ p q t)
lem-erase refl refl t = refl
lem-subst : ∀{n}(t : n ⊢)(p : n ≡ n) → subst _⊢ p t ≡ t
lem-subst t refl = refl
lem-erase' : ∀{Φ Γ}{A A' : Φ ⊢Nf⋆ *}(q : A ≡ A')(t : Γ A.⊢ A)
→ erase t ≡ erase (conv⊢ refl q t)
lem-erase' {Γ = Γ} p t = trans
(sym (lem-subst (erase t) (lem≡Ctx {Γ = Γ} refl)))
(lem-erase refl p t)
same : ∀{Φ Γ}{A : Φ ⊢⋆ *}(t : Γ D.⊢ A)
→ D.erase t ≡ subst _⊢ (lenLemma Γ) (erase (nfType t))
+cancel : ∀{m m' n n'} → m + n ≡ m' + n' → m ≡ m' → n ≡ n'
+cancel p refl = +-cancelˡ-≡ _ p
same {Γ = Γ}(D.` x) =
trans (cong ` (sameVar x)) (lemVar (lenLemma Γ) (eraseVar (nfTyVar x)))
same {Γ = Γ} (D.ƛ t) = trans
(cong ƛ (same t))
(lemƛ (lenLemma Γ) (cong Maybe (lenLemma Γ)) (erase (nfType t)))
same {Γ = Γ} (t D.· u) = trans
(cong₂ _·_ (same t) (same u))
(lem· (lenLemma Γ) (erase (nfType t)) (erase (nfType u)))
same {Γ = Γ} (D.Λ {B = B} t) = trans
(trans (cong delay (same t))
(lem-delay (lenLemma Γ) (erase (nfType t))))
(cong (subst _⊢ (lenLemma Γ) ∘ delay)
(lem-erase' (subNf-lemma' B) (nfType t)))
same {Γ = Γ} (D._·⋆_ {B = B} t A) = trans
(trans (cong force (same t))
(lem-force (lenLemma Γ) (erase (nfType t))))
(cong (subst _⊢ (lenLemma Γ))
(trans (cong force (lem-erase' (lemΠ B) (nfType t)))
(lem-erase' (lem[] A B) (conv⊢ refl (lemΠ B) (nfType t) ·⋆ nf A / refl))))
same {Γ = Γ} (D.wrap A B t) = trans
(same t)
(cong (subst _⊢ (lenLemma Γ)) (lem-erase' (stability-μ A B) (nfType t)))
same {Γ = Γ} (D.unwrap {A = A}{B = B} t) = trans
(same t)
(cong
(subst _⊢ (lenLemma Γ))
(lem-erase' (sym (stability-μ A B)) (unwrap (nfType t) refl)))
same {Γ = Γ} (D.conv p t) = trans
(same t)
(cong (subst _⊢ (lenLemma Γ)) (lem-erase' (completeness p) (nfType t)))
same {Γ = Γ} (D.con tcn) = trans
(cong con (sameTC {Γ = Γ} tcn))
(lemcon' (lenLemma Γ) (eraseTC {Γ = nfCtx Γ} (nfTypeTC tcn)))
same {Γ = Γ} (D.builtin b) = trans
(lembuiltin b (lenLemma Γ)) (cong (subst _⊢ (lenLemma Γ))
(lem-erase refl (btype-lem b) (builtin b / refl)))
same {Γ = Γ} (D.error A) = lemerror (lenLemma Γ)
open import Algorithmic.Soundness
same'Len : ∀ {Φ}(Γ : A.Ctx Φ) → D.len (embCtx Γ) ≡ len Γ
same'Len ∅ = refl
same'Len (Γ ,⋆ J) = same'Len Γ
same'Len (Γ , A) = cong Maybe (same'Len Γ)
lem-Dconv∋ : ∀{Φ Γ Γ'}{A A' : Φ ⊢⋆ *}(p : Γ ≡ Γ')(q : A ≡ A')(x : Γ D.∋ A)
→ subst id (cong D.len p) (D.eraseVar x) ≡ D.eraseVar (D.conv∋ p q x)
lem-Dconv∋ refl refl x = refl
same'Var : ∀{Φ Γ}{A : Φ ⊢Nf⋆ *}(x : Γ A.∋ A)
→ eraseVar x ≡ subst id (same'Len Γ) (D.eraseVar (embVar x))
same'Var {Γ = Γ , _} Z = lemzero (cong Maybe (same'Len Γ))
same'Var {Γ = Γ , _} (S x) = trans
(cong just (same'Var x))
(lemsuc (cong Maybe (same'Len Γ)) (same'Len Γ) (D.eraseVar (embVar x)))
same'Var {Γ = Γ ,⋆ _} (T {A = A} x) = trans
(same'Var x)
(cong (subst id (same'Len Γ)) (lem-Dconv∋ refl (sym (ren-embNf S A))
(D.T (embVar x))))
same'TC : ∀{Φ Γ}{A : Φ ⊢Nf⋆ *}(tcn : AC.TyTermCon A)
→ eraseTC {Γ = Γ} tcn ≡ D.eraseTC {Φ}{Γ = embCtx Γ} (embTC tcn)
same'TC (AC.integer i) = refl
same'TC (AC.bytestring b) = refl
same'TC (AC.string s) = refl
same'TC (AC.bool b) = refl
same'TC AC.unit = refl
same'TC (AC.Data d) = refl
same' : ∀{Φ Γ}{A : Φ ⊢Nf⋆ *}(x : Γ A.⊢ A)
→ erase x ≡ subst _⊢ (same'Len Γ) (D.erase (emb x))
same' {Γ = Γ} (` x) =
trans (cong ` (same'Var x)) (lemVar (same'Len Γ) (D.eraseVar (embVar x)))
same' {Γ = Γ} (ƛ t) = trans
(cong ƛ (same' t))
(lemƛ (same'Len Γ) (cong Maybe (same'Len Γ)) (D.erase (emb t)))
same' {Γ = Γ} (t · u) = trans
(cong₂ _·_ (same' t) (same' u))
(lem· (same'Len Γ) (D.erase (emb t)) (D.erase (emb u)))
same' {Γ = Γ} (Λ t) = trans
(cong delay (same' t))
(lem-delay (same'Len Γ) (D.erase (emb t)))
same' {Γ = Γ} (t ·⋆ A / refl) = trans
(cong force (same' t))
(lem-force (same'Len Γ) (D.erase (emb t)))
same' {Γ = Γ} (wrap A B t) = same' t
same' {Γ = Γ} (unwrap t refl) = same' t
same' {Γ = Γ} (con x) = trans
(cong con (same'TC {Γ = Γ} x))
(lemcon' (same'Len Γ) (D.eraseTC {Γ = embCtx Γ}(embTC x)))
same' {Γ = Γ} (builtin b / refl) = lembuiltin b (same'Len Γ)
same' {Γ = Γ} (error A) = lemerror (same'Len Γ)
\end{code}
| Literate Agda | 4 | wout/plutus | plutus-metatheory/src/Algorithmic/Erasure.lagda | [
"Apache-2.0"
] |
(ns wisp.test.ast
(:require [wisp.test.util :refer [is thrown?]]
[wisp.src.reader :refer [read-from-string]]
[wisp.src.sequence :refer [list]]
[wisp.src.runtime :refer [str =]]
[wisp.src.ast :refer [name gensym symbol? symbol keyword? keyword
quote? quote syntax-quote? syntax-quote]]))
(def read-string read-from-string)
(is (symbol? (gensym))
"gensym generates symbol")
(is (identical? (.substr (name (gensym)) 0 3) "G__")
"global symbols are prefixed with 'G__'")
(is (not (identical? (name (gensym)) (name (gensym))))
"gensym generates unique symbol each time")
(is (identical? (.substr (name (gensym "foo")) 0 3) "foo")
"if prefix is given symbol is prefixed with it")
(is (not (identical? (name (gensym "p")) (name (gensym "p"))))
"gensym generates unique symbol even if prefixed")
(is (quote? (read-string "'()")) "'() is quoted list")
(is (not (quote? (read-string "`()"))) "'() is not quoted list")
(is (not (quote? (read-string "()"))) "() is not quoted list")
(is (quote? (read-string "'foo")) "'foo is quoted symbol")
(is (not (quote? (read-string "foo"))) "foo symbol is not quoted")
(is (syntax-quote? (read-string "`()")) "`() is syntax quoted list")
(is (not (syntax-quote?
(read-string "'()"))) "'() is not syntax quoted list")
(is (not (syntax-quote?
(read-string "()"))) "() is not syntax quoted list")
(is (syntax-quote? (read-string "`foo")) "`foo is syntax quoted symbol")
(is (not (syntax-quote?
(read-string "'foo"))) "'foo symbol is not syntax quoted")
(is (not (syntax-quote?
(read-string "foo"))) "foo symbol is not syntax quoted")
(is (symbol? (symbol "foo")))
(is (symbol? (symbol "/")))
(is (symbol? (symbol "")))
(is (symbol? (symbol "foo" "bar")))
(is (= (name (symbol "foo")) "foo"))
(is (= (name (symbol "/")) "/"))
; TODO: fix
; (is (= (name (symbol "")) ""))
(is (= (name (symbol "foo" "bar")) "bar"))
| wisp | 5 | LeXofLeviafan/wisp | test/ast.wisp | [
"BSD-3-Clause"
] |
import("./modules/a");
import("./modules/b");
| JavaScript | 2 | 1shenxi/webpack | test/statsCases/named-chunks-plugin-async/entry.js | [
"MIT"
] |
exec("swigtest.start", -1);
// These calls must fail
ierr = execstr('abstract_foo_meth(1)', 'errcatch');
if ierr == 0 then swigtesterror(); end
ierr = execstr('abstract_bar_meth(1)', 'errcatch');
if ierr == 0 then swigtesterror(); end
exec("swigtest.quit", -1);
| Scilab | 2 | kyletanyag/LL-Smartcard | cacreader/swig-4.0.2/Examples/test-suite/scilab/abstract_signature_runme.sci | [
"BSD-3-Clause"
] |
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// @ts-check
/// <reference path="../../core/lib.deno_core.d.ts" />
/// <reference path="../web/internal.d.ts" />
/// <reference path="../url/internal.d.ts" />
/// <reference path="../web/lib.deno_web.d.ts" />
/// <reference path="../web/06_streams_types.d.ts" />
/// <reference path="./internal.d.ts" />
/// <reference path="./lib.deno_fetch.d.ts" />
/// <reference lib="esnext" />
"use strict";
((window) => {
const core = window.Deno.core;
const webidl = window.__bootstrap.webidl;
const { errorReadableStream } = window.__bootstrap.streams;
const { InnerBody, extractBody } = window.__bootstrap.fetchBody;
const {
toInnerRequest,
toInnerResponse,
fromInnerResponse,
redirectStatus,
nullBodyStatus,
networkError,
abortedNetworkError,
} = window.__bootstrap.fetch;
const abortSignal = window.__bootstrap.abortSignal;
const { DOMException } = window.__bootstrap.domException;
const {
ArrayPrototypePush,
ArrayPrototypeSplice,
ArrayPrototypeFilter,
ArrayPrototypeIncludes,
Promise,
PromisePrototypeThen,
PromisePrototypeCatch,
String,
StringPrototypeToLowerCase,
TypedArrayPrototypeSubarray,
TypeError,
Uint8Array,
WeakMap,
WeakMapPrototypeDelete,
WeakMapPrototypeGet,
WeakMapPrototypeHas,
WeakMapPrototypeSet,
} = window.__bootstrap.primordials;
const REQUEST_BODY_HEADER_NAMES = [
"content-encoding",
"content-language",
"content-location",
"content-type",
];
const requestBodyReaders = new WeakMap();
/**
* @param {{ method: string, url: string, headers: [string, string][], clientRid: number | null, hasBody: boolean }} args
* @param {Uint8Array | null} body
* @returns {{ requestRid: number, requestBodyRid: number | null }}
*/
function opFetch(args, body) {
return core.opSync("op_fetch", args, body);
}
/**
* @param {number} rid
* @returns {Promise<{ status: number, statusText: string, headers: [string, string][], url: string, responseRid: number }>}
*/
function opFetchSend(rid) {
return core.opAsync("op_fetch_send", rid);
}
/**
* @param {number} rid
* @param {Uint8Array} body
* @returns {Promise<void>}
*/
function opFetchRequestWrite(rid, body) {
return core.opAsync("op_fetch_request_write", rid, body);
}
/**
* @param {number} rid
* @param {Uint8Array} body
* @returns {Promise<number>}
*/
function opFetchResponseRead(rid, body) {
return core.opAsync("op_fetch_response_read", rid, body);
}
// A finalization registry to clean up underlying fetch resources that are GC'ed.
const RESOURCE_REGISTRY = new FinalizationRegistry((rid) => {
core.tryClose(rid);
});
/**
* @param {number} responseBodyRid
* @param {AbortSignal} [terminator]
* @returns {ReadableStream<Uint8Array>}
*/
function createResponseBodyStream(responseBodyRid, terminator) {
function onAbort() {
if (readable) {
errorReadableStream(
readable,
new DOMException("Ongoing fetch was aborted.", "AbortError"),
);
}
core.tryClose(responseBodyRid);
}
// TODO(lucacasonato): clean up registration
terminator[abortSignal.add](onAbort);
const readable = new ReadableStream({
type: "bytes",
async pull(controller) {
try {
// This is the largest possible size for a single packet on a TLS
// stream.
const chunk = new Uint8Array(16 * 1024 + 256);
const read = await opFetchResponseRead(
responseBodyRid,
chunk,
);
if (read > 0) {
// We read some data. Enqueue it onto the stream.
controller.enqueue(TypedArrayPrototypeSubarray(chunk, 0, read));
} else {
RESOURCE_REGISTRY.unregister(readable);
// We have reached the end of the body, so we close the stream.
controller.close();
core.tryClose(responseBodyRid);
}
} catch (err) {
RESOURCE_REGISTRY.unregister(readable);
if (terminator.aborted) {
controller.error(
new DOMException("Ongoing fetch was aborted.", "AbortError"),
);
} else {
// There was an error while reading a chunk of the body, so we
// error.
controller.error(err);
}
core.tryClose(responseBodyRid);
}
},
cancel() {
if (!terminator.aborted) {
terminator[abortSignal.signalAbort]();
}
},
});
RESOURCE_REGISTRY.register(readable, responseBodyRid, readable);
return readable;
}
/**
* @param {InnerRequest} req
* @param {boolean} recursive
* @param {AbortSignal} terminator
* @returns {Promise<InnerResponse>}
*/
async function mainFetch(req, recursive, terminator) {
if (req.blobUrlEntry !== null) {
if (req.method !== "GET") {
throw new TypeError("Blob URL fetch only supports GET method.");
}
const body = new InnerBody(req.blobUrlEntry.stream());
terminator[abortSignal.add](() =>
body.error(new DOMException("Ongoing fetch was aborted.", "AbortError"))
);
return {
headerList: [
["content-length", String(req.blobUrlEntry.size)],
["content-type", req.blobUrlEntry.type],
],
status: 200,
statusMessage: "OK",
body,
type: "basic",
url() {
if (this.urlList.length == 0) return null;
return this.urlList[this.urlList.length - 1];
},
urlList: recursive ? [] : [...req.urlList],
};
}
/** @type {ReadableStream<Uint8Array> | Uint8Array | null} */
let reqBody = null;
if (req.body !== null) {
if (req.body.streamOrStatic instanceof ReadableStream) {
if (req.body.length === null || req.body.source instanceof Blob) {
reqBody = req.body.stream;
} else {
const reader = req.body.stream.getReader();
WeakMapPrototypeSet(requestBodyReaders, req, reader);
const r1 = await reader.read();
if (r1.done) {
reqBody = new Uint8Array(0);
} else {
reqBody = r1.value;
const r2 = await reader.read();
if (!r2.done) throw new TypeError("Unreachable");
}
WeakMapPrototypeDelete(requestBodyReaders, req);
}
} else {
req.body.streamOrStatic.consumed = true;
reqBody = req.body.streamOrStatic.body;
}
}
const { requestRid, requestBodyRid, cancelHandleRid } = opFetch({
method: req.method,
url: req.currentUrl(),
headers: req.headerList,
clientRid: req.clientRid,
hasBody: reqBody !== null,
bodyLength: req.body?.length,
}, reqBody instanceof Uint8Array ? reqBody : null);
function onAbort() {
if (cancelHandleRid !== null) {
core.tryClose(cancelHandleRid);
}
if (requestBodyRid !== null) {
core.tryClose(requestBodyRid);
}
}
terminator[abortSignal.add](onAbort);
if (requestBodyRid !== null) {
if (reqBody === null || !(reqBody instanceof ReadableStream)) {
throw new TypeError("Unreachable");
}
const reader = reqBody.getReader();
WeakMapPrototypeSet(requestBodyReaders, req, reader);
(async () => {
while (true) {
const { value, done } = await PromisePrototypeCatch(
reader.read(),
(err) => {
if (terminator.aborted) return { done: true, value: undefined };
throw err;
},
);
if (done) break;
if (!(value instanceof Uint8Array)) {
await reader.cancel("value not a Uint8Array");
break;
}
try {
await PromisePrototypeCatch(
opFetchRequestWrite(requestBodyRid, value),
(err) => {
if (terminator.aborted) return;
throw err;
},
);
if (terminator.aborted) break;
} catch (err) {
await reader.cancel(err);
break;
}
}
WeakMapPrototypeDelete(requestBodyReaders, req);
core.tryClose(requestBodyRid);
})();
}
let resp;
try {
resp = await PromisePrototypeCatch(opFetchSend(requestRid), (err) => {
if (terminator.aborted) return;
throw err;
});
} finally {
if (cancelHandleRid !== null) {
core.tryClose(cancelHandleRid);
}
}
if (terminator.aborted) return abortedNetworkError();
/** @type {InnerResponse} */
const response = {
headerList: resp.headers,
status: resp.status,
body: null,
statusMessage: resp.statusText,
type: "basic",
url() {
if (this.urlList.length == 0) return null;
return this.urlList[this.urlList.length - 1];
},
urlList: req.urlList,
};
if (redirectStatus(resp.status)) {
switch (req.redirectMode) {
case "error":
core.close(resp.responseRid);
return networkError(
"Encountered redirect while redirect mode is set to 'error'",
);
case "follow":
core.close(resp.responseRid);
return httpRedirectFetch(req, response, terminator);
case "manual":
break;
}
}
if (nullBodyStatus(response.status)) {
core.close(resp.responseRid);
} else {
if (req.method === "HEAD" || req.method === "CONNECT") {
response.body = null;
core.close(resp.responseRid);
} else {
response.body = new InnerBody(
createResponseBodyStream(resp.responseRid, terminator),
);
}
}
if (recursive) return response;
if (response.urlList.length === 0) {
response.urlList = [...req.urlList];
}
return response;
}
/**
* @param {InnerRequest} request
* @param {InnerResponse} response
* @returns {Promise<InnerResponse>}
*/
function httpRedirectFetch(request, response, terminator) {
const locationHeaders = ArrayPrototypeFilter(
response.headerList,
(entry) => entry[0] === "location",
);
if (locationHeaders.length === 0) {
return response;
}
const locationURL = new URL(
locationHeaders[0][1],
response.url() ?? undefined,
);
if (locationURL.hash === "") {
locationURL.hash = request.currentUrl().hash;
}
if (locationURL.protocol !== "https:" && locationURL.protocol !== "http:") {
return networkError("Can not redirect to a non HTTP(s) url");
}
if (request.redirectCount === 20) {
return networkError("Maximum number of redirects (20) reached");
}
request.redirectCount++;
if (
response.status !== 303 &&
request.body !== null &&
request.body.source === null
) {
return networkError(
"Can not redeliver a streaming request body after a redirect",
);
}
if (
((response.status === 301 || response.status === 302) &&
request.method === "POST") ||
(response.status === 303 &&
request.method !== "GET" &&
request.method !== "HEAD")
) {
request.method = "GET";
request.body = null;
for (let i = 0; i < request.headerList.length; i++) {
if (
ArrayPrototypeIncludes(
REQUEST_BODY_HEADER_NAMES,
request.headerList[i][0],
)
) {
ArrayPrototypeSplice(request.headerList, i, 1);
i--;
}
}
}
if (request.body !== null) {
const res = extractBody(request.body.source);
request.body = res.body;
}
ArrayPrototypePush(request.urlList, locationURL.href);
return mainFetch(request, true, terminator);
}
/**
* @param {RequestInfo} input
* @param {RequestInit} init
*/
function fetch(input, init = {}) {
// 1.
const p = new Promise((resolve, reject) => {
const prefix = "Failed to call 'fetch'";
webidl.requiredArguments(arguments.length, 1, { prefix });
// 2.
const requestObject = new Request(input, init);
// 3.
const request = toInnerRequest(requestObject);
// 4.
if (requestObject.signal.aborted) {
reject(abortFetch(request, null));
return;
}
// 7.
let responseObject = null;
// 9.
let locallyAborted = false;
// 10.
function onabort() {
locallyAborted = true;
reject(abortFetch(request, responseObject));
}
requestObject.signal[abortSignal.add](onabort);
if (!requestObject.headers.has("accept")) {
ArrayPrototypePush(request.headerList, ["accept", "*/*"]);
}
// 12.
PromisePrototypeCatch(
PromisePrototypeThen(
mainFetch(request, false, requestObject.signal),
(response) => {
// 12.1.
if (locallyAborted) return;
// 12.2.
if (response.aborted) {
reject(request, responseObject);
requestObject.signal[abortSignal.remove](onabort);
return;
}
// 12.3.
if (response.type === "error") {
const err = new TypeError(
"Fetch failed: " + (response.error ?? "unknown error"),
);
reject(err);
requestObject.signal[abortSignal.remove](onabort);
return;
}
responseObject = fromInnerResponse(response, "immutable");
resolve(responseObject);
requestObject.signal[abortSignal.remove](onabort);
},
),
(err) => {
reject(err);
requestObject.signal[abortSignal.remove](onabort);
},
);
});
return p;
}
function abortFetch(request, responseObject) {
const error = new DOMException("Ongoing fetch was aborted.", "AbortError");
if (request.body !== null) {
if (WeakMapPrototypeHas(requestBodyReaders, request)) {
WeakMapPrototypeGet(requestBodyReaders, request).cancel(error);
} else {
request.body.cancel(error);
}
}
if (responseObject !== null) {
const response = toInnerResponse(responseObject);
if (response.body !== null) response.body.error(error);
}
return error;
}
/**
* Handle the Promise<Response> argument to the WebAssembly streaming
* APIs. This function should be registered through
* `Deno.core.setWasmStreamingCallback`.
*
* @param {any} source The source parameter that the WebAssembly
* streaming API was called with.
* @param {number} rid An rid that represents the wasm streaming
* resource.
*/
function handleWasmStreaming(source, rid) {
// This implements part of
// https://webassembly.github.io/spec/web-api/#compile-a-potential-webassembly-response
(async () => {
try {
const res = webidl.converters["Response"](await source, {
prefix: "Failed to call 'WebAssembly.compileStreaming'",
context: "Argument 1",
});
// 2.3.
// The spec is ambiguous here, see
// https://github.com/WebAssembly/spec/issues/1138. The WPT tests
// expect the raw value of the Content-Type attribute lowercased.
const contentType = res.headers.get("Content-Type");
if (
typeof contentType !== "string" ||
StringPrototypeToLowerCase(contentType) !== "application/wasm"
) {
throw new TypeError("Invalid WebAssembly content type.");
}
// 2.5.
if (!res.ok) {
throw new TypeError(`HTTP status code ${res.status}`);
}
// Pass the resolved URL to v8.
core.opSync("op_wasm_streaming_set_url", rid, res.url);
// 2.6.
// Rather than consuming the body as an ArrayBuffer, this passes each
// chunk to the feed as soon as it's available.
if (res.body !== null) {
const reader = res.body.getReader();
while (true) {
const { value: chunk, done } = await reader.read();
if (done) break;
core.opSync("op_wasm_streaming_feed", rid, chunk);
}
}
// 2.7.
core.close(rid);
} catch (err) {
// 2.8 and 3
core.opSync("op_wasm_streaming_abort", rid, err);
}
})();
}
window.__bootstrap.fetch ??= {};
window.__bootstrap.fetch.fetch = fetch;
window.__bootstrap.fetch.handleWasmStreaming = handleWasmStreaming;
})(this);
| JavaScript | 5 | l2ig/deno | ext/fetch/26_fetch.js | [
"MIT"
] |
a { value: #\30hash } | CSS | 0 | vjpr/swc | css/parser/tests/fixture/esbuild/misc/486QvEO8dmLFsXYp6xgKVw/input.css | [
"Apache-2.0",
"MIT"
] |
def roll-one-column [] {
roll column --cells-only --opposite |
pivot _ value | st colle
# update value $(= $it.value * -1)
#pivot --header-row
}
def cases [province] {
where provincia == $province
}
def record-columns [] {
select provincia poblacion lat lng
}
def columns [] {
reject provincia poblacion lat lng
}
def for [provinces] {
let data = $(open lugar_provincias_por_mes_acumuladas.csv);
echo $provinces | each {
let subset = $(echo $data | cases $it);
let saved_columns = $(echo $subset | record-columns);
let use_columns = $(echo $subset | columns);
#echo $saved_columns | merge {
do {
# echo $use_columns |
# each { = $it | roll-one-column } |
# update Enero 0 |
echo $use_columns | roll-one-column
#math sum
}
# }
}
}
# | append $(open lugar_provincias_por_mes_acumuladas.csv | reject provincia poblacion lat lng | first) | math sum | pivot | update Column1 { = $it.Column1 * -1 }
#echo '-----COMPLETE' $(char newline) | str collect
#cases Guayas | reject provincia poblacion lat lng
#echo '-----END COMPLETE' $(char newline) | str collect
#echo '-----ONE COLUMN ROLLED' $(char newline) | str collect
#cases Guayas | roll-one-column
#echo '-----END ONE COLUMN ROLLED' $(char newline) | str collect
for $(echo [ Guayas ] )
#cases Guayas | meta-data | merge { cases Guayas | roll-one-column | update Enero 0 | append $(cases Guayas | reject provincia poblacion lat lng) | math sum } | Nu | 3 | fj-master/covid | datos_crudos/defunciones/2020/por_fecha/script.nu | [
"Unlicense"
] |
-- Copyright 2017-2021 Jeff Foley. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
local json = require("json")
name = "FacebookCT"
type = "cert"
api_version = "v11.0"
function start()
set_rate_limit(5)
end
function check()
local c
local cfg = datasrc_config()
if cfg ~= nil then
c = cfg.credentials
end
if (c ~= nil and c.key ~= nil and
c.secret ~= nil and c.key ~= "" and c.secret ~= "") then
return true
end
return false
end
function vertical(ctx, domain)
local nxt = query_url(domain, get_token(ctx))
while nxt ~= "" do
resp, err = request(ctx, {['url']=nxt})
if (err ~= nil and err ~= "") then
log(ctx, "vertical request to service failed: " .. err)
return
end
dec = json.decode(resp)
if (dec == nil or dec.data == nil or #(dec.data) == 0) then
return
end
for _, r in pairs(dec.data) do
for _, name in pairs(r.domains) do
new_name(ctx, name)
end
end
nxt = ""
if (dec.paging ~= nil and dec.paging.next ~= nil and dec.paging.next ~= "") then
nxt = dec.paging.next
end
end
end
function get_token(ctx)
local c
local cfg = datasrc_config()
if cfg ~= nil then
c = cfg.credentials
end
if (c == nil or c.key == nil or
c.secret == nil or c.key == "" or c.secret == "") then
return ""
end
local authurl = "https://graph.facebook.com/oauth/access_token"
authurl = authurl .. "?client_id=" .. c.key .. "&client_secret=" .. c.secret .. "&grant_type=client_credentials"
local resp, err = request(ctx, {['url']=authurl})
if (err ~= nil and err ~= "") then
return ""
end
local dec = json.decode(resp)
if (dec == nil or dec.access_token == nil or dec.access_token == "") then
return ""
end
return dec.access_token
end
function query_url(domain, token)
if token == "" then
return ""
end
local u = "https://graph.facebook.com/" .. api_version
return u .. "/certificates?fields=domains&access_token=" .. token .. "&query=*." .. domain
end
| Ada | 3 | Elon143/Amass | resources/scripts/cert/facebookct.ads | [
"Apache-2.0"
] |
USING: accessors alien.strings alien.syntax
compiler.codegen.relocation namespaces sequences tools.test ;
IN: compiler.codegen.relocation.tests
{
B{ 114 101 97 100 108 105 110 101 0 }
"libreadline.so"
} [
init-relocation
"readline" DLL" libreadline.so" add-dlsym-parameters
parameter-table get first2 path>> alien>native-string
] unit-test
| Factor | 3 | alex-ilin/factor | basis/compiler/codegen/relocation/relocation-tests.factor | [
"BSD-2-Clause"
] |
<footer class="page-footer">
<div class="container">
<div class="row">
<div class="col l6 s12">
<h5>Disclaimer</h5>
<p>CF-Cache-Status is neither owned nor operated by Cloudflare Inc. This software available on this site is provided "as is" and there are no warranties expressed or implied.</p>
</div>
<div class="col l5 offset-l1 s12">
<h5>Support links</h5>
<ul>
<li><a href="https://support.cloudflare.com/hc/en-us/articles/200172516-What-file-extensions-does-CloudFlare-cache-for-static-content-">What file extensions does Cloudflare cache?</a></li>
<li><a href="https://support.cloudflare.com/hc/en-us/articles/202775670-How-Do-I-Tell-CloudFlare-What-to-Cache-">How do I tell Cloudflare what to cache?</a></li>
<li><a href="https://support.cloudflare.com/hc/en-us/articles/115000150272-How-do-I-use-Cache-Everything-with-Cloudflare-">How do I use Cache Everything with Cloudflare?</a></li>
<li><a href="https://support.cloudflare.com/hc/en-us/search?utf8=%E2%9C%93&query=caching&commit=Search">Cloudflare's caching articles</a></li>
<li><a href="https://support.cloudflare.com/hc/en-us/search?utf8=%E2%9C%93&query=cdn&commit=Search">Cloudflare's CDN article</a></li>
</ul>
</div>
</div>
</div>
<div class="footer-copyright">
<div class="container">
© <script type="text/javascript">document.write(new Date().getFullYear());</script> Copyright <a href="https://jay.holtslander.ca/">Jay Holtslander</a> | Built with <a href="https://codekitapp.com/">CodeKit</a> | Hosted on: <a href="https://do.co/1pfRcaa">DigitalOcean</a> with <a href="https://bit.ly/1T39WpL">ServerPilot</a>
</div>
</div>
</footer> | Kit | 1 | smola/language-dataset | data/github.com/JayHoltslander/CF-Cache-Status/6623cd5e0cc1af257ef5bc49bce9cfca202bb880/src/_footer.kit | [
"MIT"
] |
/**
Copyright 2015 Acacia Team
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package org.acacia.query.algorithms.kcore;
import org.acacia.localstore.AcaciaHashMapNativeStore;
import org.acacia.centralstore.AcaciaHashMapCentralStore;
import org.acacia.util.java.Utils_Java;
import org.acacia.util.Utils;
import x10.util.HashMap;
import x10.util.HashSet;
import x10.util.Map.Entry;
import x10.util.Set;
import x10.util.StringBuilder;
import x10.lang.Iterator;
import x10.io.File;
import org.apache.commons.io.FileUtils;
import x10.util.ArrayList;
/**
* Class KCore
*/
public class KCore {
private val location = Utils.call_getAcaciaProperty("org.acacia.server.runtime.location")+"/KCoreFiles/";
private var baseDir:String = "";
private var nativeStoreLocalSubGraphMap:HashMap[Long, HashSet[Long]];
private var centralStoreLocalSubGraphMap:HashMap[Long, HashSet[Long]];
private var KCorenessOfGraph:Long = 0;
public def getVertexIdsResults(kValue:String,graphID:String,partitionID:String,placeID:String):ArrayList[Long]{
var result:Rail[Long]= null;
var resultArrayList:ArrayList[Long] = new ArrayList[Long]();
Console.OUT.println("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa");
try {
loadGraphData(graphID, partitionID, placeID);
//createFilesLocation();
resultArrayList = calculateKCoreness(Long.parse(kValue));
//resultArrayList.addAll(calculateKCoreness(Long.parse(kValue)));
}catch(e:Exception){
e.printStackTrace();
}finally{
Console.OUT.println(resultArrayList.size());
}
return resultArrayList;
}
def loadGraphData(graphID:String, partitionID:String, placeID:String) {
baseDir = Utils_Java.getAcaciaProperty("org.acacia.server.instance.datafolder");
//native store
val nativeStore:AcaciaHashMapNativeStore = new AcaciaHashMapNativeStore(Int.parse(graphID), Int.parse(partitionID),baseDir,false);
nativeStore.loadGraph();
//nativeStoreLocalSubGraphMap = nativeStore.getlocalSubGraphMap();
nativeStoreLocalSubGraphMap = nativeStore.getUnderlyingHashMap();
//central store
val centraleStore:AcaciaHashMapNativeStore = new AcaciaHashMapNativeStore(Int.parse(graphID), Int.parse(partitionID),baseDir,true,Int.parse(placeID));
centraleStore.loadGraph();
//centralStoreLocalSubGraphMap = centraleStore.getlocalSubGraphMap();
centralStoreLocalSubGraphMap = centraleStore.getUnderlyingHashMap();
}
// Create the files/location to store results
def createFilesLocation() {
val f = new File(location);
if(!f.exists()){
f.mkdir();
}else{
//Delete the existing files
val dir:java.io.File = new java.io.File(location);
val files:x10.interop.Java.array[java.io.File] = dir.listFiles();
for(var i:Int = 0n; i < files.length; i++ ){
var delStatus:Boolean = false;
try{
if(files(i).isDirectory()){
FileUtils.deleteDirectory(files(i));
}else{
delStatus = files(i).delete();
}
}catch(var ex:java.io.IOException){
ex.printStackTrace();
}
}
}
}
// from the graph get the vertices which has the same degree
def calculateKCoreness(kValue:Long):ArrayList[Long]{
var count:Long = 0;
var vertexCount:Long = getVertexCount();
var vertexIds:ArrayList[Long]= new ArrayList[Long]();
var tempStore:Set[Long] = new HashSet[Long]();
var keyStore:Set[Long] = new HashSet[Long]();
var itr:Iterator[Long] = nativeStoreLocalSubGraphMap.keySet().iterator();
while(itr.hasNext()){
keyStore.add(itr.next());
}
itr = tempStore.iterator();
var i:Long = 1;
while(i<=kValue && vertexCount>0){
count = 0;
while(itr.hasNext()){
keyStore.remove(itr.next());
}
itr = keyStore.iterator();
tempStore = new HashSet[Long]();
while(itr.hasNext()){
vertexID:Long = itr.next();
k:Long = countEdges(vertexID);
if(k <= i){
if(k == i){
vertexIds.add(vertexID);
}
//remove vertexID
tempStore.add(vertexID);
removeVertexAndEdges(vertexID);
vertexCount--;
}
}
if(count==0){
i = i + 1;
}
}
if(vertexCount == 0 && kValue <= i){
vertexIds = new ArrayList[Long]();
}
return vertexIds;
}
//get the vertex count of original graph
def getVertexCount(){
var vertexCount:long = 0;
vertexCount = nativeStoreLocalSubGraphMap.keySet().size();
return vertexCount;
}
// get the count of edges of a paticular vertex
def countEdges(vertexId:Long):Long{
var edgeCount:Long = 0;
edgeCount = countEdgesInLocalSubGraphs(nativeStoreLocalSubGraphMap, vertexId)+
countEdgesInLocalSubGraphs(centralStoreLocalSubGraphMap, vertexId);
return edgeCount;
}
// get the count in each subGraph
def countEdgesInLocalSubGraphs(store:HashMap[Long, HashSet[Long]],vertexId:Long):Long{
var count:Long = 0;
val set:HashSet[Long] = store.get(vertexId);
if(set != null){
count = set.size();
}
return count;
}
// add the paticular vertex to the relavant file
def addVertexToFile(vertexIdsToFile:ArrayList[Long], k:Long){
val fileName:String = k+"-core";
val file = new File(location+fileName);
val printer = file.printer();
//Console.OUT.println(attributeItem.getKey()+" "+attributeItem.getValue());
for(var i:Long = 0; i < vertexIdsToFile.size(); i++){
printer.println(vertexIdsToFile(i)+"");
}
printer.flush();
//Console.OUT.println("Write "+vertexId+"to the file"+k);
}
// remove the vertex and its edges from the original graph
def removeVertexAndEdges(vertexId:Long){
removeVertexAndEdgesFromLocalSubGraphs(nativeStoreLocalSubGraphMap, vertexId);
removeVertexAndEdgesFromLocalSubGraphs(centralStoreLocalSubGraphMap, vertexId);
//Console.OUT.println("Deleted "+vertexId);
}
// remove vertices from a subgraph
def removeVertexAndEdgesFromLocalSubGraphs(var store:HashMap[Long, HashSet[Long]],vertexId:Long){
val valueStore:HashSet[Long] = new HashSet[Long]();
var itr:Iterator[HashMap.Entry[Long, HashSet[Long]]];
var entry: HashMap.Entry[Long, HashSet[Long]];
var key:Long = 0;
var values:HashSet[Long]= new HashSet[Long]();
store.delete(vertexId);
itr = store.entries().iterator();
while(itr.hasNext()){
entry = itr.next();
key = entry.getKey();
values = entry.getValue();
if(values.contains(vertexId)){
valueStore.add(key);
}
}
val itrHS:Iterator[Long] = valueStore.iterator();
while(itrHS.hasNext()){
store.get(itrHS.next()).remove(vertexId);
}
}
} | X10 | 5 | mdherath/Acacia | src/org/acacia/query/algorithms/kcore/KCore.x10 | [
"Apache-2.0"
] |
VectorCompareTest := UnitTest clone do(
#verbose := method(m, m println)
testStrings := method(
assertTrue("ab" == "ab")
assertTrue("ba" == "ba")
assertTrue("ab" != "ba")
assertTrue("ab" < "ba")
assertTrue("ab" <= "ba")
assertTrue("ba" > "ab")
assertTrue("ba" >= "ab")
assertFalse("ab" == "ba")
assertFalse("ba" == "ab")
assertFalse("ba" < "ab")
assertFalse("ba" <= "ab")
assertFalse("ab" > "ba")
assertFalse("ab" >= "ba")
)
testVectors := method(
assertTrue( vector(1,1) == vector(1,1) )
assertFalse( vector(1,0) == vector(0,1) )
assertFalse( vector(0,1) == vector(1,0) )
assertFalse( vector(1,1) != vector(1,1) )
assertTrue( vector(1,0) != vector(0,1) )
assertTrue( vector(0,1) != vector(1,0) )
assertFalse( vector(1, 3) < vector(2,2) )
assertFalse( vector(3, 1) < vector(2,2) )
assertFalse( vector(1, 3) <= vector(2,2) )
assertFalse( vector(3, 1) <= vector(2,2) )
assertFalse( vector(3, 1) > vector(2,2) )
assertFalse( vector(1, 3) > vector(2,2) )
assertFalse( vector(3, 1) >= vector(2,2) )
assertFalse( vector(1, 3) >= vector(2,2) )
assertFalse( vector(1, 3) == vector(2,2) )
assertFalse( vector(3, 1) == vector(2,2) )
assertTrue( vector(1, 1) < vector(2,2) )
assertTrue( vector(1, 1) <= vector(2,2) )
assertTrue( vector(3, 3) > vector(2,2) )
assertTrue( vector(3, 3) >= vector(2,2) )
assertTrue( vector(2, 2) == vector(2,2) )
)
)
| Io | 4 | akluth/io | libs/iovm/tests/correctness/VectorCompareTest.io | [
"BSD-3-Clause"
] |
<table border="1" class="dataframe">
<tbody>
<tr>
<td>0</td>
<td>0</td>
</tr>
<tr>
<td>0</td>
<td>0</td>
</tr>
</tbody>
</table>
| HTML | 0 | CJL89/pandas | pandas/tests/io/formats/data/html/index_none_columns_none.html | [
"BSD-3-Clause"
] |
CLASS zcl_abapgit_data_factory DEFINITION
PUBLIC
CREATE PUBLIC
GLOBAL FRIENDS zcl_abapgit_data_injector .
PUBLIC SECTION.
CLASS-METHODS get_serializer
RETURNING
VALUE(ri_serializer) TYPE REF TO zif_abapgit_data_serializer .
CLASS-METHODS get_deserializer
RETURNING
VALUE(ri_deserializer) TYPE REF TO zif_abapgit_data_deserializer .
PROTECTED SECTION.
PRIVATE SECTION.
CLASS-DATA gi_serializer TYPE REF TO zif_abapgit_data_serializer .
CLASS-DATA gi_deserializer TYPE REF TO zif_abapgit_data_deserializer .
ENDCLASS.
CLASS ZCL_ABAPGIT_DATA_FACTORY IMPLEMENTATION.
METHOD get_deserializer.
IF gi_deserializer IS INITIAL.
CREATE OBJECT gi_deserializer TYPE zcl_abapgit_data_deserializer.
ENDIF.
ri_deserializer = gi_deserializer.
ENDMETHOD.
METHOD get_serializer.
IF gi_serializer IS INITIAL.
CREATE OBJECT gi_serializer TYPE zcl_abapgit_data_serializer.
ENDIF.
ri_serializer = gi_serializer.
ENDMETHOD.
ENDCLASS.
| ABAP | 4 | amit3kumar/ABAP_ALL | src/data/zcl_abapgit_data_factory.clas.abap | [
"MIT"
] |
/**
* Implementation of the
* $(LINK2 http://www.digitalmars.com/download/freecompiler.html, Digital Mars C/C++ Compiler).
*
* Copyright: Copyright (c) 1999-2017 by Digital Mars, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: Distributed under the Boost Software License, Version 1.0.
* http://www.boost.org/LICENSE_1_0.txt
* Source: https://github.com/DigitalMars/Compiler/blob/master/dm/src/dmc/html.di
*/
module html;
import dmd.backend.outbuf : Outbuffer;
extern (C++):
struct Html
{
const(char)* sourcename;
ubyte* base; // pointer to start of buffer
ubyte* end; // past end of buffer
ubyte* p; // current character
uint linnum; // current line number
Outbuffer* dbuf; // code source buffer
int inCode; // !=0 if in code
void initialize(const(char)* sourcename, ubyte *base, uint length);
void error(const(char)* format, ...);
void extractCode(Outbuffer* buf);
void skipTag();
void skipString();
ubyte* skipWhite(ubyte* q);
void scanComment();
int isCommentStart();
void scanCDATA();
int isCDATAStart();
int charEntity();
}
| D | 4 | the-grue/Compiler | dm/src/dmc/html.di | [
"BSL-1.0"
] |
declare enum E {
e = -0xA
} | TypeScript | 2 | nilamjadhav/TypeScript | tests/cases/compiler/ambientEnumElementInitializer5.ts | [
"Apache-2.0"
] |
CREATE TABLE articles
(
id serial NOT NULL,
title text NOT NULL,
content text NOT NULL,
rating integer NOT NULL,
author_id serial NOT NULL,
PRIMARY KEY (id)
);
INSERT INTO articles (id, title, content, rating, author_id)
VALUES (1, 'test1', 'test1', 1, 4),
(2, 'test2', 'test1', 1, 4),
(3, 'test3', 'test1', 1, 4); | SQL | 3 | gh-oss-contributor/graphql-engine-1 | cli/seed/testdata/seeds/articles.sql | [
"Apache-2.0",
"MIT"
] |
== Compiled Dll OTMql4Zmq ==
These problems may be fixed now; test it add your results as comments to
https://github.com/OpenTrading/OTMql4Zmq/issues/1
We replaced {{{MQL4/Libraries/OTMql4/libzmq.dll}}} with
{{{libzmq-v100-mt-2_2_0.dll}}} that we compiled with MSVC2010
according to the original instructions. These are being tracked in
https://github.com/OpenTrading/mql4zmq/
We tried using those same instructions to compile against v4.0.4,
and sending from Mt4 works, but we still have to rewrite the glue code
for the version 4 changes. We'll test v2.2.0 for a while first.
For an example expert for using the Compiled Dll OTMql4Zmq,
see [[TestExpert]].
=== Compiled DLL Changes ===
The libraries checked in to the {{{src/}}} directory
and the header file {{{MQL4/Include/OTMql4/OTMql4Zmq.mqh}}} are from:
https://github.com/OpenTrading/mql4zmq/
----
Parent: [[Home]]
| Creole | 2 | lionelyoung/OTMql4Zmq | wiki/CompiledDllOTMql4Zmq.creole | [
"MIT"
] |
<!doctype html>
<script type="module" src="c.js"></script>
| HTML | 0 | acidburn0zzz/parcel | packages/core/integration-tests/test/integration/shared-sibling-duplicate/c.html | [
"MIT"
] |
<mt:If name="google_search">
<div class="google-search">
<script>
(function() {
var cx = '<$mt:Var name='google_search'$>';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
'//cse.google.com/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();
</script>
<gcse:search></gcse:search>
</div>
</mt:If>
<mt:Pages tag="@about" limit="1" sort_order="ascend">
<section id="side-about" class="textbox">
<h1><mt:PageTitle></h1>
<p><mt:PageExcerpt></p>
</section>
</mt:Pages>
<section id="side-members" class="memberlist">
<nav>
<h1><__trans phrase="Members"></h1>
<mt:Authors status="enabled" sort_by="display_name" sort_order="descend">
<mt:If name="__first__"><ul class="clearfix"></mt:If>
<li><mt:If tag="AuthorEntryCount"><mt:if name="category_archive"><mt:Archives type="Author"><a href="<$mt:ArchiveLink$>"></mt:Archives><mt:Else><a href="<$mt:ArchiveLink type="Author"$>"></mt:If></mt:If><img src="<mt:If tag='AuthorUserpicURL'><$mt:AuthorUserpicURL$><mt:Else><$mt:BlogURL$>images/default-userpic-90.jpg</mt:If>" alt="<$mt:AuthorDisplayName escape='html'$>" width="50px" title="<$mt:AuthorDisplayName$>"><mt:If tag="AuthorEntryCount"></a></mt:If></li>
<mt:If name="__last__"></ul></mt:If>
</mt:Authors>
</nav>
</section>
<mt:Entries limit="5" field:entry_recommend="1">
<mt:EntriesHeader>
<section id="side-recentpost" class="side-entrylist">
<nav>
<h1><__trans phrase="Recommended"></h1>
<ul>
</mt:EntriesHeader>
<li>
<a href="<$mt:EntryPermalink$>" class="clearfix">
<figure>
<img src="<mt:If tag="blog_entry_ogp_image"><mt:blog_entry_ogp_imageAsset><$mt:AssetThumbnailURL width="80"$></mt:blog_entry_ogp_imageAsset><mt:Else><mt:EntryAssets type="image" sort_order="ascend" limit="1"><$mt:AssetThumbnailURL width="80"$><mt:Else><$mt:BlogRelativeURL$>images/noimage-90.png</mt:EntryAssets></mt:If>" alt="<$mt:EntryTitle escape='html'$>" class="entry-thumbnail">
</figure>
<p><$mt:EntryTitle escape="html"$></p>
</a>
</li>
<mt:EntriesFooter>
</ul>
</nav>
</section>
</mt:EntriesFooter>
</mt:Entries>
<section id="side-recentpost" class="categorylist"><section id="side-categories" class="categorylist">
<nav>
<h1><__trans phrase="Categories"></h1>
<ul>
<mt:TopLevelCategories>
<mt:If tag="CategoryCount">
<li><a href="<$mt:CategoryArchiveLink$>"><$mt:CategoryLabel encode_html="1"$></a><small><$mt:ArchiveCount$></small>
<mt:Else>
<li><span class="nolink"><$mt:CategoryLabel encode_html="1"$></span>
</mt:If>
<mt:SubCategories>
<mt:SubCatIsFirst><ul class="submenu"></mt:SubCatIsFirst>
<mt:If tag="CategoryCount">
<li class="catdepth"><a href="<$mt:CategoryArchiveLink$>"><$mt:CategoryLabel encode_html="1"$></a><small><$mt:ArchiveCount$></small>
<mt:Else>
<li class="catdepth"><span class="nolink"><$mt:CategoryLabel encode_html="1"$></span>
</mt:If>
<$mt:SubCatsRecurse$></li>
<mt:SubCatIsLast></ul></mt:SubCatIsLast>
</mt:SubCategories>
</li>
</mt:TopLevelCategories>
</ul>
</nav>
</section>
<mt:ArchiveList archive_type="Monthly">
<mt:ArchiveListHeader>
<section id="side-categories" class="categorylist">
<nav>
<h1><__trans phrase="Monthly Archives"></h1>
<ul>
</mt:ArchiveListHeader>
<li><a href="<$mt:ArchiveLink$>"><$mt:ArchiveTitle escape="html"$></a><small><$mt:ArchiveCount$></small></li>
<mt:ArchiveListFooter>
</ul>
</nav>
</section>
</mt:ArchiveListFooter>
</mt:ArchiveList>
<section id="side-likebox">
<!-- <__trans phrase="Please put the code of Page Plugin of Facebook here."> -->
</section>
| MTML | 3 | kanpapa/mt-theme-rimo | themes/rimo/templates/sidebar.mtml | [
"MIT"
] |
sub Init()
print "BaseComponent init"
start()
end sub
sub start()
print "BaseComponent start"
end sub
sub CaseInsensitiveFunction()
print "BaseComponent caseinsensitivefunction"
end sub
| Brightscript | 4 | alimnios72/brs | test/e2e/resources/components/scripts/BaseComponent.brs | [
"MIT"
] |
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -15.00
-1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -18.00
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -23.00
-1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 7.00
-1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -95.00
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 36.00
-1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -126.00
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 62.00
-1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -209.00
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 141.00
-1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -247.00
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 217.00
-1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -244.00
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 162.00
-1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -313.00
1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -15.00
-1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -64.00
1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23.00
-1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -78.00
1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00
-1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -135.00
1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 76.00
-1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -179.00
1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 115.00
-1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -273.00
1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 205.00
-1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -217.00
1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 187.00
-1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -260.00
1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 178.00
-1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -265.00
1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -15.00
-1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -20.00
-1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -15.00
1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -64.00
-1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -4.00
1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -55.00
-1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 32.00
1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -96.00
-1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16.00
1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -84.00
-1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -18.00
1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -12.00
-1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -41.00
1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -41.00
-1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -109.00
1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -15.00
-1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -70.00
1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 29.00
-1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -92.00
1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 13.00
-1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -111.00
1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 52.00
-1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -85.00
1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 21.00
-1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -125.00
1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 57.00
-1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -131.00
1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 101.00
-1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -209.00
1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 127.00
-1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -252.00
1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -15.00
-1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -47.00
1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 6.00
-1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -107.00
1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 28.00
-1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -180.00
1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 121.00
-1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -214.00
1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 150.00
-1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -278.00
1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 210.00
-1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -277.00
1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 247.00
-1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -342.00
1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 260.00
-1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -356.00
1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -15.00
-1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -85.00
1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 44.00
-1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -79.00
1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00
-1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -83.00
1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 24.00
-1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -114.00
1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 50.00
-1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -118.00
1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 50.00
-1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -94.00
1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 64.00
-1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -144.00
1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 62.00
-1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -207.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -15.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -42.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -54.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -25.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -127.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 68.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -89.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 25.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -101.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 33.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -126.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 96.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -170.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 88.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -237.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -15.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -20.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -21.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -103.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 24.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -143.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 84.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -155.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 91.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -211.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 143.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -158.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 128.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -228.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 146.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -268.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -15.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -79.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 38.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -94.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 15.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -114.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 55.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -110.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 46.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -190.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 122.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -204.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 174.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -228.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 146.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -278.00
0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -18.00
0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -64.00
0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -37.00
0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -75.00
0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -43.00
0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -75.00
0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -44.00
0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -137.00
0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -36.00
0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -153.00
0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -32.00
0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -66.00
0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -37.00
0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -23.00
0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -73.00
0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -41.00
0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -18.00
0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -80.00
0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -12.00
0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -106.00
0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 56.00
0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -175.00
0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 74.00
0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -247.00
0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 136.00
0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -321.00
0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 133.00
0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -236.00
0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 196.00
0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -292.00
0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 115.00
0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -18.00
0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -70.00
0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -31.00
0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -89.00
0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -29.00
0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -51.00
0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -68.00
0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -43.00
0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -130.00
0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -5.00
0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -180.00
0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 20.00
0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -123.00
0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 28.00
0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -124.00
0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -18.00
0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -54.00
0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -104.00
0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -14.00
0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -120.00
0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00
0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -172.00
0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -1.00
0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -158.00
0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -27.00
0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -126.00
0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 23.00
0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -105.00
0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 9.00
0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -132.00
0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -18.00
0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -85.00
0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -16.00
0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -76.00
0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -42.00
0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -23.00
0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -96.00
0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -72.00
0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -101.00
0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 2.00
0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -187.00
0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 57.00
0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -160.00
0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 93.00
0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -189.00
0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 17.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -18.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -42.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -59.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -51.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -67.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -67.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -52.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -47.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -126.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 19.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -204.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 25.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -128.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 67.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -163.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -13.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -18.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -20.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -81.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -100.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -18.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -83.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -36.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -113.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -60.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -91.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -94.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -7.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -96.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 9.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -105.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -44.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -18.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -79.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -22.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -91.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -27.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -54.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -65.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -68.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -105.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -70.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -115.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -53.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -50.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 9.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -105.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -54.00
0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -64.00
0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 34.00
0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -146.00
0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 48.00
0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -228.00
0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 114.00
0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -311.00
0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 189.00
0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -291.00
0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 197.00
0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -252.00
0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 166.00
0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -244.00
0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 131.00
0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -64.00
0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -70.00
0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -23.00
0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -43.00
0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -69.00
0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -59.00
0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -121.00
0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -3.00
0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -194.00
0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 48.00
0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -150.00
0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 84.00
0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -139.00
0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -2.00
0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -76.00
0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -12.00
0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -64.00
0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -46.00
0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -58.00
0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -54.00
0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -128.00
0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -52.00
0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -132.00
0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -65.00
0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -105.00
0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 3.00
0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -62.00
0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 7.00
0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -135.00
0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 57.00
0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -116.00
0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -64.00
0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -85.00
0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -8.00
0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -30.00
0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -82.00
0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -31.00
0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -149.00
0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -32.00
0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -165.00
0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 55.00
0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -157.00
0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 121.00
0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -176.00
0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 63.00
0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -141.00
0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 33.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -64.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -42.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -51.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -5.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -107.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -75.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -105.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -7.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -190.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 72.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -174.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 89.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -144.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 37.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -115.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 3.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -64.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -20.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -73.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -54.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -58.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -91.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -89.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -73.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -124.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -38.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -64.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 57.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -112.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -21.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -57.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -28.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -64.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -79.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -14.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -45.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -67.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -62.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -118.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -28.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -169.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -17.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -85.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 11.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -66.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -21.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -57.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -38.00
0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -70.00
0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 40.00
0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 62.00
0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -122.00
0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 90.00
0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -134.00
0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 95.00
0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -163.00
0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 49.00
0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -205.00
0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 80.00
0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -201.00
0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 80.00
0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -231.00
0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 17.00
0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -101.00
0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 77.00
0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -191.00
0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 159.00
0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -263.00
0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 224.00
0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -316.00
0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 202.00
0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -351.00
0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 226.00
0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -334.00
0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 213.00
0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -335.00
0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -85.00
0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 55.00
0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -73.00
0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 49.00
0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -94.00
0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 62.00
0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -163.00
0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 124.00
0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -156.00
0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 42.00
0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -168.00
0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 43.00
0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -136.00
0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 15.00
0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -186.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -42.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 12.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -48.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 24.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -138.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 106.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -138.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 99.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -139.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 25.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -200.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 75.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -162.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 41.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -216.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -21.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -20.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -10.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -97.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 73.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -154.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 122.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -204.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 165.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -249.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 135.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -232.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 107.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -220.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 99.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -247.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -21.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -79.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 49.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -88.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 64.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -125.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 93.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -159.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 120.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -228.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 114.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -278.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 153.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -220.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 99.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -257.00
0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 -70.00
0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 -60.00
0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 -52.00
0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 -30.00
0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 -114.00
0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 42.00
0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 -156.00
0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 83.00
0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 -199.00
0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 89.00
0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 -210.00
0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 58.00
0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 -221.00
0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 70.00
0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 -167.00
0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 -70.00
0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 -85.00
0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 -22.00
0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 -24.00
0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 -58.00
0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 -17.00
0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 -55.00
0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 -56.00
0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 -17.00
0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 -39.00
0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 -71.00
0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 -27.00
0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 -125.00
0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 -23.00
0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 -128.00
0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 -18.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 -70.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 -42.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 -65.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 1.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 -11.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 -31.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 -42.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 -22.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 -88.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 -59.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 -93.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 -49.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 -102.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 -48.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 -70.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 -20.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 -87.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 -48.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 -34.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 -77.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 5.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 -97.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 24.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 -132.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 22.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 -91.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 -107.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 -44.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 -79.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 -70.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 -79.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 -28.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 -39.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 -43.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 -48.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 -24.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 -52.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 -21.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 -111.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 -137.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 -15.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 -107.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 -44.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 -89.00
0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 -47.00
0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 -85.00
0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 -37.00
0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 -47.00
0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 -127.00
0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 -2.00
0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 -184.00
0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 13.00
0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 -170.00
0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 90.00
0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 -217.00
0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 126.00
0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 -258.00
0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 123.00
0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 -232.00
0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 115.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 -47.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 -42.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 -80.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 -22.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 -152.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 -46.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 -140.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 38.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 -195.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 107.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 -234.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 94.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 -226.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 97.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 -206.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 85.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 -47.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 -20.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 -102.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 -71.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 -103.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 -62.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 -124.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 -28.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 -129.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 -3.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 -124.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 62.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 -194.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 39.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 -148.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 54.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 -47.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 -79.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 -43.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 -62.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 -112.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 -33.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 -153.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 17.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 -174.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 18.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 -145.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 16.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 -148.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 39.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 -148.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 44.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 -85.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 -42.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 -52.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 16.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 -55.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 -74.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 -40.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 -59.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 -35.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 7.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 -51.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 -66.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 -28.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 -57.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 -113.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 -85.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 -20.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 -74.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 -33.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 -6.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 -90.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 -24.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 -125.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 31.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 -103.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 59.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 -98.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 4.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 -144.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 1.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 -144.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 -85.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 -79.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 -15.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 -24.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 -15.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 -53.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 -80.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 -14.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 -82.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 38.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 -144.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 50.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 -144.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 1.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 -154.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 -42.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 -20.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 -49.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 -76.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 -50.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 -115.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 1.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 -81.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 48.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 -128.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 27.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 -115.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 -22.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 -112.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 -29.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 -118.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 -42.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 -79.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 10.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 -67.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 -59.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 -86.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 -28.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 -36.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 3.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 -107.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 6.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 -161.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 24.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 -112.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 -29.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 -128.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 -20.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 -79.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 -39.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 -89.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 -75.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 -37.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 -94.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 -20.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 -107.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 -41.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 -26.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 -51.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 -34.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 -80.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 -60.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 -70.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -250.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -501.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -453.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -297.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 -440.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 -544.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 -395.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 -425.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 -456.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 -466.00
| Matlab | 1 | yinrun/LOPDC-Benchmarks | jobshop/matlab/js-10-8-33.matlab | [
"MIT"
] |
WRITE $SELECT(1=2:"Unequal",1=3:"More unequal",1:"Who cares?")
| M | 3 | LaudateCorpus1/RosettaCodeData | Task/Conditional-structures/MUMPS/conditional-structures-5.mumps | [
"Info-ZIP"
] |
/*
* Copyright (C) 2010 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.google.common.util.concurrent;
import static com.google.common.truth.Truth.assertThat;
import com.google.common.testing.NullPointerTester;
import java.lang.Thread.UncaughtExceptionHandler;
import java.util.Locale;
import java.util.concurrent.Executors;
import java.util.concurrent.ThreadFactory;
import junit.framework.TestCase;
/**
* Tests for ThreadFactoryBuilder.
*
* @author Kurt Alfred Kluever
* @author Martin Buchholz
*/
public class ThreadFactoryBuilderTest extends TestCase {
private final Runnable monitoredRunnable =
new Runnable() {
@Override
public void run() {
completed = true;
}
};
private static final UncaughtExceptionHandler UNCAUGHT_EXCEPTION_HANDLER =
new UncaughtExceptionHandler() {
@Override
public void uncaughtException(Thread t, Throwable e) {
// No-op
}
};
private ThreadFactoryBuilder builder;
private volatile boolean completed = false;
@Override
public void setUp() {
builder = new ThreadFactoryBuilder();
}
public void testThreadFactoryBuilder_defaults() throws InterruptedException {
ThreadFactory threadFactory = builder.build();
Thread thread = threadFactory.newThread(monitoredRunnable);
checkThreadPoolName(thread, 1);
Thread defaultThread = Executors.defaultThreadFactory().newThread(monitoredRunnable);
assertEquals(defaultThread.isDaemon(), thread.isDaemon());
assertEquals(defaultThread.getPriority(), thread.getPriority());
assertSame(defaultThread.getThreadGroup(), thread.getThreadGroup());
assertSame(defaultThread.getUncaughtExceptionHandler(), thread.getUncaughtExceptionHandler());
assertFalse(completed);
thread.start();
thread.join();
assertTrue(completed);
// Creating a new thread from the same ThreadFactory will have the same
// pool ID but a thread ID of 2.
Thread thread2 = threadFactory.newThread(monitoredRunnable);
checkThreadPoolName(thread2, 2);
assertEquals(
thread.getName().substring(0, thread.getName().lastIndexOf('-')),
thread2.getName().substring(0, thread.getName().lastIndexOf('-')));
// Building again should give us a different pool ID.
ThreadFactory threadFactory2 = builder.build();
Thread thread3 = threadFactory2.newThread(monitoredRunnable);
checkThreadPoolName(thread3, 1);
assertThat(thread2.getName().substring(0, thread.getName().lastIndexOf('-')))
.isNotEqualTo(thread3.getName().substring(0, thread.getName().lastIndexOf('-')));
}
private static void checkThreadPoolName(Thread thread, int threadId) {
assertThat(thread.getName()).matches("^pool-\\d+-thread-" + threadId + "$");
}
public void testNameFormatWithPercentS_custom() {
String format = "super-duper-thread-%s";
ThreadFactory factory = builder.setNameFormat(format).build();
for (int i = 0; i < 11; i++) {
assertEquals(rootLocaleFormat(format, i), factory.newThread(monitoredRunnable).getName());
}
}
public void testNameFormatWithPercentD_custom() {
String format = "super-duper-thread-%d";
ThreadFactory factory = builder.setNameFormat(format).build();
for (int i = 0; i < 11; i++) {
assertEquals(rootLocaleFormat(format, i), factory.newThread(monitoredRunnable).getName());
}
}
public void testDaemon_false() {
ThreadFactory factory = builder.setDaemon(false).build();
Thread thread = factory.newThread(monitoredRunnable);
assertFalse(thread.isDaemon());
}
public void testDaemon_true() {
ThreadFactory factory = builder.setDaemon(true).build();
Thread thread = factory.newThread(monitoredRunnable);
assertTrue(thread.isDaemon());
}
public void testPriority_custom() {
for (int i = Thread.MIN_PRIORITY; i <= Thread.MAX_PRIORITY; i++) {
ThreadFactory factory = builder.setPriority(i).build();
Thread thread = factory.newThread(monitoredRunnable);
assertEquals(i, thread.getPriority());
}
}
public void testPriority_tooLow() {
try {
builder.setPriority(Thread.MIN_PRIORITY - 1);
fail();
} catch (IllegalArgumentException expected) {
}
}
public void testPriority_tooHigh() {
try {
builder.setPriority(Thread.MAX_PRIORITY + 1);
fail();
} catch (IllegalArgumentException expected) {
}
}
public void testUncaughtExceptionHandler_custom() {
assertEquals(
UNCAUGHT_EXCEPTION_HANDLER,
builder
.setUncaughtExceptionHandler(UNCAUGHT_EXCEPTION_HANDLER)
.build()
.newThread(monitoredRunnable)
.getUncaughtExceptionHandler());
}
public void testBuildMutateBuild() {
ThreadFactory factory1 = builder.setPriority(1).build();
assertEquals(1, factory1.newThread(monitoredRunnable).getPriority());
ThreadFactory factory2 = builder.setPriority(2).build();
assertEquals(1, factory1.newThread(monitoredRunnable).getPriority());
assertEquals(2, factory2.newThread(monitoredRunnable).getPriority());
}
public void testBuildTwice() {
ThreadFactory unused;
unused = builder.build(); // this is allowed
unused = builder.build(); // this is *also* allowed
}
public void testBuildMutate() {
ThreadFactory factory1 = builder.setPriority(1).build();
assertEquals(1, factory1.newThread(monitoredRunnable).getPriority());
builder.setPriority(2); // change the state of the builder
assertEquals(1, factory1.newThread(monitoredRunnable).getPriority());
}
public void testThreadFactory() throws InterruptedException {
final String THREAD_NAME = "ludicrous speed";
final int THREAD_PRIORITY = 1;
final boolean THREAD_DAEMON = false;
ThreadFactory backingThreadFactory =
new ThreadFactory() {
@Override
public Thread newThread(Runnable r) {
Thread thread = new Thread(r);
thread.setName(THREAD_NAME);
thread.setPriority(THREAD_PRIORITY);
thread.setDaemon(THREAD_DAEMON);
thread.setUncaughtExceptionHandler(UNCAUGHT_EXCEPTION_HANDLER);
return thread;
}
};
Thread thread =
builder.setThreadFactory(backingThreadFactory).build().newThread(monitoredRunnable);
assertEquals(THREAD_NAME, thread.getName());
assertEquals(THREAD_PRIORITY, thread.getPriority());
assertEquals(THREAD_DAEMON, thread.isDaemon());
assertSame(UNCAUGHT_EXCEPTION_HANDLER, thread.getUncaughtExceptionHandler());
assertSame(Thread.State.NEW, thread.getState());
assertFalse(completed);
thread.start();
thread.join();
assertTrue(completed);
}
public void testNulls() {
NullPointerTester npTester = new NullPointerTester();
npTester.testAllPublicConstructors(ThreadFactoryBuilder.class);
npTester.testAllPublicStaticMethods(ThreadFactoryBuilder.class);
npTester.testAllPublicInstanceMethods(builder);
}
private static String rootLocaleFormat(String format, Object... args) {
return String.format(Locale.ROOT, format, args);
}
}
| Java | 5 | ksodhi2/guava | guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java | [
"Apache-2.0"
] |
; This file is generated from a similarly-named Perl script in the BoringSSL
; source tree. Do not edit by hand.
%ifdef BORINGSSL_PREFIX
%include "boringssl_prefix_symbols_nasm.inc"
%endif
%ifidn __OUTPUT_FORMAT__,obj
section code use32 class=code align=64
%elifidn __OUTPUT_FORMAT__,win32
%ifdef __YASM_VERSION_ID__
%if __YASM_VERSION_ID__ < 01010000h
%error yasm version 1.1.0 or later needed.
%endif
; Yasm automatically includes .00 and complains about redefining it.
; https://www.tortall.net/projects/yasm/manual/html/objfmt-win32-safeseh.html
%else
[email protected] equ 1
%endif
section .text code align=64
%else
section .text code
%endif
;extern _OPENSSL_ia32cap_P
global _bn_mul_add_words
align 16
_bn_mul_add_words:
L$_bn_mul_add_words_begin:
lea eax,[_OPENSSL_ia32cap_P]
bt DWORD [eax],26
jnc NEAR L$000maw_non_sse2
mov eax,DWORD [4+esp]
mov edx,DWORD [8+esp]
mov ecx,DWORD [12+esp]
movd mm0,DWORD [16+esp]
pxor mm1,mm1
jmp NEAR L$001maw_sse2_entry
align 16
L$002maw_sse2_unrolled:
movd mm3,DWORD [eax]
paddq mm1,mm3
movd mm2,DWORD [edx]
pmuludq mm2,mm0
movd mm4,DWORD [4+edx]
pmuludq mm4,mm0
movd mm6,DWORD [8+edx]
pmuludq mm6,mm0
movd mm7,DWORD [12+edx]
pmuludq mm7,mm0
paddq mm1,mm2
movd mm3,DWORD [4+eax]
paddq mm3,mm4
movd mm5,DWORD [8+eax]
paddq mm5,mm6
movd mm4,DWORD [12+eax]
paddq mm7,mm4
movd DWORD [eax],mm1
movd mm2,DWORD [16+edx]
pmuludq mm2,mm0
psrlq mm1,32
movd mm4,DWORD [20+edx]
pmuludq mm4,mm0
paddq mm1,mm3
movd mm6,DWORD [24+edx]
pmuludq mm6,mm0
movd DWORD [4+eax],mm1
psrlq mm1,32
movd mm3,DWORD [28+edx]
add edx,32
pmuludq mm3,mm0
paddq mm1,mm5
movd mm5,DWORD [16+eax]
paddq mm2,mm5
movd DWORD [8+eax],mm1
psrlq mm1,32
paddq mm1,mm7
movd mm5,DWORD [20+eax]
paddq mm4,mm5
movd DWORD [12+eax],mm1
psrlq mm1,32
paddq mm1,mm2
movd mm5,DWORD [24+eax]
paddq mm6,mm5
movd DWORD [16+eax],mm1
psrlq mm1,32
paddq mm1,mm4
movd mm5,DWORD [28+eax]
paddq mm3,mm5
movd DWORD [20+eax],mm1
psrlq mm1,32
paddq mm1,mm6
movd DWORD [24+eax],mm1
psrlq mm1,32
paddq mm1,mm3
movd DWORD [28+eax],mm1
lea eax,[32+eax]
psrlq mm1,32
sub ecx,8
jz NEAR L$003maw_sse2_exit
L$001maw_sse2_entry:
test ecx,4294967288
jnz NEAR L$002maw_sse2_unrolled
align 4
L$004maw_sse2_loop:
movd mm2,DWORD [edx]
movd mm3,DWORD [eax]
pmuludq mm2,mm0
lea edx,[4+edx]
paddq mm1,mm3
paddq mm1,mm2
movd DWORD [eax],mm1
sub ecx,1
psrlq mm1,32
lea eax,[4+eax]
jnz NEAR L$004maw_sse2_loop
L$003maw_sse2_exit:
movd eax,mm1
emms
ret
align 16
L$000maw_non_sse2:
push ebp
push ebx
push esi
push edi
;
xor esi,esi
mov edi,DWORD [20+esp]
mov ecx,DWORD [28+esp]
mov ebx,DWORD [24+esp]
and ecx,4294967288
mov ebp,DWORD [32+esp]
push ecx
jz NEAR L$005maw_finish
align 16
L$006maw_loop:
; Round 0
mov eax,DWORD [ebx]
mul ebp
add eax,esi
adc edx,0
add eax,DWORD [edi]
adc edx,0
mov DWORD [edi],eax
mov esi,edx
; Round 4
mov eax,DWORD [4+ebx]
mul ebp
add eax,esi
adc edx,0
add eax,DWORD [4+edi]
adc edx,0
mov DWORD [4+edi],eax
mov esi,edx
; Round 8
mov eax,DWORD [8+ebx]
mul ebp
add eax,esi
adc edx,0
add eax,DWORD [8+edi]
adc edx,0
mov DWORD [8+edi],eax
mov esi,edx
; Round 12
mov eax,DWORD [12+ebx]
mul ebp
add eax,esi
adc edx,0
add eax,DWORD [12+edi]
adc edx,0
mov DWORD [12+edi],eax
mov esi,edx
; Round 16
mov eax,DWORD [16+ebx]
mul ebp
add eax,esi
adc edx,0
add eax,DWORD [16+edi]
adc edx,0
mov DWORD [16+edi],eax
mov esi,edx
; Round 20
mov eax,DWORD [20+ebx]
mul ebp
add eax,esi
adc edx,0
add eax,DWORD [20+edi]
adc edx,0
mov DWORD [20+edi],eax
mov esi,edx
; Round 24
mov eax,DWORD [24+ebx]
mul ebp
add eax,esi
adc edx,0
add eax,DWORD [24+edi]
adc edx,0
mov DWORD [24+edi],eax
mov esi,edx
; Round 28
mov eax,DWORD [28+ebx]
mul ebp
add eax,esi
adc edx,0
add eax,DWORD [28+edi]
adc edx,0
mov DWORD [28+edi],eax
mov esi,edx
;
sub ecx,8
lea ebx,[32+ebx]
lea edi,[32+edi]
jnz NEAR L$006maw_loop
L$005maw_finish:
mov ecx,DWORD [32+esp]
and ecx,7
jnz NEAR L$007maw_finish2
jmp NEAR L$008maw_end
L$007maw_finish2:
; Tail Round 0
mov eax,DWORD [ebx]
mul ebp
add eax,esi
adc edx,0
add eax,DWORD [edi]
adc edx,0
dec ecx
mov DWORD [edi],eax
mov esi,edx
jz NEAR L$008maw_end
; Tail Round 1
mov eax,DWORD [4+ebx]
mul ebp
add eax,esi
adc edx,0
add eax,DWORD [4+edi]
adc edx,0
dec ecx
mov DWORD [4+edi],eax
mov esi,edx
jz NEAR L$008maw_end
; Tail Round 2
mov eax,DWORD [8+ebx]
mul ebp
add eax,esi
adc edx,0
add eax,DWORD [8+edi]
adc edx,0
dec ecx
mov DWORD [8+edi],eax
mov esi,edx
jz NEAR L$008maw_end
; Tail Round 3
mov eax,DWORD [12+ebx]
mul ebp
add eax,esi
adc edx,0
add eax,DWORD [12+edi]
adc edx,0
dec ecx
mov DWORD [12+edi],eax
mov esi,edx
jz NEAR L$008maw_end
; Tail Round 4
mov eax,DWORD [16+ebx]
mul ebp
add eax,esi
adc edx,0
add eax,DWORD [16+edi]
adc edx,0
dec ecx
mov DWORD [16+edi],eax
mov esi,edx
jz NEAR L$008maw_end
; Tail Round 5
mov eax,DWORD [20+ebx]
mul ebp
add eax,esi
adc edx,0
add eax,DWORD [20+edi]
adc edx,0
dec ecx
mov DWORD [20+edi],eax
mov esi,edx
jz NEAR L$008maw_end
; Tail Round 6
mov eax,DWORD [24+ebx]
mul ebp
add eax,esi
adc edx,0
add eax,DWORD [24+edi]
adc edx,0
mov DWORD [24+edi],eax
mov esi,edx
L$008maw_end:
mov eax,esi
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret
global _bn_mul_words
align 16
_bn_mul_words:
L$_bn_mul_words_begin:
lea eax,[_OPENSSL_ia32cap_P]
bt DWORD [eax],26
jnc NEAR L$009mw_non_sse2
mov eax,DWORD [4+esp]
mov edx,DWORD [8+esp]
mov ecx,DWORD [12+esp]
movd mm0,DWORD [16+esp]
pxor mm1,mm1
align 16
L$010mw_sse2_loop:
movd mm2,DWORD [edx]
pmuludq mm2,mm0
lea edx,[4+edx]
paddq mm1,mm2
movd DWORD [eax],mm1
sub ecx,1
psrlq mm1,32
lea eax,[4+eax]
jnz NEAR L$010mw_sse2_loop
movd eax,mm1
emms
ret
align 16
L$009mw_non_sse2:
push ebp
push ebx
push esi
push edi
;
xor esi,esi
mov edi,DWORD [20+esp]
mov ebx,DWORD [24+esp]
mov ebp,DWORD [28+esp]
mov ecx,DWORD [32+esp]
and ebp,4294967288
jz NEAR L$011mw_finish
L$012mw_loop:
; Round 0
mov eax,DWORD [ebx]
mul ecx
add eax,esi
adc edx,0
mov DWORD [edi],eax
mov esi,edx
; Round 4
mov eax,DWORD [4+ebx]
mul ecx
add eax,esi
adc edx,0
mov DWORD [4+edi],eax
mov esi,edx
; Round 8
mov eax,DWORD [8+ebx]
mul ecx
add eax,esi
adc edx,0
mov DWORD [8+edi],eax
mov esi,edx
; Round 12
mov eax,DWORD [12+ebx]
mul ecx
add eax,esi
adc edx,0
mov DWORD [12+edi],eax
mov esi,edx
; Round 16
mov eax,DWORD [16+ebx]
mul ecx
add eax,esi
adc edx,0
mov DWORD [16+edi],eax
mov esi,edx
; Round 20
mov eax,DWORD [20+ebx]
mul ecx
add eax,esi
adc edx,0
mov DWORD [20+edi],eax
mov esi,edx
; Round 24
mov eax,DWORD [24+ebx]
mul ecx
add eax,esi
adc edx,0
mov DWORD [24+edi],eax
mov esi,edx
; Round 28
mov eax,DWORD [28+ebx]
mul ecx
add eax,esi
adc edx,0
mov DWORD [28+edi],eax
mov esi,edx
;
add ebx,32
add edi,32
sub ebp,8
jz NEAR L$011mw_finish
jmp NEAR L$012mw_loop
L$011mw_finish:
mov ebp,DWORD [28+esp]
and ebp,7
jnz NEAR L$013mw_finish2
jmp NEAR L$014mw_end
L$013mw_finish2:
; Tail Round 0
mov eax,DWORD [ebx]
mul ecx
add eax,esi
adc edx,0
mov DWORD [edi],eax
mov esi,edx
dec ebp
jz NEAR L$014mw_end
; Tail Round 1
mov eax,DWORD [4+ebx]
mul ecx
add eax,esi
adc edx,0
mov DWORD [4+edi],eax
mov esi,edx
dec ebp
jz NEAR L$014mw_end
; Tail Round 2
mov eax,DWORD [8+ebx]
mul ecx
add eax,esi
adc edx,0
mov DWORD [8+edi],eax
mov esi,edx
dec ebp
jz NEAR L$014mw_end
; Tail Round 3
mov eax,DWORD [12+ebx]
mul ecx
add eax,esi
adc edx,0
mov DWORD [12+edi],eax
mov esi,edx
dec ebp
jz NEAR L$014mw_end
; Tail Round 4
mov eax,DWORD [16+ebx]
mul ecx
add eax,esi
adc edx,0
mov DWORD [16+edi],eax
mov esi,edx
dec ebp
jz NEAR L$014mw_end
; Tail Round 5
mov eax,DWORD [20+ebx]
mul ecx
add eax,esi
adc edx,0
mov DWORD [20+edi],eax
mov esi,edx
dec ebp
jz NEAR L$014mw_end
; Tail Round 6
mov eax,DWORD [24+ebx]
mul ecx
add eax,esi
adc edx,0
mov DWORD [24+edi],eax
mov esi,edx
L$014mw_end:
mov eax,esi
pop edi
pop esi
pop ebx
pop ebp
ret
global _bn_sqr_words
align 16
_bn_sqr_words:
L$_bn_sqr_words_begin:
lea eax,[_OPENSSL_ia32cap_P]
bt DWORD [eax],26
jnc NEAR L$015sqr_non_sse2
mov eax,DWORD [4+esp]
mov edx,DWORD [8+esp]
mov ecx,DWORD [12+esp]
align 16
L$016sqr_sse2_loop:
movd mm0,DWORD [edx]
pmuludq mm0,mm0
lea edx,[4+edx]
movq [eax],mm0
sub ecx,1
lea eax,[8+eax]
jnz NEAR L$016sqr_sse2_loop
emms
ret
align 16
L$015sqr_non_sse2:
push ebp
push ebx
push esi
push edi
;
mov esi,DWORD [20+esp]
mov edi,DWORD [24+esp]
mov ebx,DWORD [28+esp]
and ebx,4294967288
jz NEAR L$017sw_finish
L$018sw_loop:
; Round 0
mov eax,DWORD [edi]
mul eax
mov DWORD [esi],eax
mov DWORD [4+esi],edx
; Round 4
mov eax,DWORD [4+edi]
mul eax
mov DWORD [8+esi],eax
mov DWORD [12+esi],edx
; Round 8
mov eax,DWORD [8+edi]
mul eax
mov DWORD [16+esi],eax
mov DWORD [20+esi],edx
; Round 12
mov eax,DWORD [12+edi]
mul eax
mov DWORD [24+esi],eax
mov DWORD [28+esi],edx
; Round 16
mov eax,DWORD [16+edi]
mul eax
mov DWORD [32+esi],eax
mov DWORD [36+esi],edx
; Round 20
mov eax,DWORD [20+edi]
mul eax
mov DWORD [40+esi],eax
mov DWORD [44+esi],edx
; Round 24
mov eax,DWORD [24+edi]
mul eax
mov DWORD [48+esi],eax
mov DWORD [52+esi],edx
; Round 28
mov eax,DWORD [28+edi]
mul eax
mov DWORD [56+esi],eax
mov DWORD [60+esi],edx
;
add edi,32
add esi,64
sub ebx,8
jnz NEAR L$018sw_loop
L$017sw_finish:
mov ebx,DWORD [28+esp]
and ebx,7
jz NEAR L$019sw_end
; Tail Round 0
mov eax,DWORD [edi]
mul eax
mov DWORD [esi],eax
dec ebx
mov DWORD [4+esi],edx
jz NEAR L$019sw_end
; Tail Round 1
mov eax,DWORD [4+edi]
mul eax
mov DWORD [8+esi],eax
dec ebx
mov DWORD [12+esi],edx
jz NEAR L$019sw_end
; Tail Round 2
mov eax,DWORD [8+edi]
mul eax
mov DWORD [16+esi],eax
dec ebx
mov DWORD [20+esi],edx
jz NEAR L$019sw_end
; Tail Round 3
mov eax,DWORD [12+edi]
mul eax
mov DWORD [24+esi],eax
dec ebx
mov DWORD [28+esi],edx
jz NEAR L$019sw_end
; Tail Round 4
mov eax,DWORD [16+edi]
mul eax
mov DWORD [32+esi],eax
dec ebx
mov DWORD [36+esi],edx
jz NEAR L$019sw_end
; Tail Round 5
mov eax,DWORD [20+edi]
mul eax
mov DWORD [40+esi],eax
dec ebx
mov DWORD [44+esi],edx
jz NEAR L$019sw_end
; Tail Round 6
mov eax,DWORD [24+edi]
mul eax
mov DWORD [48+esi],eax
mov DWORD [52+esi],edx
L$019sw_end:
pop edi
pop esi
pop ebx
pop ebp
ret
global _bn_div_words
align 16
_bn_div_words:
L$_bn_div_words_begin:
mov edx,DWORD [4+esp]
mov eax,DWORD [8+esp]
mov ecx,DWORD [12+esp]
div ecx
ret
global _bn_add_words
align 16
_bn_add_words:
L$_bn_add_words_begin:
push ebp
push ebx
push esi
push edi
;
mov ebx,DWORD [20+esp]
mov esi,DWORD [24+esp]
mov edi,DWORD [28+esp]
mov ebp,DWORD [32+esp]
xor eax,eax
and ebp,4294967288
jz NEAR L$020aw_finish
L$021aw_loop:
; Round 0
mov ecx,DWORD [esi]
mov edx,DWORD [edi]
add ecx,eax
mov eax,0
adc eax,eax
add ecx,edx
adc eax,0
mov DWORD [ebx],ecx
; Round 1
mov ecx,DWORD [4+esi]
mov edx,DWORD [4+edi]
add ecx,eax
mov eax,0
adc eax,eax
add ecx,edx
adc eax,0
mov DWORD [4+ebx],ecx
; Round 2
mov ecx,DWORD [8+esi]
mov edx,DWORD [8+edi]
add ecx,eax
mov eax,0
adc eax,eax
add ecx,edx
adc eax,0
mov DWORD [8+ebx],ecx
; Round 3
mov ecx,DWORD [12+esi]
mov edx,DWORD [12+edi]
add ecx,eax
mov eax,0
adc eax,eax
add ecx,edx
adc eax,0
mov DWORD [12+ebx],ecx
; Round 4
mov ecx,DWORD [16+esi]
mov edx,DWORD [16+edi]
add ecx,eax
mov eax,0
adc eax,eax
add ecx,edx
adc eax,0
mov DWORD [16+ebx],ecx
; Round 5
mov ecx,DWORD [20+esi]
mov edx,DWORD [20+edi]
add ecx,eax
mov eax,0
adc eax,eax
add ecx,edx
adc eax,0
mov DWORD [20+ebx],ecx
; Round 6
mov ecx,DWORD [24+esi]
mov edx,DWORD [24+edi]
add ecx,eax
mov eax,0
adc eax,eax
add ecx,edx
adc eax,0
mov DWORD [24+ebx],ecx
; Round 7
mov ecx,DWORD [28+esi]
mov edx,DWORD [28+edi]
add ecx,eax
mov eax,0
adc eax,eax
add ecx,edx
adc eax,0
mov DWORD [28+ebx],ecx
;
add esi,32
add edi,32
add ebx,32
sub ebp,8
jnz NEAR L$021aw_loop
L$020aw_finish:
mov ebp,DWORD [32+esp]
and ebp,7
jz NEAR L$022aw_end
; Tail Round 0
mov ecx,DWORD [esi]
mov edx,DWORD [edi]
add ecx,eax
mov eax,0
adc eax,eax
add ecx,edx
adc eax,0
dec ebp
mov DWORD [ebx],ecx
jz NEAR L$022aw_end
; Tail Round 1
mov ecx,DWORD [4+esi]
mov edx,DWORD [4+edi]
add ecx,eax
mov eax,0
adc eax,eax
add ecx,edx
adc eax,0
dec ebp
mov DWORD [4+ebx],ecx
jz NEAR L$022aw_end
; Tail Round 2
mov ecx,DWORD [8+esi]
mov edx,DWORD [8+edi]
add ecx,eax
mov eax,0
adc eax,eax
add ecx,edx
adc eax,0
dec ebp
mov DWORD [8+ebx],ecx
jz NEAR L$022aw_end
; Tail Round 3
mov ecx,DWORD [12+esi]
mov edx,DWORD [12+edi]
add ecx,eax
mov eax,0
adc eax,eax
add ecx,edx
adc eax,0
dec ebp
mov DWORD [12+ebx],ecx
jz NEAR L$022aw_end
; Tail Round 4
mov ecx,DWORD [16+esi]
mov edx,DWORD [16+edi]
add ecx,eax
mov eax,0
adc eax,eax
add ecx,edx
adc eax,0
dec ebp
mov DWORD [16+ebx],ecx
jz NEAR L$022aw_end
; Tail Round 5
mov ecx,DWORD [20+esi]
mov edx,DWORD [20+edi]
add ecx,eax
mov eax,0
adc eax,eax
add ecx,edx
adc eax,0
dec ebp
mov DWORD [20+ebx],ecx
jz NEAR L$022aw_end
; Tail Round 6
mov ecx,DWORD [24+esi]
mov edx,DWORD [24+edi]
add ecx,eax
mov eax,0
adc eax,eax
add ecx,edx
adc eax,0
mov DWORD [24+ebx],ecx
L$022aw_end:
pop edi
pop esi
pop ebx
pop ebp
ret
global _bn_sub_words
align 16
_bn_sub_words:
L$_bn_sub_words_begin:
push ebp
push ebx
push esi
push edi
;
mov ebx,DWORD [20+esp]
mov esi,DWORD [24+esp]
mov edi,DWORD [28+esp]
mov ebp,DWORD [32+esp]
xor eax,eax
and ebp,4294967288
jz NEAR L$023aw_finish
L$024aw_loop:
; Round 0
mov ecx,DWORD [esi]
mov edx,DWORD [edi]
sub ecx,eax
mov eax,0
adc eax,eax
sub ecx,edx
adc eax,0
mov DWORD [ebx],ecx
; Round 1
mov ecx,DWORD [4+esi]
mov edx,DWORD [4+edi]
sub ecx,eax
mov eax,0
adc eax,eax
sub ecx,edx
adc eax,0
mov DWORD [4+ebx],ecx
; Round 2
mov ecx,DWORD [8+esi]
mov edx,DWORD [8+edi]
sub ecx,eax
mov eax,0
adc eax,eax
sub ecx,edx
adc eax,0
mov DWORD [8+ebx],ecx
; Round 3
mov ecx,DWORD [12+esi]
mov edx,DWORD [12+edi]
sub ecx,eax
mov eax,0
adc eax,eax
sub ecx,edx
adc eax,0
mov DWORD [12+ebx],ecx
; Round 4
mov ecx,DWORD [16+esi]
mov edx,DWORD [16+edi]
sub ecx,eax
mov eax,0
adc eax,eax
sub ecx,edx
adc eax,0
mov DWORD [16+ebx],ecx
; Round 5
mov ecx,DWORD [20+esi]
mov edx,DWORD [20+edi]
sub ecx,eax
mov eax,0
adc eax,eax
sub ecx,edx
adc eax,0
mov DWORD [20+ebx],ecx
; Round 6
mov ecx,DWORD [24+esi]
mov edx,DWORD [24+edi]
sub ecx,eax
mov eax,0
adc eax,eax
sub ecx,edx
adc eax,0
mov DWORD [24+ebx],ecx
; Round 7
mov ecx,DWORD [28+esi]
mov edx,DWORD [28+edi]
sub ecx,eax
mov eax,0
adc eax,eax
sub ecx,edx
adc eax,0
mov DWORD [28+ebx],ecx
;
add esi,32
add edi,32
add ebx,32
sub ebp,8
jnz NEAR L$024aw_loop
L$023aw_finish:
mov ebp,DWORD [32+esp]
and ebp,7
jz NEAR L$025aw_end
; Tail Round 0
mov ecx,DWORD [esi]
mov edx,DWORD [edi]
sub ecx,eax
mov eax,0
adc eax,eax
sub ecx,edx
adc eax,0
dec ebp
mov DWORD [ebx],ecx
jz NEAR L$025aw_end
; Tail Round 1
mov ecx,DWORD [4+esi]
mov edx,DWORD [4+edi]
sub ecx,eax
mov eax,0
adc eax,eax
sub ecx,edx
adc eax,0
dec ebp
mov DWORD [4+ebx],ecx
jz NEAR L$025aw_end
; Tail Round 2
mov ecx,DWORD [8+esi]
mov edx,DWORD [8+edi]
sub ecx,eax
mov eax,0
adc eax,eax
sub ecx,edx
adc eax,0
dec ebp
mov DWORD [8+ebx],ecx
jz NEAR L$025aw_end
; Tail Round 3
mov ecx,DWORD [12+esi]
mov edx,DWORD [12+edi]
sub ecx,eax
mov eax,0
adc eax,eax
sub ecx,edx
adc eax,0
dec ebp
mov DWORD [12+ebx],ecx
jz NEAR L$025aw_end
; Tail Round 4
mov ecx,DWORD [16+esi]
mov edx,DWORD [16+edi]
sub ecx,eax
mov eax,0
adc eax,eax
sub ecx,edx
adc eax,0
dec ebp
mov DWORD [16+ebx],ecx
jz NEAR L$025aw_end
; Tail Round 5
mov ecx,DWORD [20+esi]
mov edx,DWORD [20+edi]
sub ecx,eax
mov eax,0
adc eax,eax
sub ecx,edx
adc eax,0
dec ebp
mov DWORD [20+ebx],ecx
jz NEAR L$025aw_end
; Tail Round 6
mov ecx,DWORD [24+esi]
mov edx,DWORD [24+edi]
sub ecx,eax
mov eax,0
adc eax,eax
sub ecx,edx
adc eax,0
mov DWORD [24+ebx],ecx
L$025aw_end:
pop edi
pop esi
pop ebx
pop ebp
ret
segment .bss
common _OPENSSL_ia32cap_P 16
| Assembly | 4 | pdv-ru/ClickHouse | contrib/boringssl-cmake/win-x86/crypto/fipsmodule/bn-586.asm | [
"Apache-2.0"
] |
#!/bin/sh
# Some screwy-looking slab sizes.
export MALLOC_CONF="slab_sizes:1-4096:17|100-200:1|128-128:2"
| Shell | 4 | Mu-L/jemalloc | test/integration/slab_sizes.sh | [
"BSD-2-Clause"
] |
_amen 'amen_loop.wav' loadfile
_split '3 4 8 16 32 64' gen_vals
_rep '3 4 6 7 8' gen_vals
_amen tbldur 16 / dmetro 0 pset
0 p dup 0.9 0.5 branch maygate 1 -1 branch 0.003 port _amen tbldur / 0 phasor
1 0 0 _amen tabread
0 p 0.1 1 sine 0.01 0.9 biscale maygate
137.1420
0 p 0 _split tseq
0 p 0 _rep tseq
1.0
rpt
'dist' './dist.so' fl
# Parameters linked into pd patch
1 p 2 p 'dist' fe
'dist' fc
dup
200 buthp
0 p 0.1 maygate 0.1 0.2 0.1 tenv *
dup 0.7 0.3281 delay 0.5 * swap
dup 20 10 10000 zrev drop 0.8 * + +
| SourcePawn | 2 | aleatoricforest/Sporth | util/faust2sporth/amenbroke.sp | [
"MIT"
] |
query {
someField # Trailing comment
}
| GraphQL | 1 | fuelingtheweb/prettier | tests/graphql_comments/fields.graphql | [
"MIT"
] |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* These classes in this package are intentionally placed to the outer package of spark,
* because IsolatedClientLoader leverages Spark classloader for shared classes including
* spark package, and the test should fail if Spark initializes these listeners with
* IsolatedClientLoader.
*/
package test.custom.listener
import org.apache.spark.sql.execution.QueryExecution
import org.apache.spark.sql.streaming.StreamingQueryListener
import org.apache.spark.sql.util.QueryExecutionListener
class DummyQueryExecutionListener extends QueryExecutionListener {
override def onSuccess(funcName: String, qe: QueryExecution, durationNs: Long): Unit = {}
override def onFailure(funcName: String, qe: QueryExecution, exception: Exception): Unit = {}
}
class DummyStreamingQueryListener extends StreamingQueryListener {
override def onQueryStarted(event: StreamingQueryListener.QueryStartedEvent): Unit = {}
override def onQueryProgress(event: StreamingQueryListener.QueryProgressEvent): Unit = {}
override def onQueryTerminated(event: StreamingQueryListener.QueryTerminatedEvent): Unit = {}
}
| Scala | 4 | kesavanvt/spark | sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/DummyListeners.scala | [
"BSD-2-Clause",
"Apache-2.0",
"CC0-1.0",
"MIT",
"MIT-0",
"ECL-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
/*
* Copyright 2014-2019 Jiří Janoušek <[email protected]>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
namespace Nuvola {
public interface WebWorker: GLib.Object, JSExecutor {
public abstract bool initialized {get; set; default = false;}
public abstract bool ready {get; set; default = false;}
public abstract Variant? call_sync(string name, Variant? params) throws GLib.Error;
public abstract async Variant? call(string name, Variant? params) throws GLib.Error;
public abstract async void call_function(string name, Variant? params, bool propagate_error,
out Variant? modified_params) throws GLib.Error;
}
public class RemoteWebWorker: GLib.Object, JSExecutor, WebWorker {
public bool initialized {get; set; default = false;}
public bool ready {get; set; default = false;}
private IpcBus ipc_bus;
public RemoteWebWorker(IpcBus ipc_bus) {
this.ipc_bus = ipc_bus;
}
public Variant? call_sync(string name, Variant? params) throws GLib.Error {
if (ipc_bus.web_worker == null) {
throw new Drt.RpcError.NOT_READY("Web worker process is not ready yet");
}
return ipc_bus.web_worker.call_sync(name, params);
}
public async Variant? call(string name, Variant? params) throws GLib.Error {
if (ipc_bus.web_worker == null) {
throw new Drt.RpcError.NOT_READY("Web worker process is not ready yet");
}
return yield ipc_bus.web_worker.call(name, params);
}
public void call_function_sync(string name, ref Variant? params, bool propagate_error=false) throws GLib.Error {
var data = new Variant("(smvb)", name, params, propagate_error);
if (ready) {
params = call_sync("/nuvola/webworker/call-function", data);
} else {
debug("Cannot call %s", data.print(false));
}
}
public async void call_function(string name, Variant? params, bool propagate_error, out Variant? modified_params)
throws GLib.Error {
modified_params = null;
var data = new Variant("(smvb)", name, params, propagate_error);
if (ready) {
modified_params = yield call("/nuvola/webworker/call-function", data);
} else {
debug("Cannot call %s", data.print(false));
modified_params = params;
}
}
}
} // namespace Nuvola
| Vala | 4 | xcffl/nuvolaruntime | src/nuvolakit-runner/core/WebWorker.vala | [
"BSD-2-Clause"
] |
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit vim-plugin git-r3
DESCRIPTION="Rust mode for vim"
HOMEPAGE="http://www.rust-lang.org/"
EGIT_REPO_URI="https://github.com/rust-lang/rust.vim"
LICENSE="|| ( MIT Apache-2.0 )"
SLOT="0"
| Gentoo Ebuild | 3 | gentoo/gentoo-rust | app-vim/rust-mode/rust-mode-9999.ebuild | [
"BSD-3-Clause"
] |
# ------------------------------------------------------------------------------
# FILE: n98-magerun.plugin.zsh
# DESCRIPTION: oh-my-zsh n98-magerun plugin file. Adapted from composer plugin
# AUTHOR: Andrew Dwyer (andrewrdwyer at gmail dot com)
# AUTHOR: Jisse Reitsma (jisse at yireo dot com)
# VERSION: 1.1.0
# ------------------------------------------------------------------------------
# n98-magerun basic command completion
_n98_magerun_get_command_list () {
$_comp_command1 --no-ansi | sed "1,/Available commands/d" | awk '/^ +[a-z\-:]+/ { print $1 }'
}
_n98_magerun () {
_arguments '1: :->command' '*:optional arg:_files'
case $state in
command)
compadd $(_n98_magerun_get_command_list)
;;
*)
esac
}
compdef _n98_magerun n98-magerun.phar
compdef _n98_magerun n98-magerun
compdef _n98_magerun n98-magerun2.phar
compdef _n98_magerun n98-magerun2
# Aliases
alias n98='n98-magerun.phar'
alias mage='n98-magerun.phar'
alias magerun='n98-magerun.phar'
alias n98-2='n98-magerun2.phar'
alias mage2='n98-magerun2.phar'
alias magerun2='n98-magerun2.phar'
# Install n98-magerun into the current directory
alias mage-get='wget https://files.magerun.net/n98-magerun.phar'
alias mage2-get='wget https://files.magerun.net/n98-magerun2.phar'
| Shell | 4 | chensanle/ohmyzsh | plugins/n98-magerun/n98-magerun.plugin.zsh | [
"MIT"
] |
/*
* Utility functions.
*
* Originally by Hans Häggström, 2010.
* Dual licenced under Creative Commons Attribution-Share Alike 3.0 and LGPL2 or later
*/
| OpenSCAD | 0 | s4-2/scancode-toolkit | tests/licensedcode/data/datadriven/external/licensecheck/grant/CC-BY-SA_and_more/utilities.scad | [
"Apache-2.0",
"CC-BY-4.0"
] |
#!/bin/csh
cmsenv
#cmsRun mccandidates.py
cmsRun testCandAlgos.cfg
cmsRun dimuonsSkim.cfg
| Tcsh | 3 | ckamtsikis/cmssw | PhysicsTools/Configuration/test/testAll.csh | [
"Apache-2.0"
] |
'reach 0.1';
const f = (x, y, ...args) => {
if ( args.length > 0 && args[0] == false ) {
return 42;
} else {
return x + y + args.length; } };
assert(f(1,2) == 3);
assert(f(1,2,3) == 4);
assert(f(1,2,false,4) == 42);
| RenderScript | 3 | chikeabuah/reach-lang | hs/t/y/rest-tuple.rsh | [
"Apache-2.0"
] |
#!/bin/bash
set -x
set -e
export BRANCH_NAME=updated-theme-readme
git --version
git config --global user.email "[email protected]"
git config --global user.name "Github Readme Stats Bot"
git branch -d $BRANCH_NAME || true
git checkout -b $BRANCH_NAME
git add --all
git commit --message "docs(theme): Auto update theme readme" || exit 0
git remote add origin-$BRANCH_NAME https://${PERSONAL_TOKEN}@github.com/${GH_REPO}.git
git push --force --quiet --set-upstream origin-$BRANCH_NAME $BRANCH_NAME | Shell | 3 | lexsd6/lexsd6-git-readme-stats | scripts/push-theme-readme.sh | [
"MIT"
] |
#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
struct Uniforms {
half2 a;
half4 b;
};
struct Inputs {
};
struct Outputs {
half4 sk_FragColor [[color(0)]];
};
fragment Outputs fragmentMain(Inputs _in [[stage_in]], constant Uniforms& _uniforms [[buffer(0)]], bool _frontFacing [[front_facing]], float4 _fragCoord [[position]]) {
Outputs _out;
(void)_out;
_out.sk_FragColor.x = half(as_type<uint>(half2(float2(_uniforms.a))));
_out.sk_FragColor.x = half(pack_float_to_unorm2x16(float2(_uniforms.a)));
_out.sk_FragColor.x = half(pack_float_to_snorm2x16(float2(_uniforms.a)));
_out.sk_FragColor.x = half(pack_float_to_unorm4x8(float4(_uniforms.b)));
_out.sk_FragColor.x = half(pack_float_to_snorm4x8(float4(_uniforms.b)));
return _out;
}
| Metal | 3 | fourgrad/skia | tests/sksl/intrinsics/Pack.metal | [
"BSD-3-Clause"
] |
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=aarch64-unknown-unknown | FileCheck %s
define i32 @f(i32 %a0) {
; CHECK-LABEL: f:
; CHECK: // %bb.0:
; CHECK-NEXT: mov w0, wzr
; CHECK-NEXT: ret
%1 = lshr i32 %a0, 2147483647
%2 = add i32 %1, 2147483647
%3 = and i32 %2, %1
ret i32 %3
}
| LLVM | 3 | medismailben/llvm-project | llvm/test/CodeGen/AArch64/combine-and-like.ll | [
"Apache-2.0"
] |
# RUN: llc -march=x86-64 -run-pass none -o - %s | FileCheck %s
# This test ensures that the MIR parser parses the fast math instruction flags.
...
---
name: baz
body: |
bb.0.entry:
liveins: $xmm0
; CHECK: %0:fr32 = COPY $xmm0
%0:fr32 = COPY $xmm0
; CHECK: %1:fr32 = nnan VMULSSrr %0, %0
%1:fr32 = nnan VMULSSrr %0, %0
; CHECK: %2:fr32 = ninf VMULSSrr %1, %1
%2:fr32 = ninf VMULSSrr %1, %1
; CHECK: %3:fr32 = nsz VMULSSrr %2, %2
%3:fr32 = nsz VMULSSrr %2, %2
; CHECK: %4:fr32 = arcp VMULSSrr %3, %3
%4:fr32 = arcp VMULSSrr %3, %3
; CHECK: %5:fr32 = contract VMULSSrr %4, %4
%5:fr32 = contract VMULSSrr %4, %4
; CHECK: %6:fr32 = afn VMULSSrr %5, %5
%6:fr32 = afn VMULSSrr %5, %5
; CHECK: %7:fr32 = reassoc VMULSSrr %6, %6
%7:fr32 = reassoc VMULSSrr %6, %6
; CHECK: %8:fr32 = nsz arcp contract afn reassoc VMULSSrr %7, %7
%8:fr32 = nsz arcp contract afn reassoc VMULSSrr %7, %7
; CHECK: %9:fr32 = contract afn reassoc VMULSSrr %8, %8
%9:fr32 = contract afn reassoc VMULSSrr %8, %8
; CHECK: $xmm0 = COPY %9
$xmm0 = COPY %9
; CHECK: RET 0, $xmm0
RET 0, $xmm0
...
| Mirah | 3 | arunkumarbhattar/llvm | test/CodeGen/MIR/X86/fastmath.mir | [
"Apache-2.0"
] |
// Proxy instance profile and roles
resource "aws_iam_role" "proxy" {
name = "${var.cluster_name}-proxy"
assume_role_policy = <<EOF
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {"Service": "ec2.amazonaws.com"},
"Action": "sts:AssumeRole"
}
]
}
EOF
}
// Proxy fetches certificates obtained by auth servers from encrypted S3 bucket.
// Proxies do not setup certificates, to keep privileged operations happening
// only on auth servers.
resource "aws_iam_instance_profile" "proxy" {
name = "${var.cluster_name}-proxy"
role = aws_iam_role.proxy.name
depends_on = [aws_iam_role_policy.proxy_ssm]
}
resource "aws_iam_role_policy" "proxy_s3" {
name = "${var.cluster_name}-proxy-s3"
role = aws_iam_role.proxy.id
policy = <<EOF
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": ["s3:ListBucket"],
"Resource": ["arn:aws:s3:::${aws_s3_bucket.certs.bucket}"]
},
{
"Effect": "Allow",
"Action": [
"s3:GetObject"
],
"Resource": ["arn:aws:s3:::${aws_s3_bucket.certs.bucket}/*"]
}
]
}
EOF
}
// Proxies fetch join tokens from SSM parameter store. Tokens are rotated
// and published by auth servers on an hourly basis.
resource "aws_iam_role_policy" "proxy_ssm" {
name = "${var.cluster_name}-proxy-ssm"
role = aws_iam_role.proxy.id
policy = <<EOF
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ssm:GetParameters",
"ssm:GetParametersByPath",
"ssm:GetParameter"
],
"Resource": "arn:aws:ssm:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:parameter/teleport/${var.cluster_name}/tokens/proxy"
},
{
"Effect": "Allow",
"Action": [
"ssm:GetParameters",
"ssm:GetParametersByPath",
"ssm:GetParameter"
],
"Resource": "arn:aws:ssm:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:parameter/teleport/${var.cluster_name}/ca-pin-hash"
},
{
"Effect":"Allow",
"Action":[
"kms:Decrypt"
],
"Resource":[
"arn:aws:kms:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:key/${data.aws_kms_alias.ssm.target_key_id}"
]
}
]
}
EOF
}
| HCL | 5 | hooksie1/teleport | examples/aws/terraform/proxy_iam.tf | [
"Apache-2.0"
] |
# Copyright 2015 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
.class public Lutil;
.super Ljava/lang/Object;
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static print(Ljava/lang/String;)V
.locals 1
const-string v0, "minimalFOO"
invoke-static {v0, p0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
return-void
.end method
.method public static print(I)V
.locals 1
invoke-static {p0}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lutil;->print(Ljava/lang/String;)V
return-void
.end method
.method public static print(F)V
.locals 1
invoke-static {p0}, Ljava/lang/Float;->toHexString(F)Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lutil;->print(Ljava/lang/String;)V
return-void
.end method
.method public static print(J)V
.locals 1
invoke-static {p0, p1}, Ljava/lang/Long;->toHexString(J)Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lutil;->print(Ljava/lang/String;)V
return-void
.end method
.method public static print(D)V
.locals 1
invoke-static {p0, p1}, Ljava/lang/Double;->toHexString(D)Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lutil;->print(Ljava/lang/String;)V
return-void
.end method
.method public static print(Ljava/lang/Object;)V
.locals 13
instance-of v0, p0, [I
if-eqz v0, :else1
invoke-static {p0}, Ljava/util/Arrays;->toString([I)Ljava/lang/String;
move-result-object v0
goto :end
:else1
# invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
invoke-static {p0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
:end
invoke-static {v0}, Lutil;->print(Ljava/lang/String;)V
return-void
.end method | Smali | 4 | jbg168/enjarify | tests/test2/smali/a/util.smali | [
"Apache-2.0"
] |
macroScript AutoZoom_Extents_Selected
category:"Apondskata"
internalcategory:"Apondskata"
tooltip:"AutoZoom Extents Selected"
buttontext:"AutoZoom Ext Sel"
Icon:#("ViewportNavigationControls",1)
(
---------------------------------------------------------------------------------------------------
-- AutoZoom 1.0
-- by pondskata (www.pondskata.com)
-- August 2002
-- One of three scripts; please distribute together...
-- pondskata-AutoZoom_Extents_Selected.mcr
-- pondskata-AutoZoom_Extents_Selected_All.mcr
-- pondskata-AutoZoom_Functions.ms
-- Autozooms to the selected object, except when in create or suboject mode.
-- Stick this in your Quad menu or a toolbar. Look for "pondskata" in "Customise User Interface"
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-- declarations
---------------------------------------------------------------------------------------------------
--if autoZoom == undefined then
fileIn "AutoZoom_functions.ms"
local state = false
---------------------------------------------------------------------------------------------------
-- Functions
---------------------------------------------------------------------------------------------------
fn checkAutoZoom =
(
autoZoomProps[3] = true -- enable autoZoom
callbacks.removeScripts id:#autoZoom
if (autoZoomProps[1]==true AND autoZoomProps[2]==true) then
(
callbacks.addScript #selectionSetChanged "autoZoomCB()" persistent:false id:#autoZoom
autoZoom()
)
)
---------------------------------------------------------------------------------------------------
-- Handlers
---------------------------------------------------------------------------------------------------
On IsChecked return state
On Execute do
(
autoZoomProps[1] = state
checkAutoZoom()
updateToolbarButtons()
)
)
/*
autoZoomProps=#(false,false,false,0)
callbacks.removeScripts id:#autoZoom
*/
| MAXScript | 3 | 89096000/MaxScript | Workflow/Auto-Zoom Selected/final/AutoZoom_Extents_Selected.mcr | [
"MIT"
] |
-- @shouldFailWith ErrorParsingModule
module Main where
class T a b | a -> b
instance tT :: (T Int (forall a. a)) => T Int String
ddd :: Int
ddd = 0 :: forall t. T Int t => Int
| PureScript | 3 | metaleap/purs-with-dump-coreimp | examples/failing/2874-forall.purs | [
"BSD-3-Clause"
] |
.class {
color: red;
}
.local1,
.local2 :global .global,
.local3 {
color: green;
}
:global .global :local .local4 {
color: yellow;
}
.local5:global(.global).local6 {
color: blue;
}
:global(:global(:local(.nested1)).nested2).nested3 {
color: pink;
}
#ident {
color: purple;
}
@keyframes localkeyframes {
0% {
left: var(--pos1x);
top: var(--pos1y);
color: var(--theme-color1);
}
100% {
left: var(--pos2x);
top: var(--pos2y);
color: var(--theme-color2);
}
}
@keyframes localkeyframes2 {
0% {
left: 0;
}
100% {
left: 100px;
}
}
.animation {
animation-name: localkeyframes;
animation: 3s ease-in 1s 2 reverse both paused localkeyframes, localkeyframes2;
--pos1x: 0px;
--pos1y: 0px;
--pos2x: 10px;
--pos2y: 20px;
}
/* .composed {
composes: local1;
composes: local2;
} */
.vars {
color: var(--local-color);
--local-color: red;
}
.globalVars :global {
color: var(--global-color);
--global-color: red;
}
| CSS | 3 | acidburn0zzz/webpack | test/configCases/css/css-modules/style.module.css | [
"MIT"
] |
start_server {tags {"psync2 external:skip"}} {
start_server {} {
start_server {} {
set master [srv 0 client]
set master_host [srv 0 host]
set master_port [srv 0 port]
set replica [srv -1 client]
set replica_host [srv -1 host]
set replica_port [srv -1 port]
set sub_replica [srv -2 client]
# Build replication chain
$replica replicaof $master_host $master_port
$sub_replica replicaof $replica_host $replica_port
wait_for_condition 50 100 {
[status $replica master_link_status] eq {up} &&
[status $sub_replica master_link_status] eq {up}
} else {
fail "Replication not started."
}
# Avoid PINGs
$master config set repl-ping-replica-period 3600
$master config rewrite
# Generate some data
createComplexDataset $master 1000
test "PSYNC2: Partial resync after Master restart using RDB aux fields" {
wait_for_condition 500 100 {
[status $master master_repl_offset] == [status $replica master_repl_offset] &&
[status $master master_repl_offset] == [status $sub_replica master_repl_offset]
} else {
fail "Replicas and master offsets were unable to match *exactly*."
}
set replid [status $master master_replid]
set offset [status $master master_repl_offset]
$replica config resetstat
catch {
restart_server 0 true false
set master [srv 0 client]
}
wait_for_condition 50 1000 {
[status $replica master_link_status] eq {up} &&
[status $sub_replica master_link_status] eq {up}
} else {
fail "Replicas didn't sync after master restart"
}
# Make sure master restore replication info correctly
assert {[status $master master_replid] != $replid}
assert {[status $master master_repl_offset] == $offset}
assert {[status $master master_replid2] eq $replid}
assert {[status $master second_repl_offset] == [expr $offset+1]}
# Make sure master set replication backlog correctly
assert {[status $master repl_backlog_active] == 1}
assert {[status $master repl_backlog_first_byte_offset] == [expr $offset+1]}
assert {[status $master repl_backlog_histlen] == 0}
# Partial resync after Master restart
assert {[status $master sync_partial_ok] == 1}
assert {[status $replica sync_partial_ok] == 1}
}
test "PSYNC2: Partial resync after Master restart using RDB aux fields with expire" {
$master debug set-active-expire 0
for {set j 0} {$j < 1024} {incr j} {
$master select [expr $j%16]
$master set $j somevalue px 10
}
after 20
wait_for_condition 500 100 {
[status $master master_repl_offset] == [status $replica master_repl_offset] &&
[status $master master_repl_offset] == [status $sub_replica master_repl_offset]
} else {
show_cluster_status
fail "Replicas and master offsets were unable to match *exactly*."
}
set offset [status $master master_repl_offset]
$replica config resetstat
catch {
restart_server 0 true false
set master [srv 0 client]
}
wait_for_condition 50 1000 {
[status $replica master_link_status] eq {up} &&
[status $sub_replica master_link_status] eq {up}
} else {
fail "Replicas didn't sync after master restart"
}
set expired_offset [status $master repl_backlog_histlen]
# Stale keys expired and master_repl_offset grows correctly
assert {[status $master rdb_last_load_keys_expired] == 1024}
assert {[status $master master_repl_offset] == [expr $offset+$expired_offset]}
# Partial resync after Master restart
assert {[status $master sync_partial_ok] == 1}
assert {[status $replica sync_partial_ok] == 1}
set digest [$master debug digest]
assert {$digest eq [$replica debug digest]}
assert {$digest eq [$sub_replica debug digest]}
}
test "PSYNC2: Full resync after Master restart when too many key expired" {
$master config set repl-backlog-size 16384
$master config rewrite
$master debug set-active-expire 0
# Make sure replication backlog is full and will be trimmed.
for {set j 0} {$j < 2048} {incr j} {
$master select [expr $j%16]
$master set $j somevalue px 10
}
after 20
wait_for_condition 500 100 {
[status $master master_repl_offset] == [status $replica master_repl_offset] &&
[status $master master_repl_offset] == [status $sub_replica master_repl_offset]
} else {
fail "Replicas and master offsets were unable to match *exactly*."
}
$replica config resetstat
catch {
restart_server 0 true false
set master [srv 0 client]
}
wait_for_condition 50 1000 {
[status $replica master_link_status] eq {up} &&
[status $sub_replica master_link_status] eq {up}
} else {
fail "Replicas didn't sync after master restart"
}
# Replication backlog is full
assert {[status $master repl_backlog_first_byte_offset] > [status $master second_repl_offset]}
assert {[status $master sync_partial_ok] == 0}
assert {[status $master sync_full] == 1}
assert {[status $master rdb_last_load_keys_expired] == 2048}
assert {[status $replica sync_full] == 1}
set digest [$master debug digest]
assert {$digest eq [$replica debug digest]}
assert {$digest eq [$sub_replica debug digest]}
}
}}}
| Tcl | 4 | vallishgv/redis | tests/integration/psync2-master-restart.tcl | [
"BSD-3-Clause"
] |
;;; app/calendar/autoload.el -*- lexical-binding: t; -*-
(defvar +calendar--wconf nil)
(defun +calendar--init ()
(if-let (win (cl-find-if (lambda (b) (string-match-p "^\\*cfw:" (buffer-name b)))
(doom-visible-windows)
:key #'window-buffer))
(select-window win)
(call-interactively +calendar-open-function)))
;;;###autoload
(defun =calendar ()
"Activate (or switch to) `calendar' in its workspace."
(interactive)
(if (featurep! :ui workspaces)
(progn
(+workspace-switch "Calendar" t)
(doom/switch-to-scratch-buffer)
(+calendar--init)
(+workspace/display))
(setq +calendar--wconf (current-window-configuration))
(delete-other-windows)
(switch-to-buffer (doom-fallback-buffer))
(+calendar--init)))
;;;###autoload
(defun +calendar/quit ()
"TODO"
(interactive)
(if (featurep! :ui workspaces)
(when (+workspace-exists-p "Calendar")
(+workspace/delete "Calendar"))
(when (window-configuration-p +calendar--wconf)
(set-window-configuration +calendar--wconf))
(setq +calendar--wconf nil))
(doom-kill-matching-buffers "^\\*cfw[:-]"))
;;;###autoload
(defun +calendar/open-calendar ()
"TODO"
(interactive)
(cfw:open-calendar-buffer
;; :custom-map cfw:my-cal-map
:contents-sources
(list
(cfw:org-create-source (face-foreground 'default)) ; orgmode source
)))
;;;###autoload
(defun +calendar-cfw:render-button-a (title command &optional state)
"render-button
TITLE
COMMAND
STATE"
(let ((text (concat " " title " "))
(keymap (make-sparse-keymap)))
(cfw:rt text (if state 'cfw:face-toolbar-button-on
'cfw:face-toolbar-button-off))
(define-key keymap [mouse-1] command)
(cfw:tp text 'keymap keymap)
(cfw:tp text 'mouse-face 'highlight)
text))
| Emacs Lisp | 4 | leezu/doom-emacs | modules/app/calendar/autoload.el | [
"MIT"
] |
insert into gb18030 values (35), (58), (4), (24), (14), (27), (39), (5), (0), (61);
| SQL | 1 | suryatmodulus/tidb | br/tests/lightning_character_sets/gb18030/charsets.gb18030.sql | [
"Apache-2.0",
"BSD-3-Clause"
] |
diff -r -u ../Python-2.6.4.orig/Modules/readline.c ./Modules/readline.c
--- ../Python-2.6.4.orig/Modules/readline.c 2013-11-10 16:36:41.000000000 +0900
+++ ./Modules/readline.c 2014-03-29 16:17:48.643305752 +0900
@@ -178,8 +178,7 @@
if (!PyArg_ParseTuple(args, buf, &function))
return NULL;
if (function == Py_None) {
- Py_XDECREF(*hook_var);
- *hook_var = NULL;
+ Py_CLEAR(*hook_var);
}
else if (PyCallable_Check(function)) {
PyObject *tmp = *hook_var;
@@ -655,14 +654,22 @@
}
static int
+#if defined(_RL_FUNCTION_TYPEDEF)
on_startup_hook(void)
+#else
+on_startup_hook()
+#endif
{
return on_hook(startup_hook);
}
#ifdef HAVE_RL_PRE_INPUT_HOOK
static int
+#if defined(_RL_FUNCTION_TYPEDEF)
on_pre_input_hook(void)
+#else
+on_pre_input_hook()
+#endif
{
return on_hook(pre_input_hook);
}
@@ -757,7 +764,7 @@
* before calling the normal completer */
static char **
-flex_complete(char *text, int start, int end)
+flex_complete(const char *text, int start, int end)
{
Py_XDECREF(begidx);
Py_XDECREF(endidx);
@@ -791,12 +798,12 @@
rl_bind_key_in_map ('\t', rl_complete, emacs_meta_keymap);
rl_bind_key_in_map ('\033', rl_complete, emacs_meta_keymap);
/* Set our hook functions */
- rl_startup_hook = (Function *)on_startup_hook;
+ rl_startup_hook = on_startup_hook;
#ifdef HAVE_RL_PRE_INPUT_HOOK
- rl_pre_input_hook = (Function *)on_pre_input_hook;
+ rl_pre_input_hook = on_pre_input_hook;
#endif
/* Set our completion function */
- rl_attempted_completion_function = (CPPFunction *)flex_complete;
+ rl_attempted_completion_function = flex_complete;
/* Set Python word break characters */
rl_completer_word_break_characters =
strdup(" \t\n`~!@#$%^&*()-=+[{]}\\|;:'\",<>/?");
| Diff | 3 | Mauwii/pyenv | plugins/python-build/share/python-build/patches/2.6.4/Python-2.6.4/002_readline63.patch | [
"MIT"
] |
h2. Implementation notes
endprologue.
h3. Special classes
Aloha Editor will also add a CSS class to the html DOM node during it's @initAloha@ stage.
The following classes will be used:
|_. Browser |_. Class |
| Chrome or Safari | @aloha-webkit@ |
| Opera | @aloha-opera@ |
| Firefox | @aloha-mozilla@ |
| Opera | @aloha-webkit@ |
| Internet Explorer 7* | @aloha-ie7@ |
| Internet Explorer 8* | @aloha-ie8@ |
| Internet Explorer 9* | @aloha-ie9@ |
| Internet Explorer 10* | @aloha-ie10@ |
NOTE: * Internet Explorer Version Numbers will be derived by turning the browser version into an integer
h3. Initialization Process
When Aloha Editor is loading several steps are completed until the initialization process is finished.
<javascript>
// init process taken from core.js
Aloha.stage = 'loadPlugins';
Aloha.loadPlugins(function(){
Aloha.stage = 'initAloha';
Aloha.initAloha(function(){
Aloha.stage = 'initPlugins';
Aloha.initPlugins(function(){
Aloha.stage = 'initGui';
Aloha.initGui(function(){
Aloha.stage = 'alohaReady';
Aloha.trigger('aloha-ready');
});
});
});
});
</javascript>
| Textile | 3 | luciany/Aloha-Editor | doc/guides/source/internals.textile | [
"CC-BY-3.0"
] |
package com.baeldung.migration.junit4.categories;
public interface Annotations {
}
| Java | 1 | zeesh49/tutorials | testing-modules/junit-5/src/test/java/com/baeldung/migration/junit4/categories/Annotations.java | [
"MIT"
] |
from asgiref.local import Local
from django.conf import settings as django_settings
from django.utils.functional import cached_property
class ConnectionProxy:
"""Proxy for accessing a connection object's attributes."""
def __init__(self, connections, alias):
self.__dict__['_connections'] = connections
self.__dict__['_alias'] = alias
def __getattr__(self, item):
return getattr(self._connections[self._alias], item)
def __setattr__(self, name, value):
return setattr(self._connections[self._alias], name, value)
def __delattr__(self, name):
return delattr(self._connections[self._alias], name)
def __contains__(self, key):
return key in self._connections[self._alias]
def __eq__(self, other):
return self._connections[self._alias] == other
class ConnectionDoesNotExist(Exception):
pass
class BaseConnectionHandler:
settings_name = None
exception_class = ConnectionDoesNotExist
thread_critical = False
def __init__(self, settings=None):
self._settings = settings
self._connections = Local(self.thread_critical)
@cached_property
def settings(self):
self._settings = self.configure_settings(self._settings)
return self._settings
def configure_settings(self, settings):
if settings is None:
settings = getattr(django_settings, self.settings_name)
return settings
def create_connection(self, alias):
raise NotImplementedError('Subclasses must implement create_connection().')
def __getitem__(self, alias):
try:
return getattr(self._connections, alias)
except AttributeError:
if alias not in self.settings:
raise self.exception_class(f"The connection '{alias}' doesn't exist.")
conn = self.create_connection(alias)
setattr(self._connections, alias, conn)
return conn
def __setitem__(self, key, value):
setattr(self._connections, key, value)
def __delitem__(self, key):
delattr(self._connections, key)
def __iter__(self):
return iter(self.settings)
def all(self):
return [self[alias] for alias in self]
| Python | 5 | ni-ning/django | django/utils/connection.py | [
"CNRI-Python-GPL-Compatible",
"BSD-3-Clause"
] |
moo: 1
foo: 'string'
| LiveScript | 0 | danielo515/LiveScript | test/data/data.ls | [
"MIT"
] |
package com.example.foo
import com.example.thirdparty.thirdPartyFun
import kotlin.test.Test
import kotlin.test.assertEquals
class FooJvmAndJsTest {
@Test
fun testFooJvmAndJs() {
assertEquals(fooJvmAndJs(), foo())
}
@Test
fun testThirdParty() {
thirdPartyFun()
}
} | Kotlin | 3 | Mu-L/kotlin | libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/hierarchical-mpp-published-modules/my-lib-foo/src/jvmAndJsTest/kotlin/FooJvmAndJsTest.kt | [
"ECL-2.0",
"Apache-2.0"
] |
%{
#include "ast_types.hpp"
#include "lex.hpp"
#include <stdio.h>
%}
%option yylineno
%option noyywrap batch
%{
int rustbnf_forcetoken = 0;
//#define YY_DECL yy::parser::symbol_type yylex_inner()
#define YY_DECL int yylex_inner(YYSTYPE* lvalp, ParserContext& context)
YY_DECL;
// Wrap the real yylex with one that can yeild a pushbacked token
int yylex(YYSTYPE* lvalp, ParserContext& context) {
int rv = context.popback();
if(rv > 0) {
printf("--return %i\n", rv);
return rv;
}
else {
return yylex_inner(lvalp, context);
}
}
void handle_block_comment();
::std::string parse_escaped_string(const char* s);
::std::string handle_raw_string(const char* s);
%}
dec_digit [0-9_]
ident_c [a-zA-Z_]
int_suffix ([ui](size|8|16|32|64))?
%%
"//".*\n { if(yytext[2] == '/' && yytext[3] != '/') { lvalp->DOC_COMMENT = new ::std::string(yytext+1, strlen(yytext)-2); return DOC_COMMENT; } }
"//!".*\n { lvalp->SUPER_DOC_COMMENT = new ::std::string(yytext+1, strlen(yytext)-2); return SUPER_DOC_COMMENT; }
"/*" { handle_block_comment(); /* TODO: Handle doc comments */ }
\n /* */
\r /* */
[ \t] /* */
"mod" { return RWD_mod; }
"impl" { return RWD_impl; }
"use" { return RWD_use; }
"type" { return RWD_type; }
"static" { return RWD_static; }
"const" { return RWD_const; }
"struct" { return RWD_struct; }
"trait" { return RWD_trait; }
"enum" { return RWD_enum; }
"fn" { return RWD_fn; }
"as" { return RWD_as; }
"in" { return RWD_in; }
"mut" { return RWD_mut; }
"pub" { return RWD_pub; }
"where" { return RWD_where; }
"extern" { return RWD_extern; }
"crate" { return RWD_crate; }
"let" { return RWD_let; }
"ref" { return RWD_ref; }
"move" { return RWD_move; }
"box" { return RWD_box; }
"self" { return RWD_self; }
"super" { return RWD_super; }
"match" { return RWD_match; }
"if" { return RWD_if; }
"else" { return RWD_else; }
"loop" { return RWD_loop; }
"while" { return RWD_while; }
"for" { return RWD_for; }
"unsafe" { return RWD_unsafe; }
"return" { return RWD_return; }
"break" { return RWD_break; }
"continue" { return RWD_continue; }
"dyn" { return RWD_dyn; }
"default" { return RWC_default; }
"union" { return RWC_union; }
"::" { return DOUBLECOLON; }
"->" { return THINARROW; }
"=>" { return FATARROW; }
"==" { return DOUBLEEQUAL; }
"!=" { return EXCLAMEQUAL; }
">=" { return GTEQUAL; }
"<=" { return LTEQUAL; }
"+=" { return PLUSEQUAL; }
"-=" { return MINUSEQUAL; }
"*=" { return STAREQUAL; }
"/=" { return SLASHEQUAL; }
"%=" { return PERCENTEQUAL; }
"|=" { return PIPEEQUAL; }
"&=" { return AMPEQUAL; }
"^=" { return CARETEQUAL; }
"&&" { return DOUBLEAMP; }
"||" { return DOUBLEPIPE; }
"<<" { return DOUBLELT; }
">>" { return DOUBLEGT; }
"<<=" { return DOUBLELTEQUAL; }
">>=" { return DOUBLEGTEQUAL; }
".." { return DOUBLEDOT; }
"..." { return TRIPLEDOT; }
"..=" { return DOUBLEDOTEQ; }
"#!" { return HASHBANG; }
"?" { return *yytext; }
"#" { return *yytext; }
"@" { return *yytext; }
"$" { return *yytext; }
"&" { return *yytext; }
"|" { return *yytext; }
"^" { return *yytext; }
"!" { return *yytext; }
"." { return *yytext; }
":" { return *yytext; }
";" { return *yytext; }
"=" { return *yytext; }
"{"|"}" { return *yytext; }
"("|")" { return *yytext; }
"["|"]" { return *yytext; }
"<" { return *yytext; }
">" { return *yytext; }
"," { return *yytext; }
"/" { return *yytext; }
"%" { return *yytext; }
"*" { return *yytext; }
"+" { return *yytext; }
"-" { return *yytext; }
{ident_c}({ident_c}|[0-9])* {
if(*yytext == '_' && yytext[1] == 0)
return '_';
else {
lvalp->IDENT_ = new ::std::string( yytext );
return IDENT_;
}
}
[0-9]{dec_digit}*"."{dec_digit}+(e[+\-]?{dec_digit}+)?(f32|f64)? { lvalp->FLOAT = strtod(yytext, NULL); return FLOAT; }
[0-9]{dec_digit}*e[+\-]?{dec_digit}+(f32|f64)? { lvalp->FLOAT = strtod(yytext, NULL); return FLOAT; }
[0-9]{dec_digit}*\.[^a-zA-Z\.] { auto len = strlen(yytext); yyless(len-1); lvalp->FLOAT = strtod(yytext, NULL); return FLOAT; }
[0-9]{dec_digit}*(f32|f64) { lvalp->FLOAT = strtod(yytext, NULL); return FLOAT; }
[0-9]{dec_digit}*{int_suffix} { lvalp->INTEGER = strtoull(yytext, NULL, 0); return INTEGER; }
0x[0-9a-fA-F_]+{int_suffix} { lvalp->INTEGER = strtoull(yytext, NULL, 0); return INTEGER; }
0o[0-7]+{int_suffix} { lvalp->INTEGER = strtoull(yytext, NULL, 0); return INTEGER; }
0b[01_]+{int_suffix} { lvalp->INTEGER = strtoull(yytext, NULL, 0); return INTEGER; }
'{ident_c}{ident_c}* { lvalp->LIFETIME = new ::std::string(yytext, 1); return LIFETIME; }
b?'(.|\\'|\\[^']+|[\x80-\xFF]*)' { lvalp->CHARLIT = yytext[0]; return CHARLIT; }
b?\"(\\.|[^\\"]|\\\n)*\" { lvalp->STRING = new ::std::string( parse_escaped_string(yytext) ); return STRING; }
b?r#*\" { auto rs = handle_raw_string( (*yytext=='b' ? yytext+2 : yytext+1) ); lvalp->STRING = new ::std::string(rs); return STRING; }
. { fprintf(stderr, "\x1b[31m" "ERROR: %s:%d: Invalid character '%c'\x1b[0m\n", context.filename.c_str(), yylineno, *yytext); exit(1); }
%%
uint32_t parse_char_literal(const char *_s) {
const uint8_t* s = (const uint8_t*)_s;
assert(*s++ == '\'');
uint32_t rv = 0;
if( *s == '\\' ) {
s ++;
switch(*s)
{
case 'n': rv = '\0'; break;
case 'r': rv = '\0'; break;
case 'x':
rv = strtoul((const char*)(s+1), NULL, 16);
s += 2;
break;
//case 'u':
// rv = strtoul((const char*)(s+1), NULL, 16);
// s += 2;
// break;
default:
return 0;
}
}
else if( *s < 0x80 ) {
rv = *s;
}
else {
fprintf(stderr, "TODO: UTF-8 char literals");
exit(1);
}
s ++;
if( *s != '\'' ) {
exit(1);
}
assert(*s == '\0');
return rv;
}
::std::string parse_escaped_string(const char* s) {
printf("parse_escaped_string(%s)\n", s);
if( *s == 'b' ) {
s ++;
}
assert(*s++ == '"');
::std::string rv;
for( ; *s != '"'; s ++ )
{
if( *s == '\\' )
{
s ++;
switch(*s)
{
case 'n': rv += '\n'; break;
case 'r': rv += '\r'; break;
case 't': rv += '\t'; break;
case '"': rv += '"'; break;
case '0': rv += '\0'; break;
case '\\': rv += '\\'; break;
case '\'': rv += '\''; break;
case '\n':
while( isblank(*s) )
s ++;
s --;
break;
case 'x':
rv += (char)strtoul((const char*)(s+1), NULL, 16);
s += 2;
break;
case 'u': {
char *out;
assert(s[1] == '{');
rv += (char)strtoul((const char*)(s+2), &out, 16);
s = out;
assert(*s == '}');
break; }
default:
fprintf(stderr, "Unknown escape code '\\%c' in string\n", *s);
exit(1);
}
}
else if( *s == '\0' ) {
// wut?
fprintf(stderr, "Unexpected EOS\n");
exit(1);
}
else {
rv += *s;
}
}
assert(*s++ == '"');
assert(*s == '\0');
return rv;
}
// Thanks stackoverflow: http://www.lysator.liu.se/c/ANSI-C-grammar-l.html
void handle_block_comment() {
char c, c1;
loop:
while ((c = yyinput()) != '*' && c != 0) {
// putchar(c);
}
if ((c1 = yyinput()) != '/' && c != 0) {
unput(c1);
goto loop;
}
//if (c != 0)
// putchar(c1);
}
::std::string handle_raw_string(const char* s) {
int num_hash = 0;
for(; *s == '#'; s++)
num_hash ++;
assert(*s == '"');
printf("handle_raw_string - num_hash=%i\n", num_hash);
::std::string rv;
for(;;)
{
char c;
if( (c = yyinput()) == '"' ) {
if( num_hash == 0 )
break;
int i;
for(i = 0; i < num_hash; i ++) {
if( (c = yyinput()) != '#' )
break;
}
// Found `num_hash` '#' characters in a row, break out
if( i == num_hash ) {
break;
}
unput(c);
// Didn't find enough, append to output
rv += '"';
while(i--) rv += '#';
}
else if( c <= 0 ) {
break;
}
else {
rv += c;
}
}
return rv;
}
| Lex | 5 | bjorn3/mrustc | bnf/rust.lex | [
"MIT"
] |
#!/usr/bin/osascript
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title JustFocus
# @raycast.mode silent
# @raycast.packageName Navigation
# Optional parameters:
# @raycast.icon images/justfocus.png
# @raycast.argument1 { "type": "text", "placeholder": "po,sb,lb,stop" }
# Documentation:
# @raycast.author Jax0rz
# @authorURL https://github.com/Jax0rz
on run argv
set q to item 1 of argv
if ((q as string) is equal to "po") then
tell application "JustFocus"
launch
start pomodoro
end tell
else if ((q as string) is equal to "sb") then
tell application "JustFocus"
launch
short break
end tell
else if ((q as string) is equal to "lb") then
tell application "JustFocus"
launch
long break
end tell
else if ((q as string) is equal to "stop") then
tell application "JustFocus"
stop
end tell
end if
end run
| AppleScript | 4 | tanaynistala/script-commands | commands/navigation/justfocus.applescript | [
"MIT"
] |
scriptname _Frost_FallbackReceiverWetnessSystem extends FallbackEventReceiverForm
function RaiseEvent(String asEventName, Bool[] pushedBools, Int[] pushedInts, Float[] pushedFloats, Form[] pushedForms, String[] pushedStrings)
if asEventName == "Frostfall_OnPlayerStartSwimming"
((self as Form) as _Frost_WetnessSystem).OnPlayerStartSwimming()
elseif asEventName == "Frostfall_OnPlayerStopSwimming"
((self as Form) as _Frost_WetnessSystem).OnPlayerStopSwimming()
endif
endFunction | Papyrus | 3 | chesko256/Campfire | Scripts/Source/_Frost_FallbackReceiverWetnessSystem.psc | [
"MIT"
] |
Module: dfmc-testing
Author: Steve Rowley
Synopsis: Tests for the typist's inference.
Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc.
All rights reserved.
License: See License.txt in this distribution for details.
Warranty: Distributed WITHOUT WARRANTY OF ANY KIND
///
/// Test substrate for the static type inferencer.
///
/// The entry points are run-typist-tests, run-typist-test, and
/// show-lambda-type-estimates.
///
/// This duplicates some of the general test substrate, since the typist has
/// its own testing needs. However, each typist test gets put in the general
/// test suite as well, so running all the tests will get these, too.
///
// *** Consider putting daemons on print() methods, so the printing of
// DFM code comes annotated, computation-by-computation, with types.
define function show-lambda-type-estimates
(lambda :: <&method>,
#key stream :: <stream> = *standard-output*,
lib :: false-or(<library-description>),
cache :: <type-cache> = if (lib)
library-type-cache(lib)
else
make(<type-cache>)
end,
show-code? :: <boolean> = #t,
show-temps? :: <boolean> = #t,
show-targets? :: <boolean> = #t,
show-comp-reasons? :: <boolean> = #f,
show-temp-reasons? :: <boolean> = #f,
show-reasons-recurse? :: <boolean> = #f)
=> (cache :: <type-cache>)
// yatter about <computation>s and associated <temporary>s to stream, e.g.,
// show-lambda-type-estimates(try(#{ if (x) x + 1 else 2.0 * x end }));
with-testing-context (lib)
when (show-code?)
dynamic-bind (*print-method-bodies?* = #t)
format(stream, "\nThe code is:\n%=", lambda)
end
end;
type-estimate-in-cache(lambda, cache); // Fill the cache
format(stream, "\nThe types are:");
for-computations (comp in lambda)
format(stream, "\n***%= %= :: %=",
object-class(comp), comp, type-estimate-in-cache(comp, cache));
when (show-comp-reasons?)
type-estimate-explain(comp, cache,
stream: stream, recurse?: show-reasons-recurse?,
indent: 1)
end;
when (show-temps? & ~instance?(comp, <bind>))
// *** This should be using temporary-accessors, or whatever.
// See the graph-class-definer macro in flow-graph.
let temp = temporary(comp);
when (temp)
format(stream, "\n %= %= :: %=",
object-class(temp), temp, type-estimate-in-cache(temp, cache));
when (show-temp-reasons?)
type-estimate-explain(temp, cache,
stream: stream, recurse?: show-reasons-recurse?,
indent: 1)
end
end
end;
when (show-targets?)
select (comp by instance?) // Look at targets of assignments.
<assignment> => format(stream, "\n Assignment target: %= %= :: %=",
object-class(assigned-binding(comp)), assigned-binding(comp),
type-estimate-in-cache(assigned-binding(comp), cache));
otherwise => ;
end
end
end
end;
cache
end;
// This isn't used by default, but is useful to have around when debugging.
ignore(show-lambda-type-estimates);
///
/// Substrate for defining type inference tests.
///
define variable *static-type-check?-verbose?* :: <boolean> = #f;
// *** Well, really you should be inspecting the <table>.
define function static-type-check?(lambda :: <&method>,
expected-type :: <type-estimate-values>)
=> (stc :: <boolean>)
// Useful thing to put in the body of a test: infer the return values
// of lambda, and ask if they match expected-type.
let cache = make(<type-cache>);
local method final-computation-type(c :: <&method>)
// What is the type of the final computation? (I.e., the return.)
type-estimate-in-cache(c, cache); // fill cache w/types
type-estimate-in-cache(final-computation(body(c)), cache) // just the last guy
end;
let found-type = final-computation-type(lambda);
if (type-estimate-subtype?(found-type, expected-type))
#t
else
when (*static-type-check?-verbose?*)
// Sometimes you want a diagnostic for the failure cases.
dynamic-bind (*print-method-bodies?* = #t)
format-out("\nFor %=:\nExpected type: %=\n Inferred type: %=\n\n",
lambda, expected-type, found-type)
end;
show-lambda-type-estimates(lambda, cache: cache);
end;
#f
end
end;
define function compile-to-method (string :: <string>) => (m :: <&method>)
// Compile a template & cut through the underbrush to the init form
dynamic-bind (*progress-stream* = #f, // with-compiler-muzzled
*demand-load-library-only?* = #f)
let lib = compile-template(string,
compiler: compile-library-until-optimized);
let cr* = library-description-compilation-records(lib);
// One for lib+mod defn & one for the source template.
assert(size(cr*) == 2, "Expected exactly 2 <compilation-record>s: %=", cr*);
let top-level-forms = compilation-record-top-level-forms(cr*[1]);
assert(~empty?(top-level-forms),
"Expected at least one top level form: %= from %=",
top-level-forms, string);
let method-definition :: <method-definition> = last(top-level-forms);
form-model(method-definition)
end
end;
define macro typist-inference-test-definer
// Define manual compiler test & remember the name in typist inference registry
{ define typist-inference-test ?test-name:name
?subtests
end }
=> {
define test ?test-name ()
with-testing-context (#f)
?subtests
end
end }
subtests:
// ;-separated test specs expand into a conjunction of test results
{ } => { }
{ ?subtest; ... } => { ?subtest ... }
subtest:
// Wrap with try ... end and hand off to static-type-check? to match
// against the values specification.
{ } => { }
{ ?:expression TYPE: ?val:* }
=> { assert-true(static-type-check?(compile-to-method(?expression),
make(<type-estimate-values>, ?val))); }
end;
define function class-te(cl :: <symbol>) => (cte :: <type-estimate-class>)
// Make a class type estimate -- useful thing to put on RHS of a test.
make(<type-estimate-class>, class: dylan-value(cl))
end;
define function false-te() => (fte :: <type-estimate-limited-instance>)
make(<type-estimate-limited-instance>, singleton: &false)
end;
define function raw-te(rt :: <symbol>) => (rte :: <type-estimate-raw>)
make(<type-estimate-raw>, raw: dylan-value(rt))
end;
define function bottom-te () => (bte :: <type-estimate-bottom>)
make(<type-estimate-bottom>)
end;
///
/// Here follow the actual tests
///
define typist-inference-test typist-constants
// Do you recognize a constant when you see one?
"define method typist-test () 0 end;"
TYPE: fixed: vector(class-te(#"<integer>")), rest: #f;
"define method typist-test () 3.14d0 end;"
TYPE: fixed: vector(class-te(#"<double-float>")), rest: #f;
"define method typist-test () #f end;"
TYPE: fixed: vector(false-te()), rest: #f;
"define method typist-test () \"foo\" end;"
TYPE: fixed: vector(class-te(#"<byte-string>")), rest: #f;
"define method typist-test () 'c' end;"
TYPE: fixed: vector(class-te(#"<character>")), rest: #f;
"define method typist-test () foo: end;"
TYPE: fixed: vector(class-te(#"<symbol>")), rest: #f;
"define method typist-test () #[] end;"
TYPE: fixed: vector(class-te(#"<simple-object-vector>")), rest: #f;
"define method typist-test () #[1] end;"
TYPE: fixed: vector(class-te(#"<simple-object-vector>")), rest: #f;
"define method typist-test () #() end;"
TYPE: fixed: vector(class-te(#"<empty-list>")), rest: #f;
"define method typist-test () #(1) end;"
TYPE: fixed: vector(class-te(#"<pair>")), rest: #f
end;
// *** ??: Warning: Reference to undefined binding values // undefined.
define typist-inference-test typist-values
// Can we figure out multiple values properly?
"define method typist-test () values() end;"
TYPE: fixed: #[],
rest: #f;
"define method typist-test () values(1) end;"
TYPE: fixed: vector(class-te(#"<integer>")),
rest: #f;
"define method typist-test () values(1, 'c') end;"
TYPE: fixed: vector(class-te(#"<integer>"),
class-te(#"<character>")),
rest: #f;
"define method typist-test () values(1, 'c', \"foo\") end;"
TYPE: fixed: vector(class-te(#"<integer>"),
class-te(#"<character>"),
class-te(#"<byte-string>")),
rest: #f
// *** Example with rest-values?
end;
define typist-inference-test typist-merge
// Is the merge node the union of its sources?
"define variable x = 1; define method typist-test () if (x) 1 else 2 end end;"
TYPE: fixed: vector(class-te(#"<integer>")),
rest: #f;
"define variable x = 1; define method typist-test () if (x) 1 else \"foo\" end end;"
TYPE: fixed: vector(make(<type-estimate-union>,
unionees: list(class-te(#"<integer>"),
class-te(#"<byte-string>")))),
rest: #f;
"define variable x = 1; define method typist-test () if (x) 1 else \"foo\" end end;"
TYPE: fixed: vector(make(<type-estimate-union>,
unionees: list(class-te(#"<byte-string>"),
class-te(#"<integer>")))),
rest: #f
end;
define typist-inference-test typist-check
// Do you know about <check-type> instructions?
"define variable f = #f; define method typist-test () let x :: <integer> = f(); x end end;"
TYPE: fixed: vector(class-te(#"<integer>")), rest: #f
end;
define typist-inference-test typist-assign
// Does the target of an assignment get a type?
"define variable global1 = #f; define method typist-test () global1 := 0; global1 end;"
// *** Should pick up #f initial value, too?
TYPE: fixed: vector(class-te(#"<integer>")),
rest: #f;
" define variable global2 = #f; define method typist-type () global2 := 0; global2 := \"foo\"; global2 end;"
// *** Should pick up #f initial value, too?
TYPE: fixed: vector(make(<type-estimate-union>,
unionees: list(class-te(#"<byte-string>"),
class-te(#"<integer>")))),
rest: #f
// *** More assignments to lexicals and so on.
end;
define typist-inference-test typist-lambda
// Do you know a function when you see one? What can you know about it?
"define method typist-type () method (x :: <integer>) x end end;"
TYPE: fixed: vector(make(<type-estimate-limited-function>,
class: dylan-value(#"<method>"),
requireds: vector(class-te(#"<integer>")),
rest?: #f,
vals: make(<type-variable>,
contents: make(<type-estimate-values>,
fixed: vector(class-te(#"<integer>")),
rest: #f)))),
rest: #f
end;
define typist-inference-test typist-unwind-protect
// Can we type an unwind-protect? Even with degenerate body & cleanups.
"define variable foo = #f; define method typist-test () block () 1 cleanup foo() end end;"
TYPE: fixed: vector(class-te(#"<integer>")), rest: #f;
"define variable foo = #f; define method typist-test () block () 1 cleanup end end;"
TYPE: fixed: vector(class-te(#"<integer>")), rest: #f;
"define variable foo = #f; define method typist-test () block () cleanup foo() end end;"
TYPE: fixed: vector(false-te()), rest: #f
end;
define typist-inference-test typist-bind-exit
// Can you figure out bind-exit? Easy case is where exit is used only locally.
// Non-local case is, well, non-local.
"define method typist-test () block (xit) xit(2); 'c' end end;"
TYPE: fixed: vector(make(<type-estimate-union>,
unionees: list(class-te(#"<integer>"),
class-te(#"<character>")))),
rest: #f;
"define method typist-test () block (xit) xit(1); xit('c'); \"foo\" end end;"
TYPE: fixed: vector(make(<type-estimate-union>,
unionees: list(class-te(#"<integer>"),
class-te(#"<character>"),
class-te(#"<byte-string>")))),
rest: #f
end;
define typist-inference-test typist-primops
// Can you figure out what the primops in <primitive-call>s do?
"define method typist-test () primitive-word-size(); end;"
TYPE: fixed: vector(raw-te(#"<raw-integer>")),
rest: #f;
"define method typist-test () primitive-allocate(integer-as-raw(1)); end;"
TYPE: fixed: vector(raw-te(#"<raw-pointer>")),
rest: #f;
"define method typist-test () primitive-machine-word-add(integer-as-raw(1), integer-as-raw(2)); end;"
TYPE: fixed: vector(raw-te(#"<raw-machine-word>")),
rest: #f;
"define method typist-test () primitive-machine-word-equals?(integer-as-raw(1), integer-as-raw(1)); end;"
TYPE: fixed: vector(raw-te(#"<raw-boolean>")),
rest: #f;
"define method typist-test () primitive-object-class(integer-as-raw(1)); end;"
TYPE: fixed: vector(class-te(#"<class>")),
rest: #f;
end;
define typist-inference-test typist-raw-constants
// Do you recognize a raw constant when you see one?
"define method typist-test () integer-as-raw(0) end;"
TYPE: fixed: vector(raw-te(#"<raw-integer>")),
rest: #f;
"define method typist-test () primitive-byte-character-as-raw('c') end;"
TYPE: fixed: vector(raw-te(#"<raw-byte-character>")),
rest: #f;
"define method typist-test () primitive-not(foo:) end;"
TYPE: fixed: vector(raw-te(#"<raw-boolean>")),
rest: #f;
"define method typist-test () primitive-single-float-as-raw(1.0) end;"
TYPE: fixed: vector(raw-te(#"<raw-single-float>")),
rest: #f
end;
define typist-inference-test typist-bottom
"define method typist-test () error(\"Error\") end;"
TYPE: fixed: vector(bottom-te()),
rest: #f;
end;
define suite dfmc-typist-inference-suite ()
test typist-constants;
test typist-values;
test typist-merge;
test typist-check;
test typist-assign;
// test typist-lambda;
test typist-unwind-protect;
test typist-bind-exit;
test typist-primops;
test typist-raw-constants;
test typist-bottom;
end;
| Dylan | 5 | kryptine/opendylan | sources/dfmc/testing/typist-inference-tests.dylan | [
"BSD-2-Clause"
] |
@charset "UTF-8";
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote {
margin: 0;
padding: 0;
font-weight: normal;
-webkit-font-smoothing: antialiased;
}
/* 设置滚动条的样式 */
::-webkit-scrollbar {
width: 6px;
}
/* 外层轨道 */
::-webkit-scrollbar-track {
-webkit-box-shadow: inset006pxrgba(255, 0, 0, 0.3);
background: rgba(0, 0, 0, 0.1);
}
/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
border-radius: 4px;
background: rgba(0, 0, 0, 0.2);
-webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.5);
}
::-webkit-scrollbar-thumb:window-inactive {
background: rgba(0, 0, 0, 0.2);
}
.yapi-run-auto-test {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimSun, sans-serif;
font-size: 13px;
line-height: 25px;
color: #393838;
position: relative;
}
.yapi-run-auto-test table {
margin: 10px 0 15px 0;
border-collapse: collapse;
}
.yapi-run-auto-test td,
th {
border: 1px solid #ddd;
padding: 3px 10px;
}
.yapi-run-auto-test th {
padding: 5px 10px;
}
.yapi-run-auto-test a, a:link, a:visited {
color: #34495e;
text-decoration: none;
}
.yapi-run-auto-test a:hover, a:focus {
color: #59d69d;
text-decoration: none;
}
.yapi-run-auto-test a img {
border: none;
}
.yapi-run-auto-test p {
padding-left: 10px;
margin-bottom: 9px;
}
.yapi-run-auto-test h1,
h2,
h3,
h4,
h5,
h6 {
color: #404040;
line-height: 36px;
}
.yapi-run-auto-test h1 {
color: #2c3e50;
font-weight: 600;
font-size: 32px;
padding-bottom: 16px;
line-height: 50px;
}
.yapi-run-auto-test h2 {
font-size: 28px;
padding-top: 10px;
padding-bottom: 10px;
}
.yapi-run-auto-test h3 {
clear: both;
font-weight: 400;
margin-top: 20px;
margin-bottom: 20px;
border-left: 3px solid #59d69d;
padding-left: 8px;
font-size: 18px;
}
.yapi-run-auto-test h4 {
font-size: 16px;
}
.yapi-run-auto-test h5 {
font-size: 14px;
}
.yapi-run-auto-test h6 {
font-size: 13px;
}
.yapi-run-auto-test hr {
margin: 0 0 19px;
border: 0;
border-bottom: 1px solid #ccc;
}
.yapi-run-auto-test blockquote {
padding: 13px 13px 21px 15px;
margin-bottom: 18px;
font-family: georgia, serif;
font-style: italic;
}
.yapi-run-auto-test blockquote:before {
font-size: 40px;
margin-left: -10px;
font-family: georgia, serif;
color: #eee;
}
.yapi-run-auto-test blockquote p {
font-size: 14px;
font-weight: 300;
line-height: 18px;
margin-bottom: 0;
font-style: italic;
}
.yapi-run-auto-test code,
pre {
font-family: Monaco, Andale Mono, Courier New, monospace;
}
.yapi-run-auto-test code {
background-color: #fee9cc;
color: rgba(0, 0, 0, 0.75);
padding: 1px 3px;
font-size: 12px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.yapi-run-auto-test pre {
display: block;
padding: 14px;
margin: 0 0 18px;
line-height: 16px;
font-size: 11px;
border: 1px solid #d9d9d9;
white-space: pre-wrap;
background: #f6f6f6;
overflow-x: auto;
}
.yapi-run-auto-test pre code {
background-color: #f6f6f6;
color: #737373;
font-size: 11px;
padding: 0;
}
.yapi-run-auto-test sup {
font-size: 0.83em;
vertical-align: super;
line-height: 0;
}
* {
-webkit-print-color-adjust: exact;
}
@media print {
body,
code,
pre code,
h1,
h2,
h3,
h4,
h5,
h6 {
color: black;
}
table,
pre {
page-break-inside: avoid;
}
}
html,
body {
height: 100%;
}
.yapi-run-auto-test .menu-left {
position: fixed;
top: 61px;
left: 0;
bottom: 0;
overflow-x: hidden;
overflow-y: auto;
width: 260px;
}
.yapi-run-auto-test .menu-left > .list-content {
overflow: auto;
margin: 0px;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 8px 0 20px;
}
.yapi-run-auto-test .list {
padding: 2px 0px;
text-decoration: none;
font-size: 14px;
cursor: pointer;
padding-right: 8px;
}
.yapi-run-auto-test .content-right {
max-width: 700px;
margin-left: 290px;
padding-left: 70px;
flex-grow: 1;
}
.yapi-run-auto-test .content-right h2:target {
padding-top: 80px;
}
.yapi-run-auto-test > p {
margin-left: 30px;
}
.yapi-run-auto-test > table {
margin-left: 30px;
}
.yapi-run-auto-test > pre {
margin-left: 30px;
}
.yapi-run-auto-test .curProject {
position: fixed;
top: 20px;
font-size: 25px;
color: black;
margin-left: -240px;
width: 240px;
padding: 5px;
line-height: 25px;
box-sizing: border-box;
}
.yapi-run-auto-test .g-doc {
margin-top: 56px;
padding-top: 24px;
display: flex;
}
.yapi-run-auto-test .curproject-name {
font-size: 42px;
}
.yapi-run-auto-test .m-header {
background: #32363a;
height: 56px;
line-height: 56px;
padding-left: 60px;
display: flex;
align-items: center;
position: fixed;
z-index: 9;
top: 0;
left: 0;
right: 0;
}
.yapi-run-auto-test .m-header .title {
font-size: 22px;
color: #fff;
font-weight: normal;
-webkit-font-smoothing: antialiased;
margin: 0;
margin-left: 16px;
padding: 0;
line-height: 56px;
border: none;
}
.yapi-run-auto-test .m-header .nav {
color: #fff;
font-size: 16px;
position: absolute;
right: 32px;
top: 0;
}
.yapi-run-auto-test .m-header .nav a {
color: #fff;
margin-left: 16px;
padding: 8px;
transition: color .2s;
}
.yapi-run-auto-test .m-header .nav a:hover {
color: #59d69d;
}
.yapi-run-auto-test .m-footer {
border-top: 1px solid #ddd;
padding-top: 16px;
padding-bottom: 16px;
}
.yapi-run-auto-test .row{
position: relative;
height: auto;
zoom: 1;
display: block;
box-sizing: border-box;
}
.yapi-run-auto-test .case-report {
margin: 10px;
display: flex;
}
.yapi-run-auto-test .case-report .case-report-title {
font-size: 14px;
text-align: right;
padding-right: 20px;
}
.yapi-run-auto-test .col-3 {
display: block;
box-sizing: border-box;
width: 12.5%;
}
.yapi-run-auto-test .col-21 {
display: block;
box-sizing: border-box;
width: 87.5%;
}
.yapi-run-auto-test .icon {
display: inline-block;
font-style: normal;
vertical-align: baseline;
text-align: center;
text-transform: none;
line-height: 1;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
font-size: 14px;
font-weight: 700;
}
.yapi-run-auto-test .icon-check-circle:before {
content: "\2713";
}
.yapi-run-auto-test .icon-close-circle:before {
content: "\2715";
}
.yapi-run-auto-test .icon-warning-circle:before {
content: "!";
}
.yapi-run-auto-test .icon:before {
display: block;
font-family: "anticon" !important;
}
.yapi-run-auto-test .summary {
border-bottom: 1px solid #ddd;
padding-bottom: 8px;
font-size: 18px;
}
.yapi-run-auto-test .success{
color: #208054;
font-weight: 700;
}
.yapi-run-auto-test .status {
flex-shrink: 0;
margin: 0 5px;
width: 20px;
height: 20px;
font-size: 12px;
border-radius: 2px;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
}
.yapi-run-auto-test .status-ok {
background-color: #17c5a6;
}
.yapi-run-auto-test .status-ko {
background-color: #fd3c3c;
}
.yapi-run-auto-test .status-warning {
background-color: #ffb74c;
}
/*# sourceMappingURL=defaultTheme.css.map */
| CSS | 3 | jiyeking/yapi | server/utils/reportHtml/defaultTheme.css | [
"Apache-2.0"
] |
LITHO,CANAL,R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12,R13,R14,R15,R16,R17,R18,R19,R20,R21,R22,R23,R24,R25,R26,R27,R28,R29,R30,R31,R32,R33,R34,R35,R36,R37,R38,R39,R40,R41,R42,R43,R44,R45,R46,R47,R48,R49,R50,R51,R52,R53,R54,R55,R56,R57,R58,R59,R60,R61,R62,R63,R64,R65,R66,R67,R68,R69,R70,R71,R72,R73,R74,R75,R76,R77,R78,R79,R80,R81,R82,R83,R84,R85,R86,R87,R88,R89,R90,R91,R92,R93,R94,R95,R96,R97,R98,R99,R100
000536,C,C,B,,D,,E,C,,A,D,A,C,,A,,A,A,,,C,C,D,A,B,C,A,B,E,C,A,E,C,E,E,B,E,D,C,B,D,B,D,B,A,A,B,D,A,C,B,D,D,D,B,C,,A,,,,,,,D,A,E,B,C,D,A,A,C,A,E,A,D,,B,C,C,E,C,,D,C,B,,D,,D,,,,,A,,,A,C,
000535,C,A,C,,D,C,E,B,D,C,D,A,C,B,A,B,B,E,C,C,C,E,D,A,E,,A,C,E,E,A,E,C,E,B,E,D,A,A,B,C,C,D,A,D,A,C,D,D,D,C,C,D,B,C,C,B,D,D,C,,C,D,A,C,A,A,E,D,D,A,A,D,E,E,E,B,E,A,B,B,A,C,E,C,B,D,D,B,C,D,E,C,B,B,A,C,A,B,A,B
000545,C,B,C,C,D,E,B,A,E,A,A,E,C,A,D,D,C,A,D,C,C,D,C,A,B,C,D,B,E,E,B,A,D,E,D,B,D,B,C,B,D,C,C,B,C,A,E,D,D,E,D,E,D,B,A,D,A,D,E,A,B,D,C,B,D,E,E,B,B,A,A,D,A,E,D,D,A,E,B,E,E,A,C,E,E,E,C,E,D,A,D,C,D,A,C,D,D,A,B,E,E
000544,C,B,C,C,D,E,,E,,,A,E,,A,D,D,A,A,,C,C,C,,,B,C,D,B,,,,A,,E,D,,,,,,,C,,,,A,,D,D,D,C,,D,B,E,,A,,,A,B,,C,B,D,A,,B,C,D,,,A,,C,A,A,E,B,E,E,A,C,E,E,,D,E,E,E,E,,C,,,D,E,C,B,E,B
000543,C,D,C,E,E,E,C,B,D,B,D,A,C,B,C,D,A,C,B,B,C,D,D,A,A,A,D,A,E,E,A,E,A,E,E,C,C,A,C,D,A,E,D,B,B,B,B,D,D,C,E,B,E,E,A,B,E,B,D,B,A,D,C,E,E,A,E,E,C,B,A,C,B,B,E,A,C,E,A,A,B,A,C,B,A,A,C,D,A,B,B,C,C,B,E,C,D,A,B,E,E
000546,C,,B,,C,,,A,B,A,B,A,C,B,B,C,A,,,D,C,C,,,,,D,B,B,C,D,C,C,E,E,B,,A,C,B,C,B,D,C,B,A,D,D,E,C,B,D,C,,B,C,D,C,D,C,D,,,,A,A,D,E,B,E,D,E,C,E,E,A,C,E,A,D,D,E,C,E,D,C,C,B,B,,E,,,C,A,,,A,,A,C
000542,C,E,B,D,C,C,E,A,C,A,B,A,C,B,B,E,C,C,E,B,C,C,D,D,E,D,D,C,E,E,A,B,C,B,E,D,E,D,D,B,C,C,D,B,A,A,C,D,D,C,B,B,C,A,B,E,B,C,D,C,D,A,C,C,E,D,C,B,B,A,C,D,E,B,C,A,B,E,A,C,D,A,B,E,C,D,E,D,A,E,D,C,B,E,C,C,D,D,C,E,C
000547,C,D,A,E,A,D,E,C,,D,E,D,C,B,B,C,A,B,,D,C,C,,,,,E,B,E,B,A,D,C,E,E,B,D,C,C,B,D,B,D,B,D,A,B,D,E,C,B,D,,A,B,C,,B,D,B,,B,C,A,A,B,E,B,E,D,E,A,B,E,E,A,B,D,B,B,B,E,B,A,A,A,B,D,B,C,,,,,,,,C,B,A,B
000541,C,C,B,E,B,E,E,B,C,C,B,A,B,E,D,D,A,,B,B,E,B,C,A,B,D,A,C,E,B,C,B,C,E,E,B,D,C,D,D,A,C,D,B,D,A,B,D,D,A,B,C,E,B,B,D,A,C,D,A,C,D,B,D,E,C,B,A,E,E,E,B,B,E,E,A,C,D,B,C,B,A,C,B,A,D,D,B,B,,D,,,B,D,D,C,D,C,E,B
000511,C,,D,E,D,,E,E,C,B,D,D,B,E,E,,B,A,A,C,B,,,A,D,,B,C,E,E,A,E,C,E,E,B,C,B,C,B,D,C,C,B,A,A,E,D,E,E,A,A,,,E,C,,A,C,,C,,B,,B,A,A,E,E,A,B,A,B,B,A,A,D,E,B,A,E,E,E,A,A,A,D,E,B,D,A,C,,B,,A,E,D,E,E,B
000540,C,,B,C,A,E,,A,B,A,,D,C,A,A,,A,C,B,C,C,C,E,D,C,,D,A,C,E,A,B,C,E,D,E,A,C,B,B,A,C,D,C,B,A,E,D,E,C,B,C,D,B,B,C,B,A,D,B,E,A,A,E,D,A,E,B,D,C,A,E,A,E,C,A,B,E,B,C,D,E,A,A,B,C,D,E,D,A,D,A,B,E,B,E,D,E,B,E,A
000548,C,C,C,A,B,D,E,A,D,,C,A,C,A,A,E,A,D,E,C,C,C,C,C,B,D,E,B,E,E,A,B,C,B,E,B,A,B,C,B,B,C,D,B,A,A,B,D,E,C,B,B,C,D,C,B,C,B,A,D,E,E,C,A,E,B,D,B,B,B,A,B,D,D,C,C,C,E,A,E,A,B,C,D,A,A,D,C,B,A,D,C,B,A,B,D,E,A,A,E,E
000533,C,B,C,D,B,D,E,A,C,C,B,C,C,B,B,D,A,C,B,E,D,C,D,D,B,C,A,E,E,E,A,C,C,E,D,A,D,B,D,B,C,B,D,C,C,A,B,E,D,C,B,C,E,B,E,B,B,C,E,A,D,C,C,A,C,A,A,C,E,B,A,A,A,E,E,A,D,E,E,D,D,C,C,C,A,D,B,A,E,C,D,B,D,B,C,D,E,A,B,E,A
000531,C,C,C,A,B,C,E,E,C,D,B,B,C,D,B,A,D,C,A,B,B,D,B,A,C,D,D,A,E,B,A,B,C,E,E,D,A,B,C,B,C,C,D,B,A,A,D,D,A,B,B,D,D,A,E,E,C,B,C,A,B,C,E,E,D,A,D,E,E,D,A,B,C,E,A,C,A,E,A,C,B,E,C,B,A,E,D,E,C,A,A,B,C,B,D,B,D,B,B,E,A
000549,C,E,C,B,D,E,B,A,D,D,B,E,C,A,B,C,C,C,D,B,B,D,A,D,D,B,D,A,E,E,A,D,C,E,B,C,D,B,C,B,C,E,C,B,C,A,D,C,E,C,B,B,E,A,E,B,C,D,C,C,B,D,C,B,B,A,A,E,D,B,A,E,B,D,C,A,B,D,B,E,C,A,D,C,A,B,D,D,D,A,E,A,C,B,A,B,E,D,C,A,E
000510,C,,A,,,D,E,C,,E,,,,A,D,C,A,A,,B,D,B,E,A,B,,E,,E,B,D,C,C,E,D,D,D,,,B,D,B,D,C,B,A,E,,E,D,B,C,,,B,C,C,,,D,,B,,E,E,A,B,B,C,D,E,D,C,,C,E,A,D,A,,,B,C,,A,C,E,,A,,D,,B,B,A,,,D,A,E,A
000539,C,C,C,B,C,E,E,B,B,A,B,A,C,B,E,B,A,C,B,A,C,C,E,A,E,D,D,A,E,E,A,B,C,E,D,D,D,B,D,C,A,C,D,B,D,A,E,C,E,C,B,D,D,D,C,B,B,B,D,B,C,B,D,C,B,E,A,B,C,E,A,D,C,D,E,A,B,D,A,D,B,A,C,D,D,A,A,C,D,B,C,E,B,B,E,A,A,B,C,E,C
000532,C,B,D,,A,E,,E,,,,,C,C,A,B,A,D,,D,D,E,,,,,A,B,C,B,D,B,C,E,D,E,D,D,C,D,C,C,E,A,D,B,D,D,E,D,B,,,,,,,,,,,,,,D,A,B,B,E,D,E,D,B,E,,D,C,C,A,C,D,A,C,D,D,A,A,,D,,,,,,,,,E,A,E,
000530,C,C,C,A,D,E,E,A,C,B,B,E,D,A,C,D,A,C,D,B,D,,,,,,D,B,E,B,A,D,C,E,C,D,D,C,D,D,C,B,C,E,B,A,B,D,E,C,B,C,E,B,C,A,E,B,A,D,B,D,A,B,D,A,B,E,B,D,E,B,A,E,E,A,B,E,A,A,C,A,B,D,B,A,C,E,B,C,D,E,A,B,D,C,E,D,C,C,B
000538,C,C,B,C,C,E,D,C,D,D,C,B,D,A,C,B,A,E,B,D,C,C,E,A,E,A,A,C,E,B,B,D,A,B,B,D,D,B,C,B,E,C,D,E,B,A,E,D,E,C,B,C,E,C,A,C,B,B,D,,,,,,A,D,E,B,A,D,E,B,D,A,C,A,B,D,B,C,D,A,E,C,A,A,B,A,A,C,D,C,B,D,A,D,E,B,B,A,C
000534,C,,C,,,,B,,,,,A,C,B,E,,,,,,,,D,A,E,,C,E,C,E,A,B,C,E,E,A,E,D,C,B,D,E,D,C,A,A,,,,B,D,,,,,,B,,C,D,D,,,,,E,D,B,A,,,,,,C,C,,,,,C,A,C,B,D,B,E,A,D,E,D,,,,,,,,,,
000537,C,C,C,C,D,E,A,A,,A,,,B,A,,,E,D,B,,,,,A,B,C,B,A,E,E,A,E,E,E,E,D,D,B,C,B,B,C,C,B,D,A,A,B,A,E,A,C,D,C,E,C,,,,B,,D,B,,D,A,C,C,C,C,A,A,B,,,A,A,,A,A,C,A,,B,,B,,,,,,,,,,,,B,B,E,
000512,C,E,C,C,B,B,E,B,D,D,B,A,B,A,C,B,B,E,C,B,C,A,D,D,E,D,E,C,E,C,B,B,C,E,A,E,D,A,C,D,C,D,B,D,B,A,D,D,A,C,B,B,C,A,C,C,E,A,B,D,E,B,C,C,A,A,E,E,A,E,A,A,C,B,B,A,D,E,A,D,B,D,C,A,D,C,B,E,D,D,D,D,E,B,A,A,E,D,A,D,E
| IDL | 0 | plandauro/admision | storage/calificacion/2019-IhojarespuestaPE04.dlm | [
"MIT"
] |
(kicad_pcb (version 3) (host pcbnew "(2013-07-07 BZR 4022)-stable")
(general
(links 12)
(no_connects 12)
(area -47.561501 -41.084501 55.562501 41.719501)
(thickness 1.6)
(drawings 106)
(tracks 0)
(zones 0)
(modules 5)
(nets 4)
)
(page A3)
(layers
(15 F.Cu signal)
(0 B.Cu signal)
(16 B.Adhes user)
(17 F.Adhes user)
(18 B.Paste user)
(19 F.Paste user)
(20 B.SilkS user)
(21 F.SilkS user)
(22 B.Mask user)
(23 F.Mask user)
(24 Dwgs.User user)
(25 Cmts.User user)
(26 Eco1.User user)
(27 Eco2.User user)
(28 Edge.Cuts user)
)
(setup
(last_trace_width 0.254)
(user_trace_width 0.254)
(user_trace_width 0.508)
(trace_clearance 0.254)
(zone_clearance 0.508)
(zone_45_only no)
(trace_min 0.254)
(segment_width 0.254)
(edge_width 0.254)
(via_size 0.889)
(via_drill 0.635)
(via_min_size 0.889)
(via_min_drill 0.508)
(uvia_size 0.508)
(uvia_drill 0.127)
(uvias_allowed no)
(uvia_min_size 0.508)
(uvia_min_drill 0.127)
(pcb_text_width 0.3)
(pcb_text_size 1.5 1.5)
(mod_edge_width 0.15)
(mod_text_size 1.5 1.5)
(mod_text_width 0.15)
(pad_size 1.79832 0.6985)
(pad_drill 0)
(pad_to_mask_clearance 0.2)
(aux_axis_origin 99.187 228.092)
(visible_elements 7FFFFFFF)
(pcbplotparams
(layerselection 3178497)
(usegerberextensions true)
(excludeedgelayer true)
(linewidth 0.150000)
(plotframeref false)
(viasonmask false)
(mode 1)
(useauxorigin false)
(hpglpennumber 1)
(hpglpenspeed 20)
(hpglpendiameter 15)
(hpglpenoverlay 2)
(psnegative false)
(psa4output false)
(plotreference true)
(plotvalue true)
(plotothertext true)
(plotinvisibletext false)
(padsonsilk false)
(subtractmaskfromsilk false)
(outputformat 1)
(mirror false)
(drillshape 1)
(scaleselection 1)
(outputdirectory ""))
)
(net 0 "")
(net 1 +3.3V)
(net 2 +5V)
(net 3 GND)
(net_class Default "This is the default net class."
(clearance 0.254)
(trace_width 0.254)
(via_dia 0.889)
(via_drill 0.635)
(uvia_dia 0.508)
(uvia_drill 0.127)
(add_net "")
(add_net +3.3V)
(add_net +5V)
(add_net GND)
)
(module A10_OLIMEXINO_LIME_SHIELD_1-YA-V36P-2X20-LF (layer B.Cu) (tedit 52FA2CF8) (tstamp 52FEE4EF)
(at 7.8105 26.6065)
(descr FEMALE)
(tags FEMALE)
(path /52FC87FB)
(attr smd)
(fp_text reference GPIO-3 (at -17.5006 2.2606) (layer B.SilkS)
(effects (font (size 1.27 1.27) (thickness 0.254)) (justify mirror))
)
(fp_text value FL40YA-V36P-2X20-LF (at -18.5674 0.9525) (layer B.SilkS)
(effects (font (size 0.4064 0.4064) (thickness 0.0889)) (justify mirror))
)
(fp_line (start -12.573 1.524) (end -12.7 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -12.7 1.524) (end -12.7 0) (layer B.SilkS) (width 0.254))
(fp_line (start -12.7 0) (end -12.7 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -12.7 -1.524) (end -12.573 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 12.573 1.524) (end 12.7 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 12.7 1.524) (end 12.7 0) (layer B.SilkS) (width 0.254))
(fp_line (start 12.7 0) (end 12.7 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 12.7 -1.524) (end 12.573 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -12.7 0) (end -11.43 0) (layer B.SilkS) (width 0.254))
(fp_line (start -11.43 0) (end -10.16 0) (layer B.SilkS) (width 0.254))
(fp_line (start -10.16 0) (end -8.89 0) (layer B.SilkS) (width 0.254))
(fp_line (start -8.89 0) (end -7.62 0) (layer B.SilkS) (width 0.254))
(fp_line (start -7.62 0) (end -6.35 0) (layer B.SilkS) (width 0.254))
(fp_line (start -6.35 0) (end -5.08 0) (layer B.SilkS) (width 0.254))
(fp_line (start -5.08 0) (end -3.81 0) (layer B.SilkS) (width 0.254))
(fp_line (start -3.81 0) (end -2.54 0) (layer B.SilkS) (width 0.254))
(fp_line (start -2.54 0) (end -1.27 0) (layer B.SilkS) (width 0.254))
(fp_line (start -1.27 0) (end 0 0) (layer B.SilkS) (width 0.254))
(fp_line (start 0 0) (end 1.27 0) (layer B.SilkS) (width 0.254))
(fp_line (start 1.27 0) (end 2.54 0) (layer B.SilkS) (width 0.254))
(fp_line (start 2.54 0) (end 3.81 0) (layer B.SilkS) (width 0.254))
(fp_line (start 3.81 0) (end 5.08 0) (layer B.SilkS) (width 0.254))
(fp_line (start 5.08 0) (end 6.35 0) (layer B.SilkS) (width 0.254))
(fp_line (start 6.35 0) (end 7.62 0) (layer B.SilkS) (width 0.254))
(fp_line (start 7.62 0) (end 8.89 0) (layer B.SilkS) (width 0.254))
(fp_line (start 8.89 0) (end 10.16 0) (layer B.SilkS) (width 0.254))
(fp_line (start 10.16 0) (end 11.43 0) (layer B.SilkS) (width 0.254))
(fp_line (start 11.43 0) (end 12.7 0) (layer B.SilkS) (width 0.254))
(fp_line (start -11.557 -1.524) (end -11.43 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -11.43 -1.524) (end -11.303 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -10.287 -1.524) (end -10.16 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -10.16 -1.524) (end -10.033 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -9.017 -1.524) (end -8.89 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -8.89 -1.524) (end -8.763 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -7.747 -1.524) (end -7.62 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -7.62 -1.524) (end -7.493 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -6.477 -1.524) (end -6.35 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -6.35 -1.524) (end -6.223 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -5.207 -1.524) (end -5.08 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -5.08 -1.524) (end -4.953 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -3.937 -1.524) (end -3.81 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -3.81 -1.524) (end -3.683 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -2.667 -1.524) (end -2.54 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -2.54 -1.524) (end -2.413 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.397 -1.524) (end -1.27 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.27 -1.524) (end -1.143 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -0.127 -1.524) (end 0 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 0 -1.524) (end 0.127 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 1.143 -1.524) (end 1.27 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 1.27 -1.524) (end 1.397 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 2.413 -1.524) (end 2.54 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 2.54 -1.524) (end 2.667 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 3.683 -1.524) (end 3.81 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 3.81 -1.524) (end 3.937 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 4.953 -1.524) (end 5.08 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 5.08 -1.524) (end 5.207 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 6.223 -1.524) (end 6.35 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 6.35 -1.524) (end 6.477 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 7.493 -1.524) (end 7.62 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 7.62 -1.524) (end 7.747 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 8.763 -1.524) (end 8.89 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 8.89 -1.524) (end 9.017 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 10.033 -1.524) (end 10.16 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 10.16 -1.524) (end 10.287 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 11.303 -1.524) (end 11.43 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 11.43 -1.524) (end 11.557 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 11.303 1.524) (end 11.557 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 10.033 1.524) (end 10.16 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 10.16 1.524) (end 10.287 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 8.763 1.524) (end 8.89 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 8.89 1.524) (end 9.017 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 7.493 1.524) (end 7.62 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 7.62 1.524) (end 7.747 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 6.223 1.524) (end 6.35 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 6.35 1.524) (end 6.477 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 4.953 1.524) (end 5.08 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 5.08 1.524) (end 5.207 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 3.683 1.524) (end 3.81 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 3.81 1.524) (end 3.937 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 2.413 1.524) (end 2.54 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 2.54 1.524) (end 2.667 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 1.143 1.524) (end 1.27 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 1.27 1.524) (end 1.397 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -0.127 1.524) (end 0 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 0 1.524) (end 0.127 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.397 1.524) (end -1.27 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.27 1.524) (end -1.143 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -2.667 1.524) (end -2.54 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -2.54 1.524) (end -2.413 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -3.937 1.524) (end -3.81 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -3.81 1.524) (end -3.683 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -5.207 1.524) (end -5.08 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -5.08 1.524) (end -4.953 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -6.477 1.524) (end -6.35 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -6.35 1.524) (end -6.223 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -7.747 1.524) (end -7.62 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -7.62 1.524) (end -7.493 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -9.017 1.524) (end -8.89 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -8.89 1.524) (end -8.763 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -10.287 1.524) (end -10.16 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -10.16 1.524) (end -10.033 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -10.033 1.524) (end -9.017 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -11.557 1.524) (end -11.43 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -11.43 1.524) (end -11.303 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -11.303 1.524) (end -10.287 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -12.573 1.524) (end -11.557 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -11.303 -1.524) (end -10.287 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -12.573 -1.524) (end -11.557 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -10.033 -1.524) (end -9.017 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -8.763 -1.524) (end -7.747 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -7.493 -1.524) (end -6.477 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -6.223 -1.524) (end -5.207 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -4.953 -1.524) (end -3.937 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -3.683 -1.524) (end -2.667 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -2.413 -1.524) (end -1.397 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -1.143 -1.524) (end -0.127 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 0.127 -1.524) (end 1.143 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 1.397 -1.524) (end 2.413 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 2.667 -1.524) (end 3.683 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 3.937 -1.524) (end 4.953 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 5.207 -1.524) (end 6.223 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 6.477 -1.524) (end 7.493 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 7.747 -1.524) (end 8.763 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 9.017 -1.524) (end 10.033 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 10.287 -1.524) (end 11.303 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 11.557 -1.524) (end 12.573 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -8.763 1.524) (end -7.747 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -7.493 1.524) (end -6.477 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -6.223 1.524) (end -5.207 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -4.953 1.524) (end -3.937 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -3.683 1.524) (end -2.667 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -2.413 1.524) (end -1.397 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -1.143 1.524) (end -0.127 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 0.127 1.524) (end 1.143 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 1.397 1.524) (end 2.413 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 2.667 1.524) (end 3.683 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 3.937 1.524) (end 4.953 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 5.207 1.524) (end 6.223 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 6.477 1.524) (end 7.493 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 7.747 1.524) (end 8.763 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 9.017 1.524) (end 10.033 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 10.287 1.524) (end 11.303 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 11.557 1.524) (end 12.573 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -11.43 -1.524) (end -11.43 0) (layer B.SilkS) (width 0.254))
(fp_line (start -10.16 -1.524) (end -10.16 0) (layer B.SilkS) (width 0.254))
(fp_line (start -8.89 -1.524) (end -8.89 0) (layer B.SilkS) (width 0.254))
(fp_line (start -7.62 -1.524) (end -7.62 0) (layer B.SilkS) (width 0.254))
(fp_line (start -6.35 -1.524) (end -6.35 0) (layer B.SilkS) (width 0.254))
(fp_line (start -5.08 -1.524) (end -5.08 0) (layer B.SilkS) (width 0.254))
(fp_line (start -3.81 -1.524) (end -3.81 0) (layer B.SilkS) (width 0.254))
(fp_line (start -2.54 -1.524) (end -2.54 0) (layer B.SilkS) (width 0.254))
(fp_line (start -11.43 0) (end -11.43 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -10.16 0) (end -10.16 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -8.89 0) (end -8.89 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -7.62 0) (end -7.62 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -6.35 0) (end -6.35 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -5.08 0) (end -5.08 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -3.81 0) (end -3.81 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -2.54 0) (end -2.54 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.27 0) (end -1.27 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 0 0) (end 0 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 1.27 0) (end 1.27 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 2.54 0) (end 2.54 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 3.81 0) (end 3.81 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 5.08 0) (end 5.08 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 6.35 0) (end 6.35 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 7.62 0) (end 7.62 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 8.89 0) (end 8.89 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 10.16 0) (end 10.16 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.27 -1.524) (end -1.27 0) (layer B.SilkS) (width 0.254))
(fp_line (start 0 -1.524) (end 0 0) (layer B.SilkS) (width 0.254))
(fp_line (start 1.27 -1.524) (end 1.27 0) (layer B.SilkS) (width 0.254))
(fp_line (start 2.54 -1.524) (end 2.54 0) (layer B.SilkS) (width 0.254))
(fp_line (start 3.81 -1.524) (end 3.81 0) (layer B.SilkS) (width 0.254))
(fp_line (start 5.08 -1.524) (end 5.08 0) (layer B.SilkS) (width 0.254))
(fp_line (start 6.35 -1.524) (end 6.35 0) (layer B.SilkS) (width 0.254))
(fp_line (start 7.62 -1.524) (end 7.62 0) (layer B.SilkS) (width 0.254))
(fp_line (start 8.89 -1.524) (end 8.89 0) (layer B.SilkS) (width 0.254))
(fp_line (start 10.16 -1.524) (end 10.16 0) (layer B.SilkS) (width 0.254))
(fp_line (start 11.43 -1.524) (end 11.43 0) (layer B.SilkS) (width 0.254))
(fp_line (start 11.43 0) (end 11.43 1.524) (layer B.SilkS) (width 0.254))
(fp_circle (center -11.43 0) (end -11.60272 -0.17272) (layer B.SilkS) (width 0.127))
(fp_line (start -11.77798 0) (end -11.07948 0) (layer B.SilkS) (width 0.127))
(fp_line (start -11.43 -0.34798) (end -11.43 0.34798) (layer B.SilkS) (width 0.127))
(fp_circle (center 11.43 0) (end 11.60272 -0.17272) (layer B.SilkS) (width 0.127))
(fp_line (start 11.07948 0) (end 11.77798 0) (layer B.SilkS) (width 0.127))
(fp_line (start 11.43 -0.34798) (end 11.43 0.34798) (layer B.SilkS) (width 0.127))
(fp_text user 2 (at -13.41 0.8) (layer B.SilkS)
(effects (font (size 1.016 1.016) (thickness 0.254)) (justify mirror))
)
(fp_text user 1 (at -13.35 -1.07) (layer B.SilkS)
(effects (font (size 1.016 1.016) (thickness 0.254)) (justify mirror))
)
(pad 1 smd rect (at -12.065 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
(net 2 +5V)
)
(pad 2 smd rect (at -12.065 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
(net 3 GND)
)
(pad 3 smd rect (at -10.795 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 4 smd rect (at -10.795 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
(net 3 GND)
)
(pad 5 smd rect (at -9.525 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 6 smd rect (at -9.525 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 7 smd rect (at -8.255 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 8 smd rect (at -8.255 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 9 smd rect (at -6.985 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 10 smd rect (at -6.985 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 11 smd rect (at -5.715 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 12 smd rect (at -5.715 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 13 smd rect (at -4.445 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 14 smd rect (at -4.445 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 15 smd rect (at -3.175 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 16 smd rect (at -3.175 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 17 smd rect (at -1.905 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 18 smd rect (at -1.905 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 19 smd rect (at -0.635 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 20 smd rect (at -0.635 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 21 smd rect (at 0.635 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 22 smd rect (at 0.635 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 23 smd rect (at 1.905 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 24 smd rect (at 1.905 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 25 smd rect (at 3.175 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 26 smd rect (at 3.175 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 27 smd rect (at 4.445 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 28 smd rect (at 4.445 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 29 smd rect (at 5.715 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 30 smd rect (at 5.715 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 31 smd rect (at 6.985 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 32 smd rect (at 6.985 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 33 smd rect (at 8.255 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 34 smd rect (at 8.255 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 35 smd rect (at 9.525 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 36 smd rect (at 9.525 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 37 smd rect (at 10.795 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 38 smd rect (at 10.795 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 39 smd rect (at 12.065 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 40 smd rect (at 12.065 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
)
(module A10_OLIMEXINO_LIME_SHIELD_1-YA-V36P-2X20-LF (layer B.Cu) (tedit 52FA2C4B) (tstamp 52FF3EFD)
(at 0.1905 -20.3835)
(descr FEMALE)
(tags FEMALE)
(path /52FC941F)
(attr smd)
(fp_text reference GPIO-1 (at -9.5123 -3.937) (layer B.SilkS)
(effects (font (size 1.27 1.27) (thickness 0.254)) (justify mirror))
)
(fp_text value FL40YA-V36P-2X20-LF (at -10.7823 -5.2832) (layer B.SilkS)
(effects (font (size 0.4064 0.4064) (thickness 0.0889)) (justify mirror))
)
(fp_line (start -12.573 1.524) (end -12.7 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -12.7 1.524) (end -12.7 0) (layer B.SilkS) (width 0.254))
(fp_line (start -12.7 0) (end -12.7 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -12.7 -1.524) (end -12.573 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 12.573 1.524) (end 12.7 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 12.7 1.524) (end 12.7 0) (layer B.SilkS) (width 0.254))
(fp_line (start 12.7 0) (end 12.7 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 12.7 -1.524) (end 12.573 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -12.7 0) (end -11.43 0) (layer B.SilkS) (width 0.254))
(fp_line (start -11.43 0) (end -10.16 0) (layer B.SilkS) (width 0.254))
(fp_line (start -10.16 0) (end -8.89 0) (layer B.SilkS) (width 0.254))
(fp_line (start -8.89 0) (end -7.62 0) (layer B.SilkS) (width 0.254))
(fp_line (start -7.62 0) (end -6.35 0) (layer B.SilkS) (width 0.254))
(fp_line (start -6.35 0) (end -5.08 0) (layer B.SilkS) (width 0.254))
(fp_line (start -5.08 0) (end -3.81 0) (layer B.SilkS) (width 0.254))
(fp_line (start -3.81 0) (end -2.54 0) (layer B.SilkS) (width 0.254))
(fp_line (start -2.54 0) (end -1.27 0) (layer B.SilkS) (width 0.254))
(fp_line (start -1.27 0) (end 0 0) (layer B.SilkS) (width 0.254))
(fp_line (start 0 0) (end 1.27 0) (layer B.SilkS) (width 0.254))
(fp_line (start 1.27 0) (end 2.54 0) (layer B.SilkS) (width 0.254))
(fp_line (start 2.54 0) (end 3.81 0) (layer B.SilkS) (width 0.254))
(fp_line (start 3.81 0) (end 5.08 0) (layer B.SilkS) (width 0.254))
(fp_line (start 5.08 0) (end 6.35 0) (layer B.SilkS) (width 0.254))
(fp_line (start 6.35 0) (end 7.62 0) (layer B.SilkS) (width 0.254))
(fp_line (start 7.62 0) (end 8.89 0) (layer B.SilkS) (width 0.254))
(fp_line (start 8.89 0) (end 10.16 0) (layer B.SilkS) (width 0.254))
(fp_line (start 10.16 0) (end 11.43 0) (layer B.SilkS) (width 0.254))
(fp_line (start 11.43 0) (end 12.7 0) (layer B.SilkS) (width 0.254))
(fp_line (start -11.557 -1.524) (end -11.43 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -11.43 -1.524) (end -11.303 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -10.287 -1.524) (end -10.16 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -10.16 -1.524) (end -10.033 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -9.017 -1.524) (end -8.89 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -8.89 -1.524) (end -8.763 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -7.747 -1.524) (end -7.62 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -7.62 -1.524) (end -7.493 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -6.477 -1.524) (end -6.35 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -6.35 -1.524) (end -6.223 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -5.207 -1.524) (end -5.08 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -5.08 -1.524) (end -4.953 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -3.937 -1.524) (end -3.81 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -3.81 -1.524) (end -3.683 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -2.667 -1.524) (end -2.54 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -2.54 -1.524) (end -2.413 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.397 -1.524) (end -1.27 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.27 -1.524) (end -1.143 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -0.127 -1.524) (end 0 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 0 -1.524) (end 0.127 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 1.143 -1.524) (end 1.27 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 1.27 -1.524) (end 1.397 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 2.413 -1.524) (end 2.54 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 2.54 -1.524) (end 2.667 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 3.683 -1.524) (end 3.81 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 3.81 -1.524) (end 3.937 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 4.953 -1.524) (end 5.08 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 5.08 -1.524) (end 5.207 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 6.223 -1.524) (end 6.35 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 6.35 -1.524) (end 6.477 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 7.493 -1.524) (end 7.62 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 7.62 -1.524) (end 7.747 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 8.763 -1.524) (end 8.89 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 8.89 -1.524) (end 9.017 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 10.033 -1.524) (end 10.16 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 10.16 -1.524) (end 10.287 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 11.303 -1.524) (end 11.43 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 11.43 -1.524) (end 11.557 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 11.303 1.524) (end 11.557 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 10.033 1.524) (end 10.16 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 10.16 1.524) (end 10.287 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 8.763 1.524) (end 8.89 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 8.89 1.524) (end 9.017 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 7.493 1.524) (end 7.62 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 7.62 1.524) (end 7.747 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 6.223 1.524) (end 6.35 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 6.35 1.524) (end 6.477 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 4.953 1.524) (end 5.08 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 5.08 1.524) (end 5.207 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 3.683 1.524) (end 3.81 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 3.81 1.524) (end 3.937 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 2.413 1.524) (end 2.54 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 2.54 1.524) (end 2.667 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 1.143 1.524) (end 1.27 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 1.27 1.524) (end 1.397 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -0.127 1.524) (end 0 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 0 1.524) (end 0.127 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.397 1.524) (end -1.27 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.27 1.524) (end -1.143 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -2.667 1.524) (end -2.54 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -2.54 1.524) (end -2.413 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -3.937 1.524) (end -3.81 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -3.81 1.524) (end -3.683 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -5.207 1.524) (end -5.08 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -5.08 1.524) (end -4.953 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -6.477 1.524) (end -6.35 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -6.35 1.524) (end -6.223 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -7.747 1.524) (end -7.62 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -7.62 1.524) (end -7.493 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -9.017 1.524) (end -8.89 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -8.89 1.524) (end -8.763 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -10.287 1.524) (end -10.16 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -10.16 1.524) (end -10.033 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -10.033 1.524) (end -9.017 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -11.557 1.524) (end -11.43 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -11.43 1.524) (end -11.303 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -11.303 1.524) (end -10.287 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -12.573 1.524) (end -11.557 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -11.303 -1.524) (end -10.287 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -12.573 -1.524) (end -11.557 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -10.033 -1.524) (end -9.017 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -8.763 -1.524) (end -7.747 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -7.493 -1.524) (end -6.477 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -6.223 -1.524) (end -5.207 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -4.953 -1.524) (end -3.937 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -3.683 -1.524) (end -2.667 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -2.413 -1.524) (end -1.397 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -1.143 -1.524) (end -0.127 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 0.127 -1.524) (end 1.143 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 1.397 -1.524) (end 2.413 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 2.667 -1.524) (end 3.683 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 3.937 -1.524) (end 4.953 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 5.207 -1.524) (end 6.223 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 6.477 -1.524) (end 7.493 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 7.747 -1.524) (end 8.763 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 9.017 -1.524) (end 10.033 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 10.287 -1.524) (end 11.303 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 11.557 -1.524) (end 12.573 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -8.763 1.524) (end -7.747 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -7.493 1.524) (end -6.477 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -6.223 1.524) (end -5.207 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -4.953 1.524) (end -3.937 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -3.683 1.524) (end -2.667 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -2.413 1.524) (end -1.397 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -1.143 1.524) (end -0.127 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 0.127 1.524) (end 1.143 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 1.397 1.524) (end 2.413 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 2.667 1.524) (end 3.683 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 3.937 1.524) (end 4.953 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 5.207 1.524) (end 6.223 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 6.477 1.524) (end 7.493 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 7.747 1.524) (end 8.763 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 9.017 1.524) (end 10.033 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 10.287 1.524) (end 11.303 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 11.557 1.524) (end 12.573 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -11.43 -1.524) (end -11.43 0) (layer B.SilkS) (width 0.254))
(fp_line (start -10.16 -1.524) (end -10.16 0) (layer B.SilkS) (width 0.254))
(fp_line (start -8.89 -1.524) (end -8.89 0) (layer B.SilkS) (width 0.254))
(fp_line (start -7.62 -1.524) (end -7.62 0) (layer B.SilkS) (width 0.254))
(fp_line (start -6.35 -1.524) (end -6.35 0) (layer B.SilkS) (width 0.254))
(fp_line (start -5.08 -1.524) (end -5.08 0) (layer B.SilkS) (width 0.254))
(fp_line (start -3.81 -1.524) (end -3.81 0) (layer B.SilkS) (width 0.254))
(fp_line (start -2.54 -1.524) (end -2.54 0) (layer B.SilkS) (width 0.254))
(fp_line (start -11.43 0) (end -11.43 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -10.16 0) (end -10.16 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -8.89 0) (end -8.89 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -7.62 0) (end -7.62 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -6.35 0) (end -6.35 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -5.08 0) (end -5.08 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -3.81 0) (end -3.81 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -2.54 0) (end -2.54 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.27 0) (end -1.27 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 0 0) (end 0 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 1.27 0) (end 1.27 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 2.54 0) (end 2.54 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 3.81 0) (end 3.81 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 5.08 0) (end 5.08 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 6.35 0) (end 6.35 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 7.62 0) (end 7.62 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 8.89 0) (end 8.89 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 10.16 0) (end 10.16 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.27 -1.524) (end -1.27 0) (layer B.SilkS) (width 0.254))
(fp_line (start 0 -1.524) (end 0 0) (layer B.SilkS) (width 0.254))
(fp_line (start 1.27 -1.524) (end 1.27 0) (layer B.SilkS) (width 0.254))
(fp_line (start 2.54 -1.524) (end 2.54 0) (layer B.SilkS) (width 0.254))
(fp_line (start 3.81 -1.524) (end 3.81 0) (layer B.SilkS) (width 0.254))
(fp_line (start 5.08 -1.524) (end 5.08 0) (layer B.SilkS) (width 0.254))
(fp_line (start 6.35 -1.524) (end 6.35 0) (layer B.SilkS) (width 0.254))
(fp_line (start 7.62 -1.524) (end 7.62 0) (layer B.SilkS) (width 0.254))
(fp_line (start 8.89 -1.524) (end 8.89 0) (layer B.SilkS) (width 0.254))
(fp_line (start 10.16 -1.524) (end 10.16 0) (layer B.SilkS) (width 0.254))
(fp_line (start 11.43 -1.524) (end 11.43 0) (layer B.SilkS) (width 0.254))
(fp_line (start 11.43 0) (end 11.43 1.524) (layer B.SilkS) (width 0.254))
(fp_circle (center -11.43 0) (end -11.60272 -0.17272) (layer B.SilkS) (width 0.127))
(fp_line (start -11.77798 0) (end -11.07948 0) (layer B.SilkS) (width 0.127))
(fp_line (start -11.43 -0.34798) (end -11.43 0.34798) (layer B.SilkS) (width 0.127))
(fp_circle (center 11.43 0) (end 11.60272 -0.17272) (layer B.SilkS) (width 0.127))
(fp_line (start 11.07948 0) (end 11.77798 0) (layer B.SilkS) (width 0.127))
(fp_line (start 11.43 -0.34798) (end 11.43 0.34798) (layer B.SilkS) (width 0.127))
(fp_text user 2 (at -13.41 0.8) (layer B.SilkS)
(effects (font (size 1.016 1.016) (thickness 0.254)) (justify mirror))
)
(fp_text user 1 (at -13.35 -1.07) (layer B.SilkS)
(effects (font (size 1.016 1.016) (thickness 0.254)) (justify mirror))
)
(pad 1 smd rect (at -12.065 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
(net 2 +5V)
)
(pad 2 smd rect (at -12.065 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
(net 3 GND)
)
(pad 3 smd rect (at -10.795 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
(net 1 +3.3V)
)
(pad 4 smd rect (at -10.795 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 5 smd rect (at -9.525 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 6 smd rect (at -9.525 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 7 smd rect (at -8.255 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 8 smd rect (at -8.255 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 9 smd rect (at -6.985 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 10 smd rect (at -6.985 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 11 smd rect (at -5.715 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 12 smd rect (at -5.715 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 13 smd rect (at -4.445 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 14 smd rect (at -4.445 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 15 smd rect (at -3.175 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 16 smd rect (at -3.175 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 17 smd rect (at -1.905 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 18 smd rect (at -1.905 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 19 smd rect (at -0.635 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 20 smd rect (at -0.635 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 21 smd rect (at 0.635 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 22 smd rect (at 0.635 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 23 smd rect (at 1.905 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 24 smd rect (at 1.905 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 25 smd rect (at 3.175 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 26 smd rect (at 3.175 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 27 smd rect (at 4.445 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 28 smd rect (at 4.445 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 29 smd rect (at 5.715 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 30 smd rect (at 5.715 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 31 smd rect (at 6.985 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 32 smd rect (at 6.985 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 33 smd rect (at 8.255 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 34 smd rect (at 8.255 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 35 smd rect (at 9.525 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 36 smd rect (at 9.525 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 37 smd rect (at 10.795 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 38 smd rect (at 10.795 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 39 smd rect (at 12.065 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 40 smd rect (at 12.065 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
)
(module A10_OLIMEXINO_LIME_SHIELD_1-YA-V36P-2X20-LF (layer B.Cu) (tedit 52FA2C88) (tstamp 52FECA19)
(at 7.8105 -26.7335)
(descr FEMALE)
(tags FEMALE)
(path /52FC94E5)
(attr smd)
(fp_text reference LCD_CON1 (at -18.3134 -2.2606) (layer B.SilkS)
(effects (font (size 1.27 1.27) (thickness 0.254)) (justify mirror))
)
(fp_text value FL40YA-V36P-2X20-LF (at -18.5293 -0.8382) (layer B.SilkS)
(effects (font (size 0.4064 0.4064) (thickness 0.0889)) (justify mirror))
)
(fp_line (start -12.573 1.524) (end -12.7 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -12.7 1.524) (end -12.7 0) (layer B.SilkS) (width 0.254))
(fp_line (start -12.7 0) (end -12.7 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -12.7 -1.524) (end -12.573 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 12.573 1.524) (end 12.7 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 12.7 1.524) (end 12.7 0) (layer B.SilkS) (width 0.254))
(fp_line (start 12.7 0) (end 12.7 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 12.7 -1.524) (end 12.573 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -12.7 0) (end -11.43 0) (layer B.SilkS) (width 0.254))
(fp_line (start -11.43 0) (end -10.16 0) (layer B.SilkS) (width 0.254))
(fp_line (start -10.16 0) (end -8.89 0) (layer B.SilkS) (width 0.254))
(fp_line (start -8.89 0) (end -7.62 0) (layer B.SilkS) (width 0.254))
(fp_line (start -7.62 0) (end -6.35 0) (layer B.SilkS) (width 0.254))
(fp_line (start -6.35 0) (end -5.08 0) (layer B.SilkS) (width 0.254))
(fp_line (start -5.08 0) (end -3.81 0) (layer B.SilkS) (width 0.254))
(fp_line (start -3.81 0) (end -2.54 0) (layer B.SilkS) (width 0.254))
(fp_line (start -2.54 0) (end -1.27 0) (layer B.SilkS) (width 0.254))
(fp_line (start -1.27 0) (end 0 0) (layer B.SilkS) (width 0.254))
(fp_line (start 0 0) (end 1.27 0) (layer B.SilkS) (width 0.254))
(fp_line (start 1.27 0) (end 2.54 0) (layer B.SilkS) (width 0.254))
(fp_line (start 2.54 0) (end 3.81 0) (layer B.SilkS) (width 0.254))
(fp_line (start 3.81 0) (end 5.08 0) (layer B.SilkS) (width 0.254))
(fp_line (start 5.08 0) (end 6.35 0) (layer B.SilkS) (width 0.254))
(fp_line (start 6.35 0) (end 7.62 0) (layer B.SilkS) (width 0.254))
(fp_line (start 7.62 0) (end 8.89 0) (layer B.SilkS) (width 0.254))
(fp_line (start 8.89 0) (end 10.16 0) (layer B.SilkS) (width 0.254))
(fp_line (start 10.16 0) (end 11.43 0) (layer B.SilkS) (width 0.254))
(fp_line (start 11.43 0) (end 12.7 0) (layer B.SilkS) (width 0.254))
(fp_line (start -11.557 -1.524) (end -11.43 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -11.43 -1.524) (end -11.303 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -10.287 -1.524) (end -10.16 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -10.16 -1.524) (end -10.033 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -9.017 -1.524) (end -8.89 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -8.89 -1.524) (end -8.763 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -7.747 -1.524) (end -7.62 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -7.62 -1.524) (end -7.493 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -6.477 -1.524) (end -6.35 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -6.35 -1.524) (end -6.223 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -5.207 -1.524) (end -5.08 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -5.08 -1.524) (end -4.953 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -3.937 -1.524) (end -3.81 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -3.81 -1.524) (end -3.683 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -2.667 -1.524) (end -2.54 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -2.54 -1.524) (end -2.413 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.397 -1.524) (end -1.27 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.27 -1.524) (end -1.143 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -0.127 -1.524) (end 0 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 0 -1.524) (end 0.127 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 1.143 -1.524) (end 1.27 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 1.27 -1.524) (end 1.397 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 2.413 -1.524) (end 2.54 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 2.54 -1.524) (end 2.667 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 3.683 -1.524) (end 3.81 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 3.81 -1.524) (end 3.937 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 4.953 -1.524) (end 5.08 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 5.08 -1.524) (end 5.207 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 6.223 -1.524) (end 6.35 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 6.35 -1.524) (end 6.477 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 7.493 -1.524) (end 7.62 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 7.62 -1.524) (end 7.747 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 8.763 -1.524) (end 8.89 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 8.89 -1.524) (end 9.017 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 10.033 -1.524) (end 10.16 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 10.16 -1.524) (end 10.287 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 11.303 -1.524) (end 11.43 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 11.43 -1.524) (end 11.557 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 11.303 1.524) (end 11.557 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 10.033 1.524) (end 10.16 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 10.16 1.524) (end 10.287 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 8.763 1.524) (end 8.89 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 8.89 1.524) (end 9.017 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 7.493 1.524) (end 7.62 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 7.62 1.524) (end 7.747 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 6.223 1.524) (end 6.35 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 6.35 1.524) (end 6.477 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 4.953 1.524) (end 5.08 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 5.08 1.524) (end 5.207 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 3.683 1.524) (end 3.81 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 3.81 1.524) (end 3.937 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 2.413 1.524) (end 2.54 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 2.54 1.524) (end 2.667 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 1.143 1.524) (end 1.27 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 1.27 1.524) (end 1.397 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -0.127 1.524) (end 0 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 0 1.524) (end 0.127 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.397 1.524) (end -1.27 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.27 1.524) (end -1.143 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -2.667 1.524) (end -2.54 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -2.54 1.524) (end -2.413 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -3.937 1.524) (end -3.81 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -3.81 1.524) (end -3.683 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -5.207 1.524) (end -5.08 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -5.08 1.524) (end -4.953 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -6.477 1.524) (end -6.35 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -6.35 1.524) (end -6.223 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -7.747 1.524) (end -7.62 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -7.62 1.524) (end -7.493 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -9.017 1.524) (end -8.89 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -8.89 1.524) (end -8.763 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -10.287 1.524) (end -10.16 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -10.16 1.524) (end -10.033 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -10.033 1.524) (end -9.017 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -11.557 1.524) (end -11.43 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -11.43 1.524) (end -11.303 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -11.303 1.524) (end -10.287 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -12.573 1.524) (end -11.557 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -11.303 -1.524) (end -10.287 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -12.573 -1.524) (end -11.557 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -10.033 -1.524) (end -9.017 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -8.763 -1.524) (end -7.747 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -7.493 -1.524) (end -6.477 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -6.223 -1.524) (end -5.207 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -4.953 -1.524) (end -3.937 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -3.683 -1.524) (end -2.667 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -2.413 -1.524) (end -1.397 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -1.143 -1.524) (end -0.127 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 0.127 -1.524) (end 1.143 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 1.397 -1.524) (end 2.413 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 2.667 -1.524) (end 3.683 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 3.937 -1.524) (end 4.953 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 5.207 -1.524) (end 6.223 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 6.477 -1.524) (end 7.493 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 7.747 -1.524) (end 8.763 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 9.017 -1.524) (end 10.033 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 10.287 -1.524) (end 11.303 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 11.557 -1.524) (end 12.573 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -8.763 1.524) (end -7.747 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -7.493 1.524) (end -6.477 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -6.223 1.524) (end -5.207 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -4.953 1.524) (end -3.937 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -3.683 1.524) (end -2.667 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -2.413 1.524) (end -1.397 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -1.143 1.524) (end -0.127 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 0.127 1.524) (end 1.143 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 1.397 1.524) (end 2.413 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 2.667 1.524) (end 3.683 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 3.937 1.524) (end 4.953 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 5.207 1.524) (end 6.223 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 6.477 1.524) (end 7.493 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 7.747 1.524) (end 8.763 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 9.017 1.524) (end 10.033 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 10.287 1.524) (end 11.303 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 11.557 1.524) (end 12.573 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -11.43 -1.524) (end -11.43 0) (layer B.SilkS) (width 0.254))
(fp_line (start -10.16 -1.524) (end -10.16 0) (layer B.SilkS) (width 0.254))
(fp_line (start -8.89 -1.524) (end -8.89 0) (layer B.SilkS) (width 0.254))
(fp_line (start -7.62 -1.524) (end -7.62 0) (layer B.SilkS) (width 0.254))
(fp_line (start -6.35 -1.524) (end -6.35 0) (layer B.SilkS) (width 0.254))
(fp_line (start -5.08 -1.524) (end -5.08 0) (layer B.SilkS) (width 0.254))
(fp_line (start -3.81 -1.524) (end -3.81 0) (layer B.SilkS) (width 0.254))
(fp_line (start -2.54 -1.524) (end -2.54 0) (layer B.SilkS) (width 0.254))
(fp_line (start -11.43 0) (end -11.43 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -10.16 0) (end -10.16 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -8.89 0) (end -8.89 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -7.62 0) (end -7.62 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -6.35 0) (end -6.35 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -5.08 0) (end -5.08 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -3.81 0) (end -3.81 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -2.54 0) (end -2.54 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.27 0) (end -1.27 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 0 0) (end 0 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 1.27 0) (end 1.27 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 2.54 0) (end 2.54 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 3.81 0) (end 3.81 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 5.08 0) (end 5.08 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 6.35 0) (end 6.35 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 7.62 0) (end 7.62 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 8.89 0) (end 8.89 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 10.16 0) (end 10.16 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.27 -1.524) (end -1.27 0) (layer B.SilkS) (width 0.254))
(fp_line (start 0 -1.524) (end 0 0) (layer B.SilkS) (width 0.254))
(fp_line (start 1.27 -1.524) (end 1.27 0) (layer B.SilkS) (width 0.254))
(fp_line (start 2.54 -1.524) (end 2.54 0) (layer B.SilkS) (width 0.254))
(fp_line (start 3.81 -1.524) (end 3.81 0) (layer B.SilkS) (width 0.254))
(fp_line (start 5.08 -1.524) (end 5.08 0) (layer B.SilkS) (width 0.254))
(fp_line (start 6.35 -1.524) (end 6.35 0) (layer B.SilkS) (width 0.254))
(fp_line (start 7.62 -1.524) (end 7.62 0) (layer B.SilkS) (width 0.254))
(fp_line (start 8.89 -1.524) (end 8.89 0) (layer B.SilkS) (width 0.254))
(fp_line (start 10.16 -1.524) (end 10.16 0) (layer B.SilkS) (width 0.254))
(fp_line (start 11.43 -1.524) (end 11.43 0) (layer B.SilkS) (width 0.254))
(fp_line (start 11.43 0) (end 11.43 1.524) (layer B.SilkS) (width 0.254))
(fp_circle (center -11.43 0) (end -11.60272 -0.17272) (layer B.SilkS) (width 0.127))
(fp_line (start -11.77798 0) (end -11.07948 0) (layer B.SilkS) (width 0.127))
(fp_line (start -11.43 -0.34798) (end -11.43 0.34798) (layer B.SilkS) (width 0.127))
(fp_circle (center 11.43 0) (end 11.60272 -0.17272) (layer B.SilkS) (width 0.127))
(fp_line (start 11.07948 0) (end 11.77798 0) (layer B.SilkS) (width 0.127))
(fp_line (start 11.43 -0.34798) (end 11.43 0.34798) (layer B.SilkS) (width 0.127))
(fp_text user 2 (at -13.41 0.8) (layer B.SilkS)
(effects (font (size 1.016 1.016) (thickness 0.254)) (justify mirror))
)
(fp_text user 1 (at -13.35 -1.07) (layer B.SilkS)
(effects (font (size 1.016 1.016) (thickness 0.254)) (justify mirror))
)
(pad 1 smd rect (at -12.065 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
(net 2 +5V)
)
(pad 2 smd rect (at -12.065 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
(net 3 GND)
)
(pad 3 smd rect (at -10.795 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
(net 1 +3.3V)
)
(pad 4 smd rect (at -10.795 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
(net 3 GND)
)
(pad 5 smd rect (at -9.525 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 6 smd rect (at -9.525 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 7 smd rect (at -8.255 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 8 smd rect (at -8.255 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 9 smd rect (at -6.985 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 10 smd rect (at -6.985 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 11 smd rect (at -5.715 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 12 smd rect (at -5.715 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 13 smd rect (at -4.445 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 14 smd rect (at -4.445 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 15 smd rect (at -3.175 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 16 smd rect (at -3.175 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 17 smd rect (at -1.905 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 18 smd rect (at -1.905 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 19 smd rect (at -0.635 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 20 smd rect (at -0.635 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 21 smd rect (at 0.635 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 22 smd rect (at 0.635 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 23 smd rect (at 1.905 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 24 smd rect (at 1.905 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 25 smd rect (at 3.175 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 26 smd rect (at 3.175 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 27 smd rect (at 4.445 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 28 smd rect (at 4.445 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 29 smd rect (at 5.715 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 30 smd rect (at 5.715 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 31 smd rect (at 6.985 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 32 smd rect (at 6.985 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 33 smd rect (at 8.255 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 34 smd rect (at 8.255 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 35 smd rect (at 9.525 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 36 smd rect (at 9.525 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 37 smd rect (at 10.795 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 38 smd rect (at 10.795 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 39 smd rect (at 12.065 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 40 smd rect (at 12.065 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
)
(module A10_OLIMEXINO_LIME_SHIELD_1-YA-V36P-2X20-LF (layer B.Cu) (tedit 52FA2CC2) (tstamp 52FF2643)
(at 0.1905 20.2565)
(descr FEMALE)
(tags FEMALE)
(path /52FC9419)
(attr smd)
(fp_text reference GPIO-2 (at -9.9568 4.3942) (layer B.SilkS)
(effects (font (size 1.27 1.27) (thickness 0.254)) (justify mirror))
)
(fp_text value FL40YA-V36P-2X20-LF (at -10.8966 5.7277) (layer B.SilkS)
(effects (font (size 0.4064 0.4064) (thickness 0.0889)) (justify mirror))
)
(fp_line (start -12.573 1.524) (end -12.7 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -12.7 1.524) (end -12.7 0) (layer B.SilkS) (width 0.254))
(fp_line (start -12.7 0) (end -12.7 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -12.7 -1.524) (end -12.573 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 12.573 1.524) (end 12.7 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 12.7 1.524) (end 12.7 0) (layer B.SilkS) (width 0.254))
(fp_line (start 12.7 0) (end 12.7 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 12.7 -1.524) (end 12.573 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -12.7 0) (end -11.43 0) (layer B.SilkS) (width 0.254))
(fp_line (start -11.43 0) (end -10.16 0) (layer B.SilkS) (width 0.254))
(fp_line (start -10.16 0) (end -8.89 0) (layer B.SilkS) (width 0.254))
(fp_line (start -8.89 0) (end -7.62 0) (layer B.SilkS) (width 0.254))
(fp_line (start -7.62 0) (end -6.35 0) (layer B.SilkS) (width 0.254))
(fp_line (start -6.35 0) (end -5.08 0) (layer B.SilkS) (width 0.254))
(fp_line (start -5.08 0) (end -3.81 0) (layer B.SilkS) (width 0.254))
(fp_line (start -3.81 0) (end -2.54 0) (layer B.SilkS) (width 0.254))
(fp_line (start -2.54 0) (end -1.27 0) (layer B.SilkS) (width 0.254))
(fp_line (start -1.27 0) (end 0 0) (layer B.SilkS) (width 0.254))
(fp_line (start 0 0) (end 1.27 0) (layer B.SilkS) (width 0.254))
(fp_line (start 1.27 0) (end 2.54 0) (layer B.SilkS) (width 0.254))
(fp_line (start 2.54 0) (end 3.81 0) (layer B.SilkS) (width 0.254))
(fp_line (start 3.81 0) (end 5.08 0) (layer B.SilkS) (width 0.254))
(fp_line (start 5.08 0) (end 6.35 0) (layer B.SilkS) (width 0.254))
(fp_line (start 6.35 0) (end 7.62 0) (layer B.SilkS) (width 0.254))
(fp_line (start 7.62 0) (end 8.89 0) (layer B.SilkS) (width 0.254))
(fp_line (start 8.89 0) (end 10.16 0) (layer B.SilkS) (width 0.254))
(fp_line (start 10.16 0) (end 11.43 0) (layer B.SilkS) (width 0.254))
(fp_line (start 11.43 0) (end 12.7 0) (layer B.SilkS) (width 0.254))
(fp_line (start -11.557 -1.524) (end -11.43 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -11.43 -1.524) (end -11.303 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -10.287 -1.524) (end -10.16 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -10.16 -1.524) (end -10.033 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -9.017 -1.524) (end -8.89 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -8.89 -1.524) (end -8.763 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -7.747 -1.524) (end -7.62 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -7.62 -1.524) (end -7.493 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -6.477 -1.524) (end -6.35 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -6.35 -1.524) (end -6.223 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -5.207 -1.524) (end -5.08 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -5.08 -1.524) (end -4.953 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -3.937 -1.524) (end -3.81 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -3.81 -1.524) (end -3.683 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -2.667 -1.524) (end -2.54 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -2.54 -1.524) (end -2.413 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.397 -1.524) (end -1.27 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.27 -1.524) (end -1.143 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -0.127 -1.524) (end 0 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 0 -1.524) (end 0.127 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 1.143 -1.524) (end 1.27 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 1.27 -1.524) (end 1.397 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 2.413 -1.524) (end 2.54 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 2.54 -1.524) (end 2.667 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 3.683 -1.524) (end 3.81 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 3.81 -1.524) (end 3.937 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 4.953 -1.524) (end 5.08 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 5.08 -1.524) (end 5.207 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 6.223 -1.524) (end 6.35 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 6.35 -1.524) (end 6.477 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 7.493 -1.524) (end 7.62 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 7.62 -1.524) (end 7.747 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 8.763 -1.524) (end 8.89 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 8.89 -1.524) (end 9.017 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 10.033 -1.524) (end 10.16 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 10.16 -1.524) (end 10.287 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 11.303 -1.524) (end 11.43 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 11.43 -1.524) (end 11.557 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 11.303 1.524) (end 11.557 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 10.033 1.524) (end 10.16 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 10.16 1.524) (end 10.287 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 8.763 1.524) (end 8.89 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 8.89 1.524) (end 9.017 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 7.493 1.524) (end 7.62 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 7.62 1.524) (end 7.747 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 6.223 1.524) (end 6.35 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 6.35 1.524) (end 6.477 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 4.953 1.524) (end 5.08 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 5.08 1.524) (end 5.207 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 3.683 1.524) (end 3.81 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 3.81 1.524) (end 3.937 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 2.413 1.524) (end 2.54 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 2.54 1.524) (end 2.667 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 1.143 1.524) (end 1.27 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 1.27 1.524) (end 1.397 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -0.127 1.524) (end 0 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 0 1.524) (end 0.127 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.397 1.524) (end -1.27 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.27 1.524) (end -1.143 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -2.667 1.524) (end -2.54 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -2.54 1.524) (end -2.413 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -3.937 1.524) (end -3.81 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -3.81 1.524) (end -3.683 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -5.207 1.524) (end -5.08 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -5.08 1.524) (end -4.953 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -6.477 1.524) (end -6.35 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -6.35 1.524) (end -6.223 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -7.747 1.524) (end -7.62 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -7.62 1.524) (end -7.493 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -9.017 1.524) (end -8.89 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -8.89 1.524) (end -8.763 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -10.287 1.524) (end -10.16 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -10.16 1.524) (end -10.033 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -10.033 1.524) (end -9.017 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -11.557 1.524) (end -11.43 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -11.43 1.524) (end -11.303 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -11.303 1.524) (end -10.287 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -12.573 1.524) (end -11.557 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -11.303 -1.524) (end -10.287 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -12.573 -1.524) (end -11.557 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -10.033 -1.524) (end -9.017 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -8.763 -1.524) (end -7.747 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -7.493 -1.524) (end -6.477 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -6.223 -1.524) (end -5.207 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -4.953 -1.524) (end -3.937 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -3.683 -1.524) (end -2.667 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -2.413 -1.524) (end -1.397 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -1.143 -1.524) (end -0.127 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 0.127 -1.524) (end 1.143 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 1.397 -1.524) (end 2.413 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 2.667 -1.524) (end 3.683 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 3.937 -1.524) (end 4.953 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 5.207 -1.524) (end 6.223 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 6.477 -1.524) (end 7.493 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 7.747 -1.524) (end 8.763 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 9.017 -1.524) (end 10.033 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 10.287 -1.524) (end 11.303 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 11.557 -1.524) (end 12.573 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -8.763 1.524) (end -7.747 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -7.493 1.524) (end -6.477 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -6.223 1.524) (end -5.207 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -4.953 1.524) (end -3.937 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -3.683 1.524) (end -2.667 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -2.413 1.524) (end -1.397 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -1.143 1.524) (end -0.127 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 0.127 1.524) (end 1.143 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 1.397 1.524) (end 2.413 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 2.667 1.524) (end 3.683 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 3.937 1.524) (end 4.953 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 5.207 1.524) (end 6.223 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 6.477 1.524) (end 7.493 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 7.747 1.524) (end 8.763 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 9.017 1.524) (end 10.033 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 10.287 1.524) (end 11.303 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 11.557 1.524) (end 12.573 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -11.43 -1.524) (end -11.43 0) (layer B.SilkS) (width 0.254))
(fp_line (start -10.16 -1.524) (end -10.16 0) (layer B.SilkS) (width 0.254))
(fp_line (start -8.89 -1.524) (end -8.89 0) (layer B.SilkS) (width 0.254))
(fp_line (start -7.62 -1.524) (end -7.62 0) (layer B.SilkS) (width 0.254))
(fp_line (start -6.35 -1.524) (end -6.35 0) (layer B.SilkS) (width 0.254))
(fp_line (start -5.08 -1.524) (end -5.08 0) (layer B.SilkS) (width 0.254))
(fp_line (start -3.81 -1.524) (end -3.81 0) (layer B.SilkS) (width 0.254))
(fp_line (start -2.54 -1.524) (end -2.54 0) (layer B.SilkS) (width 0.254))
(fp_line (start -11.43 0) (end -11.43 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -10.16 0) (end -10.16 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -8.89 0) (end -8.89 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -7.62 0) (end -7.62 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -6.35 0) (end -6.35 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -5.08 0) (end -5.08 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -3.81 0) (end -3.81 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -2.54 0) (end -2.54 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.27 0) (end -1.27 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 0 0) (end 0 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 1.27 0) (end 1.27 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 2.54 0) (end 2.54 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 3.81 0) (end 3.81 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 5.08 0) (end 5.08 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 6.35 0) (end 6.35 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 7.62 0) (end 7.62 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 8.89 0) (end 8.89 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 10.16 0) (end 10.16 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.27 -1.524) (end -1.27 0) (layer B.SilkS) (width 0.254))
(fp_line (start 0 -1.524) (end 0 0) (layer B.SilkS) (width 0.254))
(fp_line (start 1.27 -1.524) (end 1.27 0) (layer B.SilkS) (width 0.254))
(fp_line (start 2.54 -1.524) (end 2.54 0) (layer B.SilkS) (width 0.254))
(fp_line (start 3.81 -1.524) (end 3.81 0) (layer B.SilkS) (width 0.254))
(fp_line (start 5.08 -1.524) (end 5.08 0) (layer B.SilkS) (width 0.254))
(fp_line (start 6.35 -1.524) (end 6.35 0) (layer B.SilkS) (width 0.254))
(fp_line (start 7.62 -1.524) (end 7.62 0) (layer B.SilkS) (width 0.254))
(fp_line (start 8.89 -1.524) (end 8.89 0) (layer B.SilkS) (width 0.254))
(fp_line (start 10.16 -1.524) (end 10.16 0) (layer B.SilkS) (width 0.254))
(fp_line (start 11.43 -1.524) (end 11.43 0) (layer B.SilkS) (width 0.254))
(fp_line (start 11.43 0) (end 11.43 1.524) (layer B.SilkS) (width 0.254))
(fp_circle (center -11.43 0) (end -11.60272 -0.17272) (layer B.SilkS) (width 0.127))
(fp_line (start -11.77798 0) (end -11.07948 0) (layer B.SilkS) (width 0.127))
(fp_line (start -11.43 -0.34798) (end -11.43 0.34798) (layer B.SilkS) (width 0.127))
(fp_circle (center 11.43 0) (end 11.60272 -0.17272) (layer B.SilkS) (width 0.127))
(fp_line (start 11.07948 0) (end 11.77798 0) (layer B.SilkS) (width 0.127))
(fp_line (start 11.43 -0.34798) (end 11.43 0.34798) (layer B.SilkS) (width 0.127))
(fp_text user 2 (at -13.41 0.8) (layer B.SilkS)
(effects (font (size 1.016 1.016) (thickness 0.254)) (justify mirror))
)
(fp_text user 1 (at -13.35 -1.07) (layer B.SilkS)
(effects (font (size 1.016 1.016) (thickness 0.254)) (justify mirror))
)
(pad 1 smd rect (at -12.065 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
(net 2 +5V)
)
(pad 2 smd rect (at -12.065 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
(net 3 GND)
)
(pad 3 smd rect (at -10.795 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
(net 1 +3.3V)
)
(pad 4 smd rect (at -10.795 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 5 smd rect (at -9.525 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 6 smd rect (at -9.525 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 7 smd rect (at -8.255 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 8 smd rect (at -8.255 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 9 smd rect (at -6.985 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 10 smd rect (at -6.985 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 11 smd rect (at -5.715 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 12 smd rect (at -5.715 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 13 smd rect (at -4.445 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 14 smd rect (at -4.445 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 15 smd rect (at -3.175 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 16 smd rect (at -3.175 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 17 smd rect (at -1.905 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 18 smd rect (at -1.905 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 19 smd rect (at -0.635 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 20 smd rect (at -0.635 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 21 smd rect (at 0.635 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 22 smd rect (at 0.635 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 23 smd rect (at 1.905 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 24 smd rect (at 1.905 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 25 smd rect (at 3.175 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 26 smd rect (at 3.175 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 27 smd rect (at 4.445 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 28 smd rect (at 4.445 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 29 smd rect (at 5.715 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 30 smd rect (at 5.715 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 31 smd rect (at 6.985 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 32 smd rect (at 6.985 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 33 smd rect (at 8.255 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 34 smd rect (at 8.255 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 35 smd rect (at 9.525 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 36 smd rect (at 9.525 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 37 smd rect (at 10.795 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 38 smd rect (at 10.795 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 39 smd rect (at 12.065 -2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 40 smd rect (at 12.065 2.032 270) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
)
(module A10_OLIMEXINO_LIME_SHIELD_1-YA-V36P-2X10-LF (layer B.Cu) (tedit 52FA2FEB) (tstamp 52FF6AE8)
(at -23.0505 -23.3045 90)
(path /52FC8278)
(attr smd)
(fp_text reference GPIO-4 (at -11.303 0 90) (layer B.SilkS)
(effects (font (size 1.27 1.27) (thickness 0.254)) (justify mirror))
)
(fp_text value FL20YA-V36P-2X10-LF (at -12.2174 -1.1303 90) (layer B.SilkS)
(effects (font (size 0.4064 0.4064) (thickness 0.0889)) (justify mirror))
)
(fp_line (start -6.223 1.524) (end -6.35 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -6.35 1.524) (end -6.35 0) (layer B.SilkS) (width 0.254))
(fp_line (start -6.35 0) (end -6.35 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -6.35 -1.524) (end -6.223 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -6.35 0) (end -5.08 0) (layer B.SilkS) (width 0.254))
(fp_line (start -5.08 0) (end -3.81 0) (layer B.SilkS) (width 0.254))
(fp_line (start -3.81 0) (end -2.54 0) (layer B.SilkS) (width 0.254))
(fp_line (start -2.54 0) (end -1.27 0) (layer B.SilkS) (width 0.254))
(fp_line (start -1.27 0) (end 0 0) (layer B.SilkS) (width 0.254))
(fp_line (start 0 0) (end 1.27 0) (layer B.SilkS) (width 0.254))
(fp_line (start 1.27 0) (end 2.54 0) (layer B.SilkS) (width 0.254))
(fp_line (start 2.54 0) (end 3.81 0) (layer B.SilkS) (width 0.254))
(fp_line (start 3.81 0) (end 5.08 0) (layer B.SilkS) (width 0.254))
(fp_line (start 5.08 0) (end 6.35 0) (layer B.SilkS) (width 0.254))
(fp_line (start -5.207 -1.524) (end -5.08 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -5.08 -1.524) (end -4.953 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -3.937 -1.524) (end -3.81 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -3.81 -1.524) (end -3.683 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -2.667 -1.524) (end -2.54 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -2.54 -1.524) (end -2.413 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.397 -1.524) (end -1.27 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.27 -1.524) (end -1.143 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -0.127 -1.524) (end 0 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 0 -1.524) (end 0.127 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 1.143 -1.524) (end 1.27 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 1.27 -1.524) (end 1.397 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 2.413 -1.524) (end 2.54 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 2.54 -1.524) (end 2.667 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 3.683 -1.524) (end 3.81 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 3.81 -1.524) (end 3.937 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 4.953 -1.524) (end 5.08 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 5.08 -1.524) (end 5.207 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 6.223 -1.524) (end 6.35 -1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 6.223 1.524) (end 6.35 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 4.953 1.524) (end 5.08 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 5.08 1.524) (end 5.207 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 3.683 1.524) (end 3.81 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 3.81 1.524) (end 3.937 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 2.413 1.524) (end 2.54 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 2.54 1.524) (end 2.667 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 1.143 1.524) (end 1.27 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 1.27 1.524) (end 1.397 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -0.127 1.524) (end 0 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 0 1.524) (end 0.127 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.397 1.524) (end -1.27 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.27 1.524) (end -1.143 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -2.667 1.524) (end -2.54 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -2.54 1.524) (end -2.413 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -3.937 1.524) (end -3.81 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -3.81 1.524) (end -3.683 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -3.683 1.524) (end -2.667 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -5.207 1.524) (end -5.08 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -5.08 1.524) (end -4.953 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -4.953 1.524) (end -3.937 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -6.223 1.524) (end -5.207 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -4.953 -1.524) (end -3.937 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -6.223 -1.524) (end -5.207 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -3.683 -1.524) (end -2.667 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -2.413 -1.524) (end -1.397 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -1.143 -1.524) (end -0.127 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 0.127 -1.524) (end 1.143 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 1.397 -1.524) (end 2.413 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 2.667 -1.524) (end 3.683 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 3.937 -1.524) (end 4.953 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 5.207 -1.524) (end 6.223 -1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -2.413 1.524) (end -1.397 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -1.143 1.524) (end -0.127 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 0.127 1.524) (end 1.143 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 1.397 1.524) (end 2.413 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 2.667 1.524) (end 3.683 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 3.937 1.524) (end 4.953 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start 5.207 1.524) (end 6.223 1.524) (layer Eco1.User) (width 0.254))
(fp_line (start -5.08 -1.524) (end -5.08 0) (layer B.SilkS) (width 0.254))
(fp_line (start -3.81 -1.524) (end -3.81 0) (layer B.SilkS) (width 0.254))
(fp_line (start -2.54 -1.524) (end -2.54 0) (layer B.SilkS) (width 0.254))
(fp_line (start -1.27 -1.524) (end -1.27 0) (layer B.SilkS) (width 0.254))
(fp_line (start 0 -1.524) (end 0 0) (layer B.SilkS) (width 0.254))
(fp_line (start 1.27 -1.524) (end 1.27 0) (layer B.SilkS) (width 0.254))
(fp_line (start 2.54 -1.524) (end 2.54 0) (layer B.SilkS) (width 0.254))
(fp_line (start 3.81 -1.524) (end 3.81 0) (layer B.SilkS) (width 0.254))
(fp_line (start -5.08 0) (end -5.08 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -3.81 0) (end -3.81 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -2.54 0) (end -2.54 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start -1.27 0) (end -1.27 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 0 0) (end 0 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 1.27 0) (end 1.27 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 2.54 0) (end 2.54 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 3.81 0) (end 3.81 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 5.08 0) (end 5.08 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 6.35 0) (end 6.35 1.524) (layer B.SilkS) (width 0.254))
(fp_line (start 5.08 -1.524) (end 5.08 0) (layer B.SilkS) (width 0.254))
(fp_line (start 6.35 -1.524) (end 6.35 0) (layer B.SilkS) (width 0.254))
(fp_circle (center -5.08 0) (end -5.25272 -0.17272) (layer B.SilkS) (width 0.127))
(fp_line (start -5.42798 0) (end -4.72948 0) (layer B.SilkS) (width 0.127))
(fp_line (start -5.08 -0.34798) (end -5.08 0.34798) (layer B.SilkS) (width 0.127))
(fp_circle (center 5.08 0) (end 5.25272 -0.17272) (layer B.SilkS) (width 0.127))
(fp_line (start 4.72948 0) (end 5.42798 0) (layer B.SilkS) (width 0.127))
(fp_line (start 5.08 -0.34798) (end 5.08 0.34798) (layer B.SilkS) (width 0.127))
(fp_text user 2 (at -7.07 0.86 90) (layer B.SilkS)
(effects (font (size 1.016 1.016) (thickness 0.254)) (justify mirror))
)
(fp_text user 1 (at -7.05 -1.04 90) (layer B.SilkS)
(effects (font (size 1.016 1.016) (thickness 0.254)) (justify mirror))
)
(pad 1 smd rect (at -5.715 -2.032) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
(net 1 +3.3V)
)
(pad 2 smd rect (at -5.715 2.032) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
(net 3 GND)
)
(pad 3 smd rect (at -4.445 -2.032) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 4 smd rect (at -4.445 2.032) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 5 smd rect (at -3.175 -2.032) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 6 smd rect (at -3.175 2.032) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 7 smd rect (at -1.905 -2.032) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 8 smd rect (at -1.905 2.032) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 9 smd rect (at -0.635 -2.032) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 10 smd rect (at -0.635 2.032) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 11 smd rect (at 0.635 -2.032) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 12 smd rect (at 0.635 2.032) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 13 smd rect (at 1.905 -2.032) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 14 smd rect (at 1.905 2.032) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 15 smd rect (at 3.175 -2.032) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 16 smd rect (at 3.175 2.032) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 17 smd rect (at 4.445 -2.032) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 18 smd rect (at 4.445 2.032) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 19 smd rect (at 5.715 -2.032) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
(pad 20 smd rect (at 5.715 2.032) (size 1.79832 0.6985)
(layers B.Cu B.Paste B.Mask)
)
)
(gr_line (start -24.5745 -29.6545) (end -24.5745 -16.9545) (angle 90) (layer F.SilkS) (width 0.2))
(gr_line (start -21.5265 -29.6545) (end -24.5745 -29.6545) (angle 90) (layer F.SilkS) (width 0.2))
(gr_line (start -21.5265 -16.9545) (end -21.5265 -29.6545) (angle 90) (layer F.SilkS) (width 0.2))
(gr_line (start -24.5745 -16.9545) (end -21.5265 -16.9545) (angle 90) (layer F.SilkS) (width 0.2))
(gr_line (start 20.5105 25.0825) (end -4.8895 25.0825) (angle 90) (layer F.SilkS) (width 0.2))
(gr_line (start 20.5105 28.1305) (end 20.5105 25.0825) (angle 90) (layer F.SilkS) (width 0.2))
(gr_line (start -4.8895 28.1305) (end 20.5105 28.1305) (angle 90) (layer F.SilkS) (width 0.2))
(gr_line (start -4.8895 25.0825) (end -4.8895 28.1305) (angle 90) (layer F.SilkS) (width 0.2))
(gr_line (start 12.8905 18.7325) (end -12.5095 18.7325) (angle 90) (layer F.SilkS) (width 0.2))
(gr_line (start 12.8905 21.7805) (end 12.8905 18.7325) (angle 90) (layer F.SilkS) (width 0.2))
(gr_line (start -12.5095 21.7805) (end 12.8905 21.7805) (angle 90) (layer F.SilkS) (width 0.2))
(gr_line (start -12.5095 18.7325) (end -12.5095 21.7805) (angle 90) (layer F.SilkS) (width 0.2))
(gr_line (start 20.5105 -28.2575) (end -4.8895 -28.2575) (angle 90) (layer F.SilkS) (width 0.2))
(gr_line (start 20.5105 -25.2095) (end 20.5105 -28.2575) (angle 90) (layer F.SilkS) (width 0.2))
(gr_line (start -4.8895 -25.2095) (end 20.5105 -25.2095) (angle 90) (layer F.SilkS) (width 0.2))
(gr_line (start -4.8895 -28.2575) (end -4.8895 -25.2095) (angle 90) (layer F.SilkS) (width 0.2))
(gr_line (start 12.8905 -21.9075) (end -12.5095 -21.9075) (angle 90) (layer F.SilkS) (width 0.2))
(gr_line (start 12.8905 -18.8595) (end 12.8905 -21.9075) (angle 90) (layer F.SilkS) (width 0.2))
(gr_line (start -12.5095 -18.8595) (end 12.8905 -18.8595) (angle 90) (layer F.SilkS) (width 0.2))
(gr_line (start -12.5095 -21.9075) (end -12.5095 -18.8595) (angle 90) (layer F.SilkS) (width 0.2))
(gr_text LCD_CON (at 4.826 -26.7335) (layer F.SilkS)
(effects (font (size 1.016 1.016) (thickness 0.254)) (justify left))
)
(gr_text GPIO-4 (at -23.0505 -21.0185 90) (layer F.SilkS)
(effects (font (size 1.016 1.016) (thickness 0.254)) (justify left))
)
(gr_text GPIO-3 (at 5.5245 26.6065) (layer F.SilkS)
(effects (font (size 1.016 1.016) (thickness 0.254)) (justify left))
)
(gr_text GPIO-2 (at -2.0955 20.2565) (layer F.SilkS)
(effects (font (size 1.016 1.016) (thickness 0.254)) (justify left))
)
(gr_text GPIO-1 (at -2.0955 -20.3835) (layer F.SilkS)
(effects (font (size 1.016 1.016) (thickness 0.254)) (justify left))
)
(gr_text A10_OLinuXino_LIME_SHIELD_TEMPLATE (at -18.6817 -31.4706) (layer Eco2.User)
(effects (font (size 1.27 1.27) (thickness 0.254)) (justify left))
)
(gr_circle (center -43.6245 37.7825) (end -41.7195 35.8775) (layer Eco2.User) (width 0.254))
(gr_circle (center -43.6245 -37.1475) (end -42.1005 -39.37) (layer Eco2.User) (width 0.254))
(gr_circle (center 51.6255 -37.1475) (end 53.5305 -39.0525) (layer Eco2.User) (width 0.254))
(gr_circle (center 51.6255 37.7825) (end 53.5305 35.8775) (layer Eco2.User) (width 0.254))
(gr_line (start 55.4355 -40.9575) (end 55.4355 41.5925) (angle 90) (layer Eco2.User) (width 0.254) (tstamp 52FF79F9))
(gr_line (start -47.4345 -40.9575) (end -47.4345 41.5925) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 35.4965 -23.4315) (end 35.4965 -29.7815) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 29.4005 -23.4315) (end 35.4965 -23.4315) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 29.4005 -29.7815) (end 29.4005 -23.4315) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 35.7505 26.9875) (end 28.1305 26.9875) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 35.7505 29.5275) (end 35.7505 26.9875) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 28.1305 29.5275) (end 35.7505 29.5275) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 28.1305 26.9875) (end 28.1305 29.5275) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 27.8765 25.7175) (end 46.0375 25.7175) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 27.8765 9.7155) (end 27.8765 25.7175) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 46.0375 9.7155) (end 27.8765 9.7155) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 30.1625 6.5405) (end 46.0375 6.5405) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 30.1625 0.8255) (end 30.1625 6.5405) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 46.0375 0.8255) (end 30.1625 0.8255) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 30.1625 -2.9845) (end 46.0375 -2.9845) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 30.1625 -8.8265) (end 30.1625 -2.9845) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 46.0375 -8.8265) (end 30.1625 -8.8265) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 42.1005 -10.6045) (end 46.0375 -10.6045) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 42.1005 -16.7005) (end 42.1005 -10.6045) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 46.0375 -16.7005) (end 42.1005 -16.7005) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 36.3855 -17.4625) (end 46.0375 -17.4625) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 36.3855 -26.6065) (end 36.3855 -17.4625) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 46.0375 -26.6065) (end 36.3855 -26.6065) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -33.8455 26.0985) (end -37.9095 26.0985) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -33.8455 18.2245) (end -33.8455 26.0985) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -37.9095 18.2245) (end -33.8455 18.2245) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -27.6225 12.0015) (end -37.9095 12.0015) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -27.6225 -2.9845) (end -27.6225 12.0015) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -37.9095 -2.9845) (end -27.6225 -2.9845) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -28.1305 -4.3815) (end -37.9095 -4.3815) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -28.1305 -7.5565) (end -28.1305 -4.3815) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -32.0675 -7.5565) (end -28.1305 -7.5565) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -32.0675 -17.7165) (end -32.0675 -7.5565) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -28.1305 -17.7165) (end -32.0675 -17.7165) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -28.1305 -20.6375) (end -28.1305 -17.7165) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -29.4005 -21.9075) (end -28.1305 -20.6375) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -31.8135 -21.9075) (end -29.4005 -21.9075) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -31.8135 -28.2575) (end -31.8135 -21.9075) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -36.6395 -28.2575) (end -31.8135 -28.2575) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -36.6395 -28.6385) (end -36.6395 -28.2575) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -36.6395 -28.6385) (end -37.9095 -28.6385) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -36.6395 -29.7815) (end -36.6395 -28.6385) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -19.7485 -29.7815) (end -36.6395 -29.7815) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -19.7485 -21.6535) (end -19.7485 -29.7815) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -13.0175 -21.6535) (end -19.7485 -21.6535) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -13.0175 -29.7815) (end -13.0175 -21.6535) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 21.1455 -29.7815) (end -13.0175 -29.7815) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 21.1455 -21.6535) (end 21.1455 -29.7815) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 27.8765 -21.6535) (end 21.1455 -21.6535) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 27.8765 -29.7815) (end 27.8765 -21.6535) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 44.8945 -29.7815) (end 27.8765 -29.7815) (angle 90) (layer Eco2.User) (width 0.254) (tstamp 52FF79FC))
(gr_line (start 44.8945 -28.6385) (end 44.8945 -29.7815) (angle 90) (layer Eco2.User) (width 0.254) (tstamp 52FF79FB))
(gr_line (start 46.0375 -28.6385) (end 44.8945 -28.6385) (angle 90) (layer Eco2.User) (width 0.254) (tstamp 52FF79FA))
(gr_line (start 46.0375 28.5115) (end 46.0375 -28.6385) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 44.8945 28.5115) (end 46.0375 28.5115) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 44.8945 29.7815) (end 44.8945 28.5115) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 27.8765 29.7815) (end 44.8945 29.7815) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 27.8765 21.6535) (end 27.8765 29.7815) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 21.1455 21.6535) (end 27.8765 21.6535) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 21.1455 29.7815) (end 21.1455 21.6535) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -13.0175 29.7815) (end 21.1455 29.7815) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -13.0175 21.6535) (end -13.0175 29.7815) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -19.7485 21.6535) (end -13.0175 21.6535) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -19.7485 29.7815) (end -19.7485 21.6535) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -36.7665 29.7815) (end -19.7485 29.7815) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -36.7665 28.5115) (end -36.7665 29.7815) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -37.9095 28.5115) (end -36.7665 28.5115) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start -37.9095 -28.6385) (end -37.9095 28.5115) (angle 90) (layer Eco2.User) (width 0.254))
(gr_line (start 26.0985 -29.7815) (end -26.6065 -29.7815) (angle 90) (layer Edge.Cuts) (width 0.254))
(gr_line (start 26.6065 -29.2735) (end 26.0985 -29.7815) (angle 90) (layer Edge.Cuts) (width 0.254))
(gr_line (start 26.6065 29.2735) (end 26.6065 -29.2735) (angle 90) (layer Edge.Cuts) (width 0.254))
(gr_line (start 26.0985 29.7815) (end 26.6065 29.2735) (angle 90) (layer Edge.Cuts) (width 0.254))
(gr_line (start -26.0985 29.7815) (end 26.0985 29.7815) (angle 90) (layer Edge.Cuts) (width 0.254))
(gr_line (start -26.6065 29.2735) (end -26.0985 29.7815) (angle 90) (layer Edge.Cuts) (width 0.254))
(gr_line (start -26.6065 -29.7815) (end -26.6065 29.2735) (angle 90) (layer Edge.Cuts) (width 0.254))
)
| KiCad | 4 | GitHubRepoDescription/OLINUXINO-forked | HARDWARE/A10-OLinuXino-LIME/A10_OLinuXino_Lime_Rev-B_SHIELD_TEMPLATE KiCAD/A10_OLinuXino_Lime_Rev-B_SHIELD_TEMPLATE.kicad_pcb | [
"Unlicense"
] |
// @declaration: true
// @filename: node_modules/umd.d.ts
export as namespace UMD;
export type Thing = {
a: number;
}
export declare function makeThing(): Thing;
// @filename: index.ts
import { makeThing } from "umd";
export const thing = makeThing();
| TypeScript | 4 | nilamjadhav/TypeScript | tests/cases/compiler/importShouldNotBeElidedInDeclarationEmit.ts | [
"Apache-2.0"
] |
/*
* This file implements a fast L2 UDP packet generator
*
* This can be used to test the throughput of a DUT, using a receiver-l2.click
* on some other end of a switch
*
* A launch line would be :
* sudo bin/click -c 0x1 -n 4 -- conf/fastclick/pktgen-l2.click L=60 S=1000000 N=100
*/
//Default values for packet length, number of packets and amountfs of time to replay them
define($L 60, $N 100, $S 100000);
//You do not need to change these to the real ones, just have the dmac match the receiver's one
define($mymac 90:e2:ba:c3:79:66)
define($dmac 90:e2:ba:c3:76:6e)
//Ip are just for a convenient payload as this is l2
define($myip 192.168.130.13)
define($dstip 192.168.128.13)
//Explained in loop.click
define($verbose 3)
define($blocking true)
//###################
// TX
//###################
//Create a UDP flow of $N packets
FastUDPFlows(RATE 0, LIMIT $N, LENGTH $L, SRCETH $mymac, DSTETH $dmac, SRCIP $myip, DSTIP $dstip, FLOWS 1, FLOWSIZE $N)
-> MarkMACHeader
//EnsureDPDKBuffer will copy the packet inside a DPDK buffer, so there is no more copies (not even to the NIC) afterwards when we replay the packet many time
-> EnsureDPDKBuffer
//MutliReplayUqueue pulls all packets from its input, and replay them from memory $S amount of time
-> replay :: MultiReplayUnqueue(STOP -1, ACTIVE false, QUICK_CLONE 1)
-> ic0 :: AverageCounter()
-> td :: ToDPDKDevice(0, BLOCKING $blocking, VERBOSE $verbose)
//It is good practice to pin any source to let FastClick know what will eat the CPU and allocate FromDPDKDevice threads accordingly. It also help you know what you're doing. Multithreading is everything but magic.
StaticThreadSched(replay 0)
//###################
// RX
//###################
fd :: FromDPDKDevice(0, PROMISC true, VERBOSE $verbose)
-> Discard
Script(TYPE ACTIVE,
wait 5ms,
write replay.active true, //Launch replay
label start,
print "Number of packets sent : $(ic0.count)",
print "TX rate : $(ic0.link_rate)",
wait 1s,
goto start
)
| Click | 4 | BorisPis/asplos22-nicmem-fastclick | conf/pktgen/pktgen-l2.click | [
"BSD-3-Clause-Clear"
] |
fileFormatVersion: 2
guid: 2edf24df24ac426085cb31a94d063683
timeCreated: 1603392289 | Unity3D Asset | 0 | mattinjersey/ml-agents | com.unity.ml-agents.extensions/Tests/Editor/Match3/Match3ActuatorTests.cs.meta | [
"Apache-2.0"
] |
/*++
Copyright (c) Microsoft Corporation
Licensed under the MIT license.
Module Name:
- tracing.hpp
Abstract:
- This module is used for recording tracing/debugging information to the telemetry ETW channel
- The data is not automatically broadcast to telemetry backends as it does not set the TELEMETRY keyword.
- NOTE: Many functions in this file appear to be copy/pastes. This is because the TraceLog documentation warns
to not be "cute" in trying to reduce its macro usages with variables as it can cause unexpected behavior.
--*/
#pragma once
#include "telemetry.hpp"
| C++ | 3 | Ghosty141/Terminal | src/terminal/adapter/tracing.hpp | [
"MIT"
] |
2016-03-16 11:27:43 > anon ([email protected]) has joined #opers
2016-03-16 11:27:43 - Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-03-16 11:27:45 - Channel created on Wed, 16 Mar 2016 11:27:43
2016-03-16 11:29:20 @anon LIST
2016-03-16 11:31:03 > anon ([email protected]) has joined #opers
2016-03-16 11:31:03 - Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-03-16 11:31:05 - Channel created on Wed, 16 Mar 2016 11:31:02
2016-03-16 11:39:12 - irc: disconnected from server
2016-03-16 11:39:21 > anon (whoami@MKFS-8C9751DE) has joined #opers
2016-03-16 11:39:21 - Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-03-16 11:39:25 - Channel created on Wed, 16 Mar 2016 11:39:21
2016-03-16 11:43:39 - irc: disconnected from server
2016-03-16 11:43:41 > anon ([email protected]) has joined #opers
2016-03-16 11:43:41 - Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-03-16 11:43:45 - Channel created on Wed, 16 Mar 2016 11:43:41
2016-03-16 20:28:26 - irc: disconnected from server
2016-03-16 20:28:31 > anon ([email protected]) has joined #opers
2016-03-16 20:28:31 - Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-03-16 20:28:35 - Channel created on Wed, 16 Mar 2016 20:28:31
2016-03-16 20:36:41 - irc: disconnected from server
2016-03-17 02:36:24 > anon ([email protected]) has joined #opers
2016-03-17 02:36:24 - Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-03-17 02:36:28 - Channel created on Thu, 17 Mar 2016 02:36:24
2016-03-17 15:50:33 - irc: disconnected from server
2016-03-17 19:44:26 > anon ([email protected]) has joined #opers
2016-03-17 19:44:26 - Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-03-17 19:44:30 - Channel created on Thu, 17 Mar 2016 19:44:26
2016-03-18 20:03:55 - irc: disconnected from server
2016-03-19 07:19:27 > anon ([email protected]) has joined #opers
2016-03-19 07:19:27 - Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-03-19 07:19:31 - Channel created on Sat, 19 Mar 2016 07:19:27
2016-03-19 08:27:27 > anon ([email protected]) has joined #opers
2016-03-19 08:27:27 - Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-03-19 08:27:31 - Channel created on Sat, 19 Mar 2016 08:27:27
2016-03-21 07:15:57 - irc: disconnected from server
2016-03-21 07:55:24 > anon ([email protected]) has joined #opers
2016-03-21 07:55:24 - Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-03-21 07:55:28 - Channel created on Mon, 21 Mar 2016 07:55:24
2016-03-24 00:11:02 > anon ([email protected]) has joined #opers
2016-03-24 00:11:02 - Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-03-24 00:11:06 - Channel created on Thu, 24 Mar 2016 00:11:02
2016-03-24 05:22:27 > anon ([email protected]) has joined #opers
2016-03-24 05:22:27 - Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-03-24 05:22:31 - Channel created on Thu, 24 Mar 2016 05:22:27
2016-03-24 05:31:50 - irc: disconnected from server
2016-03-30 12:06:04 - anon ([email protected]) has joined #opers
2016-03-30 12:06:04 Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-03-30 12:06:08 Channel created on Wed, 30 Mar 2016 12:06:03
2016-03-30 18:34:06 irc: disconnected from server
2016-04-06 11:36:31 - anon ([email protected]) has joined #opers
2016-04-06 11:36:31 [11:36]
2016-04-06 11:36:31 Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-04-06 11:36:35 Channel created on Wed, 06 Apr 2016 11:37:35
2016-04-06 11:42:00 [11:36]
2016-04-06 16:41:19 irc: disconnected from server
2016-04-07 06:58:07 - anon ([email protected]) has joined #opers
2016-04-07 06:58:07 [06:58]
2016-04-07 06:58:07 Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-04-07 06:58:11 Channel created on Thu, 07 Apr 2016 06:59:09
2016-04-07 07:04:00 [06:58]
2016-04-07 07:34:37 irc: disconnected from server
2016-04-07 07:56:51 - anon ([email protected]) has joined #opers
2016-04-07 07:56:51 [07:56]
2016-04-07 07:56:51 Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-04-07 07:56:55 Channel created on Thu, 07 Apr 2016 07:57:54
2016-04-07 08:02:00 [07:56]
2016-04-07 09:11:20 irc: disconnected from server
2016-04-07 09:36:59 - anon ([email protected]) has joined #opers
2016-04-07 09:36:59 [09:36]
2016-04-07 09:36:59 Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-04-07 09:37:03 Channel created on Thu, 07 Apr 2016 09:38:01
2016-04-07 09:43:00 [09:37]
2016-04-07 10:36:49 - anon ([email protected]) has joined #opers
2016-04-07 10:36:49 [10:36]
2016-04-07 10:36:49 Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-04-07 10:36:53 Channel created on Thu, 07 Apr 2016 10:37:50
2016-04-07 10:42:00 [10:36]
2016-04-07 18:31:57 - anon ([email protected]) has joined #opers
2016-04-07 18:31:57 [18:31]
2016-04-07 18:31:57 Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-04-07 18:32:01 Channel created on Thu, 07 Apr 2016 18:32:58
2016-04-07 18:38:00 [18:32]
2016-04-07 18:39:55 irc: disconnected from server
2016-04-07 22:03:19 - anon ([email protected]) has joined #opers
2016-04-07 22:03:19 [22:03]
2016-04-07 22:03:19 Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-04-07 22:03:23 Channel created on Thu, 07 Apr 2016 22:04:20
2016-04-07 22:09:00 [22:03]
2016-04-07 22:17:50 irc: disconnected from server
2016-04-07 23:09:08 - anon ([email protected]) has joined #opers
2016-04-07 23:09:08 [23:09]
2016-04-07 23:09:08 Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-04-07 23:09:12 Channel created on Thu, 07 Apr 2016 23:10:09
2016-04-07 23:15:00 [23:09]
2016-04-08 13:40:51 irc: disconnected from server
2016-04-08 17:53:05 - anon ([email protected]) has joined #opers
2016-04-08 17:53:05 [17:53]
2016-04-08 17:53:05 Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-04-08 17:53:09 Channel created on Fri, 08 Apr 2016 17:54:04
2016-04-08 17:59:00 [17:53]
2016-04-09 00:49:21 - anon ([email protected]) has joined #opers
2016-04-09 00:49:21 [00:49]
2016-04-09 00:49:21 Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-04-09 00:49:25 Channel created on Sat, 09 Apr 2016 00:50:20
2016-04-09 00:55:00 [00:49]
2016-04-09 19:55:58 irc: disconnected from server
2016-04-11 10:21:37 - anon ([email protected]) has joined #opers
2016-04-11 10:21:37 [10:21]
2016-04-11 10:21:37 Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-04-11 10:21:41 Channel created on Mon, 11 Apr 2016 10:22:31
2016-04-11 10:27:00 [10:21]
2016-04-11 20:55:11 irc: disconnected from server
2016-04-11 21:51:09 - anon ([email protected]) has joined #opers
2016-04-11 21:51:09 [21:51]
2016-04-11 21:51:09 Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-04-11 21:51:13 Channel created on Mon, 11 Apr 2016 21:52:02
2016-04-11 21:57:00 [21:51]
2016-04-11 22:33:53 irc: disconnected from server
2016-04-11 22:33:53 [22:33]
2016-04-11 22:34:03 - anon ([email protected]) has joined #opers
2016-04-11 22:34:03 Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-04-11 22:34:09 Channel created on Mon, 11 Apr 2016 22:34:56
2016-04-11 22:40:00 [22:34]
2016-04-12 13:24:55 irc: disconnected from server
2016-04-12 13:24:55 [13:24]
2016-04-12 13:25:05 - anon ([email protected]) has joined #opers
2016-04-12 13:25:05 Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-04-12 13:25:11 Channel created on Tue, 12 Apr 2016 13:25:57
2016-04-12 13:31:00 [13:25]
2016-04-12 18:32:41 irc: disconnected from server
2016-04-12 18:32:41 [18:32]
2016-04-12 18:34:11 - anon ([email protected]) has joined #opers
2016-04-12 18:34:11 Channel #opers: 1 nick (1 op, 0 halfops, 0 voices, 0 normals)
2016-04-12 18:34:17 Channel created on Tue, 12 Apr 2016 18:35:03
2016-04-12 18:40:00 [18:34]
| IRC log | 0 | 0x4b1dN/2016-dots | misc/weechat/logs/irc.mkfs.#opers.weechatlog | [
"MIT"
] |
\begin{code}
{-# OPTIONS --without-K #-}
open import Data.Fin
open import Data.Integer
open import Data.Nat
open import Data.Product
\end{code}
%<*pitch>
\begin{code}
data Pitch : Set where
pitch : ℤ → Pitch
\end{code}
%</pitch>
%<*duration>
\begin{code}
data Duration : Set where
duration : ℕ → Duration
\end{code}
%</duration>
%<*note>
\begin{code}
data Note : Set where
note : Duration → Pitch → Note
rest : Duration → Note
\end{code}
%</note>
%<*music>
\begin{code}
data Music : Set where
note : Note → Music
_∷_ : Music → Music → Music -- sequential
_∥_ : Music → Music → Music -- parallel
\end{code}
%</music>
%<*chromatic>
\begin{code}
chromaticScaleSize : ℕ
chromaticScaleSize = 12
\end{code}
%</chromatic>
%<*relpitch>
\begin{code}
data RelativePitch : Set where
relativePitch : Fin chromaticScaleSize → RelativePitch
\end{code}
%</relpitch>
%<*octave>
\begin{code}
data Octave : Set where
octave : ℤ → Octave
\end{code}
%</octave>
%<*pitchoctave>
\begin{code}
PitchOctave : Set
PitchOctave = RelativePitch × Octave
\end{code}
%</pitchoctave>
| Literate Agda | 5 | halfaya/MusicTools | agda/Pnwplse.lagda | [
"MIT"
] |
n();
n(23,6);
n&();
n&()();
z = b&();
z = b&(8);
z = b&(8)(6);
z = b&(8, 9);
z = b&(8, ? int);
z = b&(8, Int)(9)&(5, ? float)(5.);
z = b&(8, ? int)(9)&(5, ? float)&(5.)();
z = b&(8, ? int)(9)&(5, ? float)(5.)();
z lambda = b&(); //genneral catch all for a funcref/lambda
ax[3][2].a()(3);//takes no args
ax[3][2].a&(? int)(3);
ax[3][2].a&(5,? int)(3);
ax[3][2].a&(5,? int,7)(3);
ax[3][2].a&(5,? int,? int)&(3,? int)(9)[1].print();
n();
n&()();
p=a()(3,Int); //simple function refs
z () int = b&(4,3);
ans = a&(69,0)();
z = b&();
g=9;
s;
soemthing (float) int = p()(5.);
anotherthing (float) int = p&(5,? float)(5.);
a lambda = dude();
norm int = a(69,54);
something (int) int = a&(? int,54);
a&(? int,? int)(6,7);
a&(? float,45,? int)(5., 6);
//define func and lambdas
plus1v2 = def (n int) int { return n+1;};
plus1v3 (int) int = plus1v2;
//refs
plus1v3(4);
def map(input List<Int>, func (int) int) List<Int>
{
ret = new List<Int>();
for(i in input){ret.add(func(i));}
return ret;
}
map([1,2,3], plus1v3);
def aa(n int, m int) int {n+m;}
//currying
curry = aa&(? int,2);
curry2 = curry&(4);
res = curry2();
//refs //shit these are the wrong way around...
ref (int) void = null;
ref = (def (a int)void {print(a**6);})(8);
something () Int = a&(4,5);
| Web Ontology Language | 2 | michaeldesu/Concurnas | tests/com/concurnas/compiler/ast/testLambdas.owl | [
"MIT"
] |
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
<extension point="org.jkiss.dbeaver.generic.meta">
<meta id="denodo" class="org.jkiss.dbeaver.ext.denodo.model.DenodoMetaModel" driverClass="com.denodo.dv.jdbc.Driver"/>
</extension>
<extension point="org.jkiss.dbeaver.dataSourceProvider">
<!-- Data Virtuality -->
<datasource
class="org.jkiss.dbeaver.ext.denodo.DenodoDataSourceProvider"
description="%datasource.denodo.description"
id="denodo"
parent="generic"
label="Denodo"
icon="icons/denodo_icon.png"
dialect="basic">
<drivers managable="true">
<driver
id="denodo_jdbc"
label="Denodo"
class="com.denodo.dv.jdbc.Driver"
icon="icons/denodo_icon.png"
iconBig="icons/denodo_icon_big.png"
sampleURL="jdbc:vdb://{host}:{port}/:{database}"
defaultPort="9999"
defaultDatabase="admin"
defaultUser="admin"
defaultPassword="admin"
description="JDBC driver of the Denodo Platform"
webURL="https://https://denodo.com/docs/"
categories="sql,analytic">
<file type="jar" path="https://community.denodo.com/drivers/download/2721"/>
</driver>
</drivers>
</datasource>
</extension>
<extension point="org.jkiss.dbeaver.sqlDialect">
<dialect id="denodo" parent="generic" class="org.jkiss.dbeaver.ext.denodo.model.DenodoSQLDialect" label="Denodo" description="Denodo SQL dialect." icon="icons/denodo_icon.png">
</dialect>
</extension>
</plugin>
| XML | 4 | SubOptimal/dbeaver | plugins/org.jkiss.dbeaver.ext.denodo/plugin.xml | [
"Apache-2.0"
] |
import "1" as $x;
include "6";
def h: [$x,g];
| JSONiq | 0 | darren/gojq | cli/testdata/13.jq | [
"MIT"
] |
util = require 'util'
printf (format, args, ...) =
console.log (util.format (format, args, ...))
printf "%s => %d" 'one' 3 | PogoScript | 4 | featurist/pogoscript | examples/splats.pogo | [
"BSD-2-Clause"
] |
a {
color: \\ red \\ blue;
}
| CSS | 0 | mengxy/swc | crates/swc_css_parser/tests/fixture/delim/backslash/input.css | [
"Apache-2.0"
] |
BEGIN {
print "#include <string.h>"
print "#include \"symbols.h\""
print
}
#FIXME: Is there a way to capture subexpression in awk? The following gsub is
# kind of ugly
/QUIZ_CASE\(([a-z0-9_]+)\)/ { gsub(/(QUIZ_CASE\()|(\))/, "", $1); tests = tests "quiz_case_" $1 "," }
END {
declarations = tests;
gsub(/quiz_case/, "void quiz_case", declarations);
gsub(/,/, "();\n", declarations);
print declarations;
symbols = tests;
print "QuizCase quiz_cases[] = {";
gsub(/quiz_case/, " quiz_case", symbols);
gsub(/,/, ",\n", symbols);
symbols = symbols " NULL"
print symbols;
print "};"
print ""
names = tests;
print "char * quiz_case_names[] = {";
gsub(/quiz_case_/, " \"", names);
gsub(/,/, "\",\n", names);
names = names " NULL"
print names;
print "};"
}
| Awk | 4 | VersiraSec/epsilon-cfw | quiz/src/symbols.awk | [
"FSFAP"
] |
package gw.internal.gosu.regression
enhancement NamedArgWithinNamedArgWorksTestEnhancement : NamedArgWithinNamedArgWorksTest {
function bar( val2 : String = null, val : String = null) : String {
return val
}
}
| Gosu | 3 | tcmoore32/sheer-madness | gosu-test/src/test/gosu/gw/internal/gosu/regression/NamedArgWithinNamedArgWorksTestEnhancement.gsx | [
"Apache-2.0"
] |
------------------------------------------------------------------------------
-- ZLib for Ada thick binding. --
-- --
-- Copyright (C) 2002-2004 Dmitriy Anisimkov --
-- --
-- This library is free software; you can redistribute it and/or modify -- | Ada | 0 | s4-2/scancode-toolkit | tests/cluecode/data/ics/zlib-contrib-ada/zlib.ads | [
"Apache-2.0",
"CC-BY-4.0"
] |
"""
Hello
0
"""
class Foo:
counter = 1
def GetTicks():
yield 0
if --counter <= 0:
print "Hello"
print join(Foo().GetTicks(), '')
| Boo | 2 | popcatalin81/boo | tests/testcases/regression/BOO-861-1.boo | [
"BSD-3-Clause"
] |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M13.22 22.61c-.4.15-.8.29-1.22.39-5.16-1.26-9-6.45-9-12V5l9-4 9 4v6c0 .9-.11 1.78-.3 2.65-.81-.41-1.73-.65-2.7-.65-3.31 0-6 2.69-6 6 0 1.36.46 2.61 1.22 3.61zM19 20v2.99s-1.99.01-2 0V20h-3v-2h3v-3h2v3h3v2h-3z"
}), 'AddModerator'); | JavaScript | 4 | good-gym/material-ui | packages/material-ui-icons/lib/esm/AddModerator.js | [
"MIT"
] |
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
-1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -96.00
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -22.00
-1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -50.00
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -63.00
-1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -95.00
-1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -51.00
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
-1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -63.00
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -68.00
-1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -82.00
1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
-1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -90.00
-1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -63.00
1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -50.00
-1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -68.00
-1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -64.00
1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -70.00
-1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -45.00
1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
-1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -6.00
1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -47.00
-1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -61.00
1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -57.00
-1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -63.00
1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -50.00
-1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -33.00
1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -63.00
-1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -77.00
1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -57.00
-1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -57.00
1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -74.00
-1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -53.00
1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -47.00
-1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -50.00
1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -68.00
-1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -32.00
1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -81.00
-1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -32.00
1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -64.00
-1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -18.00
1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -116.00
-1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 12.00
1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -143.00
-1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 27.00
1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -47.00
-1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -24.00
1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -94.00
-1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 1.00
1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -114.00
-1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 36.00
1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -132.00
-1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 61.00
1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -195.00
-1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 40.00
1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -171.00
-1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 53.00
1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -47.00
-1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -68.00
1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -50.00
-1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -44.00
1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -69.00
-1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 8.00
1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -104.00
-1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -39.00
1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -95.00
-1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -51.00
1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -80.00
-1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -55.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -47.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -40.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -78.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -38.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -75.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -33.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -63.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -18.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -116.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 14.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -145.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 42.00
0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -96.00
0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -28.00
0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -69.00
0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -14.00
0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -9.00
0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -49.00
0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -65.00
0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -105.00
0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -53.00
0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -48.00
0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -117.00
0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -23.00
0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -96.00
0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -61.00
0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -36.00
0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -14.00
0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -9.00
0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -54.00
0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -60.00
0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -118.00
0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -40.00
0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -60.00
0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -105.00
0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -70.00
0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -96.00
0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -50.00
0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -47.00
0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 17.00
0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -40.00
0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -53.00
0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -61.00
0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -59.00
0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -99.00
0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 9.00
0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -174.00
0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 10.00
0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -96.00
0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -24.00
0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -73.00
0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 50.00
0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -73.00
0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 15.00
0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -129.00
0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 20.00
0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -178.00
0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 37.00
0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -202.00
0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 36.00
0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -96.00
0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -68.00
0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -29.00
0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 5.00
0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -28.00
0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -13.00
0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -101.00
0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -80.00
0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -78.00
0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -54.00
0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -111.00
0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -72.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -96.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -40.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -57.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 11.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -34.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -54.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -60.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -59.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -99.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 11.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -176.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 25.00
0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 -28.00
0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 -61.00
0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 -49.00
0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 -82.00
0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 -36.00
0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 -41.00
0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 -73.00
0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 -91.00
0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 -22.00
0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 0.00 -29.00
0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 0.00 -88.00
0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 -28.00
0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 -50.00
0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 -60.00
0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 -51.00
0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 -67.00
0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 -40.00
0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 -74.00
0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 -32.00
0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 -81.00
0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 22.00
0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 -98.00
0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 -8.00
0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 -28.00
0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 -24.00
0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 -86.00
0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 -18.00
0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 -100.00
0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 28.00
0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 -142.00
0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 47.00
0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 -160.00
0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 50.00
0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 0.00 -126.00
0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00 18.00
0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 -28.00
0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 -68.00
0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 -42.00
0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 -63.00
0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 -55.00
0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00
0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 -114.00
0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 -53.00
0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 -60.00
0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 -41.00
0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 -35.00
0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 -90.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 -28.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 -40.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 -70.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 -57.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 -61.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 -41.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 -73.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 -32.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 -81.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 24.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 0.00 -100.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 1.00 0.00 7.00
0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 -50.00
0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 -60.00
0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 -18.00
0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 -40.00
0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 -87.00
0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 -27.00
0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 -93.00
0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 35.00
0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 0.00 -145.00
0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 0.00 4.00
0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 -24.00
0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 15.00
0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 -105.00
0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 28.00
0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 -155.00
0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 52.00
0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 -172.00
0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 63.00
0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 -173.00
0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 30.00
0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 -61.00
0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 -68.00
0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 -42.00
0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 -30.00
0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 -60.00
0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 0.00
0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 -127.00
0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 -48.00
0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 -72.00
0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 -28.00
0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 0.00 -82.00
0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 0.00 -78.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 -61.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 -40.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 -70.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 -24.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 -66.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 -41.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 -86.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 -27.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 -93.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 37.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 -147.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 19.00
0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 -50.00
0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 -24.00
0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 -55.00
0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 4.00
0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 -104.00
0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 -3.00
0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 -96.00
0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 51.00
0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 -103.00
0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 4.00
0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 0.00 -93.00
0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 0.00 -39.00
0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 -50.00
0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 -68.00
0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 -11.00
0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 -41.00
0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 -59.00
0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 -31.00
0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 -68.00
0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 -49.00
0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 -3.00
0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 -87.00
0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 -2.00
0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 -147.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 -50.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 -40.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 -39.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 -35.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 -65.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 -72.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 -27.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 -28.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 -24.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 -22.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 0.00 -67.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 1.00 0.00 -50.00
0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 -24.00
0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 -68.00
0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 22.00
0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 -67.00
0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 9.00
0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 -64.00
0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 11.00
0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 -117.00
0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 25.00
0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 -166.00
0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 0.00 24.00
0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 0.00 -175.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 -24.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 -40.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 -6.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 3.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 -105.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 52.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 -96.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 4.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 -101.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 -41.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 -78.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 -68.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 -40.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 -51.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 -17.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 -25.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 -60.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 -48.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 -68.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 -87.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 -1.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 0.00 -149.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 1.00 0.00 13.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -345.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -376.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 -300.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -1.00 -347.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 -267.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -1.00 -241.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 -349.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 -1.00 -252.00
| Matlab | 0 | yinrun/LOPDC-Benchmarks | jobshop/matlab/js-8-6-2.matlab | [
"MIT"
] |
<template>
<div>
<h1>This is secret page.</h1>
<NuxtLink to="/">
Back home
</NuxtLink>
</div>
</template>
<script>
export default {
middleware: 'authenticated'
}
</script>
| Vue | 3 | ardyno/nuxt.js | examples/auth-jwt/pages/secret.vue | [
"MIT"
] |
{
"cells": [
{
"cell_type": "markdown",
"metadata": {
"id": "JCG15IOGm-cY"
},
"source": [
"##### Copyright 2020 Google LLC.\n",
"\n",
"\n",
"Licensed under the Apache License, Version 2.0 (the \"License\");\n",
"you may not use this file except in compliance with the License.\n",
"You may obtain a copy of the License at\n",
"\n",
" https://www.apache.org/licenses/LICENSE-2.0\n",
"\n",
"Unless required by applicable law or agreed to in writing, software\n",
"distributed under the License is distributed on an \"AS IS\" BASIS,\n",
"WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n",
"See the License for the specific language governing permissions and\n",
"limitations under the License."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 50
},
"executionInfo": {
"elapsed": 2819,
"status": "ok",
"timestamp": 1593126151058,
"user": {
"displayName": "Lucy Colwell",
"photoUrl": "https://lh3.googleusercontent.com/a-/AOh14GhDVS9VL55nJ_BMyjGqE4RYboOf4i5N9LaE148oGg=s64",
"userId": "17590064334699832966"
},
"user_tz": 240
},
"id": "6n1hColO-89V",
"outputId": "df661a62-ad35-42e5-9d0b-2f5cee6bde04"
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Requirement already satisfied: python-Levenshtein in /usr/local/lib/python3.6/dist-packages (0.12.0)\n",
"Requirement already satisfied: setuptools in /usr/local/lib/python3.6/dist-packages (from python-Levenshtein) (47.3.1)\n"
]
}
],
"source": [
"import os\n",
"import numpy\n",
"import pandas\n",
"from six.moves import zip\n",
"from sklearn import mixture\n",
"import gzip\n",
"\n",
"!pip install python-Levenshtein\n",
"\n",
"import Levenshtein"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "Vnv4BxyUsMz7"
},
"source": [
"## Code to fit GMM"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "KXnqP29_sAXj"
},
"outputs": [],
"source": [
"R1_TILE21_WT_SEQ = 'DEEEIRTTNPVATEQYGSVSTNLQRGNR'\n",
"\n",
"# Covariance type to use in Gaussian Mixture Model.\n",
"_COVAR_TYPE = 'full'\n",
"# Number of components to use in Gaussian Mixture Model.\n",
"_NUM_COMPONENTS = 2\n",
"\n",
"class BinningLabeler(object):\n",
" \"\"\"Emits class labels from provided cutoff values.\n",
"\n",
" Input cutoffs are encoded as 1-D arrays. Given a cutoffs array of\n",
" size n, creates n+1 labels for cutoffs, where the first bin is\n",
" [-inf, cutoffs[0]], and last bin is (cutoffs[-1], inf].\n",
" \"\"\"\n",
"\n",
" def __init__(self, cutoffs):\n",
" \"\"\"Constructor.\n",
"\n",
" Args:\n",
" cutoffs: (numpy.ndarray or list or numeric) values to bin data at. First bin\n",
" is [-inf, cutoffs[0]], and last bin is (cutoffs[-1], inf].\n",
"\n",
" Raises:\n",
" ValueError: If no cutoff(s) (i.e. an empty list) is provided.\n",
" \"\"\"\n",
" cutoffs = numpy.atleast_1d(cutoffs)\n",
" if cutoffs.size:\n",
" self._cutoffs = numpy.sort(cutoffs)\n",
" else:\n",
" raise ValueError('Invalid cutoffs. At least one cutoff value required.')\n",
"\n",
" def predict(self, values):\n",
" \"\"\"Provides model labels for input value(s) using the cutoff bins.\n",
"\n",
" Args:\n",
" values: (numpy.ndarray or numeric) Value(s) to infer a label on.\n",
"\n",
" Returns:\n",
" A numpy array with length len(values) and labels corresponding to\n",
" categories defined by the cutoffs array intervals. The labels are\n",
" [0, 1, . . ., n], where n = len(cutoffs). Note, labels correspond to bins\n",
" in sorted order from smallest to largest cutoff value.\n",
" \"\"\"\n",
" return numpy.digitize(values, self._cutoffs)\n",
"\n",
"\n",
"class TwoGaussianMixtureModelLabeler(object):\n",
" \"\"\"Emits class labels from Gaussian Mixture given input data.\n",
"\n",
" Input data is encoded as 1-D arrays. Allows for an optional ambiguous label\n",
" between the two modelled Gaussian distributions. Without the optional\n",
" ambigouous category, the two labels are:\n",
" 0 - For values more likely derived from the Gaussian with smaller mean\n",
" 2 - For values more likely derived from the Gaussian with larger mean\n",
"\n",
" When allowing for an ambiguous category the three labels are:\n",
" 0 - For values more likely derived from the Gaussian with smaller mean\n",
" 1 - For values which fall within an ambiguous probability cutoff.\n",
" 2 - For values more likely derived from the Gaussian with larger mean\n",
" \"\"\"\n",
"\n",
" def __init__(self, data):\n",
" \"\"\"Constructor.\n",
"\n",
" Args:\n",
" data: (numpy.ndarray or list) Input data to model with Gaussian Mixture.\n",
" Input data is presumed to be in the form [x1, x2, ...., xn].\n",
" \"\"\"\n",
" self._data = numpy.array([data]).T\n",
" self._gmm = mixture.GaussianMixture(\n",
" n_components=_NUM_COMPONENTS,\n",
" covariance_type=_COVAR_TYPE).fit(self._data)\n",
"\n",
" # Re-map the gaussian with smaller mean to the \"0\" label.\n",
" self._label_by_index = dict(\n",
" list(zip([0, 1],\n",
" numpy.argsort(self._gmm.means_[:, 0]).tolist())))\n",
" self._label_by_index_fn = numpy.vectorize(lambda x: self._label_by_index[x])\n",
"\n",
" def predict(self, values, probability_cutoff=0.):\n",
" \"\"\"Provides model labels for input value(s) using the GMM.\n",
"\n",
" Args:\n",
" values: (array or single float value) Value(s) to infer a label on.\n",
" When values=None, predictions are run on self._data.\n",
" probability_cutoff: (float) Proability between 0 and 1 to identify which\n",
" values correspond to ambiguous labels. At probablity_cutoff=0 (default)\n",
" it only returns the original two state predictions.\n",
"\n",
" Returns:\n",
" A numpy array with length len(values) and labels corresponding to 0,1 if\n",
" probability_cutoff = 0 and 0, 1, 2 otherwise. In the latter, 0\n",
" corresponds to the gaussian with smaller mean, 1 corresponds to the\n",
" ambiguous label, and 2 corresponds to the gaussian with larger mean.\n",
" \"\"\"\n",
" values = numpy.atleast_1d(values)\n",
" values = numpy.array([values]).T\n",
" predictions = self._label_by_index_fn(self._gmm.predict(values))\n",
" # Re-map the initial 0,1 predictions to 0,2.\n",
" predictions *= 2\n",
" if probability_cutoff \u003e 0:\n",
" probas = self._gmm.predict_proba(values)\n",
" max_probas = numpy.max(probas, axis=1)\n",
" ambiguous_values = max_probas \u003c probability_cutoff\n",
"\n",
" # Set ambiguous label as 1.\n",
" predictions[ambiguous_values] = 1\n",
" return predictions"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "wqRjTF3mWJK7"
},
"source": [
"## Load validation experiment dataframe"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 232
},
"executionInfo": {
"elapsed": 533,
"status": "ok",
"timestamp": 1593126523588,
"user": {
"displayName": "Lucy Colwell",
"photoUrl": "https://lh3.googleusercontent.com/a-/AOh14GhDVS9VL55nJ_BMyjGqE4RYboOf4i5N9LaE148oGg=s64",
"userId": "17590064334699832966"
},
"user_tz": 240
},
"id": "am0nFjW9_F25",
"outputId": "840fda97-2a86-4ced-d1f2-ed6d9e3d020a"
},
"outputs": [
{
"data": {
"text/html": [
"\u003cdiv\u003e\n",
"\u003cstyle scoped\u003e\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"\u003c/style\u003e\n",
"\u003ctable border=\"1\" class=\"dataframe\"\u003e\n",
" \u003cthead\u003e\n",
" \u003ctr style=\"text-align: right;\"\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003eUnnamed: 0\u003c/th\u003e\n",
" \u003cth\u003eUnnamed: 0.1\u003c/th\u003e\n",
" \u003cth\u003esequence\u003c/th\u003e\n",
" \u003cth\u003epartition\u003c/th\u003e\n",
" \u003cth\u003echip\u003c/th\u003e\n",
" \u003cth\u003econtrol\u003c/th\u003e\n",
" \u003cth\u003eis_wt_aa\u003c/th\u003e\n",
" \u003cth\u003eis_wt_nt\u003c/th\u003e\n",
" \u003cth\u003emutation_sequence\u003c/th\u003e\n",
" \u003cth\u003enum_mutations\u003c/th\u003e\n",
" \u003cth\u003erep_i\u003c/th\u003e\n",
" \u003cth\u003erep_original\u003c/th\u003e\n",
" \u003cth\u003erep_total\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_p1_rep1a_plasmid_x\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_p1_rep1b_plasmid_x\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_p1_rep1c_plasmid_x\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_p1_rep1d_plasmid_x\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_v3_rep1a_virus\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_v3_rep1b_virus\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_v3_rep1c_virus\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_v3_rep1d_virus\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_v4_rep2a_virus\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_v4_rep2b_virus\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_v4_rep2c_virus\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_v4_rep2d_virus\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_v5_rep3a_virus\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_v5_rep3b_virus\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_p1_rep1a_plasmid_y\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_p1_rep1b_plasmid_y\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_p1_rep1c_plasmid_y\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_p1_rep1d_plasmid_y\u003c/th\u003e\n",
" \u003cth\u003eold_EK269_GAS1_v3_rep1a_virus\u003c/th\u003e\n",
" \u003cth\u003eold_EK269_GAS1_v3_rep1b_virus\u003c/th\u003e\n",
" \u003cth\u003eold_EK269_GAS1_v3_rep1c_virus\u003c/th\u003e\n",
" \u003cth\u003eold_EK269_GAS1_v3_rep1d_virus\u003c/th\u003e\n",
" \u003cth\u003eold_EK269_GAS1_v4_rep2a_virus\u003c/th\u003e\n",
" \u003cth\u003eold_EK269_GAS1_v4_rep2b_virus\u003c/th\u003e\n",
" \u003cth\u003eold_EK269_GAS1_v4_rep2c_virus\u003c/th\u003e\n",
" \u003cth\u003eold_EK269_GAS1_v4_rep2d_virus\u003c/th\u003e\n",
" \u003cth\u003eold_EK269_GAS1_v5_rep3a_virus\u003c/th\u003e\n",
" \u003cth\u003eold_EK269_GAS1_v5_rep3b_virus\u003c/th\u003e\n",
" \u003cth\u003eold_EK269_GAS1_v5_rep3c_virus\u003c/th\u003e\n",
" \u003cth\u003eold_EK269_GAS1_v5_rep3d_virus\u003c/th\u003e\n",
" \u003cth\u003eGAS1_plasmid_N\u003c/th\u003e\n",
" \u003cth\u003ev0_GAS1_plasmid_N\u003c/th\u003e\n",
" \u003cth\u003ev1_GAS1_plasmid_N\u003c/th\u003e\n",
" \u003cth\u003ev0_GAS1_virus_N\u003c/th\u003e\n",
" \u003cth\u003ev1_GAS1_virus_N\u003c/th\u003e\n",
" \u003cth\u003eGAS1_virus_N\u003c/th\u003e\n",
" \u003cth\u003ev0_GAS1_plasmid_F\u003c/th\u003e\n",
" \u003cth\u003ev1_GAS1_plasmid_F\u003c/th\u003e\n",
" \u003cth\u003eGAS1_plasmid_F\u003c/th\u003e\n",
" \u003cth\u003ev0_GAS1_virus_F\u003c/th\u003e\n",
" \u003cth\u003ev1_GAS1_virus_F\u003c/th\u003e\n",
" \u003cth\u003eGAS1_virus_F\u003c/th\u003e\n",
" \u003cth\u003ev0_GAS1_virus_S\u003c/th\u003e\n",
" \u003cth\u003ev1_GAS1_virus_S\u003c/th\u003e\n",
" \u003cth\u003eGAS1_virus_S\u003c/th\u003e\n",
" \u003c/tr\u003e\n",
" \u003c/thead\u003e\n",
" \u003ctbody\u003e\n",
" \u003ctr\u003e\n",
" \u003cth\u003e0\u003c/th\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003eGACGAGGACGAAATCAGGACAACCAATCCCGTGGCTACGGAGCAGT...\u003c/td\u003e\n",
" \u003ctd\u003eDEDEIRTTNPVATEQYGSVSTNLQDnGnNdR\u003c/td\u003e\n",
" \u003ctd\u003ernn_designed_plus_rand_train_walked\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e__D_____________________Dn_n_d_\u003c/td\u003e\n",
" \u003ctd\u003e5\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e13\u003c/td\u003e\n",
" \u003ctd\u003e89\u003c/td\u003e\n",
" \u003ctd\u003e51\u003c/td\u003e\n",
" \u003ctd\u003e47\u003c/td\u003e\n",
" \u003ctd\u003e176\u003c/td\u003e\n",
" \u003ctd\u003e47\u003c/td\u003e\n",
" \u003ctd\u003e53\u003c/td\u003e\n",
" \u003ctd\u003e211\u003c/td\u003e\n",
" \u003ctd\u003e78\u003c/td\u003e\n",
" \u003ctd\u003e188\u003c/td\u003e\n",
" \u003ctd\u003e84\u003c/td\u003e\n",
" \u003ctd\u003e29\u003c/td\u003e\n",
" \u003ctd\u003e45\u003c/td\u003e\n",
" \u003ctd\u003e42\u003c/td\u003e\n",
" \u003ctd\u003e6.0\u003c/td\u003e\n",
" \u003ctd\u003e8.0\u003c/td\u003e\n",
" \u003ctd\u003e8.0\u003c/td\u003e\n",
" \u003ctd\u003e8.0\u003c/td\u003e\n",
" \u003ctd\u003e16.0\u003c/td\u003e\n",
" \u003ctd\u003e17.0\u003c/td\u003e\n",
" \u003ctd\u003e16.0\u003c/td\u003e\n",
" \u003ctd\u003e12.0\u003c/td\u003e\n",
" \u003ctd\u003e17.0\u003c/td\u003e\n",
" \u003ctd\u003e18.0\u003c/td\u003e\n",
" \u003ctd\u003e19.0\u003c/td\u003e\n",
" \u003ctd\u003e8.0\u003c/td\u003e\n",
" \u003ctd\u003e21.0\u003c/td\u003e\n",
" \u003ctd\u003e16.0\u003c/td\u003e\n",
" \u003ctd\u003e10.0\u003c/td\u003e\n",
" \u003ctd\u003e20.0\u003c/td\u003e\n",
" \u003ctd\u003e230.0\u003c/td\u003e\n",
" \u003ctd\u003e30.0\u003c/td\u003e\n",
" \u003ctd\u003e200\u003c/td\u003e\n",
" \u003ctd\u003e190.0\u003c/td\u003e\n",
" \u003ctd\u003e953\u003c/td\u003e\n",
" \u003ctd\u003e1143.0\u003c/td\u003e\n",
" \u003ctd\u003e0.000004\u003c/td\u003e\n",
" \u003ctd\u003e0.000003\u003c/td\u003e\n",
" \u003ctd\u003e0.000003\u003c/td\u003e\n",
" \u003ctd\u003e0.000006\u003c/td\u003e\n",
" \u003ctd\u003e0.000005\u003c/td\u003e\n",
" \u003ctd\u003e0.000005\u003c/td\u003e\n",
" \u003ctd\u003e0.579811\u003c/td\u003e\n",
" \u003ctd\u003e0.561301\u003c/td\u003e\n",
" \u003ctd\u003e0.572274\u003c/td\u003e\n",
" \u003c/tr\u003e\n",
" \u003ctr\u003e\n",
" \u003cth\u003e1\u003c/th\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003eGACGAGGACGAAATCAGGACAACCAATCCCGTGGCTACGGAGCAGT...\u003c/td\u003e\n",
" \u003ctd\u003eDEDEIRTTNPVATEQYGAVSTNLQGdGNdR\u003c/td\u003e\n",
" \u003ctd\u003ernn_designed_plus_rand_train_walked\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e__D______________A______Gd__d_\u003c/td\u003e\n",
" \u003ctd\u003e5\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e29\u003c/td\u003e\n",
" \u003ctd\u003e129\u003c/td\u003e\n",
" \u003ctd\u003e100\u003c/td\u003e\n",
" \u003ctd\u003e63\u003c/td\u003e\n",
" \u003ctd\u003e439\u003c/td\u003e\n",
" \u003ctd\u003e131\u003c/td\u003e\n",
" \u003ctd\u003e130\u003c/td\u003e\n",
" \u003ctd\u003e563\u003c/td\u003e\n",
" \u003ctd\u003e269\u003c/td\u003e\n",
" \u003ctd\u003e513\u003c/td\u003e\n",
" \u003ctd\u003e270\u003c/td\u003e\n",
" \u003ctd\u003e98\u003c/td\u003e\n",
" \u003ctd\u003e88\u003c/td\u003e\n",
" \u003ctd\u003e85\u003c/td\u003e\n",
" \u003ctd\u003e11.0\u003c/td\u003e\n",
" \u003ctd\u003e12.0\u003c/td\u003e\n",
" \u003ctd\u003e13.0\u003c/td\u003e\n",
" \u003ctd\u003e13.0\u003c/td\u003e\n",
" \u003ctd\u003e36.0\u003c/td\u003e\n",
" \u003ctd\u003e47.0\u003c/td\u003e\n",
" \u003ctd\u003e34.0\u003c/td\u003e\n",
" \u003ctd\u003e50.0\u003c/td\u003e\n",
" \u003ctd\u003e41.0\u003c/td\u003e\n",
" \u003ctd\u003e51.0\u003c/td\u003e\n",
" \u003ctd\u003e25.0\u003c/td\u003e\n",
" \u003ctd\u003e20.0\u003c/td\u003e\n",
" \u003ctd\u003e27.0\u003c/td\u003e\n",
" \u003ctd\u003e36.0\u003c/td\u003e\n",
" \u003ctd\u003e42.0\u003c/td\u003e\n",
" \u003ctd\u003e47.0\u003c/td\u003e\n",
" \u003ctd\u003e370.0\u003c/td\u003e\n",
" \u003ctd\u003e49.0\u003c/td\u003e\n",
" \u003ctd\u003e321\u003c/td\u003e\n",
" \u003ctd\u003e456.0\u003c/td\u003e\n",
" \u003ctd\u003e2586\u003c/td\u003e\n",
" \u003ctd\u003e3042.0\u003c/td\u003e\n",
" \u003ctd\u003e0.000007\u003c/td\u003e\n",
" \u003ctd\u003e0.000005\u003c/td\u003e\n",
" \u003ctd\u003e0.000006\u003c/td\u003e\n",
" \u003ctd\u003e0.000014\u003c/td\u003e\n",
" \u003ctd\u003e0.000014\u003c/td\u003e\n",
" \u003ctd\u003e0.000014\u003c/td\u003e\n",
" \u003ctd\u003e1.135026\u003c/td\u003e\n",
" \u003ctd\u003e1.318902\u003c/td\u003e\n",
" \u003ctd\u003e1.298578\u003c/td\u003e\n",
" \u003c/tr\u003e\n",
" \u003ctr\u003e\n",
" \u003cth\u003e2\u003c/th\u003e\n",
" \u003ctd\u003e2\u003c/td\u003e\n",
" \u003ctd\u003eGACGAAGAGGAAATCGCTACAACCAATCCCGTGGCTACGGAGCAGT...\u003c/td\u003e\n",
" \u003ctd\u003eDEEEIATTNPVATEQYGSVSTNLQHdGDeR\u003c/td\u003e\n",
" \u003ctd\u003ernn_designed_plus_rand_train_walked\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e_____A__________________Hd_De_\u003c/td\u003e\n",
" \u003ctd\u003e5\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e27\u003c/td\u003e\n",
" \u003ctd\u003e121\u003c/td\u003e\n",
" \u003ctd\u003e91\u003c/td\u003e\n",
" \u003ctd\u003e65\u003c/td\u003e\n",
" \u003ctd\u003e171\u003c/td\u003e\n",
" \u003ctd\u003e66\u003c/td\u003e\n",
" \u003ctd\u003e50\u003c/td\u003e\n",
" \u003ctd\u003e176\u003c/td\u003e\n",
" \u003ctd\u003e356\u003c/td\u003e\n",
" \u003ctd\u003e648\u003c/td\u003e\n",
" \u003ctd\u003e338\u003c/td\u003e\n",
" \u003ctd\u003e128\u003c/td\u003e\n",
" \u003ctd\u003e46\u003c/td\u003e\n",
" \u003ctd\u003e42\u003c/td\u003e\n",
" \u003ctd\u003e12.0\u003c/td\u003e\n",
" \u003ctd\u003e9.0\u003c/td\u003e\n",
" \u003ctd\u003e14.0\u003c/td\u003e\n",
" \u003ctd\u003e11.0\u003c/td\u003e\n",
" \u003ctd\u003e14.0\u003c/td\u003e\n",
" \u003ctd\u003e12.0\u003c/td\u003e\n",
" \u003ctd\u003e8.0\u003c/td\u003e\n",
" \u003ctd\u003e12.0\u003c/td\u003e\n",
" \u003ctd\u003e44.0\u003c/td\u003e\n",
" \u003ctd\u003e53.0\u003c/td\u003e\n",
" \u003ctd\u003e36.0\u003c/td\u003e\n",
" \u003ctd\u003e42.0\u003c/td\u003e\n",
" \u003ctd\u003e13.0\u003c/td\u003e\n",
" \u003ctd\u003e14.0\u003c/td\u003e\n",
" \u003ctd\u003e18.0\u003c/td\u003e\n",
" \u003ctd\u003e20.0\u003c/td\u003e\n",
" \u003ctd\u003e350.0\u003c/td\u003e\n",
" \u003ctd\u003e46.0\u003c/td\u003e\n",
" \u003ctd\u003e304\u003c/td\u003e\n",
" \u003ctd\u003e286.0\u003c/td\u003e\n",
" \u003ctd\u003e2021\u003c/td\u003e\n",
" \u003ctd\u003e2307.0\u003c/td\u003e\n",
" \u003ctd\u003e0.000006\u003c/td\u003e\n",
" \u003ctd\u003e0.000005\u003c/td\u003e\n",
" \u003ctd\u003e0.000005\u003c/td\u003e\n",
" \u003ctd\u003e0.000009\u003c/td\u003e\n",
" \u003ctd\u003e0.000011\u003c/td\u003e\n",
" \u003ctd\u003e0.000010\u003c/td\u003e\n",
" \u003ctd\u003e0.553155\u003c/td\u003e\n",
" \u003ctd\u003e1.041751\u003c/td\u003e\n",
" \u003ctd\u003e0.979746\u003c/td\u003e\n",
" \u003c/tr\u003e\n",
" \u003ctr\u003e\n",
" \u003cth\u003e3\u003c/th\u003e\n",
" \u003ctd\u003e3\u003c/td\u003e\n",
" \u003ctd\u003eGACGAACACGAAATCAGGACAACCAATCCCGTGGCTACGGAGCAGT...\u003c/td\u003e\n",
" \u003ctd\u003eDEHEIRTTNPVATEQYGNVSTNLQGgGdNR\u003c/td\u003e\n",
" \u003ctd\u003ernn_designed_plus_rand_train_walked\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e__H______________N______Gg_d__\u003c/td\u003e\n",
" \u003ctd\u003e5\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e66\u003c/td\u003e\n",
" \u003ctd\u003e288\u003c/td\u003e\n",
" \u003ctd\u003e243\u003c/td\u003e\n",
" \u003ctd\u003e190\u003c/td\u003e\n",
" \u003ctd\u003e830\u003c/td\u003e\n",
" \u003ctd\u003e244\u003c/td\u003e\n",
" \u003ctd\u003e238\u003c/td\u003e\n",
" \u003ctd\u003e979\u003c/td\u003e\n",
" \u003ctd\u003e651\u003c/td\u003e\n",
" \u003ctd\u003e1158\u003c/td\u003e\n",
" \u003ctd\u003e588\u003c/td\u003e\n",
" \u003ctd\u003e185\u003c/td\u003e\n",
" \u003ctd\u003e241\u003c/td\u003e\n",
" \u003ctd\u003e229\u003c/td\u003e\n",
" \u003ctd\u003e12.0\u003c/td\u003e\n",
" \u003ctd\u003e11.0\u003c/td\u003e\n",
" \u003ctd\u003e37.0\u003c/td\u003e\n",
" \u003ctd\u003e32.0\u003c/td\u003e\n",
" \u003ctd\u003e76.0\u003c/td\u003e\n",
" \u003ctd\u003e64.0\u003c/td\u003e\n",
" \u003ctd\u003e63.0\u003c/td\u003e\n",
" \u003ctd\u003e50.0\u003c/td\u003e\n",
" \u003ctd\u003e88.0\u003c/td\u003e\n",
" \u003ctd\u003e89.0\u003c/td\u003e\n",
" \u003ctd\u003e86.0\u003c/td\u003e\n",
" \u003ctd\u003e52.0\u003c/td\u003e\n",
" \u003ctd\u003e73.0\u003c/td\u003e\n",
" \u003ctd\u003e81.0\u003c/td\u003e\n",
" \u003ctd\u003e87.0\u003c/td\u003e\n",
" \u003ctd\u003e91.0\u003c/td\u003e\n",
" \u003ctd\u003e879.0\u003c/td\u003e\n",
" \u003ctd\u003e92.0\u003c/td\u003e\n",
" \u003ctd\u003e787\u003c/td\u003e\n",
" \u003ctd\u003e900.0\u003c/td\u003e\n",
" \u003ctd\u003e5343\u003c/td\u003e\n",
" \u003ctd\u003e6243.0\u003c/td\u003e\n",
" \u003ctd\u003e0.000012\u003c/td\u003e\n",
" \u003ctd\u003e0.000013\u003c/td\u003e\n",
" \u003ctd\u003e0.000013\u003c/td\u003e\n",
" \u003ctd\u003e0.000029\u003c/td\u003e\n",
" \u003ctd\u003e0.000028\u003c/td\u003e\n",
" \u003ctd\u003e0.000028\u003c/td\u003e\n",
" \u003ctd\u003e1.207065\u003c/td\u003e\n",
" \u003ctd\u003e1.072039\u003c/td\u003e\n",
" \u003ctd\u003e1.087459\u003c/td\u003e\n",
" \u003c/tr\u003e\n",
" \u003ctr\u003e\n",
" \u003cth\u003e4\u003c/th\u003e\n",
" \u003ctd\u003e4\u003c/td\u003e\n",
" \u003ctd\u003eGACGAACATGAAATCAGGACAACCAATCCCGTGGCTACGGAGCAGT...\u003c/td\u003e\n",
" \u003ctd\u003eDEHEIRTTNPVATEQYGSVSTNLQpGGNDg\u003c/td\u003e\n",
" \u003ctd\u003ernn_designed_plus_rand_train_walked\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e__H_____________________pG__Dg\u003c/td\u003e\n",
" \u003ctd\u003e5\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e36\u003c/td\u003e\n",
" \u003ctd\u003e172\u003c/td\u003e\n",
" \u003ctd\u003e122\u003c/td\u003e\n",
" \u003ctd\u003e97\u003c/td\u003e\n",
" \u003ctd\u003e552\u003c/td\u003e\n",
" \u003ctd\u003e188\u003c/td\u003e\n",
" \u003ctd\u003e157\u003c/td\u003e\n",
" \u003ctd\u003e616\u003c/td\u003e\n",
" \u003ctd\u003e487\u003c/td\u003e\n",
" \u003ctd\u003e845\u003c/td\u003e\n",
" \u003ctd\u003e457\u003c/td\u003e\n",
" \u003ctd\u003e146\u003c/td\u003e\n",
" \u003ctd\u003e75\u003c/td\u003e\n",
" \u003ctd\u003e76\u003c/td\u003e\n",
" \u003ctd\u003e15.0\u003c/td\u003e\n",
" \u003ctd\u003e17.0\u003c/td\u003e\n",
" \u003ctd\u003e10.0\u003c/td\u003e\n",
" \u003ctd\u003e10.0\u003c/td\u003e\n",
" \u003ctd\u003e50.0\u003c/td\u003e\n",
" \u003ctd\u003e59.0\u003c/td\u003e\n",
" \u003ctd\u003e22.0\u003c/td\u003e\n",
" \u003ctd\u003e29.0\u003c/td\u003e\n",
" \u003ctd\u003e63.0\u003c/td\u003e\n",
" \u003ctd\u003e65.0\u003c/td\u003e\n",
" \u003ctd\u003e77.0\u003c/td\u003e\n",
" \u003ctd\u003e57.0\u003c/td\u003e\n",
" \u003ctd\u003e18.0\u003c/td\u003e\n",
" \u003ctd\u003e26.0\u003c/td\u003e\n",
" \u003ctd\u003e37.0\u003c/td\u003e\n",
" \u003ctd\u003e24.0\u003c/td\u003e\n",
" \u003ctd\u003e479.0\u003c/td\u003e\n",
" \u003ctd\u003e52.0\u003c/td\u003e\n",
" \u003ctd\u003e427\u003c/td\u003e\n",
" \u003ctd\u003e527.0\u003c/td\u003e\n",
" \u003ctd\u003e3599\u003c/td\u003e\n",
" \u003ctd\u003e4126.0\u003c/td\u003e\n",
" \u003ctd\u003e0.000007\u003c/td\u003e\n",
" \u003ctd\u003e0.000007\u003c/td\u003e\n",
" \u003ctd\u003e0.000007\u003c/td\u003e\n",
" \u003ctd\u003e0.000017\u003c/td\u003e\n",
" \u003ctd\u003e0.000019\u003c/td\u003e\n",
" \u003ctd\u003e0.000019\u003c/td\u003e\n",
" \u003ctd\u003e1.258065\u003c/td\u003e\n",
" \u003ctd\u003e1.384113\u003c/td\u003e\n",
" \u003ctd\u003e1.365801\u003c/td\u003e\n",
" \u003c/tr\u003e\n",
" \u003c/tbody\u003e\n",
"\u003c/table\u003e\n",
"\u003c/div\u003e"
],
"text/plain": [
" Unnamed: 0 ... GAS1_virus_S\n",
"0 0 ... 0.572274\n",
"1 1 ... 1.298578\n",
"2 2 ... 0.979746\n",
"3 3 ... 1.087459\n",
"4 4 ... 1.365801\n",
"\n",
"[5 rows x 58 columns]"
]
},
"execution_count": 11,
"metadata": {
"tags": []
},
"output_type": "execute_result"
}
],
"source": [
"with gzip.open('GAS1_target_20190516.csv.gz', 'rb') as f:\n",
" gas1 = pandas.read_csv(f, index_col=None)\n",
"\n",
"gas1 = gas1.rename({\n",
" 'aa': 'sequence',\n",
" 'mask': 'mutation_sequence',\n",
" 'mut': 'num_mutations',\n",
" 'category': 'partition',\n",
"}, axis=1)\n",
"\n",
"gas1_orig = gas1.copy() ## for comparison below if needed\n",
"\n",
"gas1.head()"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "dOY5xHMsAJy3"
},
"source": [
"#### Validate that N-\u003eF columns computed as expected"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "EplSrzWA_V_0"
},
"outputs": [],
"source": [
"numpy.testing.assert_allclose(\n",
" gas1.GAS1_plasmid_F, \n",
" gas1.GAS1_plasmid_N / gas1.GAS1_plasmid_N.sum())\n",
"\n",
"numpy.testing.assert_allclose(\n",
" gas1.GAS1_virus_F,\n",
" gas1.GAS1_virus_N / gas1.GAS1_virus_N.sum())"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "cQM1yfpZBKoL"
},
"source": [
"### Filter sequences with insufficient plasmids"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "ID0Uzv53AOzU"
},
"source": [
"#### Find zero-plasmid sequences"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 34
},
"executionInfo": {
"elapsed": 337,
"status": "ok",
"timestamp": 1593126569792,
"user": {
"displayName": "Lucy Colwell",
"photoUrl": "https://lh3.googleusercontent.com/a-/AOh14GhDVS9VL55nJ_BMyjGqE4RYboOf4i5N9LaE148oGg=s64",
"userId": "17590064334699832966"
},
"user_tz": 240
},
"id": "hVLg7uAJAbmc",
"outputId": "86f7acb7-9037-4d91-8ad8-d54d270710d4"
},
"outputs": [
{
"data": {
"text/plain": [
"446"
]
},
"execution_count": 13,
"metadata": {
"tags": []
},
"output_type": "execute_result"
}
],
"source": [
"zero_plasmids_mask = gas1.GAS1_plasmid_N == 0\n",
"zero_plasmids_mask.sum()"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "hiUGQzH_AnOM"
},
"source": [
"#### Find low-plasmid count sequences\n",
"These selection values are unreliable, more noisy"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 34
},
"executionInfo": {
"elapsed": 340,
"status": "ok",
"timestamp": 1593126571756,
"user": {
"displayName": "Lucy Colwell",
"photoUrl": "https://lh3.googleusercontent.com/a-/AOh14GhDVS9VL55nJ_BMyjGqE4RYboOf4i5N9LaE148oGg=s64",
"userId": "17590064334699832966"
},
"user_tz": 240
},
"id": "8kB9qFH7Ats9",
"outputId": "fee7db53-36a8-4594-9d70-2e736eb05c22"
},
"outputs": [
{
"data": {
"text/plain": [
"1887"
]
},
"execution_count": 14,
"metadata": {
"tags": []
},
"output_type": "execute_result"
}
],
"source": [
"low_plasmids_mask = (gas1.GAS1_plasmid_N \u003c 10) \u0026 ~zero_plasmids_mask\n",
"low_plasmids_mask.sum()"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "TGkyGMlLBBGE"
},
"source": [
"#### Drop sequences that don't meet the plasmid count bars"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 34
},
"executionInfo": {
"elapsed": 348,
"status": "ok",
"timestamp": 1593126572873,
"user": {
"displayName": "Lucy Colwell",
"photoUrl": "https://lh3.googleusercontent.com/a-/AOh14GhDVS9VL55nJ_BMyjGqE4RYboOf4i5N9LaE148oGg=s64",
"userId": "17590064334699832966"
},
"user_tz": 240
},
"id": "iCXmHqKAA8Sd",
"outputId": "ab91b828-0519-4218-ad6f-84bf98ff0b7c"
},
"outputs": [
{
"data": {
"text/plain": [
"2333"
]
},
"execution_count": 15,
"metadata": {
"tags": []
},
"output_type": "execute_result"
}
],
"source": [
"seqs_to_remove = (low_plasmids_mask | zero_plasmids_mask)\n",
"seqs_to_remove.sum()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 34
},
"executionInfo": {
"elapsed": 328,
"status": "ok",
"timestamp": 1593126573929,
"user": {
"displayName": "Lucy Colwell",
"photoUrl": "https://lh3.googleusercontent.com/a-/AOh14GhDVS9VL55nJ_BMyjGqE4RYboOf4i5N9LaE148oGg=s64",
"userId": "17590064334699832966"
},
"user_tz": 240
},
"id": "krsWbYNaBVv9",
"outputId": "f510f9a6-d17c-4159-be5a-697f41a5a020"
},
"outputs": [
{
"data": {
"text/plain": [
"243481"
]
},
"execution_count": 16,
"metadata": {
"tags": []
},
"output_type": "execute_result"
}
],
"source": [
"num_seqs_before_plasmid_filter = len(gas1)\n",
"num_seqs_before_plasmid_filter"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "E3r35Jh8BGQ_"
},
"outputs": [],
"source": [
"gas1 = gas1[~seqs_to_remove].copy()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 34
},
"executionInfo": {
"elapsed": 318,
"status": "ok",
"timestamp": 1593126577014,
"user": {
"displayName": "Lucy Colwell",
"photoUrl": "https://lh3.googleusercontent.com/a-/AOh14GhDVS9VL55nJ_BMyjGqE4RYboOf4i5N9LaE148oGg=s64",
"userId": "17590064334699832966"
},
"user_tz": 240
},
"id": "krMEp-FYBoj9",
"outputId": "d146319d-e535-4e99-ac2e-46fcf22e2e1a"
},
"outputs": [
{
"data": {
"text/plain": [
"2333"
]
},
"execution_count": 18,
"metadata": {
"tags": []
},
"output_type": "execute_result"
}
],
"source": [
"num_seqs_before_plasmid_filter - len(gas1)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 34
},
"executionInfo": {
"elapsed": 317,
"status": "ok",
"timestamp": 1593126578145,
"user": {
"displayName": "Lucy Colwell",
"photoUrl": "https://lh3.googleusercontent.com/a-/AOh14GhDVS9VL55nJ_BMyjGqE4RYboOf4i5N9LaE148oGg=s64",
"userId": "17590064334699832966"
},
"user_tz": 240
},
"id": "wpazOmBdKx4Y",
"outputId": "78788390-55a8-47f0-fe65-6b4b324c95c2"
},
"outputs": [
{
"data": {
"text/plain": [
"241148"
]
},
"execution_count": 19,
"metadata": {
"tags": []
},
"output_type": "execute_result"
}
],
"source": [
"len(gas1)"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "uPI3xpmAwPvV"
},
"source": [
"### Add pseudocounts"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "7eZarz4gwPgf"
},
"outputs": [],
"source": [
"PSEUDOCOUNT = 1\n",
"\n",
"def counts_to_frequency(counts):\n",
" return counts / counts.sum()\n",
"\n",
"\n",
"gas1['virus_N'] = gas1.GAS1_virus_N + PSEUDOCOUNT\n",
"gas1['plasmid_N'] = gas1.GAS1_plasmid_N + PSEUDOCOUNT\n",
"\n",
"gas1['virus_F'] = counts_to_frequency(gas1.virus_N)\n",
"gas1['plasmid_F'] = counts_to_frequency(gas1.plasmid_N)"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "GedLhfwzCngt"
},
"source": [
"### Compute viral selection "
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 168
},
"executionInfo": {
"elapsed": 308,
"status": "ok",
"timestamp": 1593126582996,
"user": {
"displayName": "Lucy Colwell",
"photoUrl": "https://lh3.googleusercontent.com/a-/AOh14GhDVS9VL55nJ_BMyjGqE4RYboOf4i5N9LaE148oGg=s64",
"userId": "17590064334699832966"
},
"user_tz": 240
},
"id": "khDxPsIWzhM7",
"outputId": "de52006c-a480-44b7-ec55-af0b35e4a59f"
},
"outputs": [
{
"data": {
"text/plain": [
"count 241148.000000\n",
"mean -2.601064\n",
"std 3.393798\n",
"min -11.176109\n",
"25% -5.814133\n",
"50% -2.479348\n",
"75% 0.761311\n",
"max 5.935761\n",
"Name: viral_selection, dtype: float64"
]
},
"execution_count": 21,
"metadata": {
"tags": []
},
"output_type": "execute_result"
}
],
"source": [
"gas1['viral_selection'] = numpy.log2(gas1.virus_F / gas1.plasmid_F)\n",
"assert 0 == gas1.viral_selection.isna().sum()\n",
"assert not numpy.any(numpy.isinf(gas1.viral_selection))\n",
"gas1.viral_selection.describe()"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "qlVxyU9eHwsD"
},
"source": [
"### Compute GMM threshold"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 50
},
"executionInfo": {
"elapsed": 4782,
"status": "ok",
"timestamp": 1593126599459,
"user": {
"displayName": "Lucy Colwell",
"photoUrl": "https://lh3.googleusercontent.com/a-/AOh14GhDVS9VL55nJ_BMyjGqE4RYboOf4i5N9LaE148oGg=s64",
"userId": "17590064334699832966"
},
"user_tz": 240
},
"id": "we0lrh3OIrXx",
"outputId": "98de5bba-8766-4b1e-d81b-fac833b4cece"
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"selection coeff cutoff = -2.811\n",
"0.5094091595202946\n"
]
}
],
"source": [
"# Classify the selection coeff series after fitting to a GMM\n",
"gmm_model = TwoGaussianMixtureModelLabeler(\n",
" gas1[gas1.partition.isin(['stop', 'wild_type'])].viral_selection)\n",
"gas1['viral_selection_gmm'] = gmm_model.predict(gas1.viral_selection)\n",
"\n",
"# Compute the threshold for the viable class from the GMM labels\n",
"selection_coeff_threshold = gas1.loc[gas1.viral_selection_gmm == 2, 'viral_selection'].min()\n",
"print('selection coeff cutoff = %.3f' % selection_coeff_threshold)\n",
"\n",
"# Add a label column\n",
"def is_viable_mutant(mutant_data):\n",
" return mutant_data['viral_selection'] \u003e selection_coeff_threshold\n",
"gas1['is_viable'] = gas1.apply(is_viable_mutant, axis=1)\n",
"\n",
"print(gas1.is_viable.mean())"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "crcRQniSbCod"
},
"source": [
"----"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "jZ_aMJuDyS-N"
},
"source": [
"### De-dupe model-designed sequences"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "YK8Hr6QTcEUT"
},
"source": [
"#### Partition the sequences that should not be de-deduped\n",
"\n",
"Split off the partitions for which we want to retain replicates, such as controls/etc.\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 336
},
"executionInfo": {
"elapsed": 414,
"status": "ok",
"timestamp": 1593126604927,
"user": {
"displayName": "Lucy Colwell",
"photoUrl": "https://lh3.googleusercontent.com/a-/AOh14GhDVS9VL55nJ_BMyjGqE4RYboOf4i5N9LaE148oGg=s64",
"userId": "17590064334699832966"
},
"user_tz": 240
},
"id": "MmYz3pKSyXTS",
"outputId": "1e6f384f-3c10-4f42-d823-5a69acd1e428"
},
"outputs": [
{
"data": {
"text/plain": [
"rnn_standard_walked 21337\n",
"cnn_designed_plus_rand_train_walked 21251\n",
"rnn_designed_plus_rand_train_walked 21218\n",
"lr_standard_walked 20951\n",
"cnn_rand_doubles_plus_single_walked 20936\n",
"cnn_standard_walked 20878\n",
"rnn_rand_doubles_plus_singles_walked 20623\n",
"lr_rand_doubles_plus_single_walked 20473\n",
"lr_designed_plus_rand_train_walked 20164\n",
"lr_rand_doubles_plus_single_seed 2071\n",
"rnn_designed_plus_rand_train_seed 2065\n",
"rnn_rand_doubles_plus_singles_seed 2045\n",
"lr_designed_plus_rand_train_seed 2030\n",
"cnn_rand_doubles_plus_single_seed 2022\n",
"lr_standard_seed 1989\n",
"cnn_standard_seed 1924\n",
"rnn_standard_seed 1916\n",
"cnn_designed_plus_rand_train_seed 1898\n",
"Name: partition, dtype: int64"
]
},
"execution_count": 24,
"metadata": {
"tags": []
},
"output_type": "execute_result"
}
],
"source": [
"ml_generated_seqs = [\n",
" 'cnn_designed_plus_rand_train_seed',\n",
" 'cnn_designed_plus_rand_train_walked',\n",
" 'cnn_rand_doubles_plus_single_seed',\n",
" 'cnn_rand_doubles_plus_single_walked',\n",
" 'cnn_standard_seed',\n",
" 'cnn_standard_walked',\n",
" 'lr_designed_plus_rand_train_seed',\n",
" 'lr_designed_plus_rand_train_walked',\n",
" 'lr_rand_doubles_plus_single_seed',\n",
" 'lr_rand_doubles_plus_single_walked',\n",
" 'lr_standard_seed',\n",
" 'lr_standard_walked',\n",
" 'rnn_designed_plus_rand_train_seed',\n",
" 'rnn_designed_plus_rand_train_walked',\n",
" 'rnn_rand_doubles_plus_singles_seed',\n",
" 'rnn_rand_doubles_plus_singles_walked',\n",
" 'rnn_standard_seed',\n",
" 'rnn_standard_walked',\n",
"]\n",
"\n",
"is_ml_generated_mask = gas1.partition.isin(ml_generated_seqs)\n",
"ml_gen_df = gas1[is_ml_generated_mask].copy()\n",
"non_ml_gen_df = gas1[~is_ml_generated_mask].copy()\n",
"\n",
"ml_gen_df.partition.value_counts()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "xELIUhWR6ysl"
},
"outputs": [],
"source": [
"ml_gen_deduped = ml_gen_df.groupby('sequence').apply(\n",
" lambda dupes: dupes.loc[dupes.plasmid_N.idxmax()]).copy()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 362
},
"executionInfo": {
"elapsed": 362,
"status": "ok",
"timestamp": 1593126768681,
"user": {
"displayName": "Lucy Colwell",
"photoUrl": "https://lh3.googleusercontent.com/a-/AOh14GhDVS9VL55nJ_BMyjGqE4RYboOf4i5N9LaE148oGg=s64",
"userId": "17590064334699832966"
},
"user_tz": 240
},
"id": "n6yS2gEZGa8U",
"outputId": "3b972a1d-b54e-4857-ae52-f65e1d4d904f"
},
"outputs": [
{
"data": {
"text/plain": [
"(201426, 65)"
]
},
"metadata": {
"tags": []
},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"\u003cdiv\u003e\n",
"\u003cstyle scoped\u003e\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"\u003c/style\u003e\n",
"\u003ctable border=\"1\" class=\"dataframe\"\u003e\n",
" \u003cthead\u003e\n",
" \u003ctr style=\"text-align: right;\"\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003eUnnamed: 0\u003c/th\u003e\n",
" \u003cth\u003eUnnamed: 0.1\u003c/th\u003e\n",
" \u003cth\u003esequence\u003c/th\u003e\n",
" \u003cth\u003epartition\u003c/th\u003e\n",
" \u003cth\u003echip\u003c/th\u003e\n",
" \u003cth\u003econtrol\u003c/th\u003e\n",
" \u003cth\u003eis_wt_aa\u003c/th\u003e\n",
" \u003cth\u003eis_wt_nt\u003c/th\u003e\n",
" \u003cth\u003emutation_sequence\u003c/th\u003e\n",
" \u003cth\u003enum_mutations\u003c/th\u003e\n",
" \u003cth\u003erep_i\u003c/th\u003e\n",
" \u003cth\u003erep_original\u003c/th\u003e\n",
" \u003cth\u003erep_total\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_p1_rep1a_plasmid_x\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_p1_rep1b_plasmid_x\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_p1_rep1c_plasmid_x\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_p1_rep1d_plasmid_x\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_v3_rep1a_virus\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_v3_rep1b_virus\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_v3_rep1c_virus\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_v3_rep1d_virus\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_v4_rep2a_virus\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_v4_rep2b_virus\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_v4_rep2c_virus\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_v4_rep2d_virus\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_v5_rep3a_virus\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_v5_rep3b_virus\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_p1_rep1a_plasmid_y\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_p1_rep1b_plasmid_y\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_p1_rep1c_plasmid_y\u003c/th\u003e\n",
" \u003cth\u003eEK269_GAS1_p1_rep1d_plasmid_y\u003c/th\u003e\n",
" \u003cth\u003eold_EK269_GAS1_v3_rep1a_virus\u003c/th\u003e\n",
" \u003cth\u003eold_EK269_GAS1_v3_rep1b_virus\u003c/th\u003e\n",
" \u003cth\u003eold_EK269_GAS1_v3_rep1c_virus\u003c/th\u003e\n",
" \u003cth\u003eold_EK269_GAS1_v3_rep1d_virus\u003c/th\u003e\n",
" \u003cth\u003eold_EK269_GAS1_v4_rep2a_virus\u003c/th\u003e\n",
" \u003cth\u003eold_EK269_GAS1_v4_rep2b_virus\u003c/th\u003e\n",
" \u003cth\u003eold_EK269_GAS1_v4_rep2c_virus\u003c/th\u003e\n",
" \u003cth\u003eold_EK269_GAS1_v4_rep2d_virus\u003c/th\u003e\n",
" \u003cth\u003eold_EK269_GAS1_v5_rep3a_virus\u003c/th\u003e\n",
" \u003cth\u003eold_EK269_GAS1_v5_rep3b_virus\u003c/th\u003e\n",
" \u003cth\u003eold_EK269_GAS1_v5_rep3c_virus\u003c/th\u003e\n",
" \u003cth\u003eold_EK269_GAS1_v5_rep3d_virus\u003c/th\u003e\n",
" \u003cth\u003eGAS1_plasmid_N\u003c/th\u003e\n",
" \u003cth\u003ev0_GAS1_plasmid_N\u003c/th\u003e\n",
" \u003cth\u003ev1_GAS1_plasmid_N\u003c/th\u003e\n",
" \u003cth\u003ev0_GAS1_virus_N\u003c/th\u003e\n",
" \u003cth\u003ev1_GAS1_virus_N\u003c/th\u003e\n",
" \u003cth\u003eGAS1_virus_N\u003c/th\u003e\n",
" \u003cth\u003ev0_GAS1_plasmid_F\u003c/th\u003e\n",
" \u003cth\u003ev1_GAS1_plasmid_F\u003c/th\u003e\n",
" \u003cth\u003eGAS1_plasmid_F\u003c/th\u003e\n",
" \u003cth\u003ev0_GAS1_virus_F\u003c/th\u003e\n",
" \u003cth\u003ev1_GAS1_virus_F\u003c/th\u003e\n",
" \u003cth\u003eGAS1_virus_F\u003c/th\u003e\n",
" \u003cth\u003ev0_GAS1_virus_S\u003c/th\u003e\n",
" \u003cth\u003ev1_GAS1_virus_S\u003c/th\u003e\n",
" \u003cth\u003eGAS1_virus_S\u003c/th\u003e\n",
" \u003cth\u003evirus_N\u003c/th\u003e\n",
" \u003cth\u003eplasmid_N\u003c/th\u003e\n",
" \u003cth\u003evirus_F\u003c/th\u003e\n",
" \u003cth\u003eplasmid_F\u003c/th\u003e\n",
" \u003cth\u003eviral_selection\u003c/th\u003e\n",
" \u003cth\u003eviral_selection_gmm\u003c/th\u003e\n",
" \u003cth\u003eis_viable\u003c/th\u003e\n",
" \u003c/tr\u003e\n",
" \u003ctr\u003e\n",
" \u003cth\u003esequence\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003c/tr\u003e\n",
" \u003c/thead\u003e\n",
" \u003ctbody\u003e\n",
" \u003ctr\u003e\n",
" \u003cth\u003eAAEEIATTNPVATEQYGSVcAaNmGEeApDaQaEgGd\u003c/th\u003e\n",
" \u003ctd\u003e82181\u003c/td\u003e\n",
" \u003ctd\u003eGCAGCCGAGGAAATCGCTACAACCAATCCCGTGGCTACGGAGCAGT...\u003c/td\u003e\n",
" \u003ctd\u003eAAEEIATTNPVATEQYGSVcAaNmGEeApDaQaEgGd\u003c/td\u003e\n",
" \u003ctd\u003ecnn_designed_plus_rand_train_walked\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003eAA___A_____________cAaNmGEeApDaQaEgGd\u003c/td\u003e\n",
" \u003ctd\u003e21\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e36\u003c/td\u003e\n",
" \u003ctd\u003e129\u003c/td\u003e\n",
" \u003ctd\u003e94\u003c/td\u003e\n",
" \u003ctd\u003e91\u003c/td\u003e\n",
" \u003ctd\u003e322\u003c/td\u003e\n",
" \u003ctd\u003e94\u003c/td\u003e\n",
" \u003ctd\u003e94\u003c/td\u003e\n",
" \u003ctd\u003e378\u003c/td\u003e\n",
" \u003ctd\u003e277\u003c/td\u003e\n",
" \u003ctd\u003e557\u003c/td\u003e\n",
" \u003ctd\u003e277\u003c/td\u003e\n",
" \u003ctd\u003e87\u003c/td\u003e\n",
" \u003ctd\u003e61\u003c/td\u003e\n",
" \u003ctd\u003e63\u003c/td\u003e\n",
" \u003ctd\u003e14.0\u003c/td\u003e\n",
" \u003ctd\u003e15.0\u003c/td\u003e\n",
" \u003ctd\u003e15.0\u003c/td\u003e\n",
" \u003ctd\u003e12.0\u003c/td\u003e\n",
" \u003ctd\u003e19.0\u003c/td\u003e\n",
" \u003ctd\u003e35.0\u003c/td\u003e\n",
" \u003ctd\u003e23.0\u003c/td\u003e\n",
" \u003ctd\u003e26.0\u003c/td\u003e\n",
" \u003ctd\u003e43.0\u003c/td\u003e\n",
" \u003ctd\u003e35.0\u003c/td\u003e\n",
" \u003ctd\u003e31.0\u003c/td\u003e\n",
" \u003ctd\u003e11.0\u003c/td\u003e\n",
" \u003ctd\u003e21.0\u003c/td\u003e\n",
" \u003ctd\u003e29.0\u003c/td\u003e\n",
" \u003ctd\u003e32.0\u003c/td\u003e\n",
" \u003ctd\u003e18.0\u003c/td\u003e\n",
" \u003ctd\u003e406.0\u003c/td\u003e\n",
" \u003ctd\u003e56.0\u003c/td\u003e\n",
" \u003ctd\u003e350\u003c/td\u003e\n",
" \u003ctd\u003e323.0\u003c/td\u003e\n",
" \u003ctd\u003e2210\u003c/td\u003e\n",
" \u003ctd\u003e2533.0\u003c/td\u003e\n",
" \u003ctd\u003e0.000008\u003c/td\u003e\n",
" \u003ctd\u003e0.000006\u003c/td\u003e\n",
" \u003ctd\u003e0.000006\u003c/td\u003e\n",
" \u003ctd\u003e1.025716e-05\u003c/td\u003e\n",
" \u003ctd\u003e1.163842e-05\u003c/td\u003e\n",
" \u003ctd\u003e1.144194e-05\u003c/td\u003e\n",
" \u003ctd\u003e0.444881\u003c/td\u003e\n",
" \u003ctd\u003e0.967444\u003c/td\u003e\n",
" \u003ctd\u003e0.900450\u003c/td\u003e\n",
" \u003ctd\u003e2534.0\u003c/td\u003e\n",
" \u003ctd\u003e407.0\u003c/td\u003e\n",
" \u003ctd\u003e1.143470e-05\u003c/td\u003e\n",
" \u003ctd\u003e0.000006\u003c/td\u003e\n",
" \u003ctd\u003e0.900998\u003c/td\u003e\n",
" \u003ctd\u003e2\u003c/td\u003e\n",
" \u003ctd\u003eTrue\u003c/td\u003e\n",
" \u003c/tr\u003e\n",
" \u003ctr\u003e\n",
" \u003cth\u003eAAEEIATTNPVAtYAQWGCnTAgNnGLTtAeTgNlDs\u003c/th\u003e\n",
" \u003ctd\u003e85396\u003c/td\u003e\n",
" \u003ctd\u003eGCGGCTGAGGAAATCGCGACAACCAATCCCGTGGCTACCTATGCTC...\u003c/td\u003e\n",
" \u003ctd\u003eAAEEIATTNPVAtYAQWGCnTAgNnGLTtAeTgNlDs\u003c/td\u003e\n",
" \u003ctd\u003ecnn_designed_plus_rand_train_walked\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003eAA___A______tYA_W_CnTAgNnG_TtAeTg_lDs\u003c/td\u003e\n",
" \u003ctd\u003e24\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e20\u003c/td\u003e\n",
" \u003ctd\u003e118\u003c/td\u003e\n",
" \u003ctd\u003e79\u003c/td\u003e\n",
" \u003ctd\u003e68\u003c/td\u003e\n",
" \u003ctd\u003e4\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e6\u003c/td\u003e\n",
" \u003ctd\u003e8\u003c/td\u003e\n",
" \u003ctd\u003e5\u003c/td\u003e\n",
" \u003ctd\u003e5\u003c/td\u003e\n",
" \u003ctd\u003e3\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e6.0\u003c/td\u003e\n",
" \u003ctd\u003e4.0\u003c/td\u003e\n",
" \u003ctd\u003e8.0\u003c/td\u003e\n",
" \u003ctd\u003e6.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e1.0\u003c/td\u003e\n",
" \u003ctd\u003e1.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e309.0\u003c/td\u003e\n",
" \u003ctd\u003e24.0\u003c/td\u003e\n",
" \u003ctd\u003e285\u003c/td\u003e\n",
" \u003ctd\u003e2.0\u003c/td\u003e\n",
" \u003ctd\u003e33\u003c/td\u003e\n",
" \u003ctd\u003e35.0\u003c/td\u003e\n",
" \u003ctd\u003e0.000003\u003c/td\u003e\n",
" \u003ctd\u003e0.000005\u003c/td\u003e\n",
" \u003ctd\u003e0.000005\u003c/td\u003e\n",
" \u003ctd\u003e6.351180e-08\u003c/td\u003e\n",
" \u003ctd\u003e1.737864e-07\u003c/td\u003e\n",
" \u003ctd\u003e1.581002e-07\u003c/td\u003e\n",
" \u003ctd\u003e-5.668117\u003c/td\u003e\n",
" \u003ctd\u003e-4.801599\u003c/td\u003e\n",
" \u003ctd\u003e-4.883025\u003c/td\u003e\n",
" \u003ctd\u003e36.0\u003c/td\u003e\n",
" \u003ctd\u003e310.0\u003c/td\u003e\n",
" \u003ctd\u003e1.624504e-07\u003c/td\u003e\n",
" \u003ctd\u003e0.000005\u003c/td\u003e\n",
" \u003ctd\u003e-4.843517\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003eFalse\u003c/td\u003e\n",
" \u003c/tr\u003e\n",
" \u003ctr\u003e\n",
" \u003cth\u003eAAEEIFTTNPEALEQVwASCSeRnPfQhLGsPEI\u003c/th\u003e\n",
" \u003ctd\u003e172406\u003c/td\u003e\n",
" \u003ctd\u003eGCTGCGGAGGAAATCTTTACAACCAATCCCGAGGCTCTCGAGCAGG...\u003c/td\u003e\n",
" \u003ctd\u003eAAEEIFTTNPEALEQVwASCSeRnPfQhLGsPEI\u003c/td\u003e\n",
" \u003ctd\u003elr_rand_doubles_plus_single_walked\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003eAA___F____E_L__VwA_C_eRnPfQhLGsPEI\u003c/td\u003e\n",
" \u003ctd\u003e22\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e17\u003c/td\u003e\n",
" \u003ctd\u003e67\u003c/td\u003e\n",
" \u003ctd\u003e44\u003c/td\u003e\n",
" \u003ctd\u003e51\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e3\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e6.0\u003c/td\u003e\n",
" \u003ctd\u003e2.0\u003c/td\u003e\n",
" \u003ctd\u003e6.0\u003c/td\u003e\n",
" \u003ctd\u003e5.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e1.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e198.0\u003c/td\u003e\n",
" \u003ctd\u003e19.0\u003c/td\u003e\n",
" \u003ctd\u003e179\u003c/td\u003e\n",
" \u003ctd\u003e1.0\u003c/td\u003e\n",
" \u003ctd\u003e5\u003c/td\u003e\n",
" \u003ctd\u003e6.0\u003c/td\u003e\n",
" \u003ctd\u003e0.000003\u003c/td\u003e\n",
" \u003ctd\u003e0.000003\u003c/td\u003e\n",
" \u003ctd\u003e0.000003\u003c/td\u003e\n",
" \u003ctd\u003e3.175590e-08\u003c/td\u003e\n",
" \u003ctd\u003e2.633127e-08\u003c/td\u003e\n",
" \u003ctd\u003e2.710290e-08\u003c/td\u003e\n",
" \u003ctd\u003e-6.331082\u003c/td\u003e\n",
" \u003ctd\u003e-6.853063\u003c/td\u003e\n",
" \u003ctd\u003e-6.785239\u003c/td\u003e\n",
" \u003ctd\u003e7.0\u003c/td\u003e\n",
" \u003ctd\u003e199.0\u003c/td\u003e\n",
" \u003ctd\u003e3.158758e-08\u003c/td\u003e\n",
" \u003ctd\u003e0.000003\u003c/td\u003e\n",
" \u003ctd\u003e-6.566587\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003eFalse\u003c/td\u003e\n",
" \u003c/tr\u003e\n",
" \u003ctr\u003e\n",
" \u003cth\u003eAAEEIHPTNPEALEQViASCSeRnPfQhLGGEaH\u003c/th\u003e\n",
" \u003ctd\u003e172429\u003c/td\u003e\n",
" \u003ctd\u003eGCCGCGGAGGAAATCCACCCGACCAATCCCGAAGCTCTTGAGCAGG...\u003c/td\u003e\n",
" \u003ctd\u003eAAEEIHPTNPEALEQViASCSeRnPfQhLGGEaH\u003c/td\u003e\n",
" \u003ctd\u003elr_rand_doubles_plus_single_walked\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003eAA___HP___E_L__ViA_C_eRnPfQhLG_EaH\u003c/td\u003e\n",
" \u003ctd\u003e22\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e35\u003c/td\u003e\n",
" \u003ctd\u003e245\u003c/td\u003e\n",
" \u003ctd\u003e181\u003c/td\u003e\n",
" \u003ctd\u003e150\u003c/td\u003e\n",
" \u003ctd\u003e2\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e2\u003c/td\u003e\n",
" \u003ctd\u003e2\u003c/td\u003e\n",
" \u003ctd\u003e2\u003c/td\u003e\n",
" \u003ctd\u003e3\u003c/td\u003e\n",
" \u003ctd\u003e3\u003c/td\u003e\n",
" \u003ctd\u003e2\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e19.0\u003c/td\u003e\n",
" \u003ctd\u003e23.0\u003c/td\u003e\n",
" \u003ctd\u003e27.0\u003c/td\u003e\n",
" \u003ctd\u003e11.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e1.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e1.0\u003c/td\u003e\n",
" \u003ctd\u003e2.0\u003c/td\u003e\n",
" \u003ctd\u003e691.0\u003c/td\u003e\n",
" \u003ctd\u003e80.0\u003c/td\u003e\n",
" \u003ctd\u003e611\u003c/td\u003e\n",
" \u003ctd\u003e4.0\u003c/td\u003e\n",
" \u003ctd\u003e18\u003c/td\u003e\n",
" \u003ctd\u003e22.0\u003c/td\u003e\n",
" \u003ctd\u003e0.000011\u003c/td\u003e\n",
" \u003ctd\u003e0.000010\u003c/td\u003e\n",
" \u003ctd\u003e0.000010\u003c/td\u003e\n",
" \u003ctd\u003e1.270236e-07\u003c/td\u003e\n",
" \u003ctd\u003e9.479256e-08\u003c/td\u003e\n",
" \u003ctd\u003e9.937730e-08\u003c/td\u003e\n",
" \u003ctd\u003e-6.405082\u003c/td\u003e\n",
" \u003ctd\u003e-6.776279\u003c/td\u003e\n",
" \u003ctd\u003e-6.713956\u003c/td\u003e\n",
" \u003ctd\u003e23.0\u003c/td\u003e\n",
" \u003ctd\u003e692.0\u003c/td\u003e\n",
" \u003ctd\u003e1.037878e-07\u003c/td\u003e\n",
" \u003ctd\u003e0.000010\u003c/td\u003e\n",
" \u003ctd\u003e-6.648384\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003eFalse\u003c/td\u003e\n",
" \u003c/tr\u003e\n",
" \u003ctr\u003e\n",
" \u003cth\u003eAAEEIHPTNPEALEQVwASCAeRnPfQhLGGEI\u003c/th\u003e\n",
" \u003ctd\u003e172420\u003c/td\u003e\n",
" \u003ctd\u003eGCGGCTGAGGAAATCCATCCAACCAATCCCGAAGCGCTAGAGCAGG...\u003c/td\u003e\n",
" \u003ctd\u003eAAEEIHPTNPEALEQVwASCAeRnPfQhLGGEI\u003c/td\u003e\n",
" \u003ctd\u003elr_rand_doubles_plus_single_walked\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003eAA___HP___E_L__VwA_CAeRnPfQhLG_EI\u003c/td\u003e\n",
" \u003ctd\u003e22\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e42\u003c/td\u003e\n",
" \u003ctd\u003e204\u003c/td\u003e\n",
" \u003ctd\u003e143\u003c/td\u003e\n",
" \u003ctd\u003e130\u003c/td\u003e\n",
" \u003ctd\u003e5\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e3\u003c/td\u003e\n",
" \u003ctd\u003e5\u003c/td\u003e\n",
" \u003ctd\u003e5\u003c/td\u003e\n",
" \u003ctd\u003e3\u003c/td\u003e\n",
" \u003ctd\u003e2\u003c/td\u003e\n",
" \u003ctd\u003e2\u003c/td\u003e\n",
" \u003ctd\u003e1\u003c/td\u003e\n",
" \u003ctd\u003e17.0\u003c/td\u003e\n",
" \u003ctd\u003e19.0\u003c/td\u003e\n",
" \u003ctd\u003e16.0\u003c/td\u003e\n",
" \u003ctd\u003e10.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e1.0\u003c/td\u003e\n",
" \u003ctd\u003e1.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e0.0\u003c/td\u003e\n",
" \u003ctd\u003e581.0\u003c/td\u003e\n",
" \u003ctd\u003e62.0\u003c/td\u003e\n",
" \u003ctd\u003e519\u003c/td\u003e\n",
" \u003ctd\u003e2.0\u003c/td\u003e\n",
" \u003ctd\u003e28\u003c/td\u003e\n",
" \u003ctd\u003e30.0\u003c/td\u003e\n",
" \u003ctd\u003e0.000008\u003c/td\u003e\n",
" \u003ctd\u003e0.000009\u003c/td\u003e\n",
" \u003ctd\u003e0.000009\u003c/td\u003e\n",
" \u003ctd\u003e6.351180e-08\u003c/td\u003e\n",
" \u003ctd\u003e1.474551e-07\u003c/td\u003e\n",
" \u003ctd\u003e1.355145e-07\u003c/td\u003e\n",
" \u003ctd\u003e-7.037351\u003c/td\u003e\n",
" \u003ctd\u003e-5.903411\u003c/td\u003e\n",
" \u003ctd\u003e-6.016349\u003c/td\u003e\n",
" \u003ctd\u003e31.0\u003c/td\u003e\n",
" \u003ctd\u003e582.0\u003c/td\u003e\n",
" \u003ctd\u003e1.398879e-07\u003c/td\u003e\n",
" \u003ctd\u003e0.000009\u003c/td\u003e\n",
" \u003ctd\u003e-5.967996\u003c/td\u003e\n",
" \u003ctd\u003e0\u003c/td\u003e\n",
" \u003ctd\u003eFalse\u003c/td\u003e\n",
" \u003c/tr\u003e\n",
" \u003c/tbody\u003e\n",
"\u003c/table\u003e\n",
"\u003c/div\u003e"
],
"text/plain": [
" Unnamed: 0 ... is_viable\n",
"sequence ... \n",
"AAEEIATTNPVATEQYGSVcAaNmGEeApDaQaEgGd 82181 ... True\n",
"AAEEIATTNPVAtYAQWGCnTAgNnGLTtAeTgNlDs 85396 ... False\n",
"AAEEIFTTNPEALEQVwASCSeRnPfQhLGsPEI 172406 ... False\n",
"AAEEIHPTNPEALEQViASCSeRnPfQhLGGEaH 172429 ... False\n",
"AAEEIHPTNPEALEQVwASCAeRnPfQhLGGEI 172420 ... False\n",
"\n",
"[5 rows x 65 columns]"
]
},
"execution_count": 26,
"metadata": {
"tags": []
},
"output_type": "execute_result"
}
],
"source": [
"display(ml_gen_deduped.shape)\n",
"ml_gen_deduped.head()"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "oZGKy5r0dg7D"
},
"source": [
"#### Concatenate de-deduped ML-generated seqs with rest"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 454
},
"executionInfo": {
"elapsed": 628,
"status": "ok",
"timestamp": 1593126768958,
"user": {
"displayName": "Lucy Colwell",
"photoUrl": "https://lh3.googleusercontent.com/a-/AOh14GhDVS9VL55nJ_BMyjGqE4RYboOf4i5N9LaE148oGg=s64",
"userId": "17590064334699832966"
},
"user_tz": 240
},
"id": "s-dC1aT-dgd_",
"outputId": "ff66f635-4a39-41d7-d911-32197e49e965"
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"(236783, 65)\n"
]
},
{
"data": {
"text/plain": [
"random_doubles 25040\n",
"rnn_standard_walked 20838\n",
"cnn_designed_plus_rand_train_walked 20759\n",
"rnn_designed_plus_rand_train_walked 20731\n",
"lr_standard_walked 20456\n",
"cnn_rand_doubles_plus_single_walked 20454\n",
"cnn_standard_walked 20395\n",
"rnn_rand_doubles_plus_singles_walked 20154\n",
"lr_rand_doubles_plus_single_walked 19999\n",
"lr_designed_plus_rand_train_walked 19680\n",
"singles 3952\n",
"previous_chip_viable 2997\n",
"previous_chip_nonviable 2997\n",
"lr_rand_doubles_plus_single_seed 2071\n",
"rnn_designed_plus_rand_train_seed 2065\n",
"rnn_rand_doubles_plus_singles_seed 2045\n",
"lr_designed_plus_rand_train_seed 2030\n",
"cnn_rand_doubles_plus_single_seed 2022\n",
"lr_standard_seed 1989\n",
"cnn_standard_seed 1924\n",
"rnn_standard_seed 1916\n",
"cnn_designed_plus_rand_train_seed 1898\n",
"wild_type 200\n",
"stop 171\n",
"Name: partition, dtype: int64"
]
},
"execution_count": 27,
"metadata": {
"tags": []
},
"output_type": "execute_result"
}
],
"source": [
"gas1_deduped = pandas.concat([ml_gen_deduped, non_ml_gen_df], axis=0)\n",
"print(gas1_deduped.shape)\n",
"gas1_deduped.partition.value_counts()"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "3ACPVRHCV1sq"
},
"source": [
"## Compute edit distance for chip"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "xg2CYqXDIKqy"
},
"outputs": [],
"source": [
"gas1 = gas1_deduped"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 168
},
"executionInfo": {
"elapsed": 917,
"status": "ok",
"timestamp": 1593126819825,
"user": {
"displayName": "Lucy Colwell",
"photoUrl": "https://lh3.googleusercontent.com/a-/AOh14GhDVS9VL55nJ_BMyjGqE4RYboOf4i5N9LaE148oGg=s64",
"userId": "17590064334699832966"
},
"user_tz": 240
},
"id": "0VmmyNdVV4Fp",
"outputId": "a647f198-67ab-4b5a-8d31-49bd4b122620"
},
"outputs": [
{
"data": {
"text/plain": [
"count 236783.000000\n",
"mean 13.563174\n",
"std 7.489709\n",
"min 0.000000\n",
"25% 7.000000\n",
"50% 14.000000\n",
"75% 20.000000\n",
"max 33.000000\n",
"Name: num_edits, dtype: float64"
]
},
"execution_count": 31,
"metadata": {
"tags": []
},
"output_type": "execute_result"
}
],
"source": [
"gas1['num_edits'] = gas1.sequence.apply(\n",
" lambda s: Levenshtein.distance(R1_TILE21_WT_SEQ, s))\n",
"gas1.num_edits.describe()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "_tvwnyvQHppW"
},
"outputs": [],
"source": [
"COLUMN_SCHEMA = [ \n",
" 'sequence',\n",
" 'partition',\n",
" 'mutation_sequence',\n",
" 'num_mutations',\n",
" 'num_edits', \n",
" 'viral_selection',\n",
" 'is_viable',\n",
"]\n",
"\n",
"gas1a = gas1[COLUMN_SCHEMA].copy()"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "W7bF-d67Y5E1"
},
"source": [
"#### Concat with training data chip"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 136
},
"executionInfo": {
"elapsed": 929,
"status": "ok",
"timestamp": 1593126937032,
"user": {
"displayName": "Lucy Colwell",
"photoUrl": "https://lh3.googleusercontent.com/a-/AOh14GhDVS9VL55nJ_BMyjGqE4RYboOf4i5N9LaE148oGg=s64",
"userId": "17590064334699832966"
},
"user_tz": 240
},
"id": "qE6NK7fKtwp4",
"outputId": "5922be09-4734-450c-b5b1-d3d5c8ca6b05"
},
"outputs": [
{
"data": {
"text/html": [
"\u003cdiv\u003e\n",
"\u003cstyle scoped\u003e\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"\u003c/style\u003e\n",
"\u003ctable border=\"1\" class=\"dataframe\"\u003e\n",
" \u003cthead\u003e\n",
" \u003ctr style=\"text-align: right;\"\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003esequence\u003c/th\u003e\n",
" \u003cth\u003epartition\u003c/th\u003e\n",
" \u003cth\u003emutation_sequence\u003c/th\u003e\n",
" \u003cth\u003enum_mutations\u003c/th\u003e\n",
" \u003cth\u003enum_edits\u003c/th\u003e\n",
" \u003cth\u003eviral_selection\u003c/th\u003e\n",
" \u003cth\u003eis_viable\u003c/th\u003e\n",
" \u003c/tr\u003e\n",
" \u003c/thead\u003e\n",
" \u003ctbody\u003e\n",
" \u003ctr\u003e\n",
" \u003cth\u003e0\u003c/th\u003e\n",
" \u003ctd\u003eADEEIRATNPIATEMYGSVSTNLQLGNR\u003c/td\u003e\n",
" \u003ctd\u003edesigned\u003c/td\u003e\n",
" \u003ctd\u003eAD____A___I___M_________L___\u003c/td\u003e\n",
" \u003ctd\u003e6\u003c/td\u003e\n",
" \u003ctd\u003e6\u003c/td\u003e\n",
" \u003ctd\u003e-2.027259\u003c/td\u003e\n",
" \u003ctd\u003eFalse\u003c/td\u003e\n",
" \u003c/tr\u003e\n",
" \u003ctr\u003e\n",
" \u003cth\u003e1\u003c/th\u003e\n",
" \u003ctd\u003eADEEIRATNPVATEQYGSVSTNQQRQNR\u003c/td\u003e\n",
" \u003ctd\u003edesigned\u003c/td\u003e\n",
" \u003ctd\u003eAD____A_______________Q__Q__\u003c/td\u003e\n",
" \u003ctd\u003e5\u003c/td\u003e\n",
" \u003ctd\u003e5\u003c/td\u003e\n",
" \u003ctd\u003e-0.429554\u003c/td\u003e\n",
" \u003ctd\u003eTrue\u003c/td\u003e\n",
" \u003c/tr\u003e\n",
" \u003ctr\u003e\n",
" \u003cth\u003e2\u003c/th\u003e\n",
" \u003ctd\u003eADEEIRTTNPVATEQWGGVSTNLQIGNY\u003c/td\u003e\n",
" \u003ctd\u003edesigned\u003c/td\u003e\n",
" \u003ctd\u003eAD_____________W_G______I__Y\u003c/td\u003e\n",
" \u003ctd\u003e6\u003c/td\u003e\n",
" \u003ctd\u003e6\u003c/td\u003e\n",
" \u003ctd\u003e-0.527843\u003c/td\u003e\n",
" \u003ctd\u003eTrue\u003c/td\u003e\n",
" \u003c/tr\u003e\n",
" \u003c/tbody\u003e\n",
"\u003c/table\u003e\n",
"\u003c/div\u003e"
],
"text/plain": [
" sequence partition ... viral_selection is_viable\n",
"0 ADEEIRATNPIATEMYGSVSTNLQLGNR designed ... -2.027259 False\n",
"1 ADEEIRATNPVATEQYGSVSTNQQRQNR designed ... -0.429554 True\n",
"2 ADEEIRTTNPVATEQWGGVSTNLQIGNY designed ... -0.527843 True\n",
"\n",
"[3 rows x 7 columns]"
]
},
"execution_count": 37,
"metadata": {
"tags": []
},
"output_type": "execute_result"
}
],
"source": [
"harvard = pandas.read_csv('r0r1_with_partitions_and_labels.csv', index_col=None)\n",
"\n",
"harvard = harvard.rename({\n",
" 'S': 'viral_selection',\n",
" 'aa_seq': 'sequence',\n",
" 'mask': 'mutation_sequence',\n",
" 'mut': 'num_mutations',\n",
"}, axis=1)\n",
"\n",
"designed_mask = harvard.partition.isin(['min_fit', 'thresh', 'temp'])\n",
"harvard.loc[designed_mask, ['partition']] = 'designed'\n",
"\n",
"harvard['num_edits'] = harvard.sequence.apply(\n",
" lambda s: Levenshtein.distance(R1_TILE21_WT_SEQ, s))\n",
"harvard.num_edits.describe()\n",
"\n",
"harvard1 = harvard[COLUMN_SCHEMA].copy()\n",
"\n",
"harvard1.head(3)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 504
},
"executionInfo": {
"elapsed": 445,
"status": "ok",
"timestamp": 1593126945342,
"user": {
"displayName": "Lucy Colwell",
"photoUrl": "https://lh3.googleusercontent.com/a-/AOh14GhDVS9VL55nJ_BMyjGqE4RYboOf4i5N9LaE148oGg=s64",
"userId": "17590064334699832966"
},
"user_tz": 240
},
"id": "09Cw43etY4Vo",
"outputId": "89c210fc-30ca-47c9-f854-da221929eb28"
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"(304152, 8)\n"
]
},
{
"data": {
"text/plain": [
"designed 56372\n",
"random_doubles 25040\n",
"rnn_standard_walked 20838\n",
"cnn_designed_plus_rand_train_walked 20759\n",
"rnn_designed_plus_rand_train_walked 20731\n",
"lr_standard_walked 20456\n",
"cnn_rand_doubles_plus_single_walked 20454\n",
"cnn_standard_walked 20395\n",
"rnn_rand_doubles_plus_singles_walked 20154\n",
"lr_rand_doubles_plus_single_walked 19999\n",
"lr_designed_plus_rand_train_walked 19680\n",
"rand 9885\n",
"singles 3952\n",
"previous_chip_viable 2997\n",
"previous_chip_nonviable 2997\n",
"lr_rand_doubles_plus_single_seed 2071\n",
"rnn_designed_plus_rand_train_seed 2065\n",
"rnn_rand_doubles_plus_singles_seed 2045\n",
"lr_designed_plus_rand_train_seed 2030\n",
"cnn_rand_doubles_plus_single_seed 2022\n",
"lr_standard_seed 1989\n",
"cnn_standard_seed 1924\n",
"rnn_standard_seed 1916\n",
"cnn_designed_plus_rand_train_seed 1898\n",
"single 1112\n",
"wild_type 200\n",
"stop 171\n",
"Name: partition, dtype: int64"
]
},
"execution_count": 38,
"metadata": {
"tags": []
},
"output_type": "execute_result"
}
],
"source": [
"harvard1['chip'] = 'harvard'\n",
"gas1a['chip'] = 'gas1'\n",
"\n",
"combined = pandas.concat([\n",
" harvard1, \n",
" gas1a,\n",
"], axis=0, sort=False)\n",
"print(combined.shape)\n",
"combined.partition.value_counts()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 195
},
"executionInfo": {
"elapsed": 378,
"status": "ok",
"timestamp": 1593126948316,
"user": {
"displayName": "Lucy Colwell",
"photoUrl": "https://lh3.googleusercontent.com/a-/AOh14GhDVS9VL55nJ_BMyjGqE4RYboOf4i5N9LaE148oGg=s64",
"userId": "17590064334699832966"
},
"user_tz": 240
},
"id": "sDi7oEM2nsL7",
"outputId": "3be1645b-44a8-40c6-b60a-861bedf2a995"
},
"outputs": [
{
"data": {
"text/html": [
"\u003cdiv\u003e\n",
"\u003cstyle scoped\u003e\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"\u003c/style\u003e\n",
"\u003ctable border=\"1\" class=\"dataframe\"\u003e\n",
" \u003cthead\u003e\n",
" \u003ctr style=\"text-align: right;\"\u003e\n",
" \u003cth\u003e\u003c/th\u003e\n",
" \u003cth\u003esequence\u003c/th\u003e\n",
" \u003cth\u003epartition\u003c/th\u003e\n",
" \u003cth\u003emutation_sequence\u003c/th\u003e\n",
" \u003cth\u003enum_mutations\u003c/th\u003e\n",
" \u003cth\u003enum_edits\u003c/th\u003e\n",
" \u003cth\u003eviral_selection\u003c/th\u003e\n",
" \u003cth\u003eis_viable\u003c/th\u003e\n",
" \u003cth\u003echip\u003c/th\u003e\n",
" \u003c/tr\u003e\n",
" \u003c/thead\u003e\n",
" \u003ctbody\u003e\n",
" \u003ctr\u003e\n",
" \u003cth\u003e0\u003c/th\u003e\n",
" \u003ctd\u003eADEEIRATNPIATEMYGSVSTNLQLGNR\u003c/td\u003e\n",
" \u003ctd\u003edesigned\u003c/td\u003e\n",
" \u003ctd\u003eAD____A___I___M_________L___\u003c/td\u003e\n",
" \u003ctd\u003e6\u003c/td\u003e\n",
" \u003ctd\u003e6\u003c/td\u003e\n",
" \u003ctd\u003e-2.027259\u003c/td\u003e\n",
" \u003ctd\u003eFalse\u003c/td\u003e\n",
" \u003ctd\u003eharvard\u003c/td\u003e\n",
" \u003c/tr\u003e\n",
" \u003ctr\u003e\n",
" \u003cth\u003e1\u003c/th\u003e\n",
" \u003ctd\u003eADEEIRATNPVATEQYGSVSTNQQRQNR\u003c/td\u003e\n",
" \u003ctd\u003edesigned\u003c/td\u003e\n",
" \u003ctd\u003eAD____A_______________Q__Q__\u003c/td\u003e\n",
" \u003ctd\u003e5\u003c/td\u003e\n",
" \u003ctd\u003e5\u003c/td\u003e\n",
" \u003ctd\u003e-0.429554\u003c/td\u003e\n",
" \u003ctd\u003eTrue\u003c/td\u003e\n",
" \u003ctd\u003eharvard\u003c/td\u003e\n",
" \u003c/tr\u003e\n",
" \u003ctr\u003e\n",
" \u003cth\u003e2\u003c/th\u003e\n",
" \u003ctd\u003eADEEIRTTNPVATEQWGGVSTNLQIGNY\u003c/td\u003e\n",
" \u003ctd\u003edesigned\u003c/td\u003e\n",
" \u003ctd\u003eAD_____________W_G______I__Y\u003c/td\u003e\n",
" \u003ctd\u003e6\u003c/td\u003e\n",
" \u003ctd\u003e6\u003c/td\u003e\n",
" \u003ctd\u003e-0.527843\u003c/td\u003e\n",
" \u003ctd\u003eTrue\u003c/td\u003e\n",
" \u003ctd\u003eharvard\u003c/td\u003e\n",
" \u003c/tr\u003e\n",
" \u003ctr\u003e\n",
" \u003cth\u003e3\u003c/th\u003e\n",
" \u003ctd\u003eADEEIRTTNPVATEQYGEVSTNLQRGNR\u003c/td\u003e\n",
" \u003ctd\u003edesigned\u003c/td\u003e\n",
" \u003ctd\u003eAD_______________E__________\u003c/td\u003e\n",
" \u003ctd\u003e3\u003c/td\u003e\n",
" \u003ctd\u003e3\u003c/td\u003e\n",
" \u003ctd\u003e2.887908\u003c/td\u003e\n",
" \u003ctd\u003eTrue\u003c/td\u003e\n",
" \u003ctd\u003eharvard\u003c/td\u003e\n",
" \u003c/tr\u003e\n",
" \u003ctr\u003e\n",
" \u003cth\u003e4\u003c/th\u003e\n",
" \u003ctd\u003eADEEIRTTNPVATEQYGSVSTNLQRGNR\u003c/td\u003e\n",
" \u003ctd\u003edesigned\u003c/td\u003e\n",
" \u003ctd\u003eAD__________________________\u003c/td\u003e\n",
" \u003ctd\u003e2\u003c/td\u003e\n",
" \u003ctd\u003e2\u003c/td\u003e\n",
" \u003ctd\u003e0.575730\u003c/td\u003e\n",
" \u003ctd\u003eTrue\u003c/td\u003e\n",
" \u003ctd\u003eharvard\u003c/td\u003e\n",
" \u003c/tr\u003e\n",
" \u003c/tbody\u003e\n",
"\u003c/table\u003e\n",
"\u003c/div\u003e"
],
"text/plain": [
" sequence partition ... is_viable chip\n",
"0 ADEEIRATNPIATEMYGSVSTNLQLGNR designed ... False harvard\n",
"1 ADEEIRATNPVATEQYGSVSTNQQRQNR designed ... True harvard\n",
"2 ADEEIRTTNPVATEQWGGVSTNLQIGNY designed ... True harvard\n",
"3 ADEEIRTTNPVATEQYGEVSTNLQRGNR designed ... True harvard\n",
"4 ADEEIRTTNPVATEQYGSVSTNLQRGNR designed ... True harvard\n",
"\n",
"[5 rows x 8 columns]"
]
},
"execution_count": 39,
"metadata": {
"tags": []
},
"output_type": "execute_result"
}
],
"source": [
"combined.head()"
]
}
],
"metadata": {
"colab": {
"collapsed_sections": [],
"last_runtime": {
"build_target": "//research/biology/collaborations/aptamers:notebook",
"kind": "shared"
},
"name": "data_prep.ipynb",
"provenance": [
{
"file_id": "12Apk6W8VE6b1uJeDeE8zMDxIQoy7PmXb",
"timestamp": 1593127225338
},
{
"file_id": "1EQIf7CtSDR2_9XbbaVWWflGed3iv7_qp",
"timestamp": 1593104311501
},
{
"file_id": "1IzF054h5ytTwlJCu3jrM4m37IjpAfoq6",
"timestamp": 1592708284079
},
{
"file_id": "1PRds7BGpQ3VGGE3u69vIRK394IY0G08I",
"timestamp": 1592703091207
},
{
"file_id": "1M4_0I28I2vX17fhmjAgHOKWVtipblro-",
"timestamp": 1592700744798
},
{
"file_id": "1O4rVgAnAqZn8L91yriSwfucLYbUbsDut",
"timestamp": 1592694353477
},
{
"file_id": "1BMtY6RP5-wmWWnlUahAL6tNp_9Tsxv0f",
"timestamp": 1592690804400
}
],
"toc_visible": true
},
"kernelspec": {
"display_name": "Python 3",
"name": "python3"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
| Jupyter Notebook | 5 | deepneuralmachine/google-research | aav/model_and_dataset_analysis/data_prep.ipynb | [
"Apache-2.0"
] |
#include "config.hats"
#include "{$TOP}/avr_prelude/kernel_staload.hats"
staload "{$TOP}/SATS/arduino.sats"
staload "{$TOP}/SATS/hardware_serial.sats"
staload UN = "prelude/SATS/unsafe.sats"
#define SENSOR 0
#define DELAY_MS 100.0
implement main () = {
fun loop () = {
val v = analogRead (SENSOR)
val () = println! v
val () = delay_ms (DELAY_MS)
val () = loop ()
}
val () = serial_begin (9600UL)
val () = loop ()
}
| ATS | 3 | Proclivis/arduino-ats | demo/07_analoginput_serial/DATS/main.dats | [
"MIT"
] |
Subsets and Splits